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
23 BUILDRUN_DEPENDS= flex:primary:standard
24 rrdtool:primary:standard
26 USES= cpe autoreconf libtool pkgconfig
28 LICENSE= BSD3CLAUSE:single
29 LICENSE_FILE= BSD3CLAUSE:{{WRKSRC}}/BSD-license.txt
32 CPE_VENDOR= nfdump_project
33 FPC_EQUIVALENT= net-mgmt/nfdump
36 CONFIGURE_ARGS= --with-rrdpath={{LOCALBASE}}
46 INSTALL_TARGET= install-strip
47 INSTALL_REQ_TOOLCHAIN= yes
48 PLIST_SUB= VERSION=1.7.1
50 [PCAP].DESCRIPTION= Include Package Capture capability
51 [PCAP].BUILDRUN_DEPENDS_ON= libpcap:single:standard
52 [PCAP].CONFIGURE_ARGS_ON= --enable-readpcap
56 ${MV} ${STAGEDIR}${PREFIX}/etc/nfdump.conf.dist \
57 ${STAGEDIR}${PREFIX}/etc/nfdump.conf.sample
59 [FILE:735:descriptions/desc.single]
60 NFDUMP tools support netflow v5, v7 and v9 capturing and processing.
62 nfcapd - netflow capture daemon.
63 Reads the netflow data from the network and stores the data into files.
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.
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.
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.
78 ft2nfdump - flow-tools to nfdump - optional component.
82 b06e0a7cee1dc641f67f404049ecee9b4d0ee1113542798d7df022ed9f2f4609 741446 phaag-nfdump-1.7.1.tar.gz
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
99 libnfdump-%%VERSION%%.so
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
119 +#include <sys/types.h>
120 #include <netinet/in.h>
121 #include <netinet/in_systm.h>
122 #include <netinet/ip.h>
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>
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
140 +#include <sys/types.h>
145 #include <sys/ioctl.h>
146 #include <sys/param.h>
147 #include <sys/time.h>
148 -#include <sys/types.h>
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
159 #include <sys/param.h>
160 #include <sys/types.h>
161 +#include <sys/stat.h> // for S_IFREG
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
174 +#include <sys/types.h>
175 #ifdef HAVE_NET_ETHERNET_H
176 #include <net/ethernet.h>