1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

net-mgmt/nfdump: fix permissions & review pkg-descr

PR:		192595
Submitted by:	Carlos Jacobo Puga Medina <cpm@fbsd.es> (maintainer)
This commit is contained in:
Kurt Jaeger 2014-08-11 20:20:51 +00:00
parent 759281b0d7
commit 9a0b188467
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364656
2 changed files with 13 additions and 7 deletions

View File

@ -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

View File

@ -9,13 +9,13 @@ 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
data according to the specified filter sets (profiles) and stores the
filtered data into files for later use.
nfreplay - netflow replay
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