commit: fcabf1041d7948601c083fdb87c3723a95eef65f Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> AuthorDate: Fri Aug 14 08:56:12 2015 +0000 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> CommitDate: Fri Aug 14 09:28:24 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcabf104
net-firewall/iptables: add USE=conntrack #492744 net-firewall/iptables/iptables-1.4.21-r1.ebuild | 4 +++- net-firewall/iptables/metadata.xml | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/net-firewall/iptables/iptables-1.4.21-r1.ebuild b/net-firewall/iptables/iptables-1.4.21-r1.ebuild index 9ce24cd..eddbed3 100644 --- a/net-firewall/iptables/iptables-1.4.21-r1.ebuild +++ b/net-firewall/iptables/iptables-1.4.21-r1.ebuild @@ -16,9 +16,10 @@ SRC_URI="http://www.netfilter.org/projects/iptables/files/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86" -IUSE="ipv6 netlink static-libs" +IUSE="conntrack ipv6 netlink static-libs" RDEPEND=" + conntrack? ( net-libs/libnetfilter_conntrack ) netlink? ( net-libs/libnfnetlink ) " DEPEND="${RDEPEND} @@ -40,6 +41,7 @@ src_configure() { sed -i \ -e "/nfnetlink=[01]/s:=[01]:=$(usex netlink 1 0):" \ + -e "/nfconntrack=[01]/s:=[01]:=$(usex conntrack 1 0):" \ configure || die econf \ diff --git a/net-firewall/iptables/metadata.xml b/net-firewall/iptables/metadata.xml index ed96e3d..2770855 100644 --- a/net-firewall/iptables/metadata.xml +++ b/net-firewall/iptables/metadata.xml @@ -3,7 +3,8 @@ <pkgmetadata> <herd>base-system</herd> <use> - <flag name='netlink'>Build against libnfnetlink which enables the nfnl_osf util</flag> + <flag name='conntrack'>Build against <pkg>net-libs/libnetfilter_conntrack</pkg> when enables the connlabel matcher</flag> + <flag name='netlink'>Build against libnfnetlink which enables the nfnl_osf util</flag> </use> <longdescription> iptables is the userspace command line program used to set up, maintain, and
