pkgsrc/mail/sendmail/options.mk
jlam e8b16d2e6e Remove security/cyrus-sasl and security/cy-login. These packages
tracked the Cyrus SASL 1.5.x releases, which are no longer maintained.
Adjust packages to use security/cyrus-sasl2 instead for SASL support.
This closes PR pkg/28218 and PR pkg/29736.
2005-03-28 09:39:56 +00:00

62 lines
1.3 KiB
Makefile

# $NetBSD: options.mk,v 1.5 2005/03/28 09:39:57 jlam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.sendmail
PKG_SUPPORTED_OPTIONS= inet6 db2 db4 ldap sasl starttls tcpwrappers \
socketmap
.if !defined(PKG_OPTIONS.sendmail)
PKG_DEFAULT_OPTIONS+= tcpwrappers
.endif
.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/buildlink3.mk"
.endif
###
### Use SASL/v2 for SMTP AUTH
###
.if !empty(PKG_OPTIONS:Msasl)
. include "../../security/cyrus-sasl2/buildlink3.mk"
.endif
###
### Use OpenSSL libraries for SMTP STARTTLS support
###
.if !empty(PKG_OPTIONS:Mstarttls)
. include "../../security/openssl/buildlink3.mk"
.endif
###
### Use tcpwrappers for network access control to sendmail
###
.if !empty(PKG_OPTIONS:Mtcpwrappers)
. include "../../security/tcp_wrappers/buildlink3.mk"
.endif
###
### Enable Sendmail SOCKETMAP support
###
.if !empty(PKG_OPTIONS:Msocketmap)
USE_PERL5= YES
REPLACE_PERL= contrib/socketmapClient.pl contrib/socketmapServer.pl
.endif
###
### IPv6 support.
###
.if !empty(PKG_OPTIONS:Minet6)
.endif