Hi sumikawa!

        I make a patch to reload configuration by rcNG script.
        Please review and commit or may I commit this OK?

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/wwwoffle/Makefile,v
retrieving revision 1.48
diff -u -r1.48 Makefile
--- Makefile    6 Jul 2006 17:41:23 -0000       1.48
+++ Makefile    23 Sep 2006 13:02:20 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=      wwwoffle
 PORTVERSION=   2.9
-PORTREVISION=  1
+PORTREVISION=  2
 CATEGORIES=    www ipv6
 MASTER_SITES=  http://www.gedanken.freeserve.co.uk/download-wwwoffle/
 EXTRACT_SUFX=  .tgz
Index: files/wwwoffled.sh.in
===================================================================
RCS file: /home/ncvs/ports/www/wwwoffle/files/wwwoffled.sh.in,v
retrieving revision 1.2
diff -u -r1.2 wwwoffled.sh.in
--- files/wwwoffled.sh.in       20 Feb 2006 20:47:50 -0000      1.2
+++ files/wwwoffled.sh.in       23 Sep 2006 13:02:06 -0000
@@ -23,6 +23,7 @@
 name="wwwoffled"
 rcvar=`set_rcvar`
 command="%%PREFIX%%/sbin/wwwoffled"
+extra_commands="reload"
 
 load_rc_config $name
 
@@ -30,5 +31,6 @@
 command_args="-p > ${pidfile} 2> /dev/null"
 required_files="${wwwoffled_conffile}"
 stop_postcmd="/bin/rm -f ${pidfile}"
+reload_cmd="%%PREFIX%%/bin/wwwoffle -config"
 
 run_rc_command "$1"
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to