localpkg script changes

Oliver Eikemeier eikemeier at fillmore-labs.com
Wed Jul 14 04:07:31 PDT 2004

Mike Makonnen wrote:

> Hi folks,
> I was looking at integrating ports rc.d scripts a bit better, and the 
> following is
> what I came up with. I would appreciate reviews, tests, etc..
> Ports related rc.d cleanups:
> [...]
> o The rc.d ports scripts should now behave more like base system 
> scripts.
>   Scripts ending in .sh will be sourced into the current shell, while 
> the
>   rest will be executed in a subshell. Previously, all ports scripts,
>   regardless of the .sh suffix, were executed in a subshell.

You can't do this, since it might break too many ports. See PR 56736 for 
an alternate approach.

Follow-up to ports@, where this discussion belongs to. See
for the original message.


More information about the freebsd-ports mailing list