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