2015-07-11 12:08:32 +02:00
|
|
|
# $NetBSD: options.mk,v 1.23 2015/07/11 10:08:32 jnemeth Exp $
|
2004-08-30 22:16:28 +02:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.sendmail
|
2014-06-15 23:04:30 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS= inet6 db2 db4 ldap sasl tls tcpwrappers
|
|
|
|
PKG_SUPPORTED_OPTIONS+= sendmail-ffr-tls
|
2015-07-11 12:08:32 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS= inet6 tcpwrappers tls
|
2005-10-20 17:10:01 +02:00
|
|
|
|
2014-06-15 23:04:30 +02:00
|
|
|
PKG_OPTIONS_LEGACY_OPTS+= starttls:tls ffr_tls_1:sendmail-ffr-tls
|
2004-08-30 22:16:28 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
###
|
2014-06-15 22:48:49 +02:00
|
|
|
### Berkeley DB version 2/4 format for on disk databases e.g. aliases
|
2004-08-30 22:16:28 +02:00
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mdb2)
|
2005-07-02 03:12:52 +02:00
|
|
|
. include "../../databases/db/buildlink3.mk"
|
2014-06-15 22:48:49 +02:00
|
|
|
.elif !empty(PKG_OPTIONS:Mdb4)
|
|
|
|
. include "../../databases/db4/buildlink3.mk"
|
2004-08-30 22:16:28 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### Use OpenLDAP for remote database access
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mldap)
|
2006-05-31 20:22:23 +02:00
|
|
|
. include "../../databases/openldap-client/buildlink3.mk"
|
2004-08-30 22:16:28 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### Use SASL/v2 for SMTP AUTH
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Msasl)
|
2006-04-13 23:45:12 +02:00
|
|
|
. include "../../security/cyrus-sasl/buildlink3.mk"
|
2004-08-30 22:16:28 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### Use OpenSSL libraries for SMTP STARTTLS support
|
|
|
|
###
|
2005-07-18 23:33:24 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Mtls)
|
2005-07-02 03:12:52 +02:00
|
|
|
. include "../../security/openssl/buildlink3.mk"
|
2004-08-30 22:16:28 +02:00
|
|
|
.endif
|
|
|
|
|
2013-09-19 12:54:05 +02:00
|
|
|
###
|
2014-06-15 22:48:49 +02:00
|
|
|
### 'For Future Release' FFR_TLS_* options: CipherList, multiple certs
|
2013-09-19 12:54:05 +02:00
|
|
|
###
|
|
|
|
# Nothing to do here, activation is done in Makefile
|
|
|
|
|
2004-08-30 22:16:28 +02:00
|
|
|
###
|
|
|
|
### Use tcpwrappers for network access control to sendmail
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mtcpwrappers)
|
2005-07-02 03:12:52 +02:00
|
|
|
. include "../../security/tcp_wrappers/buildlink3.mk"
|
2004-08-30 22:16:28 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### IPv6 support.
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
|
|
.endif
|