From owner-freebsd-current@FreeBSD.ORG Thu Jul 29 13:21:49 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 B0BD716A4CE for ; Thu, 29 Jul 2004 13:21:49 +0000 (GMT) Received: from park.rambler.ru (park.rambler.ru [81.19.64.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44CC743D3F for ; Thu, 29 Jul 2004 13:21:48 +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 i6TDL4gT006073; Thu, 29 Jul 2004 17:21:04 +0400 (MSD) (envelope-from kappa@rambler-co.ru) Received: by capella.park.rambler.ru (Postfix, from userid 1001) id E194F45DB; Thu, 29 Jul 2004 17:19:49 +0400 (MSD) Date: Thu, 29 Jul 2004 17:19:49 +0400 From: Alex Kapranoff To: Oliver Eikemeier Message-ID: <20040729131949.GA39464@capella.park.rambler.ru> References: <4108B7C5.5000802@fillmore-labs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4108B7C5.5000802@fillmore-labs.com> 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 13:21:49 -0000 * Oliver Eikemeier [July 29 2004, 12:39]: > I'm not sure if we should filter out *all* scripts with extensions. > There might be a startup.app port we like to add, perhaps just a list of > values like `.old', `.sample' e.t.c. should be filtered out. OTOH this > is easily changeable, should the need arise. And startup.app port can easily be started with startup_app script, This is a non-issue, I think. > which will install `apache' or `apache.sh' depending on OSVERSION. A > variable RC_SUFX is set that could be used in pkg-message or other > places when necessary. 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). > Sourcing port scripts is not possible with this patch, which is a good > thing IMHO. Also some documentation needs to added to rc(8) before this > patch can go in. I like the patch and would like it to go into the tree instead of Mike Makonnen's solution. Sourcing 3rd party (ports) scripts into the shell which performs global system startup procedures worries me. -- Alex Kapranoff.