Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157238 - net-firewall/iptables-1.3.6 does not like ipp2p
Summary: net-firewall/iptables-1.3.6 does not like ipp2p
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alin Năstac (RETIRED)
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-05 09:06 UTC by Farid
Modified: 2007-01-04 05:19 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Farid 2006-12-05 09:06:15 UTC
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
Comment 1 Federico Cuello 2006-12-28 10:49:05 UTC
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!
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2007-01-04 04:23:45 UTC
All libipt_* modules installed by iptables-1.3.5-r4 are statically linked.
I will take care of this.
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2007-01-04 05:19:42 UTC
fixed in net-firewall/ipp2p-0.8.2-r1.