diff options
Diffstat (limited to 'mail/sendmail812')
-rw-r--r-- | mail/sendmail812/Makefile | 12 | ||||
-rw-r--r-- | mail/sendmail812/files/site.config.m4.smtps | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/mail/sendmail812/Makefile b/mail/sendmail812/Makefile index 0392bfe58ba8..35e6ebdeb35c 100644 --- a/mail/sendmail812/Makefile +++ b/mail/sendmail812/Makefile @@ -32,11 +32,20 @@ PLIST_SUB+= PREFIX=${PREFIX:S=${PREFIX}/==} # SENDMAIL_WITHOUT_IPV6=yes # SENDMAIL_WITHOUT_MILTER=yes # SENDMAIL_WITH_TLS=yes +# SENDMAIL_WITH_SMTPS=yes # SENDMAIL_WITH_SASL=yes # SENDMAIL_WITH_SASL2=yes # SENDMAIL_WITH_LDAP=yes # SENDMAIL_WITH_PICKY_HELO_CHECK=yes +.if defined(SENDMAIL_WITH_SMTPS) +.if !defined(SENDMAIL_WITH_TLS) && !defined(WITH_TLS) +.BEGIN: + @${ECHO_CMD} "DEPENDENCY NOTE: SENDMAIL_WITH_TLS will be enabled to support SENDMAIL_WITH_SMTPS" +SENDMAIL_WITH_TLS=yes +.endif +.endif + .if defined(SENDMAIL_WITH_LDAP) PKGNAMESUFFIX?= -ldap LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20 @@ -238,6 +247,9 @@ tls-install: SITE+= ${FILESDIR}/site.config.m4.ssl .endif SITE+= ${FILESDIR}/site.config.m4.tls +.if defined(SENDMAIL_WITH_SMTPS) +SITE+= ${FILESDIR}/site.config.m4.smtps +.endif .endif .if exists(${FILESDIR}/site.config.m4.local) diff --git a/mail/sendmail812/files/site.config.m4.smtps b/mail/sendmail812/files/site.config.m4.smtps new file mode 100644 index 000000000000..f66b5fa440cd --- /dev/null +++ b/mail/sendmail812/files/site.config.m4.smtps @@ -0,0 +1 @@ +APPENDDEF(`conf_sendmail_ENVDEF', `-D_FFR_SMTP_SSL') |