aboutsummaryrefslogtreecommitdiff
path: root/dns/rbldnsd
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-04-29 08:18:23 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-04-29 08:18:23 +0000
commit75841dac1c2d3ea422ac514b4e13d856f443fd5a (patch)
tree75b0bb540c995ab168fc09c22623c5b844fa038c /dns/rbldnsd
parent6f8804cd13c76f70a8d77bc7c57930ce450bfdc5 (diff)
downloadports-75841dac1c2d3ea422ac514b4e13d856f443fd5a.tar.gz
ports-75841dac1c2d3ea422ac514b4e13d856f443fd5a.zip
- Proper handle startup script
PR: ports/66058 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=107940
Diffstat (limited to 'dns/rbldnsd')
-rw-r--r--dns/rbldnsd/Makefile1
-rw-r--r--dns/rbldnsd/files/rbldnsd.sh3
2 files changed, 3 insertions, 1 deletions
diff --git a/dns/rbldnsd/Makefile b/dns/rbldnsd/Makefile
index aa6bc5a620e1..8a0d6da547b8 100644
--- a/dns/rbldnsd/Makefile
+++ b/dns/rbldnsd/Makefile
@@ -7,6 +7,7 @@
PORTNAME= rbldnsd
PORTVERSION= 0.992
+PORTREVISION= 1
CATEGORIES= dns
MASTER_SITES= http://www.corpit.ru/mjt/rbldnsd/:0 \
http://www.it.ca/~paul/src/:0
diff --git a/dns/rbldnsd/files/rbldnsd.sh b/dns/rbldnsd/files/rbldnsd.sh
index 593adaa299f8..4c8a8c592cca 100644
--- a/dns/rbldnsd/files/rbldnsd.sh
+++ b/dns/rbldnsd/files/rbldnsd.sh
@@ -23,6 +23,8 @@ rcvar=`set_rcvar`
command=%%PREFIX%%/sbin/rbldnsd
pidfile=/var/run/rbldnsd.pid
+load_rc_config $name
+
stop_postcmd=stop_postcmd
stop_postcmd()
@@ -36,6 +38,5 @@ rbldnsd_enable=${rbldnsd_enable:-"NO"}
rbldnsd_flags=${rbldnsd_flags:-"-r /usr/local/etc/rbldnsd -b 127.0.0.1 bl.example.com:ip4set:example"}
rbldnsd_flags="${rbldnsd_flags% *} -p $pidfile ${rbldnsd_flags##* }"
-load_rc_config $name
run_rc_command "$1"