aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2011-01-28 12:00:59 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2011-01-28 12:00:59 +0000
commit3db4b096368aabe2460a336084c40307972b9f98 (patch)
treed4a902316df1482e605b2a40b3d67d13ad1f083b /net-mgmt
parentae0c46a38f67992b9343539db78906664caf479c (diff)
downloadports-3db4b096368aabe2460a336084c40307972b9f98.tar.gz
ports-3db4b096368aabe2460a336084c40307972b9f98.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nfdump/Makefile10
-rw-r--r--net-mgmt/nfdump/distinfo5
-rw-r--r--net-mgmt/nfdump/files/patch-bin_ft2nfdump.c14
-rw-r--r--net-mgmt/nfdump/files/patch-configure23
4 files changed, 7 insertions, 45 deletions
diff --git a/net-mgmt/nfdump/Makefile b/net-mgmt/nfdump/Makefile
index 7124502560e4..ad2346b35b95 100644
--- a/net-mgmt/nfdump/Makefile
+++ b/net-mgmt/nfdump/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nfdump
-PORTVERSION= 1.6.1
+PORTVERSION= 1.6.2
CATEGORIES= net-mgmt
MASTER_SITES= SF/${PORTNAME}/stable/${PORTNAME}-${PORTVERSION}
@@ -16,6 +16,9 @@ COMMENT= Command-line tools to collect and process NetFlow data
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
+LICENSE= BSD
+LICENSE_FILE= ${WRKSRC}/BSD-license.txt
+
#flow-tools support
OPTIONS= FT2NFDUMP "With Flow-tools to nfdump converter" off \
NFPROFILE "With nfprofile (nfsen requires it)" on \
@@ -23,10 +26,6 @@ OPTIONS= FT2NFDUMP "With Flow-tools to nfdump converter" off \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 700000
-BROKEN= does not configure on 6.X
-.endif
-
#for compatibility
#
.ifndef(WITHOUT_NFDUMP15_SUPPORT)
@@ -39,6 +38,7 @@ MAN1+= nfprofile.1 ft2nfdump.1 sfcapd.1
PORTDOCS= AUTHORS ChangeLog INSTALL README
.if defined(WITH_NFPROFILE)
+
CONFIGURE_ARGS+= --enable-nfprofile --with-rrdpath=${LOCALBASE}
PLIST_FILES+= bin/nfprofile
#MAN1+= nfprofile.1
diff --git a/net-mgmt/nfdump/distinfo b/net-mgmt/nfdump/distinfo
index 2e1b2c20f4d3..3c6ff5e4949a 100644
--- a/net-mgmt/nfdump/distinfo
+++ b/net-mgmt/nfdump/distinfo
@@ -1,3 +1,2 @@
-MD5 (nfdump-1.6.1.tar.gz) = 02646022b2ae01131cb1fd5231393a8a
-SHA256 (nfdump-1.6.1.tar.gz) = d0585d3963288b708f2be6081f673d9935acc8bb5f25255286786eedf31edafd
-SIZE (nfdump-1.6.1.tar.gz) = 495643
+SHA256 (nfdump-1.6.2.tar.gz) = c69bbb5fb401161e5e20b848b47eff4a280d5c8d5f2c7f0943ea0b821b5742b0
+SIZE (nfdump-1.6.2.tar.gz) = 469358
diff --git a/net-mgmt/nfdump/files/patch-bin_ft2nfdump.c b/net-mgmt/nfdump/files/patch-bin_ft2nfdump.c
deleted file mode 100644
index 4727835aa35c..000000000000
--- a/net-mgmt/nfdump/files/patch-bin_ft2nfdump.c
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- bin/ft2nfdump.c.orig
-+++ bin/ft2nfdump.c
-@@ -68,7 +68,7 @@
- #include "nfx.h"
- #include "launch.h"
-
--#include "ftbuild.h"
-+/*#include "ftbuild.h"*/
-
- /* Global defines */
- #define MAXRECORDS 30
diff --git a/net-mgmt/nfdump/files/patch-configure b/net-mgmt/nfdump/files/patch-configure
deleted file mode 100644
index 56aa3b848e7a..000000000000
--- a/net-mgmt/nfdump/files/patch-configure
+++ /dev/null
@@ -1,23 +0,0 @@
-
-$FreeBSD$
-
---- configure.orig
-+++ configure
-@@ -4011,7 +4011,7 @@
- fi
-
- if test -d "$WHERE_FTPATH"; then
-- if test ! -f "$WHERE_FTPATH/lib/ftlib.h"; then
-+ if test ! -f "$WHERE_FTPATH/include/ftlib.h"; then
- { { echo "$as_me:$LINENO: error: ftlib.h file not found in flow-tools directory '$WHERE_FTPATH'. Use --with-ftpath=PATH" >&5
- echo "$as_me: error: ftlib.h file not found in flow-tools directory '$WHERE_FTPATH'. Use --with-ftpath=PATH" >&2;}
- { (exit 1); exit 1; }; }
-@@ -4021,7 +4021,7 @@
- echo "$as_me: error: libft.a not found in flow-tools directory '$WHERE_FTPATH'. Build flow tools first" >&2;}
- { (exit 1); exit 1; }; }
- fi
-- FT_INCLUDES="-I$WHERE_FTPATH/src -I$WHERE_FTPATH/lib"
-+ FT_INCLUDES="-I$WHERE_FTPATH/include -I$WHERE_FTPATH/lib"
- FT_LDFLAGS="-L$WHERE_FTPATH/lib"
- else
- { { echo "$as_me:$LINENO: error: flow-tools directory '$WHERE_FTPATH' does not exists. Use --with-ftpath=PATH" >&5