From owner-freebsd-ports@FreeBSD.ORG Sat Dec 17 21:51:21 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 0A7E916A423; Sat, 17 Dec 2005 21:51:21 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AEC743D6E; Sat, 17 Dec 2005 21:51:19 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id jBHLpIex004027; Sat, 17 Dec 2005 13:51:18 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id jBHLpIH5004026; Sat, 17 Dec 2005 13:51:18 -0800 Date: Sat, 17 Dec 2005 13:51:18 -0800 From: Brooks Davis To: Scot Hetzel Message-ID: <20051217215118.GG29053@odin.ac.hmc.edu> 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> <790a9fff0512171317y2999bdb8q1be0a6145e719e2a@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WkfBGePaEyrk4zXB" Content-Disposition: inline In-Reply-To: <790a9fff0512171317y2999bdb8q1be0a6145e719e2a@mail.gmail.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: Brooks Davis , 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:51:21 -0000 --WkfBGePaEyrk4zXB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 17, 2005 at 03:17:41PM -0600, Scot Hetzel wrote: > > > 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. Sorry, I meant within the ports collection. The files in ${FILESDIR} should all end in one of .in or .sh.in and the USE_RC_SUBR entries should all have or not have the .sh extension. Allowing variation is just gratuitously confusing. Off hand I'd say .sh.in and no .sh in the variable. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --WkfBGePaEyrk4zXB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFDpIhWXY6L6fI4GtQRAixgAJ9kVhZLM20rlwN9r8l/4WIY3pNtjwCgixij MZvBe9w715j4bNxqDOMbExw= =QlI8 -----END PGP SIGNATURE----- --WkfBGePaEyrk4zXB--