summaryrefslogtreecommitdiff
path: root/mail/sendmail813/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mail/sendmail813/options.mk')
-rw-r--r--mail/sendmail813/options.mk52
1 files changed, 52 insertions, 0 deletions
diff --git a/mail/sendmail813/options.mk b/mail/sendmail813/options.mk
new file mode 100644
index 00000000000..dd2e5fab561
--- /dev/null
+++ b/mail/sendmail813/options.mk
@@ -0,0 +1,52 @@
+# $NetBSD: options.mk,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.sendmail
+PKG_SUPPORTED_OPTIONS= inet6 db2 db4 ldap sasl tls tcpwrappers
+PKG_SUGGESTED_OPTIONS= tcpwrappers
+
+PKG_OPTIONS_LEGACY_OPTS+= starttls: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
+
+###
+### 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