# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= nfdump VERSION= 1.7.7 REVISION= 1 KEYWORDS= net_mgmt VARIANTS= std SDESC[std]= Tools to collect and process netflow data HOMEPAGE= https://github.com/phaag/nfdump CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= GITHUB/phaag:nfdump:v1.7.7 DISTFILE[1]= generated:main DF_INDEX= 1 SPKGS[std]= set primary dev man OPTIONS_AVAILABLE= PCAP OPTIONS_STANDARD= PCAP OPT_ON[freebsd]= PCAP OPT_ON[netbsd]= PCAP OPT_ON[dragonfly]= PCAP OPT_ON[midnightbsd]= PCAP BUILD_DEPENDS= rrdtool:dev:std BUILDRUN_DEPENDS= flex:primary:std rrdtool:primary:std USES= cpe autoreconf libtool pkgconfig bz2:build LICENSE= BSD3CLAUSE:primary LICENSE_FILE= BSD3CLAUSE:{{WRKSRC}}/BSD-license.txt LICENSE_SCHEME= solo CPE_VENDOR= nfdump_project FPC_EQUIVALENT= net-mgmt/nfdump MUST_CONFIGURE= gnu CONFIGURE_ARGS= --with-rrdpath={{LOCALBASE}} --enable-nftrack --enable-sflow --enable-nfprofile --enable-fixtimebug --enable-nsel --disable-influxdb SINGLE_JOB= yes INSTALL_TARGET= install-strip INSTALL_REQ_TOOLCHAIN= yes PLIST_SUB= VERSION=1.7.7 [PCAP].DESCRIPTION= Include Package Capture capability [PCAP].BUILDRUN_DEPENDS_ON= libpcap:primary:std [PCAP].BUILD_DEPENDS_ON= libpcap:dev:std [PCAP].CONFIGURE_ARGS_ON= --enable-readpcap --enable-nfpcapd post-install: ${MV} ${STAGEDIR}${PREFIX}/etc/nfdump.conf.dist \ ${STAGEDIR}${PREFIX}/etc/nfdump.conf.sample [FILE:735:descriptions/desc.primary] NFDUMP tools support netflow v5, v7 and v9 capturing and processing. nfcapd - netflow capture daemon. Reads the netflow data from the network and stores the data into files. nfdump - netflow dump. Reads the netflow data from the files stored by nfcapd. It's syntax is similar to tcpdump. If you like tcpdump you will like nfdump. nfprofile - netflow profiler. Reads the netflow data from the files stored by nfcapd. Filters the netflow data according to the specified filter sets (profiles) and stores the filtered data into files for later use. nfreplay - netflow replay. Reads the netflow data from the files stored by nfcapd and sends it over the network to another host. ft2nfdump - flow-tools to nfdump - optional component. [FILE:104:distinfo] d0b46d6e3da8d8316204fb74d20d12d782d8508f01559e34d9c31e33f016d794 873067 phaag-nfdump-1.7.7.tar.gz [FILE:188:manifests/plist.primary] @sample etc/nfdump.conf.sample %%PCAP-ON%%bin/nfpcapd bin/ nfanon nfcapd nfdump nfexpire nfprofile nfreplay nftrack sfcapd lib/ libnfdump-%%VERSION%%.so libnffile-%%VERSION%%.so [FILE:59:manifests/plist.dev] lib/ libnfdump.a libnfdump.so libnffile.a libnffile.so [FILE:129:manifests/plist.man] %%PCAP-ON%%share/man/man1/nfpcapd.1 share/man/man1/ nfanon.1 nfcapd.1 nfdump.1 nfexpire.1 nfprofile.1 nfreplay.1 sfcapd.1 [FILE:841:patches/patch-src_collector_expire.c] --- src/collector/expire.c.orig 2025-11-09 17:02:56 UTC +++ src/collector/expire.c @@ -66,7 +66,7 @@ static uint32_t timeout = 0; static void PrepareDirLists(channel_t *channel); -#if defined __FreeBSD__ +#if defined __FreeBSD__ || defined __DragonFly__ static int compare(const FTSENT *const *f1, const FTSENT *const *f2); #else static int compare(const FTSENT **f1, const FTSENT **f2); @@ -255,7 +255,7 @@ uint64_t ParseTimeDef(char *s, uint64_t } // End of ParseTimeDef -#if defined __FreeBSD__ +#if defined __FreeBSD__ || defined __DragonFly__ static int compare(const FTSENT *const *f1, const FTSENT *const *f2) { return strcmp((*f1)->fts_name, (*f2)->fts_name); } // End of compare #else static int compare(const FTSENT **f1, const FTSENT **f2) { return strcmp((*f1)->fts_name, (*f2)->fts_name); } // End of compare [FILE:517:patches/patch-src_libnffile_flist.c] --- src/libnffile/flist.c.orig 2025-11-09 17:02:56 UTC +++ src/libnffile/flist.c @@ -236,7 +236,7 @@ static int CheckTimeWindow(char *filenam /* Functions */ -#if defined __FreeBSD__ +#if defined __FreeBSD__ || defined __DragonFly__ static int compare(const FTSENT *const *f1, const FTSENT *const *f2) { return strcmp((*f1)->fts_name, (*f2)->fts_name); } // End of compare #else static int compare(const FTSENT **f1, const FTSENT **f2) { return strcmp((*f1)->fts_name, (*f2)->fts_name); } // End of compare [FILE:397:patches/patch-src_nfpcapd_packet__bpf.c] --- src/nfpcapd/packet_bpf.c.orig 2025-11-09 17:02:56 UTC +++ src/nfpcapd/packet_bpf.c @@ -37,6 +37,7 @@ #endif #include #include +#include #include #include #include @@ -49,7 +50,6 @@ #include #include #include -#include #include #include [FILE:252:patches/patch-src_nfpcapd_pcapdump.c] --- src/nfpcapd/pcapdump.c.orig 2025-11-09 17:02:56 UTC +++ src/nfpcapd/pcapdump.c @@ -41,6 +41,7 @@ #include #include #include +#include // for S_IFREG #include #include [FILE:217:patches/patch-src_nfpcapd_pcaproc.h] --- src/nfpcapd/pcaproc.h.orig 2025-11-09 17:02:56 UTC +++ src/nfpcapd/pcaproc.h @@ -40,6 +40,7 @@ #endif #include +#include #ifdef HAVE_NET_ETHERNET_H #include #endif