summaryrefslogtreecommitdiffstats
path: root/rules/openldap.in
diff options
context:
space:
mode:
Diffstat (limited to 'rules/openldap.in')
-rw-r--r--rules/openldap.in56
1 files changed, 56 insertions, 0 deletions
diff --git a/rules/openldap.in b/rules/openldap.in
new file mode 100644
index 000000000..456e0f174
--- /dev/null
+++ b/rules/openldap.in
@@ -0,0 +1,56 @@
+## SECTION=networking
+
+menuconfig OPENLDAP
+ tristate
+ prompt "openldap "
+ select ZLIB
+ select LIBC_RESOLV
+ select OPENSSL if OPENLDAP_TLS_OPENSSL
+ select GNUTLS if OPENLDAP_TLS_GNUTLS
+ select LIBC_PTHREAD if OPENLDAP_THREADS
+ help
+ OpenLDAP Software is an open source implementation of the Lightweight
+ Directory Access Protocol. The suite includes:
+
+ - slapd: stand-alone LDAP daemon (server)
+ - libraries implementing the LDAP protocol, and
+ - utilities, tools, and sample clients.
+
+if OPENLDAP
+
+config OPENLDAP_SLAPD
+ bool
+ prompt "slapd support"
+ help
+ Enable/disable building and installation of slapd (the server).
+
+config OPENLDAP_THREADS
+ bool
+ prompt "Build with multi-thread support (libldap_r)"
+ help
+ Enables the reentrant version of libldap. When this option is
+ enabled, libldap_r is built and installed. (The non-reentrant version
+ libldap is always installed and built.)
+
+choice
+ prompt "TLS/SSL support "
+
+ config OPENLDAP_TLS_DISABLED
+ bool "disabled"
+
+ config OPENLDAP_TLS_OPENSSL
+ bool "openssl"
+
+ config OPENLDAP_TLS_GNUTLS
+ bool "gnutls"
+
+endchoice
+
+config OPENLDAP_INSTALL_UTILITIES
+ bool
+ prompt "install utilities"
+ help
+ Installs various utilities: ldapadd, ldapcompare, ldapdelete, ldapexop,
+ ldapmodify, ldapmodrdn, ldappasswd, ldapsearch, ldapurl, ldapwhoami.
+
+endif