From 09ea5062344adbfadf24ea9cef0134956da06c2d Mon Sep 17 00:00:00 2001 From: andreas Date: Sun, 25 Mar 2001 10:37:36 +0000 Subject: 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. --- net/cflowd/Makefile | 6 +++++- net/cflowd/pkg-plist | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'net/cflowd') 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 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 -- cgit v1.1