From 0acbc50092d0f64835ba71ebf7f798d8e3f08f7a Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Sat, 31 Oct 2015 06:49:26 +0100 Subject: net-analyzer/pmacct: Add USE=geoipv2. Package-Manager: portage-2.2.23 --- net-analyzer/pmacct/metadata.xml | 1 + .../pmacct/pmacct-1.5.3_pre20150925-r1.ebuild | 77 ++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 net-analyzer/pmacct/pmacct-1.5.3_pre20150925-r1.ebuild diff --git a/net-analyzer/pmacct/metadata.xml b/net-analyzer/pmacct/metadata.xml index 0ad2b406cf62..8249714625ca 100644 --- a/net-analyzer/pmacct/metadata.xml +++ b/net-analyzer/pmacct/metadata.xml @@ -3,6 +3,7 @@ netmon +Add support for GeoIP2 through dev-libs/libmaxminddb Use 64bit counters instead of 32bit ones Add support for mongodb backend Enable support for ULOG in older kernels (deprecated) diff --git a/net-analyzer/pmacct/pmacct-1.5.3_pre20150925-r1.ebuild b/net-analyzer/pmacct/pmacct-1.5.3_pre20150925-r1.ebuild new file mode 100644 index 000000000000..e44303f6fccc --- /dev/null +++ b/net-analyzer/pmacct/pmacct-1.5.3_pre20150925-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit toolchain-funcs + +DESCRIPTION="A network tool to gather IP traffic information" +HOMEPAGE="http://www.pmacct.net/" +SRC_URI="https://dev.gentoo.org/~jer/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="64bit debug geoip geoipv2 ipv6 mongodb mysql postgres sqlite threads ulog" +REQUIRED_USE=" + ?? ( geoip geoipv2 ) +" + +RDEPEND=" + net-libs/libpcap + geoip? ( dev-libs/geoip ) + geoipv2? ( dev-libs/libmaxminddb ) + mongodb? ( + >=dev-libs/mongo-c-driver-0.8.1-r1 +