aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/cflowd/Makefile13
-rw-r--r--net-mgmt/cflowd/distinfo1
-rw-r--r--net/cflowd/Makefile13
-rw-r--r--net/cflowd/distinfo1
4 files changed, 26 insertions, 2 deletions
diff --git a/net-mgmt/cflowd/Makefile b/net-mgmt/cflowd/Makefile
index 6bb1295b208f..bc89beade5b1 100644
--- a/net-mgmt/cflowd/Makefile
+++ b/net-mgmt/cflowd/Makefile
@@ -7,11 +7,16 @@
PORTNAME= cflowd
PORTVERSION= 2-1-b1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= ftp://ftp.caida.org/pub/cflowd/
DISTNAME= ${PORTNAME}-${PORTVERSION}
+.if defined(CFLOWD_FLOWSCAN_PATCH)
+PATCH_SITES= http://net.doit.wisc.edu/~plonka/cflowd/
+PATCHFILES= cflowd-2-1-b1-djp.patch
+.endif
+
MAINTAINER= andreas@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/lib/libArts.a:${PORTSDIR}/net/arts++
@@ -25,4 +30,10 @@ CONFIGURE_ARGS+=--enable-shared --with-artspp=${PREFIX}
MANL= cfdases.l cfdifmatrix.l cfdnets.l cfdnexthops.l \
cfdportmatrix.l cfdprotos.l cfdtos.l flowdump.l flowwatch.l
+.if !defined(CFLOWD_FLOWSCAN_PATCH)
+pre-everything:
+ @${ECHO} "you can compile cflowd with patches for FlowScan by typing:"
+ @${ECHO} "make CFLOWD_FLOWSCAN_PATCH=yes"
+.endif
+
.include <bsd.port.mk>
diff --git a/net-mgmt/cflowd/distinfo b/net-mgmt/cflowd/distinfo
index 581d87f4b1be..ce0058d33564 100644
--- a/net-mgmt/cflowd/distinfo
+++ b/net-mgmt/cflowd/distinfo
@@ -1 +1,2 @@
MD5 (cflowd-2-1-b1.tar.gz) = 6f0543390e9d46c4274f6b12b6517f62
+MD5 (cflowd-2-1-b1-djp.patch) = 77e96671521ff1870a51d0dc11161eae
diff --git a/net/cflowd/Makefile b/net/cflowd/Makefile
index 6bb1295b208f..bc89beade5b1 100644
--- a/net/cflowd/Makefile
+++ b/net/cflowd/Makefile
@@ -7,11 +7,16 @@
PORTNAME= cflowd
PORTVERSION= 2-1-b1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= ftp://ftp.caida.org/pub/cflowd/
DISTNAME= ${PORTNAME}-${PORTVERSION}
+.if defined(CFLOWD_FLOWSCAN_PATCH)
+PATCH_SITES= http://net.doit.wisc.edu/~plonka/cflowd/
+PATCHFILES= cflowd-2-1-b1-djp.patch
+.endif
+
MAINTAINER= andreas@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/lib/libArts.a:${PORTSDIR}/net/arts++
@@ -25,4 +30,10 @@ CONFIGURE_ARGS+=--enable-shared --with-artspp=${PREFIX}
MANL= cfdases.l cfdifmatrix.l cfdnets.l cfdnexthops.l \
cfdportmatrix.l cfdprotos.l cfdtos.l flowdump.l flowwatch.l
+.if !defined(CFLOWD_FLOWSCAN_PATCH)
+pre-everything:
+ @${ECHO} "you can compile cflowd with patches for FlowScan by typing:"
+ @${ECHO} "make CFLOWD_FLOWSCAN_PATCH=yes"
+.endif
+
.include <bsd.port.mk>
diff --git a/net/cflowd/distinfo b/net/cflowd/distinfo
index 581d87f4b1be..ce0058d33564 100644
--- a/net/cflowd/distinfo
+++ b/net/cflowd/distinfo
@@ -1 +1,2 @@
MD5 (cflowd-2-1-b1.tar.gz) = 6f0543390e9d46c4274f6b12b6517f62
+MD5 (cflowd-2-1-b1-djp.patch) = 77e96671521ff1870a51d0dc11161eae