public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/pmacct/
Date: Sun, 13 May 2018 15:58:42 +0000 (UTC)	[thread overview]
Message-ID: <1526227118.01f812d93d134308d2aef0d7a354fc858612445e.jer@gentoo> (raw)

commit:     01f812d93d134308d2aef0d7a354fc858612445e
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun May 13 15:57:09 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun May 13 15:58:38 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01f812d9

net-analyzer/pmacct: Version 1.7.1.

Package-Manager: Portage-2.3.36, Repoman-2.3.9

 net-analyzer/pmacct/Manifest            |  1 +
 net-analyzer/pmacct/metadata.xml        |  6 +++
 net-analyzer/pmacct/pmacct-1.7.1.ebuild | 93 +++++++++++++++++++++++++++++++++
 3 files changed, 100 insertions(+)

diff --git a/net-analyzer/pmacct/Manifest b/net-analyzer/pmacct/Manifest
index 6ec32cedc1b..73697d68684 100644
--- a/net-analyzer/pmacct/Manifest
+++ b/net-analyzer/pmacct/Manifest
@@ -1,3 +1,4 @@
 DIST pmacct-1.5.1.tar.gz 874563 BLAKE2B 7dfa381c6f6fbde0c01d790046a087f0291f2347c0c2f776f12f5a3ef1864531a496cb05aa6fbea08c12d3f393cd7c6ad3af280807a759ea8934bdeeecb6a972 SHA512 c3a0ddaf1b8679df2097147ce844eb2a3e3058599aea457e463cd4e65a7601e0ce5bac5ca5e1c82afecd5edc92dae673eed3ed1787bfbd3e8ac2af5677885bb7
 DIST pmacct-1.6.2.tar.gz 1311678 BLAKE2B 123629ca2e5e58bb4e684001b1c6d2d510e18450eed1c6e45bbe79ec7bb37072ba9b844fe0d8826a7923d0b09cf6923ea87d4e22fb2f251e7ebb9744d1c59b93 SHA512 8495f97752ae586fd842eed49ce91db3e4753133f7d380d067e7df153abeea469e5126800074e9071cb7227a3f1df64d4642dfece624fbbfa39b4537fde38b46
 DIST pmacct-1.7.0.tar.gz 1351888 BLAKE2B d80d996bd247a90074b79bab69d709f70df74c7d89a552d01d86e718b165bc0091c560f4c5164db0c770b952d7bfe6660ac8c3a057f5ae8f321c015b9bdc40d3 SHA512 14f1cecc562f008d9b79259f885fc3a1d0a74efa4840d6150277c9bb3c67a233ca9a6b921d9d83fd488d1eb6f535075d7fbf53de0036c48611ffcbf5eb7559b5
+DIST pmacct-1.7.1.tar.gz 1392360 BLAKE2B 75a4dda461c2fe643c24a901c19efacf325d1922bcda503a1ff41fe0b6c4178732d476b479875e9e0ba34872dbd86b8d8b2087471148f10e202f57c4a212f2fd SHA512 6a5d75522b9197b324907598ee4ba22bbda96b45e10f62df2ae507e23faac927af5468f587deab08d1e0f3f6422c609d106dcf30fa7bf16eb215bb35ea6aa08c

diff --git a/net-analyzer/pmacct/metadata.xml b/net-analyzer/pmacct/metadata.xml
index 178cb4633b4..11c9eab4f1a 100644
--- a/net-analyzer/pmacct/metadata.xml
+++ b/net-analyzer/pmacct/metadata.xml
@@ -7,13 +7,19 @@
 </maintainer>
 <use>
 <flag name="64bit">Use 64bit counters instead of 32bit ones</flag>
+<flag name="bgp-bins">Link BGP daemon binaries</flag>
+<flag name="bmp-bins">Link BMP daemon binaries</flag>
 <flag name="geoipv2">Enable support for GeoIP2 through <pkg>dev-libs/libmaxminddb</pkg></flag>
 <flag name="jansson">Enable support for JSON through <pkg>dev-libs/jansson</pkg></flag>
 <flag name="kafka">Enable support for Apache Kafka through <pkg>dev-libs/librdkafka</pkg></flag>
+<flag name="l2">Enable Layer-2 features and support</flag>
 <flag name="mongodb">Enable support for MongoDB through <pkg>dev-libs/mongo-c-driver</pkg></flag>
 <flag name="ndpi">Enable support for nDPI through <pkg>net-libs/nDPI</pkg></flag>
 <flag name="nflog">Enable support for NFLOG through uacctd</flag>
+<flag name="plabel">Enable IP prefix labels</flag>
 <flag name="rabbitmq">Enable support for RabbitMQ through <pkg>net-libs/rabbitmq-c</pkg></flag>
+<flag name="st-bins">Link Streaming Telemetry daemon binaries</flag>
+<flag name="traffic-bins">Link IPv4/IPv6 traffic accounting binaries</flag>
 <flag name="ulog">Enable support for ULOG in older kernels (deprecated)</flag>
 <flag name="zmq">Enable support for ZeroMQ through <pkg>net-libs/zeromq</pkg></flag>
 </use>

diff --git a/net-analyzer/pmacct/pmacct-1.7.1.ebuild b/net-analyzer/pmacct/pmacct-1.7.1.ebuild
new file mode 100644
index 00000000000..4fa04368686
--- /dev/null
+++ b/net-analyzer/pmacct/pmacct-1.7.1.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit flag-o-matic 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 +bgp-bins +bmp-bins geoip geoipv2 ipv6 jansson kafka +l2 mongodb
+	mysql ndpi nflog plabel postgres rabbitmq sqlite +st-bins +traffic-bins zmq
+"
+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
+		<dev-libs/mongo-c-driver-0.98
+	)
+	mysql? ( virtual/mysql )
+	ndpi? ( net-libs/nDPI )
+	nflog? ( net-libs/libnetfilter_log )
+	postgres? ( dev-db/postgresql:* )
+	rabbitmq? ( net-libs/rabbitmq-c )
+	sqlite? ( =dev-db/sqlite-3* )
+	zmq? ( >=net-libs/zeromq-4.2.0:= )
+"
+DEPEND="
+	${RDEPEND}
+	virtual/pkgconfig
+"
+
+DOCS=(
+	CONFIG-KEYS ChangeLog FAQS QUICKSTART TOOLS UPGRADE
+	docs/INTERNALS docs/PLUGINS docs/SIGNALS
+)
+
+src_configure() {
+	tc-export CC AR RANLIB
+	append-cppflags -DMYSQL_SERVER_VERSION=99999999
+
+	econf \
+		$(use_enable 64bit) \
+		$(use_enable bgp-bins) \
+		$(use_enable bmp-bins) \
+		$(use_enable geoip) \
+		$(use_enable geoipv2) \
+		$(use_enable ipv6) \
+		$(use_enable jansson) \
+		$(use_enable kafka) \
+		$(use_enable l2) \
+		$(use_enable plabel) \
+		$(use_enable mongodb) \
+		$(use_enable mysql) \
+		$(use_enable ndpi) \
+		$(use_enable nflog) \
+		$(use_enable postgres pgsql) \
+		$(use_enable rabbitmq) \
+		$(use_enable sqlite sqlite3) \
+		$(use_enable st-bins) \
+		$(use_enable traffic-bins) \
+		$(use_enable zmq) \
+		--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
+}


             reply	other threads:[~2018-05-13 15:58 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-13 15:58 Jeroen Roovers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-05-01 13:19 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/pmacct/ Sam James
2022-12-31 23:28 Sam James
2022-07-09  5:57 Sam James
2022-07-09  4:01 Sam James
2021-09-25 19:08 Sam James
2021-04-10  1:46 John Helmert III
2021-04-10  1:46 John Helmert III
2021-04-10  1:40 John Helmert III
2021-04-10  1:40 John Helmert III
2021-02-28 18:08 Andreas Sturmlechner
2021-01-04 11:11 Andreas K. Hüttel
2020-07-22  6:07 Jeroen Roovers
2020-06-17  4:59 Jeroen Roovers
2020-01-28 11:53 Jeroen Roovers
2020-01-28 10:40 Jeroen Roovers
2020-01-28 10:40 Jeroen Roovers
2020-01-28 10:40 Jeroen Roovers
2020-01-28 10:40 Jeroen Roovers
2020-01-02 10:06 Jeroen Roovers
2019-12-29 13:36 Jeroen Roovers
2019-05-16  6:56 Jeroen Roovers
2019-02-14 21:29 Brian Evans
2018-11-27 16:29 Jeroen Roovers
2018-11-27 16:29 Jeroen Roovers
2018-05-13 15:58 Jeroen Roovers
2018-05-13 15:58 Jeroen Roovers
2018-04-17 22:09 Thomas Deutschmann
2018-04-16 17:21 Aaron Bauman
2018-03-17  7:06 Matt Turner
2017-10-23  2:23 Jeroen Roovers
2017-10-23  2:18 Jeroen Roovers
2017-10-22 17:15 Jeroen Roovers
2017-10-22 17:15 Jeroen Roovers
2017-08-05 19:04 Sergei Trofimovich
2017-05-25 16:38 Tony Vroon
2017-04-22 10:19 Jeroen Roovers
2017-04-21 15:18 Jeroen Roovers
2017-04-21 12:55 Jeroen Roovers
2017-04-21 12:51 Jeroen Roovers
2016-11-05 10:24 Jeroen Roovers
2016-07-08 14:19 Jeroen Roovers
2016-07-08 10:56 Tony Vroon
2016-07-08 10:56 Tony Vroon
2015-10-31  5:49 Jeroen Roovers
2015-10-31  5:28 Jeroen Roovers
2015-10-07  5:42 Jeroen Roovers
2015-10-06 20:55 Tony Vroon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1526227118.01f812d93d134308d2aef0d7a354fc858612445e.jer@gentoo \
    --to=jer@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox