public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nfdump/
Date: Wed, 25 Dec 2024 01:48:01 +0000 (UTC)	[thread overview]
Message-ID: <1735091201.3c9ddf9a2dbd9781823c5f292641a1a9be3fd930.sam@gentoo> (raw)

commit:     3c9ddf9a2dbd9781823c5f292641a1a9be3fd930
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Tue Dec 24 15:53:32 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/39840
Signed-off-by: Sam James <sam <AT> 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
+}


             reply	other threads:[~2024-12-25  1:48 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-25  1:48 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-12 14:34 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nfdump/ Arthur Zamarin
2025-04-19  2:17 Sam James
2025-03-08 18:54 Arthur Zamarin
2024-11-25 21:56 Sam James
2024-11-25 21:56 Sam James
2024-11-14 18:41 Sam James
2024-11-14  3:17 Sam James
2024-02-27 22:06 Sam James
2023-06-01  5:23 Sam James
2023-05-01 13:19 Sam James
2023-04-23 17:57 Sam James
2022-10-31 16:41 Agostino Sarubbo
2022-10-01  0:34 Sam James
2022-06-23  6:45 Agostino Sarubbo
2022-06-23  5:58 Agostino Sarubbo
2022-06-23  4:47 Sam James
2022-04-13  1:48 Sam James
2022-03-24 23:58 Sam James
2021-08-11  0:02 Sam James
2021-05-28  2:27 Sam James
2021-05-28  1:22 Sam James
2021-04-18 21:27 Sam James
2021-04-18 21:20 Sam James
2021-03-27 16:11 Sam James
2021-03-27 16:07 Sam James
2021-03-27 16:06 Sam James
2021-03-27 16:02 Sam James
2021-03-27 15:35 Sam James
2021-03-15 21:12 Sam James
2021-03-15 21:12 Sam James
2021-03-15 21:09 Sam James
2021-03-15 21:01 Sam James
2020-08-02 10:43 Jeroen Roovers
2020-03-29 12:38 Jeroen Roovers
2020-03-12 16:26 Agostino Sarubbo
2020-03-12 16:21 Agostino Sarubbo
2017-05-29  8:30 Jeroen Roovers
2016-06-15  9:13 Jeroen Roovers
2016-05-14 22:23 Agostino Sarubbo
2016-05-14 22:22 Agostino Sarubbo
2016-05-12 16:39 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1735091201.3c9ddf9a2dbd9781823c5f292641a1a9be3fd930.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox