Date: Mon, 05 Dec 2011 17:30:20 -0800 From: Doug Barton <dougb@FreeBSD.org> To: Martin Wilke <miwi@FreeBSD.org> Cc: cvs-ports@FreeBSD.org, Jaap Akkerhuis <jaap@NLnetLabs.nl>, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/dns/nsd Makefile distinfo ports/dns/nsd/files nsd.in Message-ID: <4EDD702C.3000501@FreeBSD.org> In-Reply-To: <201111281136.pASBarxm010586@repoman.freebsd.org> References: <201111281136.pASBarxm010586@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------070103030102080807070409 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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@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/ --------------070103030102080807070409 Content-Type: text/plain; name="nsd-rcd.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="nsd-rcd.diff" 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" - --------------070103030102080807070409--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EDD702C.3000501>