net-firewall/conntrack-tools: More USE flags.
authorJeroen Roovers <jer@gentoo.org>
Sun, 6 May 2018 12:29:26 +0000 (14:29 +0200)
committerJeroen Roovers <jer@gentoo.org>
Sun, 6 May 2018 12:29:53 +0000 (14:29 +0200)
Package-Manager: Portage-2.3.36, Repoman-2.3.9

net-firewall/conntrack-tools/conntrack-tools-1.4.5.ebuild
net-firewall/conntrack-tools/metadata.xml

index e2a4a8a94acf1f334da3e09997b5e935ad06b0e3..2ba9b596f3b583d5e7836933298556066257796d 100644 (file)
@@ -11,13 +11,17 @@ SRC_URI="http://www.netfilter.org/projects/conntrack-tools/files/${P}.tar.bz2"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~hppa ~x86"
-IUSE="doc +libtirpc"
+IUSE="doc +cthelper +cttimeout +libtirpc"
 
 RDEPEND="
        >=net-libs/libmnl-1.0.3
        >=net-libs/libnetfilter_conntrack-1.0.7
-       >=net-libs/libnetfilter_cthelper-1.0.0
-       >=net-libs/libnetfilter_cttimeout-1.0.0
+       cthelper? (
+               >=net-libs/libnetfilter_cthelper-1.0.0
+       )
+       cttimeout? (
+               >=net-libs/libnetfilter_cttimeout-1.0.0
+       )
        >=net-libs/libnetfilter_queue-1.0.2
        >=net-libs/libnfnetlink-1.0.1
        !libtirpc? ( sys-libs/glibc[rpc(-)] )
@@ -72,7 +76,10 @@ src_prepare() {
 }
 
 src_configure() {
-       econf $(use_with libtirpc)
+       econf \
+               $(use_enable cthelper) \
+               $(use_enable cttimeout) \
+               $(use_with libtirpc)
 }
 
 src_compile() {
index cd2eeff6fa911d432125ae7261a556831270ea0e..b30175c95056f652ac9d28019842e0feb34e48f0 100644 (file)
@@ -1,16 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-       <maintainer type="project">
-               <email>netmon@gentoo.org</email>
-               <name>Gentoo network monitoring and analysis project</name>
-       </maintainer>
-       <longdescription lang="en">
-               A set of tools targeted at system administrators. They are conntrack,
-               the userspace command line interface, and conntrackd, the userspace
-               daemon.
-       </longdescription>
-       <use>
-               <flag name="libtirpc">Build against <pkg>net-libs/libtirpc</pkg> for RPC support</flag>
-       </use>
+<maintainer type="project">
+<email>netmon@gentoo.org</email>
+<name>Gentoo network monitoring and analysis project</name>
+</maintainer>
+<longdescription lang="en">
+The conntrack-tools are a set of free software userspace tools for Linux that
+allow system administrators interact with the Connection Tracking System, which
+is the module that provides stateful packet inspection for iptables. The
+conntrack-tools are the userspace daemon conntrackd and the command line
+interface conntrack.
+</longdescription>
+<use>
+<flag name="libtirpc">Use <pkg>net-libs/libtirpc</pkg> for RPC support</flag>
+<flag name="cthelper">Use <pkg>net-libs/libnetfilter_cthelper</pkg> for userspace conntrack helper support</flag>
+<flag name="cttimeout">Use <pkg>net-libs/libnetfilter_cttimeout</pkg> for conntrack timeout support</flag>
+</use>
 </pkgmetadata>