1 |
commit: 175b39fadecfecad356642d900b720fe9041f88c |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 29 12:29:35 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=175b39fa |
7 |
|
8 |
net-analyzer/nfdump: Old |
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 | 4 - |
14 |
.../nfdump/files/nfdump-1.6.14-libft.patch | 14 --- |
15 |
.../nfdump/files/nfdump-1.6.14-libnfdump.patch | 87 ----------------- |
16 |
.../nfdump/files/nfdump-1.6.16-DEVEL.patch | 104 --------------------- |
17 |
.../nfdump/files/nfdump-1.6.16-libnfdump.patch | 10 -- |
18 |
net-analyzer/nfdump/metadata.xml | 1 - |
19 |
net-analyzer/nfdump/nfdump-1.6.14-r1.ebuild | 58 ------------ |
20 |
net-analyzer/nfdump/nfdump-1.6.15-r1.ebuild | 63 ------------- |
21 |
net-analyzer/nfdump/nfdump-1.6.16-r1.ebuild | 63 ------------- |
22 |
9 files changed, 404 deletions(-) |
23 |
|
24 |
diff --git a/net-analyzer/nfdump/Manifest b/net-analyzer/nfdump/Manifest |
25 |
index 10dd429af90..fb7111a4d53 100644 |
26 |
--- a/net-analyzer/nfdump/Manifest |
27 |
+++ b/net-analyzer/nfdump/Manifest |
28 |
@@ -1,5 +1 @@ |
29 |
-DIST nfdump-1.6.14-security.patch 31579 BLAKE2B d747526f46837e99193bf761bceb853bb44ea54bc6ca2a9977565742e1485b706f3f33370005ccf5c854429635de01f5cf594fd43122d4a6f8912e2a457d8caf SHA512 ee3b82f1283f3dceb36cf60abcee7f5a8fb6c8fe257e2233c3fbb9a34b3c5608dfa101fd473c8b839356a9d1c294a37b9e65657ff1b2d5c015015ff90b2d2c97 |
30 |
-DIST nfdump-1.6.14.tar.gz 1834355 BLAKE2B be92ec6c6eb60c883863a21e7d203c487f176e862f6227bf21d17ade2a04815095c5c119719a18c106401519d7976a2b82e46a11b7f207494abef3e0f73d2716 SHA512 c5e5540526dfce3798728930576e4c7930c3ff80893a94d7f9e65c7c577d1e78bdc47a99c47cee837327ad202197afc378d2408b1b9b847044d0110146055ffe |
31 |
-DIST nfdump-1.6.15.tar.gz 1834855 BLAKE2B 1892cfbd1d1299c44b14a39b55c766d3dd411d7410a66b8ecbebe590c9da595c79764966ef1c91adb91b936ee3c052ad14bca27c6bcb98472011eb2c67dff60f SHA512 a6bb4f2293ad85d8f16025e7272b889d3814cea2e9255dbd315ee92754675e4ee925c3ebe4e1350f2d5452d69d1d3c13ddeb656324a409c4744da1d4927fe1f2 |
32 |
-DIST nfdump-1.6.16.tar.gz 1814857 BLAKE2B cd50680adbb6023915232bb780daf2bcc4319348444a28c89fc4fdfd19225bdf243bb42179a6bd545c06ab6fafa50091401b7a286527d1863c888a96c0b0a2eb SHA512 c1af3cf984c7eaaf1012c71c061e00f12dbcdf276306096436eb707552932c65b9f03e7a22b4cc0989d951c433f32c5c927600a8248826227f10b4fb2d906a32 |
33 |
DIST nfdump-1.6.19.tar.gz 561923 BLAKE2B 458cf0e23f433c7c1c27450712a2f9f8f75a990eeaf079bac9a74bf5abf4bc22c930294494424fd8e7f7d03ffc1e5f1e35ba50e29ba4f3528f63e1739524c9ed SHA512 577c23ca3aae8ab035c734c137d3a338e09f46b5f8551946fd84b9a03fae1ef2aa80e2ab9657eb226defcd753bb63503eeb85316ca1df18d95b85270df8f379e |
34 |
|
35 |
diff --git a/net-analyzer/nfdump/files/nfdump-1.6.14-libft.patch b/net-analyzer/nfdump/files/nfdump-1.6.14-libft.patch |
36 |
deleted file mode 100644 |
37 |
index 3699fa2a5d0..00000000000 |
38 |
--- a/net-analyzer/nfdump/files/nfdump-1.6.14-libft.patch |
39 |
+++ /dev/null |
40 |
@@ -1,14 +0,0 @@ |
41 |
---- a/configure.ac |
42 |
-+++ b/configure.ac |
43 |
-@@ -125,9 +125,8 @@ |
44 |
- if test ! -f "$WHERE_FTPATH/include/ftlib.h"; then |
45 |
- AC_MSG_ERROR(ftlib.h file not found in flow-tools directory '$WHERE_FTPATH'. Use --with-ftpath=PATH) |
46 |
- fi |
47 |
-- if test ! -f "$WHERE_FTPATH/lib/libft.a" -a -f "$WHERE_FTPATH/lib64/libft.a" ! -f "$WHERE_FTPATH/lib/libft.so" -a -f "$WHERE_FTPATH/lib64/libft.so"; then |
48 |
-- AC_MSG_ERROR(libft.a not found in flow-tools directory '$WHERE_FTPATH'. Build flow tools first) |
49 |
-- fi |
50 |
-+ AC_CHECK_LIB([ft], [main],, |
51 |
-+ AC_MSG_ERROR(libft not found in flow-tools directory '$WHERE_FTPATH'. Build flow tools first)) |
52 |
- FT_INCLUDES="-I$WHERE_FTPATH/include -I$WHERE_FTPATH/lib" |
53 |
- FT_LDFLAGS="-L$WHERE_FTPATH/lib" |
54 |
- else |
55 |
|
56 |
diff --git a/net-analyzer/nfdump/files/nfdump-1.6.14-libnfdump.patch b/net-analyzer/nfdump/files/nfdump-1.6.14-libnfdump.patch |
57 |
deleted file mode 100644 |
58 |
index 38482c4bdb1..00000000000 |
59 |
--- a/net-analyzer/nfdump/files/nfdump-1.6.14-libnfdump.patch |
60 |
+++ /dev/null |
61 |
@@ -1,87 +0,0 @@ |
62 |
---- a/bin/Makefile.am |
63 |
-+++ b/bin/Makefile.am |
64 |
-@@ -30,7 +30,6 @@ |
65 |
- LDADD = $(DEPS_LIBS) |
66 |
- |
67 |
- #Add extra debug info for gdb |
68 |
--AM_CFLAGS = -ggdb |
69 |
- |
70 |
- # libnfdump sources |
71 |
- common = nf_common.c nf_common.h |
72 |
-@@ -65,30 +64,36 @@ |
73 |
- |
74 |
- nfdump_SOURCES = nfdump.c nfdump.h nfstat.c nfstat.h nfexport.c nfexport.h \ |
75 |
- $(nflowcache) $(nfprof) |
76 |
-+nfdump_DEPENDENCIES = libnfdump.la |
77 |
- nfdump_LDADD = -lnfdump |
78 |
- |
79 |
- nfreplay_SOURCES = nfreplay.c $(nfprof) \ |
80 |
- $(nfnet) $(collector) $(nfv1) $(nfv9) $(nfv5v7) $(ipfix) |
81 |
-+nfreplay_DEPENDENCIES = libnfdump.la |
82 |
- nfreplay_LDADD = -lnfdump |
83 |
- |
84 |
- nfprofile_SOURCES = nfprofile.c profile.c profile.h $(nfstatfile) |
85 |
-+nfprofile_DEPENDENCIES = libnfdump.la |
86 |
- nfprofile_LDADD = -lnfdump -lrrd |
87 |
- |
88 |
- nftrack_SOURCES = ../extra/nftrack/nftrack.c \ |
89 |
- ../extra/nftrack/nftrack_rrd.c ../extra/nftrack/nftrack_rrd.h \ |
90 |
- ../extra/nftrack/nftrack_stat.c ../extra/nftrack/nftrack_stat.h |
91 |
- nftrack_CFLAGS = -I ../extra/nftrack |
92 |
-+nftrack_DEPENDENCIES = libnfdump.la |
93 |
- nftrack_LDADD = -lnfdump -lrrd |
94 |
- |
95 |
- nfcapd_SOURCES = nfcapd.c \ |
96 |
- $(nfstatfile) $(launch) \ |
97 |
- $(nfnet) $(collector) $(nfv1) $(nfv5v7) $(nfv9) $(ipfix) $(bookkeeper) $(expire) |
98 |
-+nfcapd_DEPENDENCIES = libnfdump.la |
99 |
- nfcapd_LDADD = -lnfdump |
100 |
- |
101 |
- nfpcapd_SOURCES = nfpcapd.c \ |
102 |
- $(pcaproc) $(netflow_pcap) \ |
103 |
- $(nfstatfile) $(launch) \ |
104 |
- $(nfnet) $(collector) $(bookkeeper) $(expire) $(content) |
105 |
-+nfpcapd_DEPENDENCIES = libnfdump.la |
106 |
- nfpcapd_LDADD = -lnfdump |
107 |
- |
108 |
- if READPCAP |
109 |
-@@ -107,6 +112,7 @@ |
110 |
- sfcapd_SOURCES = sfcapd.c sflow.c sflow.h sflow_proto.h \ |
111 |
- $(nfstatfile) $(launch) \ |
112 |
- $(nfnet) $(collector) $(bookkeeper) $(expire) |
113 |
-+sfcapd_DEPENDENCIES = libnfdump.la |
114 |
- sfcapd_LDADD = -lnfdump |
115 |
- |
116 |
- if READPCAP |
117 |
-@@ -116,25 +122,31 @@ |
118 |
- endif |
119 |
- |
120 |
- nfreader_SOURCES = nfreader.c |
121 |
-+nfreader_DEPENDENCIES = libnfdump.la |
122 |
- nfreader_LDADD = -lnfdump |
123 |
- |
124 |
- nfanon_SOURCES = nfanon.c $(anon) |
125 |
-+nfanon_DEPENDENCIES = libnfdump.la |
126 |
- nfanon_LDADD = -lnfdump |
127 |
- |
128 |
- nfgen_SOURCES = nfgen.c |
129 |
-+nfgen_DEPENDENCIES = libnfdump.la |
130 |
- nfgen_LDADD = -lnfdump |
131 |
- |
132 |
- nfexpire_SOURCES = nfexpire.c \ |
133 |
- $(bookkeeper) $(expire) $(nfstatfile) |
134 |
-+nfexpire_DEPENDENCIES = libnfdump.la |
135 |
- nfexpire_LDADD = -lnfdump @FTS_OBJ@ |
136 |
- |
137 |
- nftest_SOURCES = nftest.c |
138 |
-+nftest_DEPENDENCIES = libnfdump.la |
139 |
- nftest_LDADD = -lnfdump |
140 |
- nftest_DEPENDENCIES = nfgen |
141 |
- |
142 |
- if FT2NFDUMP |
143 |
- ft2nfdump_SOURCES = ft2nfdump.c |
144 |
- ft2nfdump_CFLAGS = @FT_INCLUDES@ |
145 |
-+ft2nfdump_DEPENDENCIES = libnfdump.la |
146 |
- ft2nfdump_LDADD = -lnfdump -lft -lz |
147 |
- ft2nfdump_LDADD += @FT_LDFLAGS@ |
148 |
- endif |
149 |
|
150 |
diff --git a/net-analyzer/nfdump/files/nfdump-1.6.16-DEVEL.patch b/net-analyzer/nfdump/files/nfdump-1.6.16-DEVEL.patch |
151 |
deleted file mode 100644 |
152 |
index 21aeb6f0e34..00000000000 |
153 |
--- a/net-analyzer/nfdump/files/nfdump-1.6.16-DEVEL.patch |
154 |
+++ /dev/null |
155 |
@@ -1,104 +0,0 @@ |
156 |
---- a/bin/flowtree.c |
157 |
-+++ b/bin/flowtree.c |
158 |
-@@ -467,9 +467,8 @@ void Push_Node(NodeList_t *NodeList, struct FlowNode *node) { |
159 |
- NodeList->last = node; |
160 |
- NodeList->length++; |
161 |
- #ifdef DEVEL |
162 |
-- int proto = node->proto; |
163 |
- printf("pushed node 0x%llx proto: %u, length: %u first: %llx, last: %llx\n", |
164 |
-- (unsigned long long)node, proto, NodeList->length, (unsigned long long)NodeList->list, (unsigned long long)NodeList->last); |
165 |
-+ (unsigned long long)node, node->proto, NodeList->length, (unsigned long long)NodeList->list, (unsigned long long)NodeList->last); |
166 |
- ListCheck(NodeList); |
167 |
- #endif |
168 |
- if ( NodeList->waiting ) { |
169 |
-@@ -483,7 +482,6 @@ void Push_Node(NodeList_t *NodeList, struct FlowNode *node) { |
170 |
- |
171 |
- struct FlowNode *Pop_Node(NodeList_t *NodeList, int *done) { |
172 |
- struct FlowNode *node; |
173 |
--int proto; |
174 |
- |
175 |
- GetTreeLock(NodeList); |
176 |
- while ( NodeList->length == 0 && !*done ) { |
177 |
-@@ -522,12 +520,11 @@ int proto; |
178 |
- |
179 |
- node->left = NULL; |
180 |
- node->right = NULL; |
181 |
-- proto = node->proto; |
182 |
- |
183 |
- NodeList->length--; |
184 |
- #ifdef DEVEL |
185 |
- printf("popped node 0x%llx proto: %u, length: %u first: %llx, last: %llx\n", |
186 |
-- (unsigned long long)node, proto, NodeList->length, (unsigned long long)NodeList->list, (unsigned long long)NodeList->last); |
187 |
-+ (unsigned long long)node, node->proto, NodeList->length, (unsigned long long)NodeList->list, (unsigned long long)NodeList->last); |
188 |
- |
189 |
- ListCheck(NodeList); |
190 |
- #endif |
191 |
---- a/bin/nfexpire.c |
192 |
-+++ b/bin/nfexpire.c |
193 |
-@@ -212,12 +212,12 @@ int main( int argc, char **argv ) { |
194 |
- struct stat fstat; |
195 |
- int c, err, maxsize_set, maxlife_set; |
196 |
- int do_rescan, do_expire, do_list, print_stat, do_update_param, print_books, is_profile, nfsen_format; |
197 |
--char *maxsize_string, *lifetime_string, *datadir; |
198 |
-+char *lifetime_string, *datadir; |
199 |
- uint64_t maxsize, lifetime, low_water; |
200 |
- uint32_t runtime; |
201 |
- channel_t *channel, *current_channel; |
202 |
- |
203 |
-- maxsize_string = lifetime_string = NULL; |
204 |
-+ lifetime_string = NULL; |
205 |
- datadir = NULL; |
206 |
- maxsize = lifetime = 0; |
207 |
- do_rescan = 0; |
208 |
---- a/bin/nfstat.c |
209 |
-+++ b/bin/nfstat.c |
210 |
-@@ -1670,7 +1670,7 @@ uint32_t maxindex, c; |
211 |
- else |
212 |
- printf("Top flows ordered by %s:\n", order_mode[order_index].string); |
213 |
- } |
214 |
-- if ( !record_header ) |
215 |
-+ if ( record_header ) |
216 |
- printf("%s\n", record_header); |
217 |
- } |
218 |
- PrintSortedFlowcache(SortList, maxindex, topN, 0, print_record, tag, DESCENDING, extension_map_list); |
219 |
---- a/bin/sflow.c |
220 |
-+++ b/bin/sflow.c |
221 |
-@@ -515,11 +515,17 @@ static inline void readCountersSample_v2v4(SFSample *sample, FlowSource_t *fs); |
222 |
- |
223 |
- static inline void StoreSflowRecord(SFSample *sample, FlowSource_t *fs); |
224 |
- |
225 |
-+extern int verbose; |
226 |
-+ |
227 |
- #ifdef DEVEL |
228 |
- static inline char *printTag(uint32_t tag, char *buf, int bufLen); |
229 |
--#endif |
230 |
- |
231 |
--extern int verbose; |
232 |
-+static inline char *printTag(uint32_t tag, char *buf, int bufLen) { |
233 |
-+ snprintf(buf, bufLen, "%u:%u", (tag >> 12), (tag & 0x00000FFF)); |
234 |
-+ return buf; |
235 |
-+} // End of printTag |
236 |
-+ |
237 |
-+#endif |
238 |
- |
239 |
- |
240 |
- /*_________________---------------------------__________________ |
241 |
-@@ -1410,15 +1416,11 @@ static inline uint32_t getAddress(SFSample *sample, SFLAddress *address) { |
242 |
- static inline void skipTLVRecord(SFSample *sample, uint32_t tag, uint32_t len, char *description) { |
243 |
- |
244 |
- #ifdef DEVEL |
245 |
--static inline char *printTag(uint32_t tag, char *buf, int bufLen) { |
246 |
-- snprintf(buf, bufLen, "%u:%u", (tag >> 12), (tag & 0x00000FFF)); |
247 |
-- return buf; |
248 |
--} // End of printTag |
249 |
-- |
250 |
--char buf[51]; |
251 |
-+ char buf[51]; |
252 |
-+ snprintf(buf, 50, "%u:%u", (tag >> 12), (tag & 0x00000FFF)); |
253 |
-+ printf("skipping unknown %s: 0x%x, %s len=%d\n", description, tag, buf, len); |
254 |
- #endif |
255 |
- |
256 |
-- dbg_printf("skipping unknown %s: 0x%x, %s len=%d\n", description, tag, printTag(tag, buf, 50), len); |
257 |
- skipBytes(sample, len); |
258 |
- } // End of skipTLVRecord |
259 |
- |
260 |
|
261 |
diff --git a/net-analyzer/nfdump/files/nfdump-1.6.16-libnfdump.patch b/net-analyzer/nfdump/files/nfdump-1.6.16-libnfdump.patch |
262 |
deleted file mode 100644 |
263 |
index a748969da2e..00000000000 |
264 |
--- a/net-analyzer/nfdump/files/nfdump-1.6.16-libnfdump.patch |
265 |
+++ /dev/null |
266 |
@@ -1,10 +0,0 @@ |
267 |
---- a/bin/Makefile.am |
268 |
-+++ b/bin/Makefile.am |
269 |
-@@ -30,7 +30,6 @@ |
270 |
- LDADD = $(DEPS_LIBS) |
271 |
- |
272 |
- #Add extra debug info for gdb |
273 |
--AM_CFLAGS = -ggdb |
274 |
- |
275 |
- # libnfdump sources |
276 |
- common = nf_common.c nf_common.h |
277 |
|
278 |
diff --git a/net-analyzer/nfdump/metadata.xml b/net-analyzer/nfdump/metadata.xml |
279 |
index f6dc8af136a..435ade18773 100644 |
280 |
--- a/net-analyzer/nfdump/metadata.xml |
281 |
+++ b/net-analyzer/nfdump/metadata.xml |
282 |
@@ -7,7 +7,6 @@ |
283 |
</maintainer> |
284 |
<use> |
285 |
<flag name="readpcap">Build nfcapd collector to read from pcap file instead ofnetwork data</flag> |
286 |
- <flag name="compat15">Enable read support for nfdump data files created with nfdump 1.5.x</flag> |
287 |
<flag name="ftconv">Build the flow-tools to nfdump converter</flag> |
288 |
<flag name="nfprofile">Build nfprofile used by NfSen</flag> |
289 |
<flag name="nftrack">Build nfprofile used by PortTracker</flag> |
290 |
|
291 |
diff --git a/net-analyzer/nfdump/nfdump-1.6.14-r1.ebuild b/net-analyzer/nfdump/nfdump-1.6.14-r1.ebuild |
292 |
deleted file mode 100644 |
293 |
index 64b2478d5f8..00000000000 |
294 |
--- a/net-analyzer/nfdump/nfdump-1.6.14-r1.ebuild |
295 |
+++ /dev/null |
296 |
@@ -1,58 +0,0 @@ |
297 |
-# Copyright 1999-2020 Gentoo Authors |
298 |
-# Distributed under the terms of the GNU General Public License v2 |
299 |
- |
300 |
-EAPI=5 |
301 |
-inherit autotools eutils |
302 |
- |
303 |
-DESCRIPTION="A set of tools to collect and process netflow data" |
304 |
-HOMEPAGE="https://github.com/phaag/nfdump" |
305 |
-SRC_URI=" |
306 |
- https://github.com/phaag/nfdump/archive/v${PV}.tar.gz -> ${P}.tar.gz |
307 |
- https://github.com/phaag/nfdump/commit/ff0e855bd1f51bed9fc5d8559c64d3cfb475a5d8.patch -> ${P}-security.patch |
308 |
-" |
309 |
- |
310 |
-LICENSE="BSD" |
311 |
-SLOT="0/${PV}" |
312 |
-KEYWORDS="amd64 x86" |
313 |
-IUSE="compat15 debug ftconv nfprofile nftrack readpcap sflow" |
314 |
- |
315 |
-COMMON_DEPEND=" |
316 |
- app-arch/bzip2 |
317 |
- sys-libs/zlib |
318 |
- ftconv? ( sys-libs/zlib net-analyzer/flow-tools ) |
319 |
- nfprofile? ( net-analyzer/rrdtool ) |
320 |
- nftrack? ( net-analyzer/rrdtool ) |
321 |
- readpcap? ( net-libs/libpcap ) |
322 |
-" |
323 |
-DEPEND=" |
324 |
- ${COMMON_DEPEND} |
325 |
- sys-devel/flex |
326 |
- virtual/yacc |
327 |
-" |
328 |
-RDEPEND=" |
329 |
- ${COMMON_DEPEND} |
330 |
- dev-lang/perl |
331 |
-" |
332 |
- |
333 |
-DOCS=( AUTHORS ChangeLog NEWS README ) |
334 |
- |
335 |
-src_prepare() { |
336 |
- epatch \ |
337 |
- "${FILESDIR}"/${PN}-1.6.14-libft.patch \ |
338 |
- "${FILESDIR}"/${PN}-1.6.14-libnfdump.patch \ |
339 |
- "${DISTDIR}"/${P}-security.patch |
340 |
- |
341 |
- eautoreconf |
342 |
-} |
343 |
- |
344 |
-src_configure() { |
345 |
- # --without-ftconf is not handled well #322201 |
346 |
- econf \ |
347 |
- $(use ftconv && echo "--enable-ftconv --with-ftpath=/usr") \ |
348 |
- $(use nfprofile && echo --enable-nfprofile) \ |
349 |
- $(use nftrack && echo --enable-nftrack) \ |
350 |
- $(use_enable compat15) \ |
351 |
- $(use_enable debug devel) \ |
352 |
- $(use_enable readpcap) \ |
353 |
- $(use_enable sflow) |
354 |
-} |
355 |
|
356 |
diff --git a/net-analyzer/nfdump/nfdump-1.6.15-r1.ebuild b/net-analyzer/nfdump/nfdump-1.6.15-r1.ebuild |
357 |
deleted file mode 100644 |
358 |
index 1bc02e2ad82..00000000000 |
359 |
--- a/net-analyzer/nfdump/nfdump-1.6.15-r1.ebuild |
360 |
+++ /dev/null |
361 |
@@ -1,63 +0,0 @@ |
362 |
-# Copyright 1999-2020 Gentoo Authors |
363 |
-# Distributed under the terms of the GNU General Public License v2 |
364 |
- |
365 |
-EAPI=6 |
366 |
-inherit autotools eutils ltprune |
367 |
- |
368 |
-DESCRIPTION="A set of tools to collect and process netflow data" |
369 |
-HOMEPAGE="https://github.com/phaag/nfdump" |
370 |
-SRC_URI="https://github.com/phaag/nfdump/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
371 |
- |
372 |
-LICENSE="BSD" |
373 |
-SLOT="0/${PV}" |
374 |
-KEYWORDS="~amd64 ~x86" |
375 |
-IUSE="compat15 debug ftconv nfprofile nftrack readpcap sflow static-libs" |
376 |
- |
377 |
-COMMON_DEPEND=" |
378 |
- app-arch/bzip2 |
379 |
- sys-libs/zlib |
380 |
- ftconv? ( sys-libs/zlib net-analyzer/flow-tools ) |
381 |
- nfprofile? ( net-analyzer/rrdtool ) |
382 |
- nftrack? ( net-analyzer/rrdtool ) |
383 |
- readpcap? ( net-libs/libpcap ) |
384 |
-" |
385 |
-DEPEND=" |
386 |
- ${COMMON_DEPEND} |
387 |
- sys-devel/flex |
388 |
- virtual/yacc |
389 |
-" |
390 |
-RDEPEND=" |
391 |
- ${COMMON_DEPEND} |
392 |
- dev-lang/perl |
393 |
-" |
394 |
- |
395 |
-DOCS=( AUTHORS ChangeLog README.md ) |
396 |
- |
397 |
-src_prepare() { |
398 |
- eapply \ |
399 |
- "${FILESDIR}"/${PN}-1.6.14-libft.patch \ |
400 |
- "${FILESDIR}"/${PN}-1.6.14-libnfdump.patch |
401 |
- |
402 |
- eapply_user |
403 |
- |
404 |
- eautoreconf |
405 |
-} |
406 |
- |
407 |
-src_configure() { |
408 |
- # --without-ftconf is not handled well #322201 |
409 |
- econf \ |
410 |
- $(use ftconv && echo "--enable-ftconv --with-ftpath=/usr") \ |
411 |
- $(use nfprofile && echo --enable-nfprofile) \ |
412 |
- $(use nftrack && echo --enable-nftrack) \ |
413 |
- $(use_enable compat15) \ |
414 |
- $(use_enable debug devel) \ |
415 |
- $(use_enable readpcap) \ |
416 |
- $(use_enable sflow) \ |
417 |
- $(use_enable static-libs static) |
418 |
-} |
419 |
- |
420 |
-src_install() { |
421 |
- default |
422 |
- |
423 |
- prune_libtool_files |
424 |
-} |
425 |
|
426 |
diff --git a/net-analyzer/nfdump/nfdump-1.6.16-r1.ebuild b/net-analyzer/nfdump/nfdump-1.6.16-r1.ebuild |
427 |
deleted file mode 100644 |
428 |
index 1c1536dcf58..00000000000 |
429 |
--- a/net-analyzer/nfdump/nfdump-1.6.16-r1.ebuild |
430 |
+++ /dev/null |
431 |
@@ -1,63 +0,0 @@ |
432 |
-# Copyright 1999-2020 Gentoo Authors |
433 |
-# Distributed under the terms of the GNU General Public License v2 |
434 |
- |
435 |
-EAPI=6 |
436 |
-inherit autotools eutils ltprune |
437 |
- |
438 |
-DESCRIPTION="A set of tools to collect and process netflow data" |
439 |
-HOMEPAGE="https://github.com/phaag/nfdump" |
440 |
-SRC_URI="https://github.com/phaag/nfdump/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
441 |
- |
442 |
-LICENSE="BSD" |
443 |
-SLOT="0/1.6.15" |
444 |
-KEYWORDS="~amd64 ~x86" |
445 |
-IUSE="compat15 debug ftconv nfprofile nftrack readpcap sflow static-libs" |
446 |
- |
447 |
-COMMON_DEPEND=" |
448 |
- app-arch/bzip2 |
449 |
- sys-libs/zlib |
450 |
- ftconv? ( sys-libs/zlib net-analyzer/flow-tools ) |
451 |
- nfprofile? ( net-analyzer/rrdtool ) |
452 |
- nftrack? ( net-analyzer/rrdtool ) |
453 |
- readpcap? ( net-libs/libpcap ) |
454 |
-" |
455 |
-DEPEND=" |
456 |
- ${COMMON_DEPEND} |
457 |
- sys-devel/flex |
458 |
- virtual/yacc |
459 |
-" |
460 |
-RDEPEND=" |
461 |
- ${COMMON_DEPEND} |
462 |
- dev-lang/perl |
463 |
-" |
464 |
-DOCS=( AUTHORS ChangeLog README.md ) |
465 |
-PATCHES=( |
466 |
- "${FILESDIR}"/${PN}-1.6.14-libft.patch |
467 |
- "${FILESDIR}"/${PN}-1.6.16-libnfdump.patch |
468 |
- "${FILESDIR}"/${PN}-1.6.16-DEVEL.patch |
469 |
-) |
470 |
- |
471 |
-src_prepare() { |
472 |
- default |
473 |
- |
474 |
- eautoreconf |
475 |
-} |
476 |
- |
477 |
-src_configure() { |
478 |
- # --without-ftconf is not handled well #322201 |
479 |
- econf \ |
480 |
- $(use ftconv && echo "--enable-ftconv --with-ftpath=/usr") \ |
481 |
- $(use nfprofile && echo --enable-nfprofile) \ |
482 |
- $(use nftrack && echo --enable-nftrack) \ |
483 |
- $(use_enable compat15) \ |
484 |
- $(use_enable debug devel) \ |
485 |
- $(use_enable readpcap) \ |
486 |
- $(use_enable sflow) \ |
487 |
- $(use_enable static-libs static) |
488 |
-} |
489 |
- |
490 |
-src_install() { |
491 |
- default |
492 |
- |
493 |
- prune_libtool_files |
494 |
-} |