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: ports/81677: [PATCH] sysutils/daemontools: Fix rc.d/svscan.sh Message-ID: <200505301646.j4UGkSgO049622@data.galle.com.br> Resent-Message-ID: <200505301650.j4UGo264074070@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505301646.j4UGkSgO049622>