summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-support/openldap/openldap/openldap-2.4.28-gnutls-gcrypt.patch15
-rw-r--r--meta-oe/recipes-support/openldap/openldap_2.5.9.bb3
2 files changed, 1 insertions, 17 deletions
diff --git a/meta-oe/recipes-support/openldap/openldap/openldap-2.4.28-gnutls-gcrypt.patch b/meta-oe/recipes-support/openldap/openldap/openldap-2.4.28-gnutls-gcrypt.patch
deleted file mode 100644
index 8cfd0033c8..0000000000
--- a/meta-oe/recipes-support/openldap/openldap/openldap-2.4.28-gnutls-gcrypt.patch
+++ /dev/null
@@ -1,15 +0,0 @@
1From http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-nds/openldap/files/
2
3Upstream-Status: Pending
4
5--- a/configure.ac
6+++ b/configure.ac
7@@ -1263,7 +1263,7 @@ if test $ol_link_tls = no ; then
8 ol_link_tls=yes
9 WITH_TLS_TYPE=gnutls
10
11- TLS_LIBS="-lgnutls"
12+ TLS_LIBS="-lgnutls -lgcrypt"
13
14 AC_DEFINE(HAVE_GNUTLS, 1,
15 [define if you have GNUtls])
diff --git a/meta-oe/recipes-support/openldap/openldap_2.5.9.bb b/meta-oe/recipes-support/openldap/openldap_2.5.9.bb
index 5ac5660cdf..958a21b9c1 100644
--- a/meta-oe/recipes-support/openldap/openldap_2.5.9.bb
+++ b/meta-oe/recipes-support/openldap/openldap_2.5.9.bb
@@ -15,7 +15,6 @@ SECTION = "libs"
15LDAP_VER = "${@'.'.join(d.getVar('PV').split('.')[0:2])}" 15LDAP_VER = "${@'.'.join(d.getVar('PV').split('.')[0:2])}"
16 16
17SRC_URI = "http://www.openldap.org/software/download/OpenLDAP/openldap-release/${BP}.tgz \ 17SRC_URI = "http://www.openldap.org/software/download/OpenLDAP/openldap-release/${BP}.tgz \
18 file://openldap-2.4.28-gnutls-gcrypt.patch \
19 file://use-urandom.patch \ 18 file://use-urandom.patch \
20 file://initscript \ 19 file://initscript \
21 file://slapd.service \ 20 file://slapd.service \
@@ -51,7 +50,7 @@ PACKAGECONFIG ??= "asyncmeta gnutls modules \
51 ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \ 50 ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \
52" 51"
53#--with-tls with TLS/SSL support auto|openssl|gnutls [auto] 52#--with-tls with TLS/SSL support auto|openssl|gnutls [auto]
54PACKAGECONFIG[gnutls] = "--with-tls=gnutls,,gnutls libgcrypt" 53PACKAGECONFIG[gnutls] = "--with-tls=gnutls,,gnutls"
55PACKAGECONFIG[openssl] = "--with-tls=openssl,,openssl" 54PACKAGECONFIG[openssl] = "--with-tls=openssl,,openssl"
56 55
57PACKAGECONFIG[sasl] = "--with-cyrus-sasl,--without-cyrus-sasl,cyrus-sasl" 56PACKAGECONFIG[sasl] = "--with-cyrus-sasl,--without-cyrus-sasl,cyrus-sasl"