splitting courier-authlib into master+slave ports

Yarema yds at CoolRat.org
Thu Apr 21 21:37:29 PDT 2005

--On Thursday, April 21, 2005 11:10 PM +0200 Oliver Lehmann 
<lehmann at ans-netz.de> wrote:

> Hi once more
> Yarema wrote:
>> Note that "USE_RCORDER=	courier-authdaemond.sh" will process
>> 'files/courier-authdaemond.sh.in' and not
>> 'files/courier-authdaemond.sh',  that's just how <bsd.port.mk> deals
>> with it.
> Just a small note:
> USE_RC_SUBR=	courier-authdaemond.sh is what we want.
> USE_RCORDER=... installes the file in /etd/rc.d instead of ${PREFIX}/etc/
> rc.d

It's not what we all want..  I for one want USE_RCORDER so that in 
courier.sh of the courier port I can:

# PROVIDE: courier mail
# REQUIRE: DAEMON courier_authdaemond
# KEYWORD: FreeBSD shutdown 

and have the system run courier_authdaemond before it runs courier.

USE_RC_SUBR= startup scripts installed in ${PREFIX}/etc/rc.d/ do not honor 
the REQUIRE: and BEFORE: ordering.

USE_RCORDER= scripts installed in /etd/rc.d/ do honor those.  That's what 
USE_RCORDER= is for.

courier-imap and sqwebmail could stand to benefit from such startup 
ordering as well.


More information about the freebsd-ports mailing list