net-firewall/ipp2p-0.8.2 together with iptables-1.3.6-r1 does not work. # iptables -m ipp2p --help iptables v1.3.6: Couldn't load match `ipp2p' Try `iptables -h' or 'iptables --help' for more information. # emerge -av iptables These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-firewall/iptables-1.3.6-r1 USE="extensions l7filter -imq -ipv6 -static" 0 kB
The ipp2p Makefile has a line: ld -shared ... But doing a ldd reveals that it statically linked $ ldd /lib/iptables/libipt_ipp2p.so statically linked Replacing "ld" by $(CC) solves the problem. I added this line to the ebuild in src_unpack(), sed -i -e "s/ld -shared/\$\(CC\) -shared/" Makefile Now I get: $ ldd /lib/iptables/libipt_ipp2p.so linux-gate.so.1 => (0xb7f6d000) libc.so.6 => /lib/libc.so.6 (0xb7e3b000) /lib/ld-linux.so.2 (0x80000000) And it works!
All libipt_* modules installed by iptables-1.3.5-r4 are statically linked. I will take care of this.
fixed in net-firewall/ipp2p-0.8.2-r1.