Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nfdump/
Date: Sun, 02 Aug 2020 10:43:50
Message-Id: 1596365022.9ba2635768ec1b941ece310c1496c07cc5792843.jer@gentoo
1 commit: 9ba2635768ec1b941ece310c1496c07cc5792843
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 2 10:19:02 2020 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 2 10:43:42 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ba26357
7
8 net-analyzer/nfdump: Version 1.6.21
9
10 Package-Manager: Portage-3.0.1, Repoman-2.3.23
11 Bug: https://bugs.gentoo.org/712590
12 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
13
14 net-analyzer/nfdump/Manifest | 1 +
15 net-analyzer/nfdump/nfdump-1.6.21.ebuild | 71 ++++++++++++++++++++++++++++++++
16 2 files changed, 72 insertions(+)
17
18 diff --git a/net-analyzer/nfdump/Manifest b/net-analyzer/nfdump/Manifest
19 index a576e2cdefd..8e6ae49f88b 100644
20 --- a/net-analyzer/nfdump/Manifest
21 +++ b/net-analyzer/nfdump/Manifest
22 @@ -1,2 +1,3 @@
23 DIST nfdump-1.6.19.tar.gz 561923 BLAKE2B 458cf0e23f433c7c1c27450712a2f9f8f75a990eeaf079bac9a74bf5abf4bc22c930294494424fd8e7f7d03ffc1e5f1e35ba50e29ba4f3528f63e1739524c9ed SHA512 577c23ca3aae8ab035c734c137d3a338e09f46b5f8551946fd84b9a03fae1ef2aa80e2ab9657eb226defcd753bb63503eeb85316ca1df18d95b85270df8f379e
24 DIST nfdump-1.6.20.tar.gz 561053 BLAKE2B 20c8db09386a4aa6174d3c2919c33409a4b2d9b295908ae61e8ce12107c08ba7742fb7ec80bcb7bcdb15e036e6d2320c83f0446a479185cb18717720eca87c88 SHA512 8396241fa24d532540135762a81ce035586c405d4ab1e01d6e2b8226b7cc9b6784170ca1fa4c1581fb60f324473cca5ce2d3de82282313d3877f9584e449d137
25 +DIST nfdump-1.6.21.tar.gz 561617 BLAKE2B 61a52cb7ee724c47f93e0ce8dd0515306c16b94d8b351f9543deecc2b28c813f09f0e4ba621f2561760924af683ffd527d00936fbc5f91f83d6f727d6cf9e5d9 SHA512 c9162b7a6653267cd4d66a2d75bb2c3d65c431bb29ee549bac2a208fe7f2bc871bb91dfa6d89d6f18cd69f1d435dd25ba1c5dfe6e10b0efc4a582f2e67913a34
26
27 diff --git a/net-analyzer/nfdump/nfdump-1.6.21.ebuild b/net-analyzer/nfdump/nfdump-1.6.21.ebuild
28 new file mode 100644
29 index 00000000000..4c59fb92bae
30 --- /dev/null
31 +++ b/net-analyzer/nfdump/nfdump-1.6.21.ebuild
32 @@ -0,0 +1,71 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +inherit autotools
38 +
39 +DESCRIPTION="A set of tools to collect and process netflow data"
40 +HOMEPAGE="https://github.com/phaag/nfdump"
41 +SRC_URI="https://github.com/phaag/nfdump/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="BSD"
44 +SLOT="0/1.6.15"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="debug doc ftconv nfprofile nftrack readpcap sflow static-libs"
47 +
48 +COMMON_DEPEND="
49 + app-arch/bzip2
50 + sys-libs/zlib
51 + ftconv? ( sys-libs/zlib net-analyzer/flow-tools )
52 + nfprofile? ( net-analyzer/rrdtool )
53 + nftrack? ( net-analyzer/rrdtool )
54 + readpcap? ( net-libs/libpcap )
55 +"
56 +DEPEND="
57 + ${COMMON_DEPEND}
58 +"
59 +BDEPEND="
60 + sys-devel/flex
61 + virtual/yacc
62 + doc? ( app-doc/doxygen )
63 +"
64 +RDEPEND="
65 + ${COMMON_DEPEND}
66 +"
67 +PATCHES=(
68 + "${FILESDIR}"/${PN}-1.6.19-compiler.patch
69 + "${FILESDIR}"/${PN}-1.6.19-libft.patch
70 +)
71 +DOCS=( AUTHORS ChangeLog README.md )
72 +
73 +src_prepare() {
74 + default
75 +
76 + eautoreconf
77 +
78 + if use doc; then
79 + doxygen -u doc/Doxyfile.in || die
80 + fi
81 +}
82 +
83 +src_configure() {
84 + # --without-ftconf is not handled well #322201
85 + econf \
86 + $(use ftconv && echo "--enable-ftconv --with-ftpath=/usr") \
87 + $(use nfprofile && echo --enable-nfprofile) \
88 + $(use nftrack && echo --enable-nftrack) \
89 + $(use_enable debug devel) \
90 + $(use_enable readpcap) \
91 + $(use_enable sflow) \
92 + $(use_enable static-libs static)
93 +}
94 +
95 +src_install() {
96 + default
97 +
98 + find "${ED}" -name '*.la' -delete || die
99 +
100 + if use doc; then
101 + dodoc -r doc/html
102 + fi
103 +}