From owner-cvs-ports@FreeBSD.ORG Tue Dec 6 01:30:21 2011 Return-Path: Delivered-To: cvs-ports@FreeBSD.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id C9C81106564A; Tue, 6 Dec 2011 01:30:21 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 172-17-198-245.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 4CBAC15673A; Tue, 6 Dec 2011 01:30:21 +0000 (UTC) Message-ID: <4EDD702C.3000501@FreeBSD.org> Date: Mon, 05 Dec 2011 17:30:20 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111110 Thunderbird/8.0 MIME-Version: 1.0 To: Martin Wilke References: <201111281136.pASBarxm010586@repoman.freebsd.org> In-Reply-To: <201111281136.pASBarxm010586@repoman.freebsd.org> X-Enigmail-Version: undefined OpenPGP: id=1A1ABC84 Content-Type: multipart/mixed; boundary="------------070103030102080807070409" Cc: cvs-ports@FreeBSD.org, Jaap Akkerhuis , cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/dns/nsd Makefile distinfo ports/dns/nsd/files nsd.in X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2011 01:30:21 -0000 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 (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--