From renato@data.galle.com.br  Mon May 30 16:46:38 2005
Return-Path: <renato@data.galle.com.br>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9A38616A41C;
	Mon, 30 May 2005 16:46:38 +0000 (GMT)
	(envelope-from renato@data.galle.com.br)
Received: from data.galle.com.br (data.galle.com.br [200.246.25.10])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8BFC443D1F;
	Mon, 30 May 2005 16:46:36 +0000 (GMT)
	(envelope-from renato@data.galle.com.br)
Received: from data.galle.com.br (data.galle.com.br [200.246.25.10])
	by data.galle.com.br (8.13.3/8.13.1) with ESMTP id j4UGkXtJ049623;
	Mon, 30 May 2005 13:46:33 -0300 (BRST)
	(envelope-from renato@data.galle.com.br)
Received: (from root@localhost)
	by data.galle.com.br (8.13.3/8.13.1/Submit) id j4UGkSgO049622;
	Mon, 30 May 2005 13:46:28 -0300 (BRST)
	(envelope-from renato)
Message-Id: <200505301646.j4UGkSgO049622@data.galle.com.br>
Date: Mon, 30 May 2005 13:46:28 -0300 (BRST)
From: Renato Botelho <freebsd@galle.com.br>
To: FreeBSD-gnats-submit@freebsd.org
Cc: roam@freebsd.org
Subject: [PATCH] sysutils/daemontools: Fix rc.d/svscan.sh
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         81677
>Category:       ports
>Synopsis:       [PATCH] sysutils/daemontools: Fix rc.d/svscan.sh
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    roam
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 30 16:50:01 GMT 2005
>Closed-Date:    Tue Jun 07 11:06:20 GMT 2005
>Last-Modified:  Tue Jun 07 11:06:20 GMT 2005
>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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->roam 
Responsible-Changed-By: vs 
Responsible-Changed-When: Mon May 30 19:38:32 GMT 2005 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=81677 
State-Changed-From-To: open->closed 
State-Changed-By: roam 
State-Changed-When: Tue Jun 7 11:06:09 GMT 2005 
State-Changed-Why:  
Fix committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=81677 
>Unformatted:
