From owner-freebsd-ports@FreeBSD.ORG Wed Jun 30 14:08:38 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 248CA16A4CE; Wed, 30 Jun 2004 14:08:38 +0000 (GMT) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B69643D1D; Wed, 30 Jun 2004 14:08:37 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from pelsia.ninth-nine.com (bmdi3167.bmobile.ne.jp [202.221.175.167]) (authenticated bits=0) by sakura.ninth-nine.com (8.12.11/8.12.11/NinthNine) with ESMTP id i5UE8NGf044132 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 30 Jun 2004 23:08:29 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Wed, 30 Jun 2004 23:08:29 +0900 (JST) Message-Id: <200406301408.i5UE8NGf044132@sakura.ninth-nine.com> From: Norikatsu Shigemura To: roam@FreeBSD.org In-Reply-To: <20040629205443.638a0b27.nork@FreeBSD.org> References: <20040620070446.21a599c7.nork@FreeBSD.org> <20040622183550.GI46866@hal9000.halplant.com> <20040624151543.5cadaf83.nork@FreeBSD.org> <20040625162008.GC51175@hal9000.halplant.com> <20040629205443.638a0b27.nork@FreeBSD.org> X-Mailer: Sylpheed version 0.9.11-gtk2-20040613 (GTK+ 2.4.3; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.4 (sakura.ninth-nine.com [219.127.74.121]); Wed, 30 Jun 2004 23:08:32 +0900 (JST) cc: ports@FreeBSD.org Subject: Re: rcNG-fy sysutils/daemontools X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2004 14:08:38 -0000 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 () { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -