Skip to contentSkip to conversation

new package: openldap

PATCH Superseded David Bender 2 participants 2 messages Jan 22, 2015 – Jan 25, 2015

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 new package: openldap

---
 package/Config.in                                  |    1 +
 package/openldap/Config.in                         |   17 +++++
 .../openldap/openldap-0000-fix_cross_strip.patch   |   67 ++++++++++++++++++++
 package/openldap/openldap.mk                       |   33 ++++++++++
 4 files changed, 118 insertions(+), 0 deletions(-)
 create mode 100644 package/openldap/Config.in
 create mode 100644 package/openldap/openldap-0000-fix_cross_strip.patch
 create mode 100644 package/openldap/openldap.mk
package/Config.in +1 -0
index 266de13..edfdd69 100644
@@ -870,6 +870,7 @@ menu "Networking"
 	source "package/neon/Config.in"
 	source "package/nss-mdns/Config.in"
 	source "package/omniorb/Config.in"
+	source "package/openldap/Config.in"
 	source "package/openpgm/Config.in"
 	source "package/ortp/Config.in"
 	source "package/qdecoder/Config.in"
package/openldap/Config.in new file +17 -0
new file mode 100644
index 0000000..a42420d
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_OPENLDAP
+	bool "openldap"
+	help
+		The OpenLDAP library. Currently only supports LDAP client functionality.
+
+		http://www.openldap.org/
+
+if BR2_PACKAGE_OPENLDAP
+
+config BR2_PACKAGE_OPENLDAP_LDAPS
+	bool "Enable ldaps"
+	default y
+	select BR2_PACKAGE_OPENSSL
+	help
+		Use OpenSSL encryption
+
+endif
package/openldap/openldap-0000-fix_cross_strip.patch new file +67 -0

67 lines not on this page · raw message

package/openldap/openldap.mk new file +33 -0
new file mode 100644
index 0000000..01764d3
@@ -0,0 +1,33 @@
+################################################################################
+#
+# openldap
+#
+################################################################################
+
+OPENLDAP_VERSION = 2.4.40
+OPENLDAP_SOURCE = openldap-$(OPENLDAP_VERSION).tgz
+OPENLDAP_SITE = ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release
+OPENLDAP_LICENSE = OpenLDAP Public License
+OPENLDAP_LICENSE_FILES = LICENSE
+OPENLDAP_INSTALL_STAGING = YES
+OPENLDAP_DEPENDENCIES =
+OPENLDAP_CONF_ENV = ac_cv_func_memcmp_working=yes STRIP=$(TARGET_STRIP)
+OPENLDAP_MAKE_ENV = STRIP=$(TARGET_STRIP)
+
+ifeq ($(BR2_PACKAGE_OPENLDAP_LDAPS),y)
+OPENLDAP_DEPENDENCIES += openssl
+endif
+
+OPENLDAP_CONF_OPTS = \
+	--enable-syslog \
+	--disable-proctitle \
+	--disable-slapd \
+	--enable-dynamic \
+	--with-yielding-select \
+	--without-threads \
+	--with-mp=longlong \
+	--exec-prefix=/ \
+	--includedir=$(STAGING_DIR)/usr/include \
+	--sysconfdir=/etc
+
+$(eval $(autotools-package))
Signature · 1 line
1.7.8.6
#1 lore raw

PATCH 1/1 new package: openldap

David, All,

On 2015-01-22 14:18 -0500, David Bender spake thusly:

Quoted 11 lines
---
 package/Config.in                                  |    1 +
 package/openldap/Config.in                         |   17 +++++
 .../openldap/openldap-0000-fix_cross_strip.patch   |   67 ++++++++++++++++++++
 package/openldap/openldap.mk                       |   33 ++++++++++
 4 files changed, 118 insertions(+), 0 deletions(-)
 create mode 100644 package/openldap/Config.in
 create mode 100644 package/openldap/openldap-0000-fix_cross_strip.patch
 create mode 100644 package/openldap/openldap.mk

I've sent an updated version of that patch:

    http://lists.busybox.net/pipermail/buildroot/2015-January/117984.html

Care to test I haven;t borked it for your use-case?

I removed the --exec-prefix=/ because we usally do not set that, and use the default, i.e. the same value as --prefix which we set to /usr . Was there any reason to set --exec-prefix=/ ?

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'