net-analyzer/pmacct: Version bump to 20150925 snapshot which incorporates MongoDB...
authorTony Vroon <chainsaw@gentoo.org>
Tue, 6 Oct 2015 20:55:50 +0000 (21:55 +0100)
committerTony Vroon <chainsaw@gentoo.org>
Tue, 6 Oct 2015 20:55:50 +0000 (21:55 +0100)
Package-Manager: portage-2.2.20.1

net-analyzer/pmacct/Manifest
net-analyzer/pmacct/pmacct-1.5.3_pre20150925.ebuild [new file with mode: 0644]

index 73544d32b364630b42891fdc54cf84b358e8fe30..7828db1a8c718ab7b9154c62eef6e6234c0ee916 100644 (file)
@@ -1,2 +1,3 @@
 DIST pmacct-1.5.1.tar.gz 874563 SHA256 96134549a10947f3f6d610b670a26f1a54e01af4be0eff09bf48c19246d33584 SHA512 c3a0ddaf1b8679df2097147ce844eb2a3e3058599aea457e463cd4e65a7601e0ce5bac5ca5e1c82afecd5edc92dae673eed3ed1787bfbd3e8ac2af5677885bb7 WHIRLPOOL bd071ac30493f5ee2e0393eb9277dfae2d2fdd6283293aee589ae41ab326b0aaef0ec9b70a421eeca4df857a0046ca7b196e0692ffdd2ea12d9a7c66a74e9a32
 DIST pmacct-1.5.2.tar.gz 897530 SHA256 c12e3897e2f9aa89333968da46eb46855f357750ac1e06e36e72f374e2b54df9 SHA512 3705432cc2a28e179de637b8fc11becd2022b36191a13d440d5bec7d7e594d0936773f202f3d82e983a83695176380aa6a7c27748b632b180000590be0ead599 WHIRLPOOL e7bb1fa1b7372af7d932e19da1d14f3922d8a8ebda245fa03e2a5f283c66141a9299cc9dfa6f32e9384c7d2c9a2d2ef35ef62d7b9910e4f76cacc132231420e5
+DIST pmacct-1.5.3_pre20150925.tar.gz 896168 SHA256 ae63580ae879b3ce20e9725690b6337a72857376192dd2f610e0359ee9d4364c SHA512 e6675855f403ee746b0243cce1ee0e28fd649d2b1c6c1e33f012d7858f977952ba6ed5d1ee47ce42a4f6950b139be2bc50a88740fd19c4775d61d1fb1aa6c05d WHIRLPOOL c7f5003754835f0e1883f13bfba740667ebcbef54a49cc8b8f6fcca1f2db2dea337c910417ff75d86dcfa6bc294fa9b44567bc0d5d07b79ffcfc9b11b1efad5d
diff --git a/net-analyzer/pmacct/pmacct-1.5.3_pre20150925.ebuild b/net-analyzer/pmacct/pmacct-1.5.3_pre20150925.ebuild
new file mode 100644 (file)
index 0000000..2900099
--- /dev/null
@@ -0,0 +1,72 @@
+# 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="mirror://gentoo/${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}/pmacct-daily"
+
+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) \
+               $(usex mysql "--with-mysql-includes=$(mysql_config --variable=pkgincludedir)" '') \
+               $(usex mysql "--with-mysql-libs=$(mysql_config --variable=pkglibdir)" '') \
+               --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
+}