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