From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C492D15812D for ; Wed, 25 Dec 2024 01:48:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 79C87E079E; Wed, 25 Dec 2024 01:48:04 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 207FFE079C for ; Wed, 25 Dec 2024 01:48:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 18E4C33BE3B for ; Wed, 25 Dec 2024 01:48:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5DD9F17C2 for ; Wed, 25 Dec 2024 01:48:01 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1735091201.3c9ddf9a2dbd9781823c5f292641a1a9be3fd930.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nfdump/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/nfdump/Manifest net-analyzer/nfdump/nfdump-1.7.5.ebuild X-VCS-Directories: net-analyzer/nfdump/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3c9ddf9a2dbd9781823c5f292641a1a9be3fd930 X-VCS-Branch: master Date: Wed, 25 Dec 2024 01:48:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: af689718-bd20-4282-94e0-d85bf2f9a7fc X-Archives-Hash: 2f45274fc0a8e1637884d238b96fa776 commit: 3c9ddf9a2dbd9781823c5f292641a1a9be3fd930 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Tue Dec 24 15:53:32 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed Dec 25 01:46:41 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c9ddf9a net-analyzer/nfdump: add 1.7.5 Closes: https://bugs.gentoo.org/943205 Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/39840 Signed-off-by: Sam James gentoo.org> net-analyzer/nfdump/Manifest | 1 + net-analyzer/nfdump/nfdump-1.7.5.ebuild | 102 ++++++++++++++++++++++++++++++++ 2 files changed, 103 insertions(+) diff --git a/net-analyzer/nfdump/Manifest b/net-analyzer/nfdump/Manifest index c29eee945827..74213c7e571c 100644 --- a/net-analyzer/nfdump/Manifest +++ b/net-analyzer/nfdump/Manifest @@ -1,2 +1,3 @@ DIST nfdump-1.7.2.tar.gz 697405 BLAKE2B cf52f2cca5d80070bc00c7a7a87cc4820f04904ddeeebd4fc93cf3a2433bcf5798191daa86f0bfc7ee1f2f92e5d8bb087114d2c17e32b641a224189aeb54f822 SHA512 858d0aaae24f2e38f3708db9fd5cd40e99a6a50d5da5738c8ce4bf898fb153ce439c504d5fe8fb3c296d0069511a6f229ebdfc117f849a482e5ffdf457f06003 DIST nfdump-1.7.4.tar.gz 756319 BLAKE2B 441fb5d3fcb4b83bfc42861eac67bf96ac7c7d6a44afd47c4e16615b22261e1628a1bffc645071817eb9085857ca3a3b632fd265dc897cf9af8fce2999f86787 SHA512 be65aeee9b982b30633102b3ca0f84eab280ca4fda4544be458a2387d051e62517127a2625bbc4329a844550a613df67f5015cc5a90a8e4b6a8c65d045650ee2 +DIST nfdump-1.7.5.tar.gz 835261 BLAKE2B 60b92395c7c3ccdd7b7d5a1b05bc2b69aeef872a40eb32cad76b99f6fd9e5960c1433812063ee7135f23f13031d5cde08ed60918bbb8688448515eabc97fc79e SHA512 80223a5bb28ccedd955bee94771284e845bbd76520cefb70f7c87bad2fb209885ae170fc710f03edabe06c61f4776c3789493358187cb3273bd4217ebcbbe1dd diff --git a/net-analyzer/nfdump/nfdump-1.7.5.ebuild b/net-analyzer/nfdump/nfdump-1.7.5.ebuild new file mode 100644 index 000000000000..547fac45f4ec --- /dev/null +++ b/net-analyzer/nfdump/nfdump-1.7.5.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic toolchain-funcs systemd + +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 zstd" + +REQUIRED_USE="?? ( jnat nsel )" + +RDEPEND=" + app-arch/bzip2 + app-arch/lz4:= + 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 ) + zstd? ( app-arch/zstd:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-alternatives/lex + app-alternatives/yacc + doc? ( + app-text/doxygen + media-gfx/graphviz + ) +" + +QA_CONFIG_IMPL_DECL_SKIP=( + # Not available on Linux, with fallback at src/libnffile/util.h, bug #904952 + htonll +) + +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 + local myeconfargs=( + $(usex ftconv "--enable-ftconv --with-ftpath=${EPREFIX}/usr") + $(usex nfpcapd --enable-nfpcapd) + $(usex nfprofile --enable-nfprofile) + $(usex nftrack --enable-nftrack) + $(use_enable debug devel) + $(use_enable jnat) + $(use_enable nsel) + $(use_enable readpcap) + $(use_enable sflow) + $(use_with zstd "zstdpath" "${EPREFIX}/usr") + ) + econf "${myeconfargs[@]}" +} + +src_test(){ + pushd src/test || die + emake -j1 check-TESTS + popd || die +} + +src_install() { + default + + find "${ED}" -name '*.la' -type f -delete || die + + newinitd "${FILESDIR}"/nfcapd.initd nfcapd + newconfd "${FILESDIR}"/nfcapd.confd nfcapd + systemd_newunit "${FILESDIR}/nfdump.service" nfdump@.service + + if use doc; then + dodoc -r doc/html + fi +}