ports/82423: [PATCH] security/amavisd-new: several improvements

Scot Hetzel swhetzel at gmail.com
Fri Jul 15 19:08:00 GMT 2005


On 7/14/05, Dominic Marks <dom at goodforbusiness.co.uk> wrote:
> Why is the rc.d script now being installed into /etc/rc.d/amavisd ?
> 
> I am referring to this section of the Makefile:
> 
> .if ${OSVERSION} >= 500037
> USE_RCORDER=    amavisd.sh
> RC_DIR=         /etc/rc.d
> RC_SUFX=
> .else
> USE_RC_SUBR+=   amavisd.sh
> RC_DIR=         ${PREFIX}/etc/rc.d
> RC_SUFX=        .sh
> .endif
> 
> Has their been some sort of policy change? Why is amavisd-new
> doing this when no other ports (that I know of anyway) are? This
> seems wrong to me.
> 
> If there is a good reason for it, I'd be happy to hear it.
> 

I beleive the port maintainers reason for this is so that sendmail
won't complain that it can't talk to the amavisd milter dameon upon
startup.

Placing the startup script in to /etc/rc.d ensures that amavisd starts
before sendmail starts.

Scot
-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.


More information about the freebsd-ports mailing list