commit: bc6e8089667abaf7902d573c00f02127e05bf82c Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Sun May 6 12:29:26 2018 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Sun May 6 12:29:53 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc6e8089
net-firewall/conntrack-tools: More USE flags. Package-Manager: Portage-2.3.36, Repoman-2.3.9 .../conntrack-tools/conntrack-tools-1.4.5.ebuild | 15 ++++++++---- net-firewall/conntrack-tools/metadata.xml | 28 ++++++++++++---------- 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 e2a4a8a94ac..2ba9b596f3b 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 cd2eeff6fa9..b30175c9505 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>[email protected]</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>[email protected]</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>
