diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-02-21 16:18:46 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-02-21 16:18:46 +0000 |
commit | 48ef339999dbdb56a8122868cc0610f56c0c1f77 (patch) | |
tree | 6f336a0a4a23e3fdc4dcc015adbbff4529bfc1c8 /net-analyzer | |
parent | Stable for amd64, wrt bug #383391 (diff) | |
download | historical-48ef339999dbdb56a8122868cc0610f56c0c1f77.tar.gz historical-48ef339999dbdb56a8122868cc0610f56c0c1f77.tar.bz2 historical-48ef339999dbdb56a8122868cc0610f56c0c1f77.zip |
Add IUSE=static-libs by Maurizio Camisaschi (bug #405157).
Package-Manager: portage-2.2.0_alpha88/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/flow-tools/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/flow-tools/Manifest | 15 | ||||
-rw-r--r-- | net-analyzer/flow-tools/flow-tools-0.68.5.1-r1.ebuild | 71 |
3 files changed, 83 insertions, 10 deletions
diff --git a/net-analyzer/flow-tools/ChangeLog b/net-analyzer/flow-tools/ChangeLog index c723c900f830..dc2ab555f774 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-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/flow-tools/ChangeLog,v 1.50 2012/02/21 14:53:43 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/flow-tools/ChangeLog,v 1.51 2012/02/21 16:18:46 jer Exp $ + +*flow-tools-0.68.5.1-r1 (21 Feb 2012) + + 21 Feb 2012; Jeroen Roovers <jer@gentoo.org> +flow-tools-0.68.5.1-r1.ebuild: + Add IUSE=static-libs by Maurizio Camisaschi (bug #405157). 21 Feb 2012; Agostino Sarubbo <ago@gentoo.org> flow-tools-0.68.5.1.ebuild: Stable for amd64, wrt bug #404809 diff --git a/net-analyzer/flow-tools/Manifest b/net-analyzer/flow-tools/Manifest index 79c5b1cd871a..dff84408059c 100644 --- a/net-analyzer/flow-tools/Manifest +++ b/net-analyzer/flow-tools/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA1 AUX flowcapture.confd 1590 RMD160 8c1fc976191bde42950e0b9e7eed98838abd51ad SHA1 34079f52426add558bb117fef62ebff68b36d9bd SHA256 5d5640ff055d555d527c261ada54e044519c8197413719435e6a965a42147fa4 AUX flowcapture.initd 488 RMD160 a0e5688cd49ce9623a3f11bae0fa2d58cc47c609 SHA1 da2024ab2af2cdb0c76f3104d8519cba800983d8 SHA256 125cc865b380427a0e48eb40c3af3d4441ed2a46ac2fd78bdd7768f251feee25 @@ -7,17 +7,14 @@ AUX linkme 283 RMD160 663284e66edca80e03d88db3078cd93d6faca452 SHA1 ebf19e1a1b0b DIST flow-tools-0.68.5.1.tar.bz2 914062 RMD160 7bf4f155518673a9821d5f0b05592cb77931eb4b SHA1 4a843aada631650e3777a9b1eeb4ec46562cf0d0 SHA256 80bbd3791b59198f0d20184761d96ba500386b0a71ea613c214a50aa017a1f67 DIST flow-tools-0.68.5.tar.bz2 914600 RMD160 8f228adad56e8a05e2f3ce71c0a1cf3db613c4d7 SHA1 d715efc1a2290c1606c4bb694d6d190830803813 SHA256 39b9d624561dabe0a0ab2db32e8ab9cca7869060f9a7b159ec6fd2253e1e3d7d EBUILD flow-tools-0.68.5-r1.ebuild 1703 RMD160 a4ed5173cff7ab7c64ed77d2c6fea5d838b47b39 SHA1 8564e73bee084c9d76b0846cced01e0fe5f9f496 SHA256 ed44d30536a8963fbace10007037b004567efa6e724e338c821308c37173639e +EBUILD flow-tools-0.68.5.1-r1.ebuild 1750 RMD160 31d76c8e389deeb3281be5e87c671ea2319228d0 SHA1 2516dcfc6f1ec85939526ce79944c17782ddb2e2 SHA256 f1ae2e93392f9676ce8ba00380103995650ef5ab558be4e54fa6e6f9ad9b1b9c EBUILD flow-tools-0.68.5.1.ebuild 1701 RMD160 bf54b3a1716309ce879980da8f35019a3dbd528d SHA1 cf8e1872ae79d06cb90704d414045ea7eeb7413d SHA256 07e5cd68abe6ee9d3de1cd3df7112f0515c392a64654785b404879e5c91d0409 -MISC ChangeLog 9794 RMD160 f1b787ed60ef144aaf0d7da542733feee6d9e112 SHA1 5977041f42f32b5db1655ca117884ab148b209f0 SHA256 3dfdfafda08e796d24649908ad9ecfa57438c12bf5dc82fc26a751193988c3cd +MISC ChangeLog 9974 RMD160 c5b41dd7e346adf99b8d7338b0bf84dfcb0009a5 SHA1 ec99e09d4a54ffc8b8e7b6305de2b2056a8994a3 SHA256 f450edfda4fa87f953fbf45fdff111d90d9bc531168c05ed4b8a1cba88095b32 MISC metadata.xml 706 RMD160 48d179b230fd01a49853e73fc46f534373bb8488 SHA1 44ba0dd063806d48e8d6aa341c0bc28ea2d932b3 SHA256 4d947ce226ad090ea1274c75c6b360cb14ffdcd2f5730b0e596098aecb1b8daf -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iQEcBAEBCgAGBQJPQ6/8AAoJEOTDgjZ80txdmh4IAJbKmbEpgiviD9o8YBeH9cHp -i+SoQsRTssSnIPJdWUnG8bYpB364RNiuUySgIs9kIzBAu2tSbWw07D78kuu2VQU0 -iyp/uJZ1E7pPDtkzVkI31UXLM9RuROQcehyvb/wHalbT/JSp1WFZlv50jwsh5swg -7ahdqpbzPi5uydhp7dQfJOSDAzZXIlPla2/tqYHcwuh5vUVY0+jRT4FfV3UDdmcs -DYgE++g51remLSI0Ctx6xum31c1kSiIXw+m7oVmi4bMTVgZC3rhz/lFdnUFLJrlr -HXsjrb64jCJkOmDAJRDz+o31r6yZDuPzPceSbS0LHDfScx1QwJADcbWRc9Ozpnk= -=NeDr +iEYEARECAAYFAk9Dw+wACgkQVWmRsqeSphNq8wCfQLL75lp7vj9ZWQt+bTBSOvgT +JVQAmwT4w64QYYDWvTN+Tb2i927FxI5c +=2kE2 -----END PGP SIGNATURE----- diff --git a/net-analyzer/flow-tools/flow-tools-0.68.5.1-r1.ebuild b/net-analyzer/flow-tools/flow-tools-0.68.5.1-r1.ebuild new file mode 100644 index 000000000000..c72e6bdf4c5f --- /dev/null +++ b/net-analyzer/flow-tools/flow-tools-0.68.5.1-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2012 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-r1.ebuild,v 1.1 2012/02/21 16:18:46 jer Exp $ + +EAPI=4 + +inherit eutils + +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" +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_configure() { + local myconf="--sysconfdir=/etc/flow-tools" + use mysql && myconf="${myconf} --with-mysql" + if use postgres; then + myconf="${myconf} --with-postgresql=yes" + else + myconf="${myconf} --with-postgresql=no" + fi + use ssl && myconf="${myconf} --with-openssl" + econf ${myconf} $(use_enable static-libs static) +} + +src_install() { + default + + keepdir /var/lib/flows + keepdir /var/lib/flows/bin + exeinto /var/lib/flows/bin + doexe "${FILESDIR}"/linkme + keepdir /var/run/flows + + newinitd "${FILESDIR}/flowcapture.initd" flowcapture + newconfd "${FILESDIR}/flowcapture.confd" flowcapture + + if ! use static-libs; then + rm -f "${D}"/usr/lib*/libft.la || die + fi +} + +pkg_postinst() { + chown flows:flows /var/run/flows + chown flows:flows /var/lib/flows + chown flows:flows /var/lib/flows/bin + chmod 0755 /var/run/flows + chmod 0755 /var/lib/flows + chmod 0755 /var/lib/flows/bin +} |