summaryrefslogtreecommitdiff
path: root/net-mgmt/nfdump/Makefile
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2015-01-31 20:13:02 +0000
committerKurt Jaeger <pi@FreeBSD.org>2015-01-31 20:13:02 +0000
commit9799d4314bd17a5070cc4ff68b3bb5328dec1049 (patch)
treeffb851d97c0e1c86505af1d540cef073075ca44c /net-mgmt/nfdump/Makefile
parentSort OPTIONS_DEFINE and OPTIONS_DEFAULT. (diff)
net-mgmt/nfdump: add NSEL option per user request
PR: 197190 Submitted by: cpm@fbsd.es (maintainer)
Notes
Notes: svn path=/head/; revision=378226
Diffstat (limited to 'net-mgmt/nfdump/Makefile')
-rw-r--r--net-mgmt/nfdump/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/net-mgmt/nfdump/Makefile b/net-mgmt/nfdump/Makefile
index b9ab61c55ee5..23689af5e9e5 100644
--- a/net-mgmt/nfdump/Makefile
+++ b/net-mgmt/nfdump/Makefile
@@ -3,6 +3,7 @@
PORTNAME= nfdump
PORTVERSION= 1.6.13
+PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= SF/${PORTNAME}/stable/${PORTNAME}-${PORTVERSION}
@@ -21,7 +22,7 @@ MAKE_JOBS_UNSAFE= yes
#flow-tools support
OPTIONS_DEFINE= DOCS FT2NFDUMP NFPROFILE FIXTIMEBUG READPCAP NFTRACK \
- SFLOW NFDUMP15
+ SFLOW NFDUMP15 NSEL
OPTIONS_DEFAULT= NFPROFILE
FT2NFDUMP_DESC= With Flow-tools to nfdump converter
@@ -31,6 +32,7 @@ READPCAP_DESC= With pcap support
NFTRACK_DESC= With PortTracker support
SFLOW_DESC= Build sflow collector daemon also
NFDUMP15_DESC= Enable compatibility with version 1.5
+NSEL_DESC= Read and process ASA/NSEL/NEL event data
post-patch:
@${REINPLACE_CMD} 's|-ggdb||' ${WRKSRC}/bin/Makefile.in
@@ -45,6 +47,12 @@ CONFIGURE_ARGS+= --enable-compat15
CONFIGURE_ARGS+= --disable-compat15
.endif
+.if ${PORT_OPTIONS:MNSEL}
+CONFIGURE_ARGS+= --enable-nsel
+.else
+CONFIGURE_ARGS+= --disable-nsel
+.endif
+
PLIST_FILES= bin/nfanon bin/nfcapd bin/nfdump bin/nfexpire bin/nfreplay \
man/man1/nfanon.1.gz man/man1/nfcapd.1.gz man/man1/nfdump.1.gz \
man/man1/nfexpire.1.gz man/man1/nfreplay.1.gz