diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-01-25 22:34:48 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-01-25 22:34:48 +0800 |
commit | 46b11d69a2101794dfb8e51a0bb9818f79cc89db (patch) | |
tree | a7e7b148aa3311e8a533cea76180aaa2466afba9 /mail | |
parent | c6b3718d996ad4d99dd62b760397c07b6481ff8c (diff) | |
download | freebsd-ports-gnome-46b11d69a2101794dfb8e51a0bb9818f79cc89db.tar.gz freebsd-ports-gnome-46b11d69a2101794dfb8e51a0bb9818f79cc89db.tar.zst freebsd-ports-gnome-46b11d69a2101794dfb8e51a0bb9818f79cc89db.zip |
New Build-Option: SENDMAIL_WITH_SASL
PR: 24625
Submitted by: MAINTAINER
Diffstat (limited to 'mail')
-rw-r--r-- | mail/sendmail-old/Makefile | 7 | ||||
-rw-r--r-- | mail/sendmail-old/files/site.config.m4.sasl | 5 | ||||
-rw-r--r-- | mail/sendmail/Makefile | 7 | ||||
-rw-r--r-- | mail/sendmail/files/site.config.m4.sasl | 5 | ||||
-rw-r--r-- | mail/sendmail811/Makefile | 7 | ||||
-rw-r--r-- | mail/sendmail811/files/site.config.m4.sasl | 5 | ||||
-rw-r--r-- | mail/sendmail812/Makefile | 7 | ||||
-rw-r--r-- | mail/sendmail812/files/site.config.m4.sasl | 5 |
8 files changed, 48 insertions, 0 deletions
diff --git a/mail/sendmail-old/Makefile b/mail/sendmail-old/Makefile index 3770d87f19d7..4596b661f3c1 100644 --- a/mail/sendmail-old/Makefile +++ b/mail/sendmail-old/Makefile @@ -22,6 +22,9 @@ PLIST= ${WRKDIR}/.PLIST.more .if defined(SENDMAIL_WITH_TSL) USE_OPENSSL= yes .endif +.if defined(SENDMAIL_WITH_SASL) +BUILD_DEPENDS= ${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl +.endif .if exists(${DESTDIR}/etc/mail/mailer.conf) pre-configure: @@ -30,6 +33,10 @@ pre-configure: .if defined(SENDMAIL_WITH_TSL) ${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 .else pre-configure: ${SED} -e "s=%%PREFIX%%=${PREFIX}=" \ diff --git a/mail/sendmail-old/files/site.config.m4.sasl b/mail/sendmail-old/files/site.config.m4.sasl new file mode 100644 index 000000000000..7b8813c8c15e --- /dev/null +++ b/mail/sendmail-old/files/site.config.m4.sasl @@ -0,0 +1,5 @@ +APPENDDEF(`conf_sendmail_ENVDEF', `-I%%LOCALBASE%%/include/sasl') +APPENDDEF(`conf_sendmail_ENVDEF', `-DDSASL') +APPENDDEF(`conf_sendmail_ENVDEF', `-D_FFR_UNSAFE_SASL') +APPENDDEF(`confLIBDIRS', `-L%%LOCALBASE%%/lib') +APPENDDEF(`conf_sendmail_LIBS', `-lsasl') diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile index 3770d87f19d7..4596b661f3c1 100644 --- a/mail/sendmail/Makefile +++ b/mail/sendmail/Makefile @@ -22,6 +22,9 @@ PLIST= ${WRKDIR}/.PLIST.more .if defined(SENDMAIL_WITH_TSL) USE_OPENSSL= yes .endif +.if defined(SENDMAIL_WITH_SASL) +BUILD_DEPENDS= ${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl +.endif .if exists(${DESTDIR}/etc/mail/mailer.conf) pre-configure: @@ -30,6 +33,10 @@ pre-configure: .if defined(SENDMAIL_WITH_TSL) ${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 .else pre-configure: ${SED} -e "s=%%PREFIX%%=${PREFIX}=" \ diff --git a/mail/sendmail/files/site.config.m4.sasl b/mail/sendmail/files/site.config.m4.sasl new file mode 100644 index 000000000000..7b8813c8c15e --- /dev/null +++ b/mail/sendmail/files/site.config.m4.sasl @@ -0,0 +1,5 @@ +APPENDDEF(`conf_sendmail_ENVDEF', `-I%%LOCALBASE%%/include/sasl') +APPENDDEF(`conf_sendmail_ENVDEF', `-DDSASL') +APPENDDEF(`conf_sendmail_ENVDEF', `-D_FFR_UNSAFE_SASL') +APPENDDEF(`confLIBDIRS', `-L%%LOCALBASE%%/lib') +APPENDDEF(`conf_sendmail_LIBS', `-lsasl') diff --git a/mail/sendmail811/Makefile b/mail/sendmail811/Makefile index 3770d87f19d7..4596b661f3c1 100644 --- a/mail/sendmail811/Makefile +++ b/mail/sendmail811/Makefile @@ -22,6 +22,9 @@ PLIST= ${WRKDIR}/.PLIST.more .if defined(SENDMAIL_WITH_TSL) USE_OPENSSL= yes .endif +.if defined(SENDMAIL_WITH_SASL) +BUILD_DEPENDS= ${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl +.endif .if exists(${DESTDIR}/etc/mail/mailer.conf) pre-configure: @@ -30,6 +33,10 @@ pre-configure: .if defined(SENDMAIL_WITH_TSL) ${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 .else pre-configure: ${SED} -e "s=%%PREFIX%%=${PREFIX}=" \ diff --git a/mail/sendmail811/files/site.config.m4.sasl b/mail/sendmail811/files/site.config.m4.sasl new file mode 100644 index 000000000000..7b8813c8c15e --- /dev/null +++ b/mail/sendmail811/files/site.config.m4.sasl @@ -0,0 +1,5 @@ +APPENDDEF(`conf_sendmail_ENVDEF', `-I%%LOCALBASE%%/include/sasl') +APPENDDEF(`conf_sendmail_ENVDEF', `-DDSASL') +APPENDDEF(`conf_sendmail_ENVDEF', `-D_FFR_UNSAFE_SASL') +APPENDDEF(`confLIBDIRS', `-L%%LOCALBASE%%/lib') +APPENDDEF(`conf_sendmail_LIBS', `-lsasl') diff --git a/mail/sendmail812/Makefile b/mail/sendmail812/Makefile index 3770d87f19d7..4596b661f3c1 100644 --- a/mail/sendmail812/Makefile +++ b/mail/sendmail812/Makefile @@ -22,6 +22,9 @@ PLIST= ${WRKDIR}/.PLIST.more .if defined(SENDMAIL_WITH_TSL) USE_OPENSSL= yes .endif +.if defined(SENDMAIL_WITH_SASL) +BUILD_DEPENDS= ${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl +.endif .if exists(${DESTDIR}/etc/mail/mailer.conf) pre-configure: @@ -30,6 +33,10 @@ pre-configure: .if defined(SENDMAIL_WITH_TSL) ${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 .else pre-configure: ${SED} -e "s=%%PREFIX%%=${PREFIX}=" \ diff --git a/mail/sendmail812/files/site.config.m4.sasl b/mail/sendmail812/files/site.config.m4.sasl new file mode 100644 index 000000000000..7b8813c8c15e --- /dev/null +++ b/mail/sendmail812/files/site.config.m4.sasl @@ -0,0 +1,5 @@ +APPENDDEF(`conf_sendmail_ENVDEF', `-I%%LOCALBASE%%/include/sasl') +APPENDDEF(`conf_sendmail_ENVDEF', `-DDSASL') +APPENDDEF(`conf_sendmail_ENVDEF', `-D_FFR_UNSAFE_SASL') +APPENDDEF(`confLIBDIRS', `-L%%LOCALBASE%%/lib') +APPENDDEF(`conf_sendmail_LIBS', `-lsasl') |