diff --git a/security/cyrus-sasl/files/Sendmail.README b/security/cyrus-sasl/files/Sendmail.README index 7063c93e90e8..e4ee641ca069 100644 --- a/security/cyrus-sasl/files/Sendmail.README +++ b/security/cyrus-sasl/files/Sendmail.README @@ -1,25 +1,15 @@ How to enable SMTP AUTH with FreeBSD default Sendmail 8.11 -1. Edit /usr/src/usr.sbin/sendmail/Makefile, and change the line: - - LDADD= -lutil -lwrap -into - LDADD+= -lutil -lwrap - - NOTE: This change is in 5.0-CURRENT and will be MFC'd to - 4.1-STABLE later. - -2) Add the following to /etc/make.conf: +1) Add the following to /etc/make.conf: # Add SMTP AUTH support to Sendmail -.if ${.CURDIR} == "/usr/src/usr.sbin/sendmail" -CFLAGS+=-DSASL -I/usr/local/include/sasl -L/usr/local/lib -LDADD+=-lsasl -.endif +SENDMAIL_CFLAGS+= -DSASL -I/usr/local/include/sasl +SENDMAIL_LDFLAGS+= -L/usr/local/lib +SENDMAIL_LDADD+= -lsasl -3) Rebuild FreeBSD (make buildworld, ...) +2) Rebuild FreeBSD (make buildworld, ...) -4) Create /usr/local/lib/sasl/Sendmail.conf with the following. +3) Create /usr/local/lib/sasl/Sendmail.conf with the following. pwcheck_method: pwcheck diff --git a/security/cyrus-sasl2/files/Sendmail.README b/security/cyrus-sasl2/files/Sendmail.README index 7063c93e90e8..e4ee641ca069 100644 --- a/security/cyrus-sasl2/files/Sendmail.README +++ b/security/cyrus-sasl2/files/Sendmail.README @@ -1,25 +1,15 @@ How to enable SMTP AUTH with FreeBSD default Sendmail 8.11 -1. Edit /usr/src/usr.sbin/sendmail/Makefile, and change the line: - - LDADD= -lutil -lwrap -into - LDADD+= -lutil -lwrap - - NOTE: This change is in 5.0-CURRENT and will be MFC'd to - 4.1-STABLE later. - -2) Add the following to /etc/make.conf: +1) Add the following to /etc/make.conf: # Add SMTP AUTH support to Sendmail -.if ${.CURDIR} == "/usr/src/usr.sbin/sendmail" -CFLAGS+=-DSASL -I/usr/local/include/sasl -L/usr/local/lib -LDADD+=-lsasl -.endif +SENDMAIL_CFLAGS+= -DSASL -I/usr/local/include/sasl +SENDMAIL_LDFLAGS+= -L/usr/local/lib +SENDMAIL_LDADD+= -lsasl -3) Rebuild FreeBSD (make buildworld, ...) +2) Rebuild FreeBSD (make buildworld, ...) -4) Create /usr/local/lib/sasl/Sendmail.conf with the following. +3) Create /usr/local/lib/sasl/Sendmail.conf with the following. pwcheck_method: pwcheck