ports/156117: [PATCH] Add reload rc.d verb for net/istgt

Xin LI delphij at FreeBSD.org
Fri Apr 1 18:00:23 UTC 2011


>Number:         156117
>Category:       ports
>Synopsis:       [PATCH] Add reload rc.d verb for net/istgt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 01 18:00:23 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Xin LI
>Release:        FreeBSD 8.1-STABLE i386
>Organization:
iXsystems, Inc.
>Environment:
System: FreeBSD freefall.freebsd.org 8.1-STABLE FreeBSD 8.1-STABLE #2 r215627: Sun Nov 21 13:36:51 UTC 2010 simon at freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386


>Description:
	'reload' verb is provided by rc.subr but not enabled by default.

	While working on FreeNAS, we found that it's desirable to have the
	feature so that we can do 'graceful reload' rather than having to
	restart the daemon.
>How-To-Repeat:
	service istgt reload
>Fix:

--- istgt.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/istgt/Makefile,v
retrieving revision 1.21
diff -u -p -r1.21 Makefile
--- Makefile	23 Feb 2011 18:09:53 -0000	1.21
+++ Makefile	1 Apr 2011 17:54:56 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	istgt
 PORTVERSION=	20110223
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://www.peach.ne.jp/archives/istgt/
 
Index: files/patch-etc__istgt.sh.in
===================================================================
RCS file: files/patch-etc__istgt.sh.in
diff -N files/patch-etc__istgt.sh.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-etc__istgt.sh.in	1 Apr 2011 17:54:29 -0000
@@ -0,0 +1,10 @@
+--- ./etc/istgt.sh.in.orig	2009-04-20 02:46:41.000000000 -0700
++++ ./etc/istgt.sh.in	2011-04-01 10:54:21.980657627 -0700
+@@ -9,6 +9,7 @@
+ 
+ name="istgt"
+ rcvar=`set_rcvar`
++extra_commands="reload"
+ 
+ load_rc_config $name
+ 
--- istgt.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list