Philip M. Gollucci wrote:
pgollucci    2008-07-28 22:25:55 UTC

  FreeBSD ports repository

  Modified files:
dns/nsd Makefile distinfo pkg-plist Added files: dns/nsd/files nsd.in Removed files: dns/nsd/files nsd.sh.tmpl Log:
  - Update to 3.1.1
  - Respect NOPORTDOCS
  - Add option NSDMAX_INT
  - rename rc.d script nsd.sh -> nsd
PR: ports/125898 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=125898
  Approved by:    Olafur Osvaldsson <[EMAIL PROTECTED]>  (maintainer), araujo 
(mentor)
Revision Changes Path
  1.38      +22 -18    ports/dns/nsd/Makefile
  1.27      +3 -3      ports/dns/nsd/distinfo
  1.1       +31 -0     ports/dns/nsd/files/nsd.in (new)
  1.4       +0 -32     ports/dns/nsd/files/nsd.sh.tmpl (dead)
  1.6       +5 -5      ports/dns/nsd/pkg-plist

http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/dns/nsd/Makefile.diff?&r1=1.37&r2=1.38&f=h
http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/dns/nsd/distinfo.diff?&r1=1.26&r2=1.27&f=h
http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/dns/nsd/files/nsd.in
http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/dns/nsd/files/nsd.sh.tmpl
http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/dns/nsd/pkg-plist.diff?&r1=1.5&r2=1.6&f=h

I've attached a patch with some minor tweaks I would suggest for the rc.d script. Overall it looks pretty good though.

Doug

--

    This .signature sanitized for your protection

--- nsd.in.orig 2008-07-28 21:54:32.000000000 -0700
+++ nsd.in      2008-07-28 21:58:26.000000000 -0700
@@ -15,17 +15,14 @@
 name=nsd
 rcvar=`set_rcvar`
 
-prefix=%%PREFIX%%
-
 required_files=%%PREFIX%%/etc/nsd/nsd.conf
 
-command=/usr/local/sbin/${name}
+command=%%PREFIX%%/sbin/${name}
 pidfile=/var/run/${name}.pid
 
 load_rc_config ${name}
 
-nsd_enable=${nsd_enable:-"NO"}
-nsd_flags=${nsd_flags:-""}
+nsd_enable=${nsd_enable-"NO"}
 
 run_rc_command "$1"
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to