9c6c534c5e
to determine whether to use the blacklistd feature. This allows for automatically picking up new OSes that provide blacklistd as well as ignoring older versions of NetBSD and FreeBSD that don't have blacklistd. Add UseBlacklist to M4 config generator. This means that you can turn it on by doing something like: LOCAL_CONFIG ... define(`confUSE_BLACKLIST', `True')dnl ... It is set to false as the feature is experimental having just been created. Ride previous PKGREVISION bump as it was less than an hour ago.
79 lines
1.8 KiB
Makefile
79 lines
1.8 KiB
Makefile
# $NetBSD: options.mk,v 1.26 2019/07/15 05:30:33 jnemeth Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.sendmail
|
|
PKG_SUPPORTED_OPTIONS= inet6 db2 db4 ldap sasl tls tcpwrappers
|
|
PKG_SUPPORTED_OPTIONS+= sendmail-ffr-tls sendmail-ffr-badrcptshutdown
|
|
PKG_SUGGESTED_OPTIONS= inet6 tcpwrappers tls
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.for dir in ${COMPILER_INCLUDE_DIRS}
|
|
. if exists(${dir}/blacklist.h)
|
|
PKG_SUPPORTED_OPTIONS+= blacklistd
|
|
PKG_SUGGESTED_OPTIONS+= blacklistd
|
|
. endif
|
|
.endfor
|
|
|
|
PKG_OPTIONS_LEGACY_OPTS+= starttls:tls ffr_tls_1:sendmail-ffr-tls
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
###
|
|
### Berkeley DB version 2/4 format for on disk databases e.g. aliases
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mdb2)
|
|
. include "../../databases/db/buildlink3.mk"
|
|
.elif !empty(PKG_OPTIONS:Mdb4)
|
|
. include "../../databases/db4/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_* options: CipherList, multiple certs
|
|
###
|
|
# Nothing to do here, activation is done in Makefile
|
|
|
|
###
|
|
### 'For Future Release' _FFR_BADRCPT_SHUTDOWN options:
|
|
### BadRcptShutdown, BadRcptShutdownGood
|
|
###
|
|
# 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
|
|
|
|
###
|
|
### NetBSD blacklistd(8) support.
|
|
###
|
|
# Nothing to do here, activation is done in Makefile
|
|
|