cvs commit: ports/dns/nsd Makefile distinfo ports/dns/nsd/files
nsd.in
Doug Barton
dougb at FreeBSD.org
Tue Dec 6 01:30:21 UTC 2011
The attached patch contains a few minor style tweaks, nothing that can't
wait for the next revision.
hth,
Doug
On 11/28/2011 03:36, Martin Wilke wrote:
> miwi 2011-11-28 11:36:53 UTC
>
> FreeBSD ports repository
>
> Modified files:
> dns/nsd Makefile distinfo
> dns/nsd/files nsd.in
> Log:
> - Update to 3.2.9
>
> PR: 162782 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=162782
> Submitted by: Jaap Akkerhuis <jaap at NLnetLabs.nl> (maintainer)
> Feature safe: yes
>
> Revision Changes Path
> 1.54 +11 -1 ports/dns/nsd/Makefile
> 1.38 +2 -2 ports/dns/nsd/distinfo
> 1.9 +3 -1 ports/dns/nsd/files/nsd.in
>
> http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/dns/nsd/Makefile.diff?&r1=1.53&r2=1.54&f=h
> http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/dns/nsd/distinfo.diff?&r1=1.37&r2=1.38&f=h
> http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/dns/nsd/files/nsd.in.diff?&r1=1.8&r2=1.9&f=h
>
--
[^L]
Breadth of IT experience, and depth of knowledge in the DNS.
Yours for the right price. :) http://SupersetSolutions.com/
-------------- next part --------------
Index: nsd.in
===================================================================
RCS file: /home/pcvs/ports/dns/nsd/files/nsd.in,v
retrieving revision 1.9
diff -u -r1.9 nsd.in
--- nsd.in 28 Nov 2011 11:36:53 -0000 1.9
+++ nsd.in 6 Dec 2011 01:28:44 -0000
@@ -1,22 +1,24 @@
#!/bin/sh
-#
+
# $FreeBSD: ports/dns/nsd/files/nsd.in,v 1.9 2011/11/28 11:36:53 miwi Exp $
#
# PROVIDE: nsd
-# REQUIRE: DAEMON
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable nsd:
#
# nsd_enable="YES"
-#
. /etc/rc.subr
name=nsd
rcvar=`set_rcvar`
+load_rc_config ${name}
+
+nsd_enable=${nsd_enable-"NO"}
+
required_files=%%PREFIX%%/etc/nsd/nsd.conf
command=%%PREFIX%%/sbin/nsdc
@@ -24,10 +26,6 @@
pidfile=`%%PREFIX%%/sbin/nsd-checkconf -o pidfile %%PREFIX%%/etc/nsd/nsd.conf`
procname=%%PREFIX%%/sbin/${name}
-load_rc_config ${name}
-
-nsd_enable=${nsd_enable-"NO"}
-
extra_commands="reload"
start_precmd="nsd_precmd"
reload_cmd="nsd_reload"
@@ -51,9 +49,9 @@
echo "Merging nsd zone transfer changes to zone files."
${command} patch
- echo "Stopping ${name}."
+ echo -n "Stopping ${name}"
${command} stop
+ echo '.'
}
run_rc_command "$1"
-
More information about the cvs-all
mailing list