From owner-freebsd-current@FreeBSD.ORG Thu Jul 29 14:33:09 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E605F16A4CE for ; Thu, 29 Jul 2004 14:33:09 +0000 (GMT) Received: from park.rambler.ru (park.rambler.ru [81.19.64.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C7C243D64 for ; Thu, 29 Jul 2004 14:33:08 +0000 (GMT) (envelope-from kappa@rambler-co.ru) Received: from capella.park.rambler.ru ([81.19.65.30]) by park.rambler.ru (8.12.6/8.12.6) with ESMTP id i6TEX2gT009787; Thu, 29 Jul 2004 18:33:02 +0400 (MSD) (envelope-from kappa@rambler-co.ru) Received: by capella.park.rambler.ru (Postfix, from userid 1001) id 930AD45DB; Thu, 29 Jul 2004 18:31:47 +0400 (MSD) Date: Thu, 29 Jul 2004 18:31:47 +0400 From: Alex Kapranoff To: Oliver Eikemeier Message-ID: <20040729143147.GA52939@capella.park.rambler.ru> References: <20040729131949.GA39464@capella.park.rambler.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 5.2-CURRENT i386 Organization: Inner Mongolia User-Agent: Mutt/1.5.6i X-DCC-RAMBLER-Metrics: park.rambler.ru 32700; Body=2 Fuz1=2 Fuz2=2 cc: current@freebsd.org Subject: Re: RFC: Alternate patch to have true new-style rc.d ports scripts(without touching localpkg) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jul 2004 14:33:10 -0000 * Oliver Eikemeier [July 29 2004, 18:08]: > Alex Kapranoff wrote: > > The need for two versions of startup scripts for each port is highly > >undesirable. There should be some shims for 4.x systems, I suppose, > >for them to be able to execute extensionless rc.d scripts in simple > >lexicographic order (and missing all the rcorder benefits). > > No, every port just has one version of a startup script, it is just > *installed* under a different name, depending on OSVERSION. The > borderline is not 4.x/5.x, it is before/after the patch (which enables > execution of extensionless rc.d scripts). The supporting code in > bsd.port.mk could install shims that enables newer 5.x packages to be > used on older systems, but I would prefer not to have them. Ah, now I understand. 4.x systems will get .sh scripts as will do old CURRENTs. No shims needed then (except for sysutils/rc_subr for rc_subrified scripts, but that's already implemented). > Thanks. Mike's patch sources scripts only into localpkg, so there is an > additional layer, yet they can influence each other (by erroneously Thanks for clarification. Indeed there's a layer. -- Alex Kapranoff.