summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-04-21 17:18:05 +0200
committerJeroen Roovers <jer@gentoo.org>2017-04-21 17:18:20 +0200
commit6f508e2c84bab12d1337e132965e370f06063d28 (patch)
tree771030d22a4f4bcaea4b136593b30c7eb60925a4 /net-analyzer/pmacct
parentsci-biology/foldingathome: bump EAPI (diff)
downloadgentoo-6f508e2c84bab12d1337e132965e370f06063d28.tar.gz
gentoo-6f508e2c84bab12d1337e132965e370f06063d28.tar.bz2
gentoo-6f508e2c84bab12d1337e132965e370f06063d28.zip
net-analyzer/pmacct: Add USE=nflog.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'net-analyzer/pmacct')
-rw-r--r--net-analyzer/pmacct/metadata.xml1
-rw-r--r--net-analyzer/pmacct/pmacct-1.6.1-r1.ebuild4
2 files changed, 4 insertions, 1 deletions
diff --git a/net-analyzer/pmacct/metadata.xml b/net-analyzer/pmacct/metadata.xml
index 32c63343b6fd..cc407997e255 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 112c9000ec87..72d65265800b 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) \