diff options
author | andreas <andreas@FreeBSD.org> | 2001-03-25 10:37:36 +0000 |
---|---|---|
committer | andreas <andreas@FreeBSD.org> | 2001-03-25 10:37:36 +0000 |
commit | 09ea5062344adbfadf24ea9cef0134956da06c2d (patch) | |
tree | 492cc6e7fccd47fc1e2965dbe5c7cc5cec01cc07 /net/cflowd | |
parent | ea07eae9237fb4941fa6410c119fd416222895a1 (diff) | |
download | FreeBSD-ports-09ea5062344adbfadf24ea9cef0134956da06c2d.zip FreeBSD-ports-09ea5062344adbfadf24ea9cef0134956da06c2d.tar.gz |
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/cflowd')
-rw-r--r-- | net/cflowd/Makefile | 6 | ||||
-rw-r--r-- | net/cflowd/pkg-plist | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/net/cflowd/Makefile b/net/cflowd/Makefile index 05b5484..311e903 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 70e1eeb..714e44c 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 |