[Pkg-netfilter-devel] Bug#835664: libip[46]tc-dev are missing a dependency on libip[46]tc0

Martin Pitt mpitt at debian.org
Sun Aug 28 08:24:43 UTC 2016


Package: libip4tc-dev
Version: 1.6.0-3
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch yakkety

Hello,

the new libip[46]tc-dev do not depend on their corresponding library
packages libip[46]tc0. They only depend on libiptc0, which in Debian
depends on libip[46]tc0, but not in Ubuntu where packages get built
with --as-needed to avoid unneccessary dependencies.

But also Debian's package should not rely on that transitive
dependency. Attached patch fixes this.

Note that it is dubious that libip4tc-dev has a hardcoded dependency
on libiptc0 -- it should *only* depend on libip4tc0, and if that lib
really needs libiptc0 as well this should come via ${shlibs:Depends}.
However, I'm not familiar with how these libraries are split so the
patch leaves that dependency for now. But if possible it would be
cleaner to drop it.

Thanks for considering,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



More information about the Pkg-netfilter-devel mailing list