Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Dec 2005 13:51:18 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Scot Hetzel <swhetzel@gmail.com>
Cc:        Brooks Davis <brooks@one-eyed-alien.net>, Pav Lucistnik <pav@freebsd.org>, "Simon L. Nielsen" <simon@freebsd.org>, freebsd-ports@freebsd.org
Subject:   Re: Conflicting rc.d script and port dist directory
Message-ID:  <20051217215118.GG29053@odin.ac.hmc.edu>
In-Reply-To: <790a9fff0512171317y2999bdb8q1be0a6145e719e2a@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051217215118.GG29053>