Conflicting rc.d script and port dist directory

Scot Hetzel swhetzel at gmail.com
Sat Dec 17 13:17:44 PST 2005


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


More information about the freebsd-ports mailing list