From owner-freebsd-ports@FreeBSD.ORG Fri Dec 23 17:52:18 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 8EAD116A422 for ; Fri, 23 Dec 2005 17:52:18 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70]) by mx1.FreeBSD.org (Postfix) with SMTP id 182A343D5A for ; Fri, 23 Dec 2005 17:52:15 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 29458 invoked from network); 23 Dec 2005 17:52:09 -0000 Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130) by smtp1-133.rdsnet.ro with SMTP; 23 Dec 2005 17:52:09 -0000 Received: (qmail 398 invoked by uid 89); 23 Dec 2005 17:52:08 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 23 Dec 2005 17:52:08 -0000 Received: from it.buh.tecnik93.com (localhost [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id 736E2B80E; Fri, 23 Dec 2005 19:52:08 +0200 (EET) Date: Fri, 23 Dec 2005 19:52:07 +0200 From: Ion-Mihai Tetcu To: Florent Thoumie Message-ID: <20051223195207.6f2e6148@it.buh.tecnik93.com> In-Reply-To: <200512231538.21356.flz@xbsd.org> References: <43A910F8.5090009@FreeBSD.org> <200512231519.28445.josemi@redesjm.local> <200512231538.21356.flz@xbsd.org> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.9; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Doug Barton , freebsd-stable@freebsd.org, Jose M Rodriguez , freebsd-ports@freebsd.org Subject: Re: HEADS UP: MFC of local_startup changes to rc.d complete X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2005 17:52:18 -0000 On Fri, 23 Dec 2005 15:38:15 +0100 Florent Thoumie wrote: > On Friday 23 December 2005 15:19, Jose M Rodriguez wrote: > > > I'm not sure this is the way to go, but ... > > > > Can someone put a document on what is the desired model? I think we > > have too much little pieces of disperse notes about this. > > > > Also, some working notes about ports and RELENG_4/RELENG_5 src > > issues will be of interest. > > > > Hope this can be tweak in time for 6.1 (Jan). > > Convert your old script to rcNG scripts and use USE_RC_SUBR= > script.sh. Ensure that the rcorder preamble contains meaningful > keywords (PROVIDES, REQUIRES, BEFORE, ...) for all your rcNG scripts. > bsd.port.mk should do the rest. You should actually convert your old script to a ``rc.d'' script, that's how they are called now. Also, if your script is rc.d compatible you should use: USE_RC_SUBR=script (without .sh) For now it doesn't matter because bsd.port.mk install all USE_RC_SUBR scripts with .sh extension, but see below >>>> On Thu, 22 Dec 2005 10:52:27 -0800 Brooks Davis wrote: [ ... ] > > Does this mean that we will remove the .sh extension on port rc.d > > startup scripts? Because a) it's been only running .sh scripts for > > quite a while, and b) it's really nice and easy to disable scripts > > by moving them to .old or another extension.. > > Yes. You should be able to disable any correctly written rc.d script > by setting the variable listed by running "