Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 378279 - net-firewall/iptables : add USE=static-libs support
Summary: net-firewall/iptables : add USE=static-libs support
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-08 10:59 UTC by Agostino Sarubbo
Modified: 2013-04-27 10:00 UTC (History)
1 user (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 Agostino Sarubbo gentoo-dev 2011-08-08 10:59:59 UTC
This package installs also static libs ".a" please provide do add relative
USE. TIA

/usr/lib/libip4tc.a
/usr/lib/libip6tc.a
/usr/lib/libiptc.a
/usr/lib/libxtables.a
/usr/lib/libipq.a
/usr/lib/libxtables.so
/usr/lib/libiptc.so
/usr/lib/libipq.so
/usr/lib/libip6tc.so
/usr/lib/libip4tc.so
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2011-09-03 13:24:16 UTC
I'm not sure we need this here. We build iptables with all modules statically linked in and thus we build it with --enable-static, that in turn enables build of static libs and I don't see any need for USE flag to remove already built static libs ... Another option is to patch build system and add --enable-static-libs to iptables...

Mike, what's your opinion here?
Comment 2 SpanKY gentoo-dev 2011-09-07 04:08:59 UTC
i dont know what you mean by "We build iptables with all modules statically linked in".  iptables binaries dynamically link with their own libraries afaics.

the reason for the hardcoded --enable-static is iptables is uncommon and uses AC_DISABLE_STATIC in configure.ac.  past policy said we always build shared and static libs, thuse --enable-static.

i'm fine with USE=static-libs support in iptables
Comment 3 SpanKY gentoo-dev 2013-04-27 10:00:50 UTC
was added at some point