OPTIONS, LATEST_LINK, and RCng

Oliver Eikemeier eikemeier at fillmore-labs.com
Mon Feb 23 04:44:02 PST 2004


Thomas-Martin Seck wrote:

> [...]
> 
> No, the script is rcNG _aware_. If rc.subr is not present in the two
> locations where the scripts expects it to be, the script will just
> behave like any other rc script. An added bonus is that you get reload,
> restart, and status functions from rcNG.

I believe that is confusing, since the script will start without requiring
enable_dansguardian="YES" in /etc/rc.conf if and only if rc.subr is on your
system, which means that it changes its behaviour when I install/deinstall
other ports.

Btw, you script is missing enable_dansguardian=${enable_dansguardian:-"NO"}
before load_rc_config.

>> [...]
>>
>>You should just USE_RC_SUBR=yes with
> 
> I deliberately avoided this dependency for the squid ports since rcNG is
> not needed for this port to work. If users want rcNG on pre-rcNG
> systems, they can install the rc_subr themselves and the squid start
> scripts will then use rcNG.

See above.  Just USE_RC_SUBR, as everybody does, I'll file a PR against the
squid ports.


More information about the freebsd-ports mailing list