=================================================================== RCS file: /cvs/openbsd/update_openbsd/make_SMTPAUTH_sendmail,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- openbsd/update_openbsd/make_SMTPAUTH_sendmail 2008/05/20 22:19:02 1.2 +++ openbsd/update_openbsd/make_SMTPAUTH_sendmail 2008/11/03 18:45:15 1.3 @@ -1,5 +1,5 @@ #!/bin/sh -# $RedRiver: make_SMTPAUTH_sendmail,v 1.1 2008/05/20 21:17:42 andrew Exp $ +# $RedRiver: make_SMTPAUTH_sendmail,v 1.2 2008/05/20 21:19:02 andrew Exp $ pkg_info -e cyrus-sasl-* > /dev/null if [ $? -ne 0 ]; then @@ -10,14 +10,22 @@ fi fi -WANT_SMTPAUTH=Yes -cd /usr/src/gnu/usr.sbin/sendmail/sendmail/ +grep -q ^WANT_SMTPAUTH=Yes /etc/mk.conf +if [ $? -ne 0 ]; then + echo Plase set WANT_SMTPAUTH=Yes in /etc/mk.conf + exit +fi + +mv -f sendmail-smtp_auth.gz sendmail-smtp_auth.gz.old + +cd /usr/src/gnu/usr.sbin/sendmail/ echo Making sendmail make clean +make obj make depend make -gzip -o ${OLDPWD}/sendmail.gz sendmail -echo sendmail with SMTPAUTH is now in ${OLDPWD}/sendmail.gz -make clean +gzip -o ${OLDPWD}/sendmail-smtp_auth.gz sendmail/obj/sendmail +#make clean +echo sendmail with SMTPAUTH is now in ${OLDPWD}/sendmail-smtp_auth.gz