ports/81677: [PATCH] sysutils/daemontools: Fix rc.d/svscan.sh
Renato Botelho
freebsd at galle.com.br
Mon May 30 16:50:02 UTC 2005
>Number: 81677
>Category: ports
>Synopsis: [PATCH] sysutils/daemontools: Fix rc.d/svscan.sh
>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: Mon May 30 16:50:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Renato Botelho
>Release: FreeBSD 5.4-RELEASE i386
>Organization:
Galle Folheados - http://www.galle.com.br
>Environment:
System: FreeBSD data.galle.com.br 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Tue May 10 09:20:42 BRST 2005
>Description:
- Add "-name '[^.]*'" to svscan_stop_posrt() on rc.d/svscan.sh to don't
try to stop directories that name start with dot (.). This directories
aren't started by svscan.
Port maintainer (roam at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- daemontools-0.76_10.patch begins here ---
Index: files/svscan.sh.sample
===================================================================
RCS file: /home/ncvs/ports/sysutils/daemontools/files/svscan.sh.sample,v
retrieving revision 1.11
diff -u -r1.11 svscan.sh.sample
--- files/svscan.sh.sample 30 May 2005 11:28:04 -0000 1.11
+++ files/svscan.sh.sample 30 May 2005 16:41:21 -0000
@@ -67,7 +67,7 @@
}
svscan_stop_post () {
- find -L "$svscan_servicedir" -mindepth 1 -maxdepth 2 -type d \( \! -path "$svscan_servicedir/*/*" -or -name 'log' \) -print0 | xargs -0 %%PREFIX%%/bin/svc -dx
+ find -L "$svscan_servicedir" -mindepth 1 -maxdepth 2 -name '[^.]*' -type d \( \! -path "$svscan_servicedir/*/*" -or -name 'log' \) -print0 | xargs -0 %%PREFIX%%/bin/svc -dx
}
run_rc_command "$1"
--- daemontools-0.76_10.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list