summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-07-11 12:24:51 +0000
committerJeroen Roovers <jer@gentoo.org>2014-07-11 12:24:51 +0000
commitadd04e02662dc8d30433604aabb18ab2e021995b (patch)
tree2ade9a7c6a4e549f5481017691ebed3eee369594
parentEAPI bump. Simplify dependencies. (diff)
downloadhistorical-add04e02662dc8d30433604aabb18ab2e021995b.tar.gz
historical-add04e02662dc8d30433604aabb18ab2e021995b.tar.bz2
historical-add04e02662dc8d30433604aabb18ab2e021995b.zip
EAPI bump. Convert myconf to usex.
Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
-rw-r--r--net-analyzer/flow-tools/ChangeLog7
-rw-r--r--net-analyzer/flow-tools/Manifest11
-rw-r--r--net-analyzer/flow-tools/flow-tools-0.68.5.1-r3.ebuild75
3 files changed, 87 insertions, 6 deletions
diff --git a/net-analyzer/flow-tools/ChangeLog b/net-analyzer/flow-tools/ChangeLog
index 4afe47fb80b3..f34b547024a7 100644
--- a/net-analyzer/flow-tools/ChangeLog
+++ b/net-analyzer/flow-tools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/flow-tools
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/flow-tools/ChangeLog,v 1.69 2014/04/13 14:34:03 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/flow-tools/ChangeLog,v 1.70 2014/07/11 12:24:50 jer Exp $
+
+*flow-tools-0.68.5.1-r3 (11 Jul 2014)
+
+ 11 Jul 2014; Jeroen Roovers <jer@gentoo.org> +flow-tools-0.68.5.1-r3.ebuild:
+ EAPI bump. Convert myconf to usex.
13 Apr 2014; Jeroen Roovers <jer@gentoo.org> flow-tools-0.68.5.1-r2.ebuild:
Set keepdir /var/lib/flows/ft (bug #483590). Use prune_libtool_files. Set up
diff --git a/net-analyzer/flow-tools/Manifest b/net-analyzer/flow-tools/Manifest
index 3a3ced8e6ccd..24402a9eabf2 100644
--- a/net-analyzer/flow-tools/Manifest
+++ b/net-analyzer/flow-tools/Manifest
@@ -6,12 +6,13 @@ AUX flowcapture.initd 558 SHA256 02ab64ec16194df5e5ee36f87a939a20d155f6c2a8924b9
AUX linkme 283 SHA256 93cef6b11cb25a9e91b529030e66cd4c709f382993335f2c7252de89c36735da SHA512 a9db8dec8b6f2a83b8896951bf1711ec7c58dd18d2da7db7015c0a000114b3d1da9bee4dd64842c074b332a06a890b2eea1b8ffc0399ce0efa39bf6527466359 WHIRLPOOL 94af50de39a8350d194917c129fdd5cdb542e07834340db0453a897185ccd4f4da6fd6584ecf144b79c5f8981c3dbfdd7e87894fa66bc230c530d2985828dba7
DIST flow-tools-0.68.5.1.tar.bz2 914062 SHA256 80bbd3791b59198f0d20184761d96ba500386b0a71ea613c214a50aa017a1f67 SHA512 ae17ba39854daa8ef3deecd3a554bb6d1fa47648cb791d8225a40bec13f65bf0692871660b2c3490d133b1251875c323d066bb0c0483eceb0707cec9b7714c57 WHIRLPOOL 2e7b98abab82ec07639356c07c89bb480276fec945c48ef86188a70a28ff54ab5dd1f1c7b69945d7b4e2687aafee06bef81dceea655b15aa735c50455723be83
EBUILD flow-tools-0.68.5.1-r2.ebuild 1815 SHA256 e06df59c7da884d6f86cadb58d14f0469cd5fbb6bca45e97f28af02fd58f8e6b SHA512 2f5693534b8e6ad29277b95f0281aa37e56b33078a31215d0f521a7271e5b2c296b14d3ef2bdb214a65daf8ca472f6fe26526e27632ab161b290aad89e360401 WHIRLPOOL 24c680f92a8e4b13606acb2499cb206ef5cf7a4268049a8acf2a93d75cef53989738ee1123419084871b88f7e292d3c4b490cb051c07c03fd5bffec0261b1cab
-MISC ChangeLog 12548 SHA256 fa19fa37a586789780657c51b05aba0d2671953e29dd3e081ace1a98f9fcf558 SHA512 690c0fd5cbf44d8d64190eac6fee0dff2e3a1db6b459256500139543aa643915a2b5053dc62d6819406416ae146278a8d3782ec278f41df789d7a32488130c39 WHIRLPOOL a0517f03723cab6ef86808c4e41b2d67b2073d920a00dff5b68f70284e67a8fa83c0612c6d326e1c82ec7d92edb17902f05093f4f30c3ba0dcb1379185ea7550
+EBUILD flow-tools-0.68.5.1-r3.ebuild 1722 SHA256 72b09a5a4422894f6058763eb5cbdeccc492e5fb8a6bfeceb65ad1033e23ee84 SHA512 7a1deab014182f0860d051d763cabb7e9e8cd1a4b8812b6d6a14b8d4e685857ae2dcbec29af32918588a717e8f8ee71dfa5a45005f9395ace2ad6b3b5f3ec70b WHIRLPOOL e714b42ffeb39c2264ad4f1de5f3b6eae259e904a40ba4bc52e9cfa74e79ae68065442a3cfd00fe8bebe75a798b0e21397d031861797afef16f6f2166528a012
+MISC ChangeLog 12704 SHA256 bad8e3fa67073898b509a1a4bf1d3b7e6be510b183b96986b1a875b2b7f79fb7 SHA512 2e4a9664dbd9471cefe4f26ca85e35b6d08d122958de6be191c2a7b0024ad02cbb6a0ee1242f32404c2639fcca70477a19da693d81c325798bc058853047bb87 WHIRLPOOL 1348807e1635195a4708766ba2fa39c66dc3eaeb94ca5d14467309780d6691acd917de46ddeb35701cd6b33697b7247b61acc289e7fc3f8581966b8a29d1482a
MISC metadata.xml 782 SHA256 96523568d0fc94af99564596f973f8207ca051a02fc4f2c248b4f416002aa50b SHA512 957f1c76b9439f5c72542691886eb728febe2fdd8bc0c524654987e84a3a007d9918d9d50aededd26f98ea00380947f8e6dd0b1da339c5235fa30d13ebd6163a WHIRLPOOL a52ba37b3f7f69a39ac39bc00ff8cba08b8bb67a533d567b441ebc647ae7acffadcbcb41e8ab271c477ddc59b3253096459e133b95309c1989e333e5251e14ac
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.22 (GNU/Linux)
+Version: GnuPG v2
-iEYEAREIAAYFAlNKoFwACgkQVWmRsqeSphOAzQCdHT+rsicQqquSjMiBzjfxj7OJ
-BYYAn2ExdbL9FoaSjHSbUXmaXGDY+kTU
-=hsAf
+iEYEAREIAAYFAlO/15MACgkQVWmRsqeSphPQDwCcDz+zbpWceiAINelM7ktIqM/o
+2QIAn1Il3KE8m7kHi+mR/TU4CbWY8gaU
+=dEmf
-----END PGP SIGNATURE-----
diff --git a/net-analyzer/flow-tools/flow-tools-0.68.5.1-r3.ebuild b/net-analyzer/flow-tools/flow-tools-0.68.5.1-r3.ebuild
new file mode 100644
index 000000000000..8d61d64f58d7
--- /dev/null
+++ b/net-analyzer/flow-tools/flow-tools-0.68.5.1-r3.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/flow-tools/flow-tools-0.68.5.1-r3.ebuild,v 1.1 2014/07/11 12:24:50 jer Exp $
+
+EAPI=5
+inherit eutils user
+
+DESCRIPTION="library and programs to collect, send, process, and generate reports from NetFlow data"
+HOMEPAGE="http://code.google.com/p/flow-tools/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug mysql postgres ssl static-libs"
+
+RDEPEND="sys-apps/tcp-wrappers
+ sys-libs/zlib
+ mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql-base )
+ ssl? ( dev-libs/openssl )"
+
+DEPEND="${RDEPEND}
+ sys-devel/flex
+ sys-devel/bison"
+
+DOCS=( ChangeLog README SECURITY TODO )
+
+pkg_setup() {
+ enewgroup flows
+ enewuser flows -1 -1 /var/lib/flows flows
+}
+
+src_prepare() {
+ sed -i \
+ -e 's|/var/run/|/run/|g' \
+ src/flow-capture.c \
+ src/flow-fanout.c \
+ || die
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(usex mysql --with-mysql '') \
+ $(usex postgres --with-postgresql=yes --with-postgresql=no) \
+ $(usex ssl --with-openssl '') \
+ --sysconfdir=/etc/flow-tools
+}
+
+src_install() {
+ default
+
+ prune_libtool_files
+
+ exeinto /var/lib/flows/bin
+ doexe "${FILESDIR}"/linkme
+
+ keepdir /var/lib/flows/ft
+
+ newinitd "${FILESDIR}/flowcapture.initd" flowcapture
+ newconfd "${FILESDIR}/flowcapture.confd" flowcapture
+
+ fowners flows:flows /var/lib/flows
+ fowners flows:flows /var/lib/flows/bin
+ fowners flows:flows /var/lib/flows/ft
+
+ fperms 0755 /var/lib/flows
+ fperms 0755 /var/lib/flows/bin
+}
+
+pkg_preinst() {
+ enewgroup flows
+ enewuser flows -1 -1 /var/lib/flows flows
+}