Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 206038 - net-firewall/iptables-1.3.8-r2 doesn't build libipt_IPMARK.so with USE=extensions
Summary: net-firewall/iptables-1.3.8-r2 doesn't build libipt_IPMARK.so with USE=extens...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
: 207961 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-15 23:58 UTC by Michal Margula
Modified: 2009-01-21 17:44 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 Michal Margula 2008-01-15 23:58:22 UTC
net-firewall/iptables-1.3.8-r2 doesn't build libipt_IPMARK.so with "extensions" useflag while 1.3.5-r4 is doing fine. It may be associated with some changes in patch-o-matic. Now IPMARK is on separate repository and it has to be downloaded manualy when using patch-o-matic (runme download)

Reproducible: Always

Steps to Reproduce:

Actual Results:  
Missing libipt_IPMARK.so

Expected Results:  
libipt_IPMARK.so should be built
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2008-01-17 14:39:06 UTC
Yes. extensions USE flag builds only extensions bundled with iptables (inside extensions subdirectory) and in 1.3.8 this extension went away. I need to check the current state of IPMARK and then may be I'll maintain this feature as it sounds like useful.
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2008-01-29 08:27:55 UTC
*** Bug 207961 has been marked as a duplicate of this bug. ***
Comment 3 Michal Margula 2008-01-29 08:39:50 UTC
I wonder if using patch-o-matic in ebuild would be against gentoo
policy. If no it would be nice to have some kind of IPTABLES_EXTENSIONS
(like ALSA_CARDS) and to run patch-o-matic with supplied patchlets
names.

PS. "Plain old patch" with IPMARK is accessible at http://people.netfilter.org/ole/pom/IPMARK (that file is in fact a tar.gz
archive used by patch-o-matic-ng and downloaded when running ./runme --download).
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2008-01-29 09:57:17 UTC
Michal, there is no such policy. But maintaining of this extensions is hard work because normally they are updated some time later after iptables update. So keeping them all working will require following development of each extensions we'll add and it's quite possible that they will break each iptables upgrade. As I said, IPMARK possibly will be added and connlimit returned into iptables-1.4.0. May be I'll add ipset too. I'm not sure about others (what others?)
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2009-01-21 17:44:30 UTC
I'm closing this bug as FIXED. Mike added different mechanism to apply patches in iptables: just drop patches you want be applied into 

/etc/portage/patches/net-firewall/iptables/

and they'll be applied during merge. This is not best solution, but is good as a temporal measure until better solution how to handle this extensions will appear.