Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2000 10:39:26 +0200
From:      Neil Blakey-Milner <nbm@mithrandr.moria.org>
To:        Mario Sergio Fujikawa Ferreira <lioux@uol.com.br>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/19449: The qmail port has /usr/local hardwired into it, and doesn't cerate /etc/mail/mailer.conf
Message-ID:  <20000623103926.B18169@mithrandr.moria.org>
In-Reply-To: <200006230710.AAA72372@freefall.freebsd.org>; from lioux@uol.com.br on Fri, Jun 23, 2000 at 12:10:10AM -0700
References:  <200006230710.AAA72372@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri 2000-06-23 (00:10), Mario Sergio Fujikawa Ferreira wrote:
>  +thereal-disable-sendmail: ${WRKDIR}/.thereal_disable_sendmail_done /etc/rc.conf 
>  +	@if [ -f /etc/rc.conf ]; \
>  +	then \
>  +		${CP} /etc/rc.conf /etc/rc.conf.bak && \
>  +			${GREP} -v sendmail_enable /etc/rc.conf.bak > \
>  +				/etc/rc.conf && \
>  +			${TOUCH} ${WRKDIR}/.thereal_disable_sendmail_done ; \

Why this?  If you have this:

>  +
>  +disable-sendmail: thereal-disable-sendmail
>  +	@if [ -f /etc/rc.conf ]; \
>  +	then \
>  +		${ECHO} sendmail_enable=\"NO\" >> /etc/rc.conf ; \
>  +	fi


>  +# taken from mail/postfix idea
>  +force-enable-qmail: install disable-sendmail
>  +	@${ECHO_MSG} "===> Replacing sendmail"
>  +	@if [ -e /usr/sbin/sendmail ]; then \
>  +		${MV} -f /usr/sbin/sendmail /usr/sbin/sendmail.OFF && \
>  +		${CHMOD} 0 /usr/sbin/sendmail.OFF; \
>  +	fi
>  +	@if [ -e ${PREFIX}/bin/sendmail ]; then \
>  +		${LN} -s ${PREFIX}/bin/sendmail /usr/sbin/sendmail; \
>  +	fi
>  +	@${ECHO_MSG} "===> Replacing mailq"
>  +	@if [ -e /usr/bin/mailq ]; then \
>  +		${MV} -f /usr/bin/mailq /usr/bin/mailq.OFF && \
>  +		${CHMOD} 0 /usr/bin/mailq.OFF; \
>  +	fi  
>  +	@if [ -e ${PREFIX}/bin/qmail-qread ]; then \
>  +		${LN} -s ${PREFIX}/bin/qmail-qread /usr/bin/mailq; \
>  +	fi
>  +	@${ECHO_MSG} "===> Replacing newaliases"
>  +	@if [ -e /usr/bin/newaliases ]; then \
>  +		${MV} -f /usr/bin/newaliases /usr/bin/newaliases.OFF && \
>  +		${CHMOD} 0 /usr/bin/newaliases.OFF; \
>  +	fi
>  +	@if [ -e ${PREFIX}/bin/newaliases ]; then \
>  +		${LN} -s ${PREFIX}/bin/newaliases /usr/bin/newaliases; \
>  +	fi

I don't like this hackery for the non-mailwrapper case.  People who have
mailwrapper may call it, which would really suck.  I'd prefer the
copious warnings, or just a quick description in the
documentation/porting notes.

Neil
-- 
Neil Blakey-Milner
Sunesi Clinical Systems
nbm@mithrandr.moria.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000623103926.B18169>