diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-24 00:08:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-24 00:08:50 +0100 |
commit | b2523734e380d060074602eb5ce53daf7d98803b (patch) | |
tree | 0f6e9c0a8339a7e6bb0b44089507392951245899 /net-analyzer/nfdump | |
parent | 622b78d0d832282505f685f2f442c34ea0e8a7b1 (diff) |
gentoo auto-resync : 24:04:2023 - 00:08:50
Diffstat (limited to 'net-analyzer/nfdump')
-rw-r--r-- | net-analyzer/nfdump/Manifest | 2 | ||||
-rw-r--r-- | net-analyzer/nfdump/nfdump-1.7.2.ebuild | 85 |
2 files changed, 87 insertions, 0 deletions
diff --git a/net-analyzer/nfdump/Manifest b/net-analyzer/nfdump/Manifest index e32400eebe82..9de19a6f521a 100644 --- a/net-analyzer/nfdump/Manifest +++ b/net-analyzer/nfdump/Manifest @@ -3,6 +3,8 @@ AUX nfcapd.initd 1261 BLAKE2B 092b65523720ab0f4790650764e758da8504234dc888aadf8e AUX nfdump-1.6.19-libft.patch 815 BLAKE2B 8b82ce3c93214e016b63fa593e7e8d3c8960e1d2636a9ad0cebd75e9945c73d9d42ebfcf5afe82ec10d62ed3d4bc8334670aaf46f543782b5c86ac2f60d57db1 SHA512 884458ac127497e9c3c7b5f8ed4eca60278d052ba2749efad1d267446c6a62da4417a018aca758bac6633d09ab08e699b54163300ed176510271aabf0769d3c4 DIST nfdump-1.6.24.tar.gz 647945 BLAKE2B 6f054c7ccdbc6c5052d1c4655509414b9acc7de320152e932dd31d6cc9eb915b73efa29e42a212ea206c4619c9e025bfd751762808fd8136c38d4edb72f4fabf SHA512 b1e092663ce245247af721565139eb0a264918747e6c0695c59f0b70a99049e92d79674d75c248f60aa832949d7e13027887cc825e393fce7dc5571771bce1d7 DIST nfdump-1.7.0.1.tar.gz 740435 BLAKE2B dd3d3e63aa076b32e0c9e897b40d3ee8368990792b1a483b69a448dadd7389c23df9800910baad0c5a241a480c5961616c70040fdce992b2a67e3be6680e715b SHA512 5b5da57016dc826650ba80a80a881ab89034778316f47c6797dbc902ed6af6d77cfb722356c3a1d92a4239a934178df56ff4c6cb3bf77e029232e02b905ec1a8 +DIST nfdump-1.7.2.tar.gz 697405 BLAKE2B cf52f2cca5d80070bc00c7a7a87cc4820f04904ddeeebd4fc93cf3a2433bcf5798191daa86f0bfc7ee1f2f92e5d8bb087114d2c17e32b641a224189aeb54f822 SHA512 858d0aaae24f2e38f3708db9fd5cd40e99a6a50d5da5738c8ce4bf898fb153ce439c504d5fe8fb3c296d0069511a6f229ebdfc117f849a482e5ffdf457f06003 EBUILD nfdump-1.6.24.ebuild 1757 BLAKE2B edf62d46671fd56bdb9553704ce06b5981c17f1ec2353644e421a3db487ded72a4029f29d003cf13214d9fe9c93257ef74cd5c198dde17ef0d21deed697bbca2 SHA512 8122bac1d504e7e9b53dbffc7ae373257ee69af7b7480a3f94d4b68f0718add9fb3bf3afe5313bc28d35e60b199dca75da4f53b3a3fe20f89673a8017e9c55f2 EBUILD nfdump-1.7.0.1.ebuild 1757 BLAKE2B edf62d46671fd56bdb9553704ce06b5981c17f1ec2353644e421a3db487ded72a4029f29d003cf13214d9fe9c93257ef74cd5c198dde17ef0d21deed697bbca2 SHA512 8122bac1d504e7e9b53dbffc7ae373257ee69af7b7480a3f94d4b68f0718add9fb3bf3afe5313bc28d35e60b199dca75da4f53b3a3fe20f89673a8017e9c55f2 +EBUILD nfdump-1.7.2.ebuild 1759 BLAKE2B 98b34c93d09c1e338b23b1b148eafe3e62028572fdebf5a58dd686ef4c8cfe8f3aadea6152618b34ee9982136d385a6b59ea02c6cc333c2bc51f64f49566bb9c SHA512 480ebd9a767b4e5c776413990534a4a60bacf57cc628eaf79c46b001d2532138eb8909af0bf511fa8e76cffd550bbbc4b119362759d1d3e84ec85535a8e6f3e2 MISC metadata.xml 1278 BLAKE2B ad9d73532114eb0942a2b5262fe8e5f2b787993950fcd7c8bcb926f9e9e8d93ab94476265976b2e0cc41f3ea46fc6699a0bbb591d0c929208ec5e85d1b399617 SHA512 0bdbda9ccce4611ab88b746f4907dbb0c96d1e5f0dac909e2318c8bdf77de87321f65baadbb886f0c2e1b231cc30c50c70e5363cc9084285d1eaf5897c6f38cd diff --git a/net-analyzer/nfdump/nfdump-1.7.2.ebuild b/net-analyzer/nfdump/nfdump-1.7.2.ebuild new file mode 100644 index 000000000000..8b1c7b15fed6 --- /dev/null +++ b/net-analyzer/nfdump/nfdump-1.7.2.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic toolchain-funcs + +DESCRIPTION="A set of tools to collect and process netflow data" +HOMEPAGE="https://github.com/phaag/nfdump" +SRC_URI="https://github.com/phaag/nfdump/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="debug doc jnat ftconv nfpcapd nfprofile nftrack nsel readpcap sflow" + +REQUIRED_USE="?? ( jnat nsel )" + +RDEPEND=" + app-arch/bzip2 + sys-libs/zlib + elibc_musl? ( sys-libs/fts-standalone ) + ftconv? ( net-analyzer/flow-tools ) + nfpcapd? ( net-libs/libpcap ) + nfprofile? ( net-analyzer/rrdtool ) + nftrack? ( net-analyzer/rrdtool ) + readpcap? ( net-libs/libpcap ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/flex + app-alternatives/yacc + doc? ( + app-doc/doxygen + media-gfx/graphviz + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.6.19-libft.patch +) + +DOCS=( AUTHORS ChangeLog README.md ) + +src_prepare() { + default + + eautoreconf + + if use doc; then + doxygen -u doc/Doxyfile.in || die + fi +} + +src_configure() { + tc-export CC + + # bug #853763 + use elibc_musl && append-libs "-lfts" + + # --without-ftconf is not handled well, bug #322201 + econf \ + $(use ftconv && echo "--enable-ftconv --with-ftpath=/usr") \ + $(use nfpcapd && echo --enable-nfpcapd) \ + $(use nfprofile && echo --enable-nfprofile) \ + $(use nftrack && echo --enable-nftrack) \ + $(use_enable debug devel) \ + $(use_enable jnat) \ + $(use_enable nsel) \ + $(use_enable readpcap) \ + $(use_enable sflow) +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die + + newinitd "${FILESDIR}"/nfcapd.initd nfcapd + newconfd "${FILESDIR}"/nfcapd.confd nfcapd + + if use doc; then + dodoc -r doc/html + fi +} |