summaryrefslogtreecommitdiff
path: root/databases/openldap/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'databases/openldap/options.mk')
-rw-r--r--databases/openldap/options.mk76
1 files changed, 0 insertions, 76 deletions
diff --git a/databases/openldap/options.mk b/databases/openldap/options.mk
deleted file mode 100644
index ce9e2f25c7d..00000000000
--- a/databases/openldap/options.mk
+++ /dev/null
@@ -1,76 +0,0 @@
-# $NetBSD: options.mk,v 1.17 2006/04/13 21:45:13 wiz Exp $
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.openldap
-PKG_SUPPORTED_OPTIONS= bdb kerberos sasl slp
-PKG_OPTIONS_OPTIONAL_GROUPS+= odbc
-PKG_OPTIONS_GROUP.odbc= iodbc unixodbc
-PKG_SUGGESTED_OPTIONS= bdb
-
-.include "../../mk/bsd.options.mk"
-
-###
-### Whether to build with the Berkeley DB based slapd backends.
-###
-### NOTE: that option is enabled, because the openldap server needs
-### to have local storage support to work as standalone.
-###
-
-.if !empty(PKG_OPTIONS:Mbdb)
-BDB_ACCEPTED= db4 # db3?
-. include "../../mk/bdb.buildlink3.mk"
-.endif
-BDB_TYPE?= none
-.if ${BDB_TYPE} != "none"
-CONFIGURE_ARGS+= --enable-bdb --enable-hdb
-.else
-CONFIGURE_ARGS+= --disable-bdb --disable-hdb
-.endif
-
-###
-### Whether to build with iODBC to enable SQL based slapd backends
-###
-.if !empty(PKG_OPTIONS:Miodbc)
-. include "../../databases/iodbc/buildlink3.mk"
-CONFIGURE_ARGS+= --enable-sql
-.endif
-
-###
-### Whether to build with unixODBC to enable SQL based slapd backends
-###
-.if !empty(PKG_OPTIONS:Munixodbc)
-. include "../../databases/unixodbc/buildlink3.mk"
-. include "../../devel/libltdl/buildlink3.mk"
-CONFIGURE_ARGS+= --enable-sql
-.endif
-
-.if empty(PKG_OPTIONS:Miodbc) && empty(PKG_OPTIONS:Munixodbc)
-CONFIGURE_ARGS+= --disable-sql
-.endif
-
-###
-### Kerberos authentication is via SASL.
-###
-.if !empty(PKG_OPTIONS:Mkerberos)
-. if empty(PKG_OPTIONS:Msasl)
-PKG_OPTIONS+= sasl
-. endif
-.endif
-
-###
-### SASL authentication (requires SASL2)
-###
-.if !empty(PKG_OPTIONS:Msasl)
-CONFIGURE_ARGS+= --with-cyrus-sasl
-BUILDLINK_API_DEPENDS.cyrus-sasl+= cyrus-sasl>=2.1.15
-. include "../../security/cyrus-sasl/buildlink3.mk"
-.else
-CONFIGURE_ARGS+= --without-cyrus-sasl
-.endif
-
-###
-### SLP (Service Locator Protocol)
-###
-.if !empty(PKG_OPTIONS:Mslp)
-. include "../../net/openslp/buildlink3.mk"
-CONFIGURE_ARGS+= --enable-slp
-.endif