aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2008-08-01 11:32:30 +0000
committerPav Lucistnik <pav@FreeBSD.org>2008-08-01 11:32:30 +0000
commit1a3d5680ddc084f0c16d41833b7b9b8e1b5e4afb (patch)
tree38446ad93010a136f456b44ee98debd96d7d33d9 /net-mgmt
parent8bcf67917a54a3109ef74495d55e5b8a10fb6fb0 (diff)
downloadports-1a3d5680ddc084f0c16d41833b7b9b8e1b5e4afb.tar.gz
ports-1a3d5680ddc084f0c16d41833b7b9b8e1b5e4afb.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nfdump/Makefile21
-rw-r--r--net-mgmt/nfdump/distinfo6
2 files changed, 16 insertions, 11 deletions
diff --git a/net-mgmt/nfdump/Makefile b/net-mgmt/nfdump/Makefile
index eede04a8ceea..a727cfcc80b4 100644
--- a/net-mgmt/nfdump/Makefile
+++ b/net-mgmt/nfdump/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= nfdump
-PORTVERSION= 1.5.6
-PORTREVISION= 1
+PORTVERSION= 1.5.7
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,14 +14,12 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= Command-line tools to collect and process NetFlow data
-BUILD_DEPENDS= rrdtool:${PORTSDIR}/databases/rrdtool
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} --enable-nfprofile --with-rrdpath=${LOCALBASE}
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
#flow-tools support
OPTIONS= FT2NFDUMP "With Flow-tools to nfdump converter" off \
+ NFPROFILE "With nfprofile (nfsen requires it)" on \
SFLOW "Build sflow collector daemon also" off
.include <bsd.port.pre.mk>
@@ -33,10 +30,18 @@ OPTIONS= FT2NFDUMP "With Flow-tools to nfdump converter" off \
CONFIGURE_ARGS= --enable-compat14
.endif
-PLIST_FILES= bin/nfcapd bin/nfdump bin/nfprofile bin/nfreplay bin/nfexpire
-MAN1= nfcapd.1 nfdump.1 nfprofile.1 nfreplay.1 nfexpire.1
+PLIST_FILES= bin/nfcapd bin/nfdump bin/nfreplay bin/nfexpire
+MAN1= nfcapd.1 nfdump.1 nfreplay.1 nfexpire.1
PORTDOCS= AUTHORS ChangeLog INSTALL README
+.if defined(WITH_NFPROFILE)
+CONFIGURE_ARGS+= --enable-nfprofile --with-rrdpath=${LOCALBASE}
+PLIST_FILES+= bin/nfprofile
+MAN1+= nfprofile.1
+BUILD_DEPENDS+= rrdtool:${PORTSDIR}/databases/rrdtool
+RUN_DEPENDS+= ${BUILD_DEPENDS}
+.endif
+
#flow-tools support
.if defined(WITH_FT2NFDUMP)
BUILD_DEPENDS+= flow-cat:${PORTSDIR}/net-mgmt/flow-tools
diff --git a/net-mgmt/nfdump/distinfo b/net-mgmt/nfdump/distinfo
index 2867034287de..a10775757a59 100644
--- a/net-mgmt/nfdump/distinfo
+++ b/net-mgmt/nfdump/distinfo
@@ -1,3 +1,3 @@
-MD5 (nfdump-1.5.6.tar.gz) = 2fb8b467cceb6f43bac5da4be8bed771
-SHA256 (nfdump-1.5.6.tar.gz) = d3371f743f73509c8a48519aa3f00cb3f682cd46559c3a640d416d10d388f336
-SIZE (nfdump-1.5.6.tar.gz) = 320712
+MD5 (nfdump-1.5.7.tar.gz) = 0be4eee4811d21685573fb0b91d49487
+SHA256 (nfdump-1.5.7.tar.gz) = d3890848ca6502391c6d2798b7d06c712d916fdcee38dfe0006a6bb3830bb5b5
+SIZE (nfdump-1.5.7.tar.gz) = 324603