pkgsrc/mail/sendmail/options.mk
manu 9ff9fe902d Add a ffr_tls_1 option to sendmail, which enable the O CipherList
option for sendmail.cf. it is required in order to remove weak ciphers,
and enforce Forward Secrecy on modern MUA

Usage example:
O CipherList=DH@STRENGTH:HIGH:!MD5:!DES:!aNULL:!eNULL
2013-09-19 10:54:05 +00:00

55 lines
1.2 KiB
Makefile

# $NetBSD: options.mk,v 1.20 2013/09/19 10:54:05 manu Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.sendmail
PKG_SUPPORTED_OPTIONS= inet6 db2 ldap sasl tls tcpwrappers ffr_tls_1
PKG_SUGGESTED_OPTIONS= inet6 tcpwrappers
PKG_OPTIONS_LEGACY_OPTS+= starttls:tls
.include "../../mk/bsd.options.mk"
###
### Berkeley DB version 2 format for on disk databases e.g. aliases
###
.if !empty(PKG_OPTIONS:Mdb2)
. include "../../databases/db/buildlink3.mk"
.endif
###
### Use OpenLDAP for remote database access
###
.if !empty(PKG_OPTIONS:Mldap)
. include "../../databases/openldap-client/buildlink3.mk"
.endif
###
### Use SASL/v2 for SMTP AUTH
###
.if !empty(PKG_OPTIONS:Msasl)
. include "../../security/cyrus-sasl/buildlink3.mk"
.endif
###
### Use OpenSSL libraries for SMTP STARTTLS support
###
.if !empty(PKG_OPTIONS:Mtls)
. include "../../security/openssl/buildlink3.mk"
.endif
###
### 'For Future Release' FFR_TLS_1 options: CipherList, multiple certs
###
# Nothing to do here, activation is done in Makefile
###
### Use tcpwrappers for network access control to sendmail
###
.if !empty(PKG_OPTIONS:Mtcpwrappers)
. include "../../security/tcp_wrappers/buildlink3.mk"
.endif
###
### IPv6 support.
###
.if !empty(PKG_OPTIONS:Minet6)
.endif