1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Tools to collect and process netflow data
8 HOMEPAGE= https://github.com/phaag/nfdump
12 SITES[main]= GITHUB/phaag:nfdump:v1.7.1
13 DISTFILE[1]= generated:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= PCAP
18 OPTIONS_STANDARD= PCAP
21 OPT_ON[dragonfly]= PCAP
22 OPT_ON[midnightbsd]= PCAP
24 BUILDRUN_DEPENDS= flex:primary:standard
25 rrdtool:primary:standard
27 USES= cpe autoreconf libtool pkgconfig bz2:build
29 LICENSE= BSD3CLAUSE:single
30 LICENSE_FILE= BSD3CLAUSE:{{WRKSRC}}/BSD-license.txt
33 CPE_VENDOR= nfdump_project
34 FPC_EQUIVALENT= net-mgmt/nfdump
37 CONFIGURE_ARGS= --with-rrdpath={{LOCALBASE}}
47 INSTALL_TARGET= install-strip
48 INSTALL_REQ_TOOLCHAIN= yes
49 PLIST_SUB= VERSION=1.7.1
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
58 ${MV} ${STAGEDIR}${PREFIX}/etc/nfdump.conf.dist \
59 ${STAGEDIR}${PREFIX}/etc/nfdump.conf.sample
61 [FILE:735:descriptions/desc.single]
62 NFDUMP tools support netflow v5, v7 and v9 capturing and processing.
64 nfcapd - netflow capture daemon.
65 Reads the netflow data from the network and stores the data into files.
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.
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.
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.
80 ft2nfdump - flow-tools to nfdump - optional component.
84 b06e0a7cee1dc641f67f404049ecee9b4d0ee1113542798d7df022ed9f2f4609 741446 phaag-nfdump-1.7.1.tar.gz
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
101 libnfdump-%%VERSION%%.so
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
121 +#include <sys/types.h>
122 #include <netinet/in.h>
123 #include <netinet/in_systm.h>
124 #include <netinet/ip.h>
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>
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
142 +#include <sys/types.h>
147 #include <sys/ioctl.h>
148 #include <sys/param.h>
149 #include <sys/time.h>
150 -#include <sys/types.h>
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
161 #include <sys/param.h>
162 #include <sys/types.h>
163 +#include <sys/stat.h> // for S_IFREG
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
176 +#include <sys/types.h>
177 #ifdef HAVE_NET_ETHERNET_H
178 #include <net/ethernet.h>