mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
net-analyzer/pmacct: Version 1.7.5
- Drop IUSE=mongodb Package-Manager: Portage-3.0.0, Repoman-2.3.23 Closes: https://bugs.gentoo.org/518624 Closes: https://bugs.gentoo.org/664504 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
This commit is contained in:
@@ -4,3 +4,4 @@ DIST pmacct-1.7.2.tar.gz 1416302 BLAKE2B 5d6f9c5849c07c7bdd3b6251b2611935ff558ca
|
||||
DIST pmacct-1.7.3.tar.gz 1467237 BLAKE2B a2fb627df9f61f91c69a9333a968485695b45c8ebe812e11ba250185a5e93f262954290d7ee41789fb13f7f5c5ef336294be83c8d91adcd0fc3c348485e515af SHA512 09d0e6721760035112cb0c7936fe177f7858b19fa1df2c7da84822dc816413e7c6bace35fe45ad32930961183d61f9e4f3a4879747be45f47ab658a3e0f055b2
|
||||
DIST pmacct-1.7.4.tar.gz 1581213 BLAKE2B 3835abc91947af083932e01b828c2324f90595c973fdde9d9f4034dc7d03e12fad6bbe6e91e1462ec36963ccb41a5a740159f531d7e1929f4cd8d994b89a58a1 SHA512 780b6cc25562fb7b5a1f55b48ce9719b36c1ee0d9ee2b6db8d7f238cd5d9f204938313b13e3ff3f62c7b9b179279f18314eba38ad787ffc346a4b217da239ca1
|
||||
DIST pmacct-1.7.4_p1.tar.gz 3200089 BLAKE2B 638983a92df0a46441ddddaefa78dc0f61fee94264870979f46674e851e3bf111ae71550f7e6b677d425fa4c688d4ed7735d82aae85a2e77155c1bfa050d8e76 SHA512 03553128975ced54ce08a1a543c794377c2b7a3c800de600a7b5e8aa483b1c3123dee536a361a47053233d60070cacaf269f1a16ad17b563fa9fc0ec7af6a467
|
||||
DIST pmacct-1.7.5.tar.gz 3219384 BLAKE2B 9a9feb8a11222e54a018b37eaa387cfa43efcb6aa3da175ea6c367bc7b42d816cbe106431c8b8f69b17c8d0286514a80250bf28b15fcaad12a2ac5fb7af6ff27 SHA512 d52e3d749cf0e8a412a82051531c63f37aa6cf4e7cc435ebd185195040819d65dc2cf4d4b1aa64bae620a9f8d3d1b1a505992044fe45d57b91ba056cfa67609c
|
||||
|
||||
@@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit autotools flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="A network tool to gather IP traffic information"
|
||||
HOMEPAGE="http://www.pmacct.net/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="
|
||||
+bgp-bins +bmp-bins geoip geoipv2 jansson kafka +l2 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 )
|
||||
mysql? ( dev-db/mysql-connector-c:0= )
|
||||
ndpi? ( >=net-libs/nDPI-3.2:= )
|
||||
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
|
||||
"
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.7.4--Werror.patch
|
||||
)
|
||||
|
||||
DOCS=(
|
||||
CONFIG-KEYS ChangeLog FAQS QUICKSTART UPGRADE
|
||||
docs/INTERNALS docs/PLUGINS docs/SIGNALS
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC AR RANLIB
|
||||
append-cflags -fcommon
|
||||
|
||||
econf \
|
||||
$(use_enable bgp-bins) \
|
||||
$(use_enable bmp-bins) \
|
||||
$(use_enable geoip) \
|
||||
$(use_enable geoipv2) \
|
||||
$(use_enable jansson) \
|
||||
$(use_enable kafka) \
|
||||
$(use_enable l2) \
|
||||
$(use_enable mysql) \
|
||||
$(use_enable ndpi) \
|
||||
$(use_enable nflog) \
|
||||
$(use_enable plabel) \
|
||||
$(use_enable postgres pgsql) \
|
||||
$(use_enable rabbitmq) \
|
||||
$(use_enable sqlite sqlite3) \
|
||||
$(use_enable st-bins) \
|
||||
$(use_enable traffic-bins) \
|
||||
$(use_enable zmq) \
|
||||
--disable-debug \
|
||||
--disable-mongodb
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
for dirname in examples sql telemetry; 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
|
||||
}
|
||||
Reference in New Issue
Block a user