summaryrefslogtreecommitdiff
path: root/mail/sendmail
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2020-10-19 11:56:42 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2020-10-19 11:56:42 +0000
commit7e010fa7b66c1e6151ad03d34d9450c4715b35f3 (patch)
treea47cdb843b359f5684aee3b6f112436ffa422221 /mail/sendmail
parentUpdate third-party spnego-http-auth module (diff)
- new option DANE
- add PREVENTS for LDAP PR: 250383
Notes
Notes: svn path=/head/; revision=552735
Diffstat (limited to 'mail/sendmail')
-rw-r--r--mail/sendmail/Makefile12
-rw-r--r--mail/sendmail/files/site.config.m4.tls2
2 files changed, 10 insertions, 4 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index 7e8067dd0405..91f6d0c09ec1 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -46,15 +46,16 @@ SENDMAIL= ${PREFIX}/sbin/sendmail
BASEMAIL= /usr/libexec/sendmail/sendmail
MILTER_SOVER?= 6
-OPTIONS_DEFINE?= SHMEM SEM LA NIS IPV6 TLS SASL SASLAUTHD LDAP BDB \
- GDBM SOCKETMAP CYRUSLOOKUP BLACKLISTD SMTPUTF8 \
+OPTIONS_DEFINE?= SHMEM SEM LA NIS IPV6 TLS DANE SASL SASLAUTHD LDAP \
+ BDB GDBM SOCKETMAP CYRUSLOOKUP BLACKLISTD SMTPUTF8 \
PICKY_HELO_CHECK MILTER DOCS
-OPTIONS_DEFAULT?= SHMEM SEM LA NIS TLS SASL SASLAUTHD BDB1 \
+OPTIONS_DEFAULT?= SHMEM SEM LA NIS TLS DANE SASL SASLAUTHD BDB1 \
BLACKLISTD PICKY_HELO_CHECK MILTER
NO_OPTIONS_SORT=yes
SHMEM_DESC= System V shared memory support
LA_DESC= load averages support
TLS_DESC= SMTP-TLS and SMTPS support
+DANE_DESC= Enable DANE support
SASLAUTHD_DESC= SASLAUTHD support
BDB_DESC= Berkeley DB version 4+ support
GDBM_DESC= GNU dbm library support (option COMPAT needed)
@@ -68,7 +69,9 @@ SMTPUTF8_DESC= Enable unicode address support
TLS_USES= ssl
SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
SASLAUTHD_RUN_DEPENDS= saslauthd:security/cyrus-sasl2-saslauthd
+DANE_IMPLIES= TLS
LDAP_USE= OPENLDAP=yes
+LDAP_PREVENTS= DANE
BDB_USES= bdb
GDBM_LIB_DEPENDS= libgdbm.so:databases/gdbm
GDBM_CONFIGURE_WITH= compat
@@ -127,6 +130,9 @@ SITE+= ${FILESDIR}/site.config.m4
.if ${PORT_OPTIONS:MIPV6}
SITE+= ${FILESDIR}/site.config.m4.ipv6
.endif
+.if ${PORT_OPTIONS:MDANE}
+SITE+= ${FILESDIR}/site.config.m4.dane
+.endif
.if ${PORT_OPTIONS:MSASL}
SITE+= ${FILESDIR}/site.config.m4.sasl2
.endif
diff --git a/mail/sendmail/files/site.config.m4.tls b/mail/sendmail/files/site.config.m4.tls
index 92998b979f47..ec8a57bdbee1 100644
--- a/mail/sendmail/files/site.config.m4.tls
+++ b/mail/sendmail/files/site.config.m4.tls
@@ -1,2 +1,2 @@
-APPENDDEF(`conf_sendmail_ENVDEF', `-DSTARTTLS -DTLS_EC -DDANE')
+APPENDDEF(`conf_sendmail_ENVDEF', `-DSTARTTLS -DTLS_EC')
APPENDDEF(`conf_sendmail_LIBS', `-lssl -lcrypto')