diff options
author | Jeroen Roovers <jer@gentoo.org> | 2015-03-04 23:46:45 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2015-03-04 23:46:45 +0000 |
commit | 34caa49844f92d817df3b70eeec150caded21dd5 (patch) | |
tree | 6274837e5c00cb78691a19f17cb59704e63ed330 /net-analyzer | |
parent | Version bump. (diff) | |
download | gentoo-2-34caa49844f92d817df3b70eeec150caded21dd5.tar.gz gentoo-2-34caa49844f92d817df3b70eeec150caded21dd5.tar.bz2 gentoo-2-34caa49844f92d817df3b70eeec150caded21dd5.zip |
Version bump.
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/pmacct/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/pmacct/pmacct-1.5.1.ebuild | 70 |
2 files changed, 76 insertions, 1 deletions
diff --git a/net-analyzer/pmacct/ChangeLog b/net-analyzer/pmacct/ChangeLog index 8a538c242ae8..97e945138dca 100644 --- a/net-analyzer/pmacct/ChangeLog +++ b/net-analyzer/pmacct/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/pmacct # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v 1.105 2015/01/15 09:50:56 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/ChangeLog,v 1.106 2015/03/04 23:46:45 jer Exp $ + +*pmacct-1.5.1 (04 Mar 2015) + + 04 Mar 2015; Jeroen Roovers <jer@gentoo.org> +pmacct-1.5.1.ebuild: + Version bump. 15 Jan 2015; Jeroen Roovers <jer@gentoo.org> pmacct-1.5.0.ebuild: Set dev-libs/mongo-c-driver version restrictions (bug #518624). diff --git a/net-analyzer/pmacct/pmacct-1.5.1.ebuild b/net-analyzer/pmacct/pmacct-1.5.1.ebuild new file mode 100644 index 000000000000..0e46ea806b98 --- /dev/null +++ b/net-analyzer/pmacct/pmacct-1.5.1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/pmacct-1.5.1.ebuild,v 1.1 2015/03/04 23:46:45 jer Exp $ + +EAPI=5 +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 ~ppc ~x86" +IUSE="64bit debug geoip ipv6 mongodb mysql postgres sqlite threads ulog" + +RDEPEND=" + net-libs/libpcap + geoip? ( dev-libs/geoip ) + mongodb? ( + >=dev-libs/mongo-c-driver-0.8.1-r1 + <dev-libs/mongo-c-driver-0.98 + ) + mysql? ( virtual/mysql ) + postgres? ( dev-db/postgresql:* ) + sqlite? ( =dev-db/sqlite-3* ) +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +S="${WORKDIR}/${P/_/}" + +DOCS=( + CONFIG-KEYS ChangeLog FAQS KNOWN-BUGS QUICKSTART README TODO TOOLS UPGRADE + docs/INTERNALS docs/PLUGINS docs/SIGNALS +) + +src_configure() { + tc-export CC AR RANLIB + + econf \ + $(use_enable 64bit) \ + $(use_enable debug) \ + $(use_enable geoip) \ + $(use_enable ipv6) \ + $(use_enable mongodb) \ + $(use_enable mysql) \ + $(use_enable postgres pgsql) \ + $(use_enable sqlite sqlite3) \ + $(use_enable threads) \ + $(use_enable ulog) \ + --disable-debug +} + +src_install() { + default + + for dirname in examples sql; do + docinto ${dirname} + dodoc -r ${dirname}/* + done + + newinitd "${FILESDIR}"/pmacctd-init.d pmacctd + newconfd "${FILESDIR}"/pmacctd-conf.d pmacctd + + insinto /etc/pmacctd + newins examples/pmacctd-imt.conf.example pmacctd.conf +} |