summaryrefslogtreecommitdiff
path: root/mail/sendmail-old/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2001-03-11 07:03:34 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2001-03-11 07:03:34 +0000
commitec702c06b20068266ccb8589bf3fd22cf8df0340 (patch)
tree5f256e79499aeaa4f32f864585f5cb31df9a2b74 /mail/sendmail-old/Makefile
parent- Update to lastest version (diff)
sendmail -- TLS/SASL/SFIO enhancement:
This is a diff to the current port that implements SFIO and SASL options support in addition to TLS. It makes the sendmail port conform more closely to the available documentation for such security enhancements. ken@nova.org - renamed option from SENDMAIL_WITH_TSL to SENDMAIL_WITH_TLS - new option SENDMAIL_WITH_SFIO - fixed bug in site.config.m4.sasl PR: 25661 Submitted by: ken@nova.org
Notes
Notes: svn path=/head/; revision=39555
Diffstat (limited to 'mail/sendmail-old/Makefile')
-rw-r--r--mail/sendmail-old/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/mail/sendmail-old/Makefile b/mail/sendmail-old/Makefile
index 07e4ffa8bb08..55174e30b821 100644
--- a/mail/sendmail-old/Makefile
+++ b/mail/sendmail-old/Makefile
@@ -19,29 +19,36 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
WCONF= ${WRKSRC}/devtools/Site
PLIST= ${WRKDIR}/.PLIST.more
-.if defined(SENDMAIL_WITH_TSL)
+.if defined(SENDMAIL_WITH_TLS)
USE_OPENSSL= yes
.endif
.if defined(SENDMAIL_WITH_SASL)
BUILD_DEPENDS= ${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl
.endif
+.if defined(SENDMAIL_WITH_SFIO)
+BUILD_DEPENDS= ${LOCALBASE}/lib/libsfio.a:${PORTSDIR}/devel/sfio
+.endif
.if exists(${DESTDIR}/etc/mail/mailer.conf)
pre-configure:
${SED} -e "s=%%PREFIX%%=${PREFIX}=" \
${FILESDIR}/site.config.m4 > ${WCONF}/site.config.m4
-.if defined(SENDMAIL_WITH_TSL)
+.if defined(SENDMAIL_WITH_TLS)
${CAT} ${FILESDIR}/site.config.m4.tls >> ${WCONF}/site.config.m4
.endif
.if defined(SENDMAIL_WITH_SASL)
${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \
${FILESDIR}/site.config.m4.sasl >>${WCONF}/site.config.m4
.endif
+.if defined(SENDMAIL_WITH_SFIO)
+ ${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \
+ ${FILESDIR}/site.config.m4.sfio >>${WCONF}/site.config.m4
+.endif
.else
pre-configure:
${SED} -e "s=%%PREFIX%%=${PREFIX}=" \
${FILESDIR}/site.config.m4.pre4 > ${WCONF}/site.config.m4
-.if defined(SENDMAIL_WITH_TSL)
+.if defined(SENDMAIL_WITH_TLS)
${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \
${FILESDIR}/site.config.m4.ssl >> ${WCONF}/site.config.m4
.endif