aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/nfdump
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2014-08-12 04:20:51 +0800
committerpi <pi@FreeBSD.org>2014-08-12 04:20:51 +0800
commit6191c203cdcc3b4503144a67ff461d0f6ca6e271 (patch)
tree890ae8d6a16eeb7b15ec348a44a643c9330728f3 /net-mgmt/nfdump
parent6d6a4a65b2153c207ed4261da9ff9667ff1e8d46 (diff)
downloadfreebsd-ports-gnome-6191c203cdcc3b4503144a67ff461d0f6ca6e271.tar.gz
freebsd-ports-gnome-6191c203cdcc3b4503144a67ff461d0f6ca6e271.tar.zst
freebsd-ports-gnome-6191c203cdcc3b4503144a67ff461d0f6ca6e271.zip
net-mgmt/nfdump: fix permissions & review pkg-descr
PR: 192595 Submitted by: Carlos Jacobo Puga Medina <cpm@fbsd.es> (maintainer)
Diffstat (limited to 'net-mgmt/nfdump')
-rw-r--r--net-mgmt/nfdump/Makefile6
-rw-r--r--net-mgmt/nfdump/pkg-descr14
2 files changed, 13 insertions, 7 deletions
diff --git a/net-mgmt/nfdump/Makefile b/net-mgmt/nfdump/Makefile
index 09589a63fb56..f737391c2b93 100644
--- a/net-mgmt/nfdump/Makefile
+++ b/net-mgmt/nfdump/Makefile
@@ -3,6 +3,7 @@
PORTNAME= nfdump
PORTVERSION= 1.6.12
+PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= SF/${PORTNAME}/stable/${PORTNAME}-${PORTVERSION}
@@ -100,28 +101,33 @@ CONFIGURE_ARGS+= --disable-sflow
do-install:
.for binary in nfanon nfcapd nfdump nfexpire nfreplay
${INSTALL_DATA} ${WRKSRC}/bin/${binary} ${STAGEDIR}${PREFIX}/bin
+ ${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/${binary}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${binary}
.endfor
.if ${PORT_OPTIONS:MNFPROFILE}
${INSTALL_DATA} ${WRKSRC}/bin/nfprofile ${STAGEDIR}${PREFIX}/bin
+ ${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/nfprofile
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/nfprofile
${INSTALL_MAN} ${WRKSRC}/man/nfprofile.1 ${STAGEDIR}${PREFIX}/man/man1
.endif
.if ${PORT_OPTIONS:MNFTRACK}
${INSTALL_DATA} ${WRKSRC}/bin/nftrack ${STAGEDIR}${PREFIX}/bin
+ ${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/nftrack
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/nftrack
.endif
.if ${PORT_OPTIONS:MFT2NFDUMP}
${INSTALL_DATA} ${WRKSRC}/bin/ft2nfdump ${STAGEDIR}${PREFIX}/bin
+ ${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/ft2nfdump
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ft2nfdump
${INSTALL_MAN} ${WRKSRC}/man/ft2nfdump.1 ${STAGEDIR}${PREFIX}/man/man1
.endif
.if ${PORT_OPTIONS:MSFLOW}
${INSTALL_DATA} ${WRKSRC}/bin/sfcapd ${STAGEDIR}${PREFIX}/bin
+ ${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/sfcapd
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sfcapd
${INSTALL_MAN} ${WRKSRC}/man/sfcapd.1 ${STAGEDIR}${PREFIX}/man/man1
.endif
diff --git a/net-mgmt/nfdump/pkg-descr b/net-mgmt/nfdump/pkg-descr
index cff9dccf0864..82fb1ac91b7e 100644
--- a/net-mgmt/nfdump/pkg-descr
+++ b/net-mgmt/nfdump/pkg-descr
@@ -1,21 +1,21 @@
-NFDUMP tools support netflow v5, v7 and v9 capturing and processing.
+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.
+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
+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
+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
+ft2nfdump - flow-tools to nfdump - optional component.
WWW: http://nfdump.sourceforge.net