2006-04-13 23:45:12 +02:00
|
|
|
# $NetBSD: options.mk,v 1.14 2006/04/13 21:45:14 wiz Exp $
|
2004-08-30 22:16:28 +02:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.sendmail
|
2005-08-01 17:27:00 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS= inet6 db2 db4 ldap sasl tls tcpwrappers sendmail-socketmap
|
2005-05-31 12:01:36 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS= tcpwrappers
|
2005-10-20 17:10:01 +02:00
|
|
|
|
2005-10-20 17:07:26 +02:00
|
|
|
PKG_OPTIONS_LEGACY_OPTS+= starttls:tls
|
2005-10-20 17:10:01 +02:00
|
|
|
PKG_OPTIONS_LEGACY_OPTS+= socketmap:sendmail-socketmap
|
2004-08-30 22:16:28 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
###
|
|
|
|
### Berkeley DB version 2/4 format for on disk databases e.g. aliases
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mdb2)
|
2005-07-02 03:12:52 +02:00
|
|
|
. include "../../databases/db/buildlink3.mk"
|
|
|
|
. 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)
|
2005-07-02 03:12:52 +02:00
|
|
|
. include "../../databases/openldap/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
|
|
|
|
|
|
|
|
###
|
|
|
|
### 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
|
|
|
|
|
|
|
|
###
|
|
|
|
### Enable Sendmail SOCKETMAP support
|
|
|
|
###
|
2005-08-01 17:27:00 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Msendmail-socketmap)
|
2005-07-16 03:19:06 +02:00
|
|
|
USE_TOOLS+= perl:run
|
2004-08-30 22:16:28 +02:00
|
|
|
REPLACE_PERL= contrib/socketmapClient.pl contrib/socketmapServer.pl
|
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### IPv6 support.
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
|
|
.endif
|