Ravenports generated: 08 Feb 2023 00:14
[ravenports.git] / bucket_5F / nfdump
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               nfdump
4 VERSION=                1.7.1
5 KEYWORDS=               net_mgmt
6 VARIANTS=               standard
7 SDESC[standard]=        Tools to collect and process netflow data
8 HOMEPAGE=               https://github.com/phaag/nfdump
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            GITHUB/phaag:nfdump:v1.7.1
13 DISTFILE[1]=            generated:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      PCAP
18 OPTIONS_STANDARD=       PCAP
19 OPT_ON[freebsd]=        PCAP
20 OPT_ON[netbsd]=         PCAP
21 OPT_ON[dragonfly]=      PCAP
22
23 BUILDRUN_DEPENDS=       flex:primary:standard
24                         rrdtool:primary:standard
25
26 USES=                   cpe autoreconf libtool pkgconfig bz2:build
27
28 LICENSE=                BSD3CLAUSE:single
29 LICENSE_FILE=           BSD3CLAUSE:{{WRKSRC}}/BSD-license.txt
30 LICENSE_SCHEME=         solo
31
32 CPE_VENDOR=             nfdump_project
33 FPC_EQUIVALENT=         net-mgmt/nfdump
34
35 MUST_CONFIGURE=         gnu
36 CONFIGURE_ARGS=         --with-rrdpath={{LOCALBASE}}
37                         --enable-nftrack
38                         --enable-sflow
39                         --enable-nfprofile
40                         --enable-fixtimebug
41                         --enable-nsel
42                         --disable-influxdb
43
44 SINGLE_JOB=             yes
45
46 INSTALL_TARGET=         install-strip
47 INSTALL_REQ_TOOLCHAIN=  yes
48 PLIST_SUB=              VERSION=1.7.1
49
50 [PCAP].DESCRIPTION=                     Include Package Capture capability
51 [PCAP].BUILDRUN_DEPENDS_ON=             libpcap:single:standard
52 [PCAP].CONFIGURE_ARGS_ON=               --enable-readpcap
53                                         --enable-nfpcapd
54
55 post-install:
56         ${MV} ${STAGEDIR}${PREFIX}/etc/nfdump.conf.dist \
57                 ${STAGEDIR}${PREFIX}/etc/nfdump.conf.sample
58
59 [FILE:735:descriptions/desc.single]
60 NFDUMP tools support netflow v5, v7 and v9 capturing and processing.
61
62 nfcapd - netflow capture daemon.
63 Reads the netflow data from the network and stores the data into files.
64
65 nfdump - netflow dump.
66 Reads the netflow data from the files stored by nfcapd. It's syntax is
67 similar to tcpdump. If you like tcpdump you will like nfdump.
68
69 nfprofile - netflow profiler.
70 Reads the netflow data from the files stored by nfcapd. Filters the netflow
71 data according to the specified filter sets (profiles) and stores the
72 filtered data into files for later use.
73
74 nfreplay - netflow replay.
75 Reads the netflow data from the files stored by nfcapd and sends it over
76 the network to another host.
77
78 ft2nfdump - flow-tools to nfdump - optional component.
79
80
81 [FILE:104:distinfo]
82 b06e0a7cee1dc641f67f404049ecee9b4d0ee1113542798d7df022ed9f2f4609       741446 phaag-nfdump-1.7.1.tar.gz
83
84
85 [FILE:342:manifests/plist.single]
86 @sample etc/nfdump.conf.sample
87 %%PCAP-ON%%bin/nfpcapd
88 %%PCAP-ON%%share/man/man1/nfpcapd.1.gz
89 bin/
90  nfanon
91  nfcapd
92  nfdump
93  nfexpire
94  nfprofile
95  nfreplay
96  nftrack
97  sfcapd
98 lib/
99  libnfdump-%%VERSION%%.so
100  libnfdump.a
101  libnfdump.so
102 share/man/man1/
103  nfanon.1.gz
104  nfcapd.1.gz
105  nfdump.1.gz
106  nfexpire.1.gz
107  nfprofile.1.gz
108  nfreplay.1.gz
109  sfcapd.1.gz
110
111
112 [FILE:441:patches/patch-src_nfpcapd_nfpcapd.c]
113 --- src/nfpcapd/nfpcapd.c.orig  2022-12-24 12:30:59 UTC
114 +++ src/nfpcapd/nfpcapd.c
115 @@ -33,6 +33,7 @@
116  #include <errno.h>
117  #include <fcntl.h>
118  #include <libgen.h>
119 +#include <sys/types.h>
120  #include <netinet/in.h>
121  #include <netinet/in_systm.h>
122  #include <netinet/ip.h>
123 @@ -52,7 +53,6 @@
124  #include <sys/socket.h>
125  #include <sys/stat.h>
126  #include <sys/time.h>
127 -#include <sys/types.h>
128  #include <sys/wait.h>
129  #include <time.h>
130  #include <unistd.h>
131
132
133 [FILE:391:patches/patch-src_nfpcapd_packet__bpf.c]
134 --- src/nfpcapd/packet_bpf.c.orig       2022-12-24 12:30:59 UTC
135 +++ src/nfpcapd/packet_bpf.c
136 @@ -30,6 +30,7 @@
137  
138  #include <errno.h>
139  #include <fcntl.h>
140 +#include <sys/types.h>
141  #include <net/bpf.h>
142  #include <net/if.h>
143  #include <pthread.h>
144 @@ -42,7 +43,6 @@
145  #include <sys/ioctl.h>
146  #include <sys/param.h>
147  #include <sys/time.h>
148 -#include <sys/types.h>
149  #include <time.h>
150  #include <unistd.h>
151  
152
153
154 [FILE:250:patches/patch-src_nfpcapd_pcapdump.c]
155 --- src/nfpcapd/pcapdump.c.orig 2022-12-24 12:30:59 UTC
156 +++ src/nfpcapd/pcapdump.c
157 @@ -40,6 +40,7 @@
158  #include <string.h>
159  #include <sys/param.h>
160  #include <sys/types.h>
161 +#include <sys/stat.h> // for S_IFREG
162  #include <time.h>
163  #include <unistd.h>
164  
165
166
167 [FILE:217:patches/patch-src_nfpcapd_pcaproc.h]
168 --- src/nfpcapd/pcaproc.h.orig  2022-12-24 12:30:59 UTC
169 +++ src/nfpcapd/pcaproc.h
170 @@ -41,6 +41,7 @@
171  #include <stdint.h>
172  #endif
173  
174 +#include <sys/types.h>
175  #ifdef HAVE_NET_ETHERNET_H
176  #include <net/ethernet.h>
177  #endif
178