summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-05-06 14:29:26 +0200
committerJeroen Roovers <jer@gentoo.org>2018-05-06 14:29:53 +0200
commitbc6e8089667abaf7902d573c00f02127e05bf82c (patch)
treeaf581e02fc9a2965eafad3286983ae39d7214682 /net-firewall
parentnet-firewall/conntrack-tools: Version 1.4.5. (diff)
downloadgentoo-bc6e8089667abaf7902d573c00f02127e05bf82c.tar.gz
gentoo-bc6e8089667abaf7902d573c00f02127e05bf82c.tar.bz2
gentoo-bc6e8089667abaf7902d573c00f02127e05bf82c.zip
net-firewall/conntrack-tools: More USE flags.
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/conntrack-tools/conntrack-tools-1.4.5.ebuild15
-rw-r--r--net-firewall/conntrack-tools/metadata.xml28
2 files changed, 27 insertions, 16 deletions
diff --git a/net-firewall/conntrack-tools/conntrack-tools-1.4.5.ebuild b/net-firewall/conntrack-tools/conntrack-tools-1.4.5.ebuild
index e2a4a8a94acf..2ba9b596f3b5 100644
--- a/net-firewall/conntrack-tools/conntrack-tools-1.4.5.ebuild
+++ b/net-firewall/conntrack-tools/conntrack-tools-1.4.5.ebuild
@@ -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() {
diff --git a/net-firewall/conntrack-tools/metadata.xml b/net-firewall/conntrack-tools/metadata.xml
index cd2eeff6fa91..b30175c95056 100644
--- a/net-firewall/conntrack-tools/metadata.xml
+++ b/net-firewall/conntrack-tools/metadata.xml
@@ -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>