ports/155093: [patch] net-mgmt/nfdump: update to 1.6.3p1
Alexey Illarionov
littlesavage at rambler.ru
Sun Feb 27 15:50:09 UTC 2011
>Number: 155093
>Category: ports
>Synopsis: [patch] net-mgmt/nfdump: update to 1.6.3p1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 27 15:50:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Alexey Illarionov
>Release:
>Organization:
>Environment:
>Description:
Update nfdump to 1.6.3p1
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ru net-mgmt/nfdump.orig/Makefile net-mgmt/nfdump/Makefile
--- net-mgmt/nfdump.orig/Makefile 2011-02-27 15:53:34.392733762 +0300
+++ net-mgmt/nfdump/Makefile 2011-02-27 18:29:15.225237814 +0300
@@ -6,7 +6,7 @@
#
PORTNAME= nfdump
-PORTVERSION= 1.6.2
+PORTVERSION= 1.6.3p1
CATEGORIES= net-mgmt
MASTER_SITES= SF/${PORTNAME}/stable/${PORTNAME}-${PORTVERSION}
@@ -32,16 +32,28 @@
CONFIGURE_ARGS= --enable-compat15
.endif
-PLIST_FILES= bin/nfcapd bin/nfdump bin/nfreplay bin/nfexpire
-MAN1= nfcapd.1 nfdump.1 nfreplay.1 nfexpire.1
-MAN1+= nfprofile.1 ft2nfdump.1 sfcapd.1
+PLIST_FILES= bin/nfanon bin/nfcapd bin/nfdump bin/nfexpire bin/nfreplay
+MAN1= nfanon.1 nfcapd.1 nfdump.1 nfexpire.1 nfreplay.1
+MAN1+= ft2nfdump.1 nfprofile.1 sfcapd.1
PORTDOCS= AUTHORS ChangeLog INSTALL README
-.if defined(WITH_NFPROFILE)
+.if defined(WITH_FIXTIMEBUG)
+CONFIGURE_ARGS+= --enable-fixtimebug
+.endif
-CONFIGURE_ARGS+= --enable-nfprofile --with-rrdpath=${LOCALBASE}
+.if defined(WITH_NFPROFILE)
+CONFIGURE_ARGS+= --enable-nfprofile
PLIST_FILES+= bin/nfprofile
#MAN1+= nfprofile.1
+.endif
+
+.if defined(WITH_NFTRACK)
+CONFIGURE_ARGS+= --enable-nftrack
+PLIST_FILES+= bin/nftrack
+.endif
+
+.if defined(WITH_NFPROFILE) || defined(WITH_NFTRACK)
+CONFIGURE_ARGS+= --with-rrdpath=${LOCALBASE}
BUILD_DEPENDS+= rrdtool:${PORTSDIR}/databases/rrdtool
RUN_DEPENDS+= ${BUILD_DEPENDS}
.endif
@@ -54,6 +66,10 @@
#MAN1+= ft2nfdump.1
.endif
+.if defined (WITH_READPCAP)
+CONFIGURE_ARGS+= --enable-readpcap
+.endif
+
#sflow capture support
.if defined(WITH_SFLOW)
CONFIGURE_ARGS+= --enable-sflow
@@ -61,6 +77,9 @@
#MAN1+= sfcapd.1
.endif
+post-configure:
+ @${REINPLACE_CMD} -E -e 's/sfcapd\.1/sfcapd\.1 nfanon\.1/' ${WRKSRC}/man/Makefile
+
.if !defined(NOPORTDOCS)
post-install:
${MKDIR} ${DOCSDIR}
diff -ru net-mgmt/nfdump.orig/distinfo net-mgmt/nfdump/distinfo
--- net-mgmt/nfdump.orig/distinfo 2011-02-27 15:53:34.392733762 +0300
+++ net-mgmt/nfdump/distinfo 2011-02-27 15:54:34.819042871 +0300
@@ -1,2 +1,2 @@
-SHA256 (nfdump-1.6.2.tar.gz) = c69bbb5fb401161e5e20b848b47eff4a280d5c8d5f2c7f0943ea0b821b5742b0
-SIZE (nfdump-1.6.2.tar.gz) = 469358
+SHA256 (nfdump-1.6.3p1.tar.gz) = 68838379013e15b6f296ef06912f6ea5a649df697d2efb1a852f3189ad671749
+SIZE (nfdump-1.6.3p1.tar.gz) = 598839
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list