2eca3d9f2c
packages. Convert LDAP-based applications to depend on openldap-client, and bump PKGREVISION for those that depend on it by default.
61 lines
1.4 KiB
Makefile
61 lines
1.4 KiB
Makefile
# $NetBSD: options.mk,v 1.15 2006/05/31 18:22:24 ghen Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.sendmail
|
|
PKG_SUPPORTED_OPTIONS= inet6 db2 db4 ldap sasl tls tcpwrappers sendmail-socketmap
|
|
PKG_SUGGESTED_OPTIONS= tcpwrappers
|
|
|
|
PKG_OPTIONS_LEGACY_OPTS+= starttls:tls
|
|
PKG_OPTIONS_LEGACY_OPTS+= socketmap:sendmail-socketmap
|
|
|
|
.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
|
|
|
|
###
|
|
### 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:Msendmail-socketmap)
|
|
USE_TOOLS+= perl:run
|
|
REPLACE_PERL= contrib/socketmapClient.pl contrib/socketmapServer.pl
|
|
.endif
|
|
|
|
###
|
|
### IPv6 support.
|
|
###
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
.endif
|