From aee26e0ffc4de9b95170535c5b4a2f023d908417 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Fri, 21 Apr 2017 14:50:11 +0200 Subject: net-analyzer/pmacct: Add USE="jansson kafka rabbitmq" (bug #594512 by Marcin Mirosław). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- net-analyzer/pmacct/metadata.xml | 5 +- net-analyzer/pmacct/pmacct-1.6.1-r1.ebuild | 79 ++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 net-analyzer/pmacct/pmacct-1.6.1-r1.ebuild (limited to 'net-analyzer') diff --git a/net-analyzer/pmacct/metadata.xml b/net-analyzer/pmacct/metadata.xml index 46cfcd1fff7d..32c63343b6fd 100644 --- a/net-analyzer/pmacct/metadata.xml +++ b/net-analyzer/pmacct/metadata.xml @@ -6,9 +6,12 @@ Gentoo network monitoring and analysis project -Add support for GeoIP2 through dev-libs/libmaxminddb Use 64bit counters instead of 32bit ones +Add support for GeoIP2 through dev-libs/libmaxminddb +Add support for JSON through dev-libs/jansson +Add support for Apache Kafka through dev-libs/librdkafka Add support for mongodb backend +Add support for RabbitMQ through net-libs/rabbitmq-c Enable support for ULOG in older kernels (deprecated) diff --git a/net-analyzer/pmacct/pmacct-1.6.1-r1.ebuild b/net-analyzer/pmacct/pmacct-1.6.1-r1.ebuild new file mode 100644 index 000000000000..112c9000ec87 --- /dev/null +++ b/net-analyzer/pmacct/pmacct-1.6.1-r1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit toolchain-funcs + +DESCRIPTION="A network tool to gather IP traffic information" +HOMEPAGE="http://www.pmacct.net/" +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" +REQUIRED_USE=" + ?? ( geoip geoipv2 ) + kafka? ( jansson ) + rabbitmq? ( jansson ) +" + +RDEPEND=" + net-libs/libpcap + geoip? ( dev-libs/geoip ) + geoipv2? ( dev-libs/libmaxminddb ) + jansson? ( dev-libs/jansson ) + kafka? ( dev-libs/librdkafka ) + mongodb? ( + >=dev-libs/mongo-c-driver-0.8.1-r1 +