summaryrefslogtreecommitdiff
path: root/net/cflowd
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>2001-03-25 10:37:36 +0000
committerAndreas Klemm <andreas@FreeBSD.org>2001-03-25 10:37:36 +0000
commitff2c8e595cff9811f6651cff90b709eae27544c4 (patch)
treed67f347fbaa632c2dd29f755baf08efd269e37a3 /net/cflowd
parentfix package making, one more: ${{ -> ${ (diff)
Add a start stop script to the port which starts up services
delayed so that every service has a chance to come up properly before the next one begins Additionally provide graceful delayed shutdown of services by using killall -15. Install startup script as .sample file, since cflowd (and flowscan) are not easy ports. You should read the docu properly.
Notes
Notes: svn path=/head/; revision=40342
Diffstat (limited to 'net/cflowd')
-rw-r--r--net/cflowd/Makefile6
-rw-r--r--net/cflowd/pkg-plist1
2 files changed, 6 insertions, 1 deletions
diff --git a/net/cflowd/Makefile b/net/cflowd/Makefile
index 05b5484d685d..311e903e837e 100644
--- a/net/cflowd/Makefile
+++ b/net/cflowd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= cflowd
PORTVERSION= 2-1-b1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= ftp://ftp.caida.org/pub/cflowd/
DISTNAME= ${PORTNAME}-${PORTVERSION}
@@ -37,4 +37,8 @@ pre-everything:
@${ECHO} "make CFLOWD_FLOWSCAN_PATCH=yes"
.endif
+post-install:
+ ${INSTALL_SCRIPT} ${FILESDIR}/cflowd.sh \
+ ${PREFIX}/etc/rc.d/cflowd.sh.sample
+
.include <bsd.port.mk>
diff --git a/net/cflowd/pkg-plist b/net/cflowd/pkg-plist
index 70e1eeb15fed..714e44ccb0b6 100644
--- a/net/cflowd/pkg-plist
+++ b/net/cflowd/pkg-plist
@@ -9,6 +9,7 @@ bin/flowdump
bin/flowwatch
etc/cfdcollect.conf.example
etc/cflowd.conf.example
+etc/rc.d/cflowd.sh.sample
include/cflowd/CflowdAsMatrix.hh
include/cflowd/CflowdAsMatrixKey.hh
include/cflowd/CflowdAsMatrixTrafficCounter.hh