File tree 2 files changed +64
-0
lines changed
2 files changed +64
-0
lines changed Original file line number Diff line number Diff line change 1
1
DIST nfdump-1.6.19.tar.gz 561923 BLAKE2B 458cf0e23f433c7c1c27450712a2f9f8f75a990eeaf079bac9a74bf5abf4bc22c930294494424fd8e7f7d03ffc1e5f1e35ba50e29ba4f3528f63e1739524c9ed SHA512 577c23ca3aae8ab035c734c137d3a338e09f46b5f8551946fd84b9a03fae1ef2aa80e2ab9657eb226defcd753bb63503eeb85316ca1df18d95b85270df8f379e
2
+ DIST nfdump-1.6.20.tar.gz 561053 BLAKE2B 20c8db09386a4aa6174d3c2919c33409a4b2d9b295908ae61e8ce12107c08ba7742fb7ec80bcb7bcdb15e036e6d2320c83f0446a479185cb18717720eca87c88 SHA512 8396241fa24d532540135762a81ce035586c405d4ab1e01d6e2b8226b7cc9b6784170ca1fa4c1581fb60f324473cca5ce2d3de82282313d3877f9584e449d137
Original file line number Diff line number Diff line change
1
+ # Copyright 1999-2020 Gentoo Authors
2
+ # Distributed under the terms of the GNU General Public License v2
3
+
4
+ EAPI=7
5
+ inherit autotools
6
+
7
+ DESCRIPTION=" A set of tools to collect and process netflow data"
8
+ HOMEPAGE=" https://github.com/phaag/nfdump"
9
+ SRC_URI=" https://github.com/phaag/nfdump/archive/v${PV} .tar.gz -> ${P} .tar.gz"
10
+
11
+ LICENSE=" BSD"
12
+ SLOT=" 0/1.6.15"
13
+ KEYWORDS=" ~amd64 ~x86"
14
+ IUSE=" debug ftconv nfprofile nftrack readpcap sflow static-libs"
15
+
16
+ COMMON_DEPEND="
17
+ app-arch/bzip2
18
+ sys-libs/zlib
19
+ ftconv? ( sys-libs/zlib net-analyzer/flow-tools )
20
+ nfprofile? ( net-analyzer/rrdtool )
21
+ nftrack? ( net-analyzer/rrdtool )
22
+ readpcap? ( net-libs/libpcap )
23
+ "
24
+ DEPEND="
25
+ ${COMMON_DEPEND}
26
+ app-doc/doxygen
27
+ sys-devel/flex
28
+ virtual/yacc
29
+ "
30
+ RDEPEND="
31
+ ${COMMON_DEPEND}
32
+ dev-lang/perl
33
+ "
34
+ PATCHES=(
35
+ " ${FILESDIR} " /${PN} -1.6.19-compiler.patch
36
+ " ${FILESDIR} " /${PN} -1.6.19-libft.patch
37
+ )
38
+ DOCS=( AUTHORS ChangeLog README.md )
39
+
40
+ src_prepare () {
41
+ default
42
+
43
+ eautoreconf
44
+
45
+ doxygen -u doc/Doxyfile.in || die
46
+ }
47
+
48
+ src_configure () {
49
+ # --without-ftconf is not handled well #322201
50
+ econf \
51
+ $( use ftconv && echo " --enable-ftconv --with-ftpath=/usr" ) \
52
+ $( use nfprofile && echo --enable-nfprofile) \
53
+ $( use nftrack && echo --enable-nftrack) \
54
+ $( use_enable debug devel) \
55
+ $( use_enable readpcap) \
56
+ $( use_enable sflow) \
57
+ $( use_enable static-libs static)
58
+ }
59
+
60
+ src_install () {
61
+ default
62
+ find " ${ED} " -name ' *.la' -delete || die
63
+ }
You can’t perform that action at this time.
0 commit comments