Сравнение nfdump-1.7.2 с nfdump-1.7.4

/usr/portage/net-analyzer/nfdump/nfdump-1.7.4.ebuild 2025-07-29 16:22:17.244467379 +0300
1
# Copyright 1999-2024 Gentoo Authors
1
# Copyright 1999-2025 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
inherit autotools flag-o-matic toolchain-funcs
6
inherit autotools flag-o-matic toolchain-funcs systemd
7 7

  
8 8
DESCRIPTION="A set of tools to collect and process netflow data"
9 9
HOMEPAGE="https://github.com/phaag/nfdump"
......
12 12
LICENSE="BSD"
13 13
SLOT="0/${PV}"
14 14
KEYWORDS="amd64 x86"
15
IUSE="debug doc jnat ftconv nfpcapd nfprofile nftrack nsel readpcap sflow"
15
IUSE="debug doc jnat ftconv nfpcapd nfprofile nftrack nsel readpcap sflow zstd"
16 16

  
17 17
REQUIRED_USE="?? ( jnat nsel )"
18 18

  
19 19
RDEPEND="
20 20
	app-arch/bzip2
21
	app-arch/lz4:=
21 22
	sys-libs/zlib
22 23
	elibc_musl? ( sys-libs/fts-standalone )
23 24
	ftconv? ( net-analyzer/flow-tools )
......
25 26
	nfprofile? ( net-analyzer/rrdtool )
26 27
	nftrack? ( net-analyzer/rrdtool )
27 28
	readpcap? ( net-libs/libpcap )
29
	zstd? ( app-arch/zstd:= )
28 30
"
29 31
DEPEND="${RDEPEND}"
30 32
BDEPEND="
......
36 38
	)
37 39
"
38 40

  
41
QA_CONFIG_IMPL_DECL_SKIP=(
42
	# Not available on Linux, with fallback at src/libnffile/util.h, bug #904952
43
	htonll
44
)
45

  
39 46
PATCHES=(
40 47
	"${FILESDIR}"/${PN}-1.6.19-libft.patch
48
	"${FILESDIR}"/${PN}-1.7.2-musl.patch
49
	"${FILESDIR}"/${PN}-1.7.2-nfreplay-gcc14.patch
50
	"${FILESDIR}"/${PN}-1.7.4-rrdtool-gcc14.patch
41 51
)
42 52

  
43 53
DOCS=( AUTHORS ChangeLog README.md )
......
59 69
	use elibc_musl && append-libs "-lfts"
60 70

  
61 71
	# --without-ftconf is not handled well, bug #322201
62
	econf \
63
		$(use ftconv && echo "--enable-ftconv --with-ftpath=/usr") \
64
		$(use nfpcapd && echo --enable-nfpcapd) \
65
		$(use nfprofile && echo --enable-nfprofile) \
66
		$(use nftrack && echo --enable-nftrack) \
67
		$(use_enable debug devel) \
68
		$(use_enable jnat) \
69
		$(use_enable nsel) \
70
		$(use_enable readpcap) \
72
	local myeconfargs=(
73
		$(usex ftconv "--enable-ftconv --with-ftpath=${EPREFIX}/usr")
74
		$(usex nfpcapd --enable-nfpcapd)
75
		$(usex nfprofile --enable-nfprofile)
76
		$(usex nftrack --enable-nftrack)
77
		$(use_enable debug devel)
78
		$(use_enable jnat)
79
		$(use_enable nsel)
80
		$(use_enable readpcap)
71 81
		$(use_enable sflow)
82
		$(use_with zstd "zstdpath" "${EPREFIX}/usr")
83
	)
84
	econf "${myeconfargs[@]}"
72 85
}
73 86

  
74 87
src_install() {
75 88
	default
76 89

  
77
	find "${ED}" -name '*.la' -delete || die
90
	find "${ED}" -name '*.la' -type f -delete || die
78 91

  
79 92
	newinitd "${FILESDIR}"/nfcapd.initd nfcapd
80 93
	newconfd "${FILESDIR}"/nfcapd.confd nfcapd
94
	systemd_newunit "${FILESDIR}/nfdump.service" nfdump@.service
81 95

  
82 96
	if use doc; then
83 97
		dodoc -r doc/html
Спасибо!