1 |
commit: bc6e8089667abaf7902d573c00f02127e05bf82c |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 6 12:29:26 2018 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 6 12:29:53 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc6e8089 |
7 |
|
8 |
net-firewall/conntrack-tools: More USE flags. |
9 |
|
10 |
Package-Manager: Portage-2.3.36, Repoman-2.3.9 |
11 |
|
12 |
.../conntrack-tools/conntrack-tools-1.4.5.ebuild | 15 ++++++++---- |
13 |
net-firewall/conntrack-tools/metadata.xml | 28 ++++++++++++---------- |
14 |
2 files changed, 27 insertions(+), 16 deletions(-) |
15 |
|
16 |
diff --git a/net-firewall/conntrack-tools/conntrack-tools-1.4.5.ebuild b/net-firewall/conntrack-tools/conntrack-tools-1.4.5.ebuild |
17 |
index e2a4a8a94ac..2ba9b596f3b 100644 |
18 |
--- a/net-firewall/conntrack-tools/conntrack-tools-1.4.5.ebuild |
19 |
+++ b/net-firewall/conntrack-tools/conntrack-tools-1.4.5.ebuild |
20 |
@@ -11,13 +11,17 @@ SRC_URI="http://www.netfilter.org/projects/conntrack-tools/files/${P}.tar.bz2" |
21 |
LICENSE="GPL-2" |
22 |
SLOT="0" |
23 |
KEYWORDS="~amd64 ~arm64 ~hppa ~x86" |
24 |
-IUSE="doc +libtirpc" |
25 |
+IUSE="doc +cthelper +cttimeout +libtirpc" |
26 |
|
27 |
RDEPEND=" |
28 |
>=net-libs/libmnl-1.0.3 |
29 |
>=net-libs/libnetfilter_conntrack-1.0.7 |
30 |
- >=net-libs/libnetfilter_cthelper-1.0.0 |
31 |
- >=net-libs/libnetfilter_cttimeout-1.0.0 |
32 |
+ cthelper? ( |
33 |
+ >=net-libs/libnetfilter_cthelper-1.0.0 |
34 |
+ ) |
35 |
+ cttimeout? ( |
36 |
+ >=net-libs/libnetfilter_cttimeout-1.0.0 |
37 |
+ ) |
38 |
>=net-libs/libnetfilter_queue-1.0.2 |
39 |
>=net-libs/libnfnetlink-1.0.1 |
40 |
!libtirpc? ( sys-libs/glibc[rpc(-)] ) |
41 |
@@ -72,7 +76,10 @@ src_prepare() { |
42 |
} |
43 |
|
44 |
src_configure() { |
45 |
- econf $(use_with libtirpc) |
46 |
+ econf \ |
47 |
+ $(use_enable cthelper) \ |
48 |
+ $(use_enable cttimeout) \ |
49 |
+ $(use_with libtirpc) |
50 |
} |
51 |
|
52 |
src_compile() { |
53 |
|
54 |
diff --git a/net-firewall/conntrack-tools/metadata.xml b/net-firewall/conntrack-tools/metadata.xml |
55 |
index cd2eeff6fa9..b30175c9505 100644 |
56 |
--- a/net-firewall/conntrack-tools/metadata.xml |
57 |
+++ b/net-firewall/conntrack-tools/metadata.xml |
58 |
@@ -1,16 +1,20 @@ |
59 |
<?xml version="1.0" encoding="UTF-8"?> |
60 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
61 |
<pkgmetadata> |
62 |
- <maintainer type="project"> |
63 |
- <email>netmon@g.o</email> |
64 |
- <name>Gentoo network monitoring and analysis project</name> |
65 |
- </maintainer> |
66 |
- <longdescription lang="en"> |
67 |
- A set of tools targeted at system administrators. They are conntrack, |
68 |
- the userspace command line interface, and conntrackd, the userspace |
69 |
- daemon. |
70 |
- </longdescription> |
71 |
- <use> |
72 |
- <flag name="libtirpc">Build against <pkg>net-libs/libtirpc</pkg> for RPC support</flag> |
73 |
- </use> |
74 |
+<maintainer type="project"> |
75 |
+<email>netmon@g.o</email> |
76 |
+<name>Gentoo network monitoring and analysis project</name> |
77 |
+</maintainer> |
78 |
+<longdescription lang="en"> |
79 |
+The conntrack-tools are a set of free software userspace tools for Linux that |
80 |
+allow system administrators interact with the Connection Tracking System, which |
81 |
+is the module that provides stateful packet inspection for iptables. The |
82 |
+conntrack-tools are the userspace daemon conntrackd and the command line |
83 |
+interface conntrack. |
84 |
+</longdescription> |
85 |
+<use> |
86 |
+<flag name="libtirpc">Use <pkg>net-libs/libtirpc</pkg> for RPC support</flag> |
87 |
+<flag name="cthelper">Use <pkg>net-libs/libnetfilter_cthelper</pkg> for userspace conntrack helper support</flag> |
88 |
+<flag name="cttimeout">Use <pkg>net-libs/libnetfilter_cttimeout</pkg> for conntrack timeout support</flag> |
89 |
+</use> |
90 |
</pkgmetadata> |