From owner-freebsd-ports@FreeBSD.ORG Sat Dec 17 21:17:44 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 3F9F116A41F for ; Sat, 17 Dec 2005 21:17:44 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CBCC43D62 for ; Sat, 17 Dec 2005 21:17:42 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so687636wxc for ; Sat, 17 Dec 2005 13:17:42 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WnAsAeEt/60VlOZJ7NvHIPTPfhdDPeChwt3j8lTAuHoyc8dMiga1yM9Q3Tl/vOg5cBLeMSV2mG97RIiobfN97tjdrxxskU8xh6+QbdumyKRjhWh/be7gnqHLpw+kTpq6oCxhceFeLKuEeeWhgjRqiRXMFBrrCq/yPzZfaSW5cAo= Received: by 10.70.89.19 with SMTP id m19mr2703874wxb; Sat, 17 Dec 2005 13:17:41 -0800 (PST) Received: by 10.70.27.5 with HTTP; Sat, 17 Dec 2005 13:17:41 -0800 (PST) Message-ID: <790a9fff0512171317y2999bdb8q1be0a6145e719e2a@mail.gmail.com> Date: Sat, 17 Dec 2005 15:17:41 -0600 From: Scot Hetzel To: Brooks Davis In-Reply-To: <20051217210921.GF29053@odin.ac.hmc.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20051217201004.GA845@zaphod.nitro.dk> <1134850440.64549.0.camel@localhost> <20051217203912.GD29053@odin.ac.hmc.edu> <790a9fff0512171305j45b46593j683be6227366d71c@mail.gmail.com> <20051217210921.GF29053@odin.ac.hmc.edu> Cc: Pav Lucistnik , "Simon L. Nielsen" , freebsd-ports@freebsd.org Subject: Re: Conflicting rc.d script and port dist directory 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: Sat, 17 Dec 2005 21:17:44 -0000 > > I don't see this as a hack. Any rc.d script placed in ${WORK} > > directory should have the .sh extention to avoid conflicts with > > similar named directories. When the port installs the rc.d script, it > > should check OSVERSION to determine if the script should be > > installed/not-installed with the .sh suffix. > > I guess that makes sense. It would be nice if we made up our minds what > the source extension and variable values should be. > The FreeBSD project has made up their minds that from 7.0 forward, rc.d scripts will be installed without the .sh suffix. They are also working on getting this working for 6.1+, as long as it doesn't break anything. Also we still need to support rc.d scripts for 4.x, 5.x and 6.0, so the .sh suffix needs to be appended for those systems. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.