aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>2001-03-25 18:37:36 +0800
committerandreas <andreas@FreeBSD.org>2001-03-25 18:37:36 +0800
commit09ea5062344adbfadf24ea9cef0134956da06c2d (patch)
tree492cc6e7fccd47fc1e2965dbe5c7cc5cec01cc07 /net-mgmt
parentea07eae9237fb4941fa6410c119fd416222895a1 (diff)
downloadfreebsd-ports-gnome-09ea5062344adbfadf24ea9cef0134956da06c2d.tar.gz
freebsd-ports-gnome-09ea5062344adbfadf24ea9cef0134956da06c2d.tar.zst
freebsd-ports-gnome-09ea5062344adbfadf24ea9cef0134956da06c2d.zip
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.
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/cflowd/Makefile6
-rw-r--r--net-mgmt/cflowd/pkg-plist1
2 files changed, 6 insertions, 1 deletions
diff --git a/net-mgmt/cflowd/Makefile b/net-mgmt/cflowd/Makefile
index 05b5484d685d..311e903e837e 100644
--- a/net-mgmt/cflowd/Makefile
+++ b/net-mgmt/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-mgmt/cflowd/pkg-plist b/net-mgmt/cflowd/pkg-plist
index 70e1eeb15fed..714e44ccb0b6 100644
--- a/net-mgmt/cflowd/pkg-plist
+++ b/net-mgmt/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