rcNG-fy sysutils/daemontools

Norikatsu Shigemura nork at FreeBSD.org
Wed Jun 30 07:08:38 PDT 2004


Hi roam!

	Please update daemontools with following patch:-).

- - - - - - - -
Change /bin/sh to /usr/sbin/daemon

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/daemontools/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile	28 Jun 2004 23:56:18 -0000	1.16
+++ Makefile	30 Jun 2004 14:02:28 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	daemontools
 PORTVERSION=	0.76
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	sysutils
 MASTER_SITES=	http://cr.yp.to/daemontools/ \
 		ftp://cr.yp.to/daemontools/
Index: files/svscan.sh.sample
===================================================================
RCS file: /home/ncvs/ports/sysutils/daemontools/files/svscan.sh.sample,v
retrieving revision 1.5
diff -u -r1.5 svscan.sh.sample
--- files/svscan.sh.sample	28 Jun 2004 23:56:18 -0000	1.5
+++ files/svscan.sh.sample	30 Jun 2004 14:01:22 -0000
@@ -62,7 +62,7 @@
 svscan_start () {
 	/usr/bin/env \
 	PATH=%%PREFIX%%/sbin:%%PREFIX%%/bin:/usr/sbin:/usr/bin:/sbin:/bin \
-	/bin/sh -c "$command $svscan_servicedir 2>&1 | %%PREFIX%%/bin/readproctitle service errors: ................................................................................................................................................................................................................................................................................................................................................................................................................ &" > /dev/null
+	/usr/sbin/daemon -f "$command $svscan_servicedir | %%PREFIX%%/bin/readproctitle service errors: ................................................................................................................................................................................................................................................................................................................................................................................................................ 2>&1 &"
 }
 
 svscan_stop_post () {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 


More information about the freebsd-ports mailing list