Annotation of openbsd/update_openbsd/make_SMTPAUTH_sendmail, Revision 1.3
1.1 andrew 1: #!/bin/sh
1.3 ! andrew 2: # $RedRiver: make_SMTPAUTH_sendmail,v 1.2 2008/05/20 21:19:02 andrew Exp $
1.1 andrew 3:
4: pkg_info -e cyrus-sasl-* > /dev/null
5: if [ $? -ne 0 ]; then
6: echo Installing cyrus-sasl
7: $SUDO pkg_add -i cyrus-sasl
8: if [ $? -ne 0 ]; then
9: exit
10: fi
11: fi
12:
13:
1.3 ! andrew 14: grep -q ^WANT_SMTPAUTH=Yes /etc/mk.conf
! 15: if [ $? -ne 0 ]; then
! 16: echo Plase set WANT_SMTPAUTH=Yes in /etc/mk.conf
! 17: exit
! 18: fi
! 19:
! 20: mv -f sendmail-smtp_auth.gz sendmail-smtp_auth.gz.old
! 21:
! 22: cd /usr/src/gnu/usr.sbin/sendmail/
1.1 andrew 23: echo Making sendmail
24: make clean
1.3 ! andrew 25: make obj
1.1 andrew 26: make depend
27: make
28:
1.3 ! andrew 29: gzip -o ${OLDPWD}/sendmail-smtp_auth.gz sendmail/obj/sendmail
! 30: #make clean
! 31: echo sendmail with SMTPAUTH is now in ${OLDPWD}/sendmail-smtp_auth.gz
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>