- new option DANE

- add PREVENTS for LDAP
PR:		250383
This commit is contained in:
Dirk Meyer 2020-10-19 11:56:42 +00:00
parent 8973df0dab
commit 7e010fa7b6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=552735
2 changed files with 10 additions and 4 deletions

View File

@ -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

View File

@ -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')