ports/79243: [patch] net/mDNSResponder: Fix typos in the new rcNG script and unbreak it
Jie Gao
gaoj at cpsc.ucalgary.ca
Sat Mar 26 05:20:03 UTC 2005
>Number: 79243
>Category: ports
>Synopsis: [patch] net/mDNSResponder: Fix typos in the new rcNG script and unbreak it
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Mar 26 05:20:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Jie Gao
>Release: FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD aibsd 5.3-STABLE FreeBSD 5.3-STABLE #3: Sat Jan 15 20:23:09 MST 2005 root at aibsd:/usr/obj/usr/src/sys/AIBSD i386
>Description:
The rcNG script that was newly added in mDNSResponder actually does not
work due to a serious typo. Fix this typo and also another typo in the header.
>How-To-Repeat:
install net/mDNSResponder, make sure there is no
mdnsd_enable="YES"
in /etc/rc.conf, and run as root:
/usr/local/etc/rc.d/mdnsd.sh start
You will get message that mdnsd is starting and you can see the process mdnsd
from the result of "ps -auxw" command.
The expected result should be mdnsd not being started.
>Fix:
Apply the following patch to the ports directory.
--- patch-mDNSResponder-files-mdnsd.sh.in begins here ---
--- mDNSResponder/files/mdnsd.sh.in.orig Fri Mar 25 22:03:44 2005
+++ mDNSResponder/files/mdnsd.sh.in Fri Mar 25 22:04:12 2005
@@ -2,7 +2,7 @@
# $FreeBSD: ports/net/mDNSResponder/files/mdnsd.sh.in,v 1.1 2005/03/25 17:24:13 brooks Exp $
# PROVIDE: mdnsd
-# REQIORE: DAEMON
+# REQUIRE: DAEMON
# KEYWORD: FreeBSD shutdown
mdnsd_enable="NO"
@@ -10,7 +10,7 @@
. %%RC_SUBR%%
name=mdnsd
-rc_var=`set_rcvar`
+rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/${name}"
pidfile="/var/run/${name}.pid"
--- patch-mDNSResponder-files-mdnsd.sh.in ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list