Date: Wed, 28 Apr 2004 15:38:24 -0400 (EDT) From: Paul Chvostek <paul+fbsd@it.ca> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Paul Chvostek <paul+fbsd@it.ca> Subject: ports/66058: [maintainer update]: dns/rbldnsd - fixed startup Message-ID: <200404281938.i3SJcO6k067000@foo.it.ca> Resent-Message-ID: <200404281940.i3SJeJfB021010@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 66058 >Category: ports >Synopsis: [maintainer update]: dns/rbldnsd - fixed startup >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Apr 28 12:40:19 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Paul Chvostek >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: System: FreeBSD foo.it.ca 4.9-STABLE FreeBSD 4.9-STABLE #0: Sat Nov 15 16:25:16 EST 2003 paul@foo.it.ca:/usr/obj/usr/src/sys/foo i386 >Description: rc.d/rbldnsd.sh was loading _flags *after* trying to modify them. Oops! >How-To-Repeat: >Fix: --- rbldnsd.diff.0992-1 begins here --- diff -ruN /usr/ports/dns/rbldnsd/Makefile rbldnsd/Makefile --- /usr/ports/dns/rbldnsd/Makefile Thu Apr 15 03:20:28 2004 +++ rbldnsd/Makefile Wed Apr 28 14:27:09 2004 @@ -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 -ruN /usr/ports/dns/rbldnsd/files/rbldnsd.sh rbldnsd/files/rbldnsd.sh --- /usr/ports/dns/rbldnsd/files/rbldnsd.sh Mon Apr 12 20:54:39 2004 +++ rbldnsd/files/rbldnsd.sh Wed Apr 28 14:24:56 2004 @@ -23,6 +23,8 @@ command=%%PREFIX%%/sbin/rbldnsd pidfile=/var/run/rbldnsd.pid +load_rc_config $name + stop_postcmd=stop_postcmd stop_postcmd() @@ -36,6 +38,5 @@ 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" --- rbldnsd.diff.0992-1 ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404281938.i3SJcO6k067000>