From owner-freebsd-ports@FreeBSD.ORG Tue Jul 27 08:05:20 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 1E71516A4CF; Tue, 27 Jul 2004 08:05:20 +0000 (GMT) Received: from telecom.net.et (ns2.telecom.net.et [213.55.64.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 218E943D41; Tue, 27 Jul 2004 08:05:17 +0000 (GMT) (envelope-from mtm@identd.net) Received: from [213.55.67.163] (HELO pool-151-200-10-97.res.east.verizon.net) by telecom.net.et (CommuniGate Pro SMTP 3.4.8) with ESMTP-TLS id 52733133; Tue, 27 Jul 2004 10:58:09 +0300 Received: from rogue.acs-et.com (localhost [127.0.0.1]) ESMTP id i6R859dG004985; Tue, 27 Jul 2004 11:05:18 +0300 (EAT) (envelope-from mtm@rogue.acs-et.com) Received: (from mtm@localhost) by rogue.acs-et.com (8.12.11/8.12.11/Submit) id i6R84tJm004981; Tue, 27 Jul 2004 11:04:55 +0300 (EAT) (envelope-from mtm) Date: Tue, 27 Jul 2004 11:04:49 +0300 From: Mike Makonnen To: Stijn Hoop Message-ID: <20040727080449.GE1403@rogue.acs-et.com> References: <1090870254.6881.31.camel@shumai.marcuscom.com> <20040726193539.GA76196@nagual.pp.ru> <1090871921.6881.49.camel@shumai.marcuscom.com> <20040726214357.GA80423@nagual.pp.ru> <1090878694.6881.78.camel@shumai.marcuscom.com> <20040726220821.GA80533@nagual.pp.ru> <20040727064438.GA1403@rogue.acs-et.com> <20040727072331.GE63542@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040727072331.GE63542@pcwin002.win.tue.nl> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD/5.2-CURRENT (i386) cc: ports@freebsd.org cc: Andrey Chernov cc: Joe Marcus Clarke Subject: Re: [Fwd: Recent changes to rc.d on -CURRENT] 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: Tue, 27 Jul 2004 08:05:20 -0000 On Tue, Jul 27, 2004 at 09:23:31AM +0200, Stijn Hoop wrote: > On Tue, Jul 27, 2004 at 09:44:39AM +0300, Mike Makonnen wrote: > > Ports rc.d scripts have always been broken. It's just that it wasn't > > noticeable because rc.d/localpkg was also broken. > > Well of course older rc.d scripts were 'broken' -- they relied on the > older 'broken' behaviour of rc.d/localpkg... No, I'm talking about scripts that used the rc.d mechanism but didn't behave properly (for example, hardcoding configuration values in the script). > > > The rc.d mechanism with respect to sourcing scripts works like this: > > o scripts ending in '.sh' are sourced in the current subshell > > o all other scripts are sourced in a subshell. > > Wait, so you're saying that e.g. 'samba.sh.sample' is also executed in > the new world order? No, '*.sample' and '*-dist' are ignored. Cheers. -- Mike Makonnen | GPG-KEY: http://www.identd.net/~mtm/mtm.asc mtm@identd.net | Fingerprint: AC7B 5672 2D11 F4D0 EBF8 5279 5359 2B82 7CD4 1F55 mtm@FreeBSD.Org| FreeBSD - Unleash the Daemon !