commit:     6f508e2c84bab12d1337e132965e370f06063d28
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 21 15:18:05 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Apr 21 15:18:20 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f508e2c

net-analyzer/pmacct: Add USE=nflog.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-analyzer/pmacct/metadata.xml           | 1 +
 net-analyzer/pmacct/pmacct-1.6.1-r1.ebuild | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-analyzer/pmacct/metadata.xml b/net-analyzer/pmacct/metadata.xml
index 32c63343b6f..cc407997e25 100644
--- a/net-analyzer/pmacct/metadata.xml
+++ b/net-analyzer/pmacct/metadata.xml
@@ -11,6 +11,7 @@
 <flag name="jansson">Add support for JSON through 
<pkg>dev-libs/jansson</pkg></flag>
 <flag name="kafka">Add support for Apache Kafka through 
<pkg>dev-libs/librdkafka</pkg></flag>
 <flag name="mongodb">Add support for mongodb backend</flag>
+<flag name="nflog">Add support for NFLOG through uacctd</flag>
 <flag name="rabbitmq">Add support for RabbitMQ through 
<pkg>net-libs/rabbitmq-c</pkg></flag>
 <flag name="ulog">Enable support for ULOG in older kernels (deprecated)</flag>
 </use>

diff --git a/net-analyzer/pmacct/pmacct-1.6.1-r1.ebuild 
b/net-analyzer/pmacct/pmacct-1.6.1-r1.ebuild
index 112c9000ec8..72d65265800 100644
--- a/net-analyzer/pmacct/pmacct-1.6.1-r1.ebuild
+++ b/net-analyzer/pmacct/pmacct-1.6.1-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.pmacct.net/${P}.tar.gz";
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="64bit debug geoip geoipv2 ipv6 jansson kafka mongodb mysql postgres 
rabbitmq sqlite threads"
+IUSE="64bit debug geoip geoipv2 ipv6 jansson kafka mongodb mysql nflog 
postgres rabbitmq sqlite threads"
 REQUIRED_USE="
        ?? ( geoip geoipv2 )
        kafka? ( jansson )
@@ -29,6 +29,7 @@ RDEPEND="
                <dev-libs/mongo-c-driver-0.98
        )
        mysql? ( virtual/mysql )
+       nflog? ( net-libs/libnetfilter_log )
        postgres? ( dev-db/postgresql:* )
        rabbitmq? ( net-libs/rabbitmq-c )
        sqlite? ( =dev-db/sqlite-3* )
@@ -56,6 +57,7 @@ src_configure() {
                $(use_enable kafka) \
                $(use_enable mongodb) \
                $(use_enable mysql) \
+               $(use_enable nflog) \
                $(use_enable postgres pgsql) \
                $(use_enable rabbitmq) \
                $(use_enable sqlite sqlite3) \

Reply via email to