[BACK]Return to make_SMTPAUTH_sendmail CVS log [TXT][DIR] Up to [local] / openbsd / update_openbsd

File: [local] / openbsd / update_openbsd / make_SMTPAUTH_sendmail (download)

Revision 1.1, Tue May 20 21:17:42 2008 UTC (16 years ago) by andrew
Branch: MAIN

This script builds a sendmail with SMTPAUTH compiled in.  Handy if you need one.

#!/bin/sh
# $RedRiver$

pkg_info -e cyrus-sasl-* > /dev/null
if [ $? -ne 0 ]; then
	echo Installing cyrus-sasl
	$SUDO pkg_add -i cyrus-sasl
	if [ $? -ne 0 ]; then
		exit
	fi
fi

WANT_SMTPAUTH=Yes 

cd /usr/src/gnu/usr.sbin/sendmail/sendmail/
echo Making sendmail
make clean 
make depend
make

gzip -o ${OLDPWD}/sendmail.gz sendmail
make clean