iptables split

Michael Biebl biebl at debian.org
Thu Jun 9 12:08:46 BST 2016


Am 09.06.2016 um 12:40 schrieb Ansgar Burchardt:
> On Thu, 2016-06-09 at 03:17 +0200, Michael Biebl wrote:
>> One more comment:
>>
>> $ du -hs debian/libip*tc0/usr/*
>> 36K	debian/libip4tc0/usr/lib
>> 88K	debian/libip4tc0/usr/share
>> 40K	debian/libip6tc0/usr/lib
>> 88K	debian/libip6tc0/usr/share
>> 16K	debian/libiptc0/usr/lib
>> 88K	debian/libiptc0/usr/share
>>
>> As you can see, the meta data (changelog and copyright) take up much
>> more space then the libraries itself.
> 
> I wonder if it would make sense to keep the three libraries in one
> package then?  All of them would be usually installed anyway should
> systemd depend on them in the future.

I thought so too, but I actually did a test build and systemd only ended
up with a dependency on libip4tc0

Package: systemd
 Version: 230-3
 Built-For-Profiles: noudeb noudeb
 Architecture: amd64
 Maintainer: Debian systemd Maintainers
<pkg-systemd-maintainers at lists.alioth.debian.org>
 Installed-Size: 17644
 Pre-Depends: libc6 (>= 2.17), libgcrypt20 (>= 1.7.0), liblzma5 (>=
5.1.1alpha+20120614), libselinux1 (>= 1.32)
 Depends: libacl1 (>= 2.2.51-8), libapparmor1 (>= 2.9.0-3+exp2),
libaudit1 (>= 1:2.2.1), libblkid1 (>= 2.19.1), libcap2 (>= 1:2.10),
libcryptsetup4 (>= 2:1.4.3), libgpg-error0 (>= 1.14), libip4tc0,
libkmod2 (>= 5~), libmount1 (>= 2.26.2), libpam0g (>= 0.99.7.1),
libseccomp2 (>= 2.1.0), libselinux1 (>= 2.1.9), libsystemd0 (= 230-3),
util-linux (>= 2.27.1), mount (>= 2.26), adduser, libcap2-bin

Which means:
 Package: libip4tc0
 Source: iptables
 Version: 1.6.0-3
 Architecture: amd64
 Maintainer: iptables devel team
<pkg-netfilter-devel at lists.alioth.debian.org>
 Installed-Size: 107

and addition 107K. Far better then the original 4M+

So, splitting up libiptc would actually benefit systemd.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20160609/c5fd7143/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list