# HG changeset patch # User Rich Burridge # Date 1391123640 28800 # Node ID 716fa74ddec1dfb8a1190aed6c2255f124ac0cd4 # Parent 49cf3ba424f0f2ff37d00a3abf1951f28fb503e0 18155603 libcurl should stop linking with obsolete libldap.so.5 diff -r 49cf3ba424f0 -r 716fa74ddec1 components/curl/Makefile --- a/components/curl/Makefile Thu Jan 30 14:31:44 2014 -0800 +++ b/components/curl/Makefile Thu Jan 30 15:14:00 2014 -0800 @@ -18,7 +18,7 @@ # # CDDL HEADER END # -# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. # include ../../make-rules/shared-macros.mk @@ -47,7 +47,7 @@ CPPFLAGS += `pkg-config --cflags libidn` CONFIGURE_ENV += CFLAGS="$(CFLAGS)" -CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)" +CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS) -I/usr/include/openldap" CONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)" CONFIGURE_OPTIONS += --localstatedir=/var --enable-shared --disable-static @@ -63,8 +63,8 @@ CONFIGURE_OPTIONS += --enable-cookies --disable-hidden-symbols CONFIGURE_OPTIONS += --disable-soname-bump CONFIGURE_OPTIONS += --enable-ldap --with-random=/dev/urandom -CONFIGURE_OPTIONS += --with-ssl --with-ldap-lib=ldap -CONFIGURE_OPTIONS += --with-lber-lib=sldap +CONFIGURE_OPTIONS += --with-ssl --with-ldap-lib=ldap_r-2.4 +CONFIGURE_OPTIONS += --with-lber-lib=lber-2.4 CONFIGURE_OPTIONS += --with-gssapi-includes=/usr/include/gssapi CONFIGURE_OPTIONS += --with-gssapi-libs=$(GSSAPI_LIBDIR_$(BITS)) CONFIGURE_OPTIONS += --with-gssapi=/usr --without-ca-bundle diff -r 49cf3ba424f0 -r 716fa74ddec1 components/curl/Solaris/curl-config --- a/components/curl/Solaris/curl-config Thu Jan 30 14:31:44 2014 -0800 +++ b/components/curl/Solaris/curl-config Thu Jan 30 15:14:00 2014 -0800 @@ -135,7 +135,7 @@ --libs) CURLLIBDIR="-L/usr/lib " - echo ${CURLLIBDIR} -R/usr/lib -lcurl -lgss -lidn -lssl -lcrypto -lsldap -lldap -lgss -lssl -lcrypto -lsocket -lnsl -lc -lz + echo ${CURLLIBDIR} -R/usr/lib -lcurl -lgss -lidn -lssl -lcrypto -llber-2.4 -lldap_r-2.4 -lgss -lssl -lcrypto -lsocket -lnsl -lc -lz ;; --static-libs) @@ -143,7 +143,7 @@ ;; --configure) - echo " '--prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--enable-shared' '--disable-static' '--enable-http' '--enable-ftp' '--enable-file' '--enable-dict' '--enable-manual' '--disable-libgcc' '--enable-rtsp' '--enable-proxy' '--enable-telnet' '--enable-tftp' '--enable-pop3' '--enable-imap' '--enable-smtp' '--enable-ipv6' '--enable-nonblocking' '--enable-thread' '--enable-verbose' '--disable-sspi' '--enable-crypto-auth' '--enable-cookies' '--disable-hidden-symbols' '--disable-soname-bump' '--enable-ldap' '--with-random=/dev/urandom' '--with-ssl' '--with-ldap-lib=ldap' '--with-lber-lib=sldap' '--with-gssapi-includes=/usr/include/gssapi' '--with-gssapi-libs=/usr/lib' '--with-gssapi=/usr' '--with-ca-bundle=/etc/certs/CA' '--with-zlib=/usr' '--with-libidn=/usr' '--with-pic' 'curl_disallow_getifaddrs=yes'" + echo " '--prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--enable-shared' '--disable-static' '--enable-http' '--enable-ftp' '--enable-file' '--enable-dict' '--enable-manual' '--disable-libgcc' '--enable-rtsp' '--enable-proxy' '--enable-telnet' '--enable-tftp' '--enable-pop3' '--enable-imap' '--enable-smtp' '--enable-ipv6' '--enable-nonblocking' '--enable-thread' '--enable-verbose' '--disable-sspi' '--enable-crypto-auth' '--enable-cookies' '--disable-hidden-symbols' '--disable-soname-bump' '--enable-ldap' '--with-random=/dev/urandom' '--with-ssl' '--with-ldap-lib=ldap_r-2.4' '--with-lber-lib=lber-2.4' '--with-gssapi-includes=/usr/include/gssapi' '--with-gssapi-libs=/usr/lib' '--with-gssapi=/usr' '--with-ca-bundle=/etc/certs/CA' '--with-zlib=/usr' '--with-libidn=/usr' '--with-pic' 'curl_disallow_getifaddrs=yes'" ;; *) diff -r 49cf3ba424f0 -r 716fa74ddec1 components/curl/Solaris/curl-config-64 --- a/components/curl/Solaris/curl-config-64 Thu Jan 30 14:31:44 2014 -0800 +++ b/components/curl/Solaris/curl-config-64 Thu Jan 30 15:14:00 2014 -0800 @@ -137,7 +137,7 @@ --libs) CURLLIBDIR="-L/usr/lib/MACH64 " - echo ${CURLLIBDIR} -R/usr/lib/MACH64 -lcurl -lgss -lidn -lssl -lcrypto -lsldap -lldap -lgss -lssl -lcrypto -lsocket -lnsl -lc -lz + echo ${CURLLIBDIR} -R/usr/lib/MACH64 -lcurl -lgss -lidn -lssl -lcrypto -llber-2.4 -lldap_r-2.4 -lgss -lssl -lcrypto -lsocket -lnsl -lc -lz ;; --static-libs) @@ -145,7 +145,7 @@ ;; --configure) - echo " '--prefix=/usr' '--bindir=/usr/bin/MACH64' '--sbindir=/usr/sbin/MACH64' '--libdir=/usr/lib/MACH64' '--libexecdir=/usr/libexec/MACH64' '--localstatedir=/var' '--enable-shared' '--disable-static' '--enable-http' '--enable-ftp' '--enable-file' '--enable-dict' '--enable-manual' '--disable-libgcc' '--enable-rtsp' '--enable-proxy' '--enable-telnet' '--enable-tftp' '--enable-pop3' '--enable-imap' '--enable-smtp' '--enable-ipv6' '--enable-nonblocking' '--enable-thread' '--enable-verbose' '--disable-sspi' '--enable-crypto-auth' '--enable-cookies' '--disable-hidden-symbols' '--disable-soname-bump' '--enable-ldap' '--with-random=/dev/urandom' '--with-ssl' '--with-ldap-lib=ldap' '--with-lber-lib=sldap' '--with-gssapi-includes=/usr/include/gssapi' '--with-gssapi-libs=/usr/lib/MACH64' '--with-gssapi=/usr' '--with-ca-bundle=/etc/certs/CA' '--with-zlib=/usr' '--with-libidn=/usr' '--with-pic' 'curl_disallow_getifaddrs=yes'" + echo " '--prefix=/usr' '--bindir=/usr/bin/MACH64' '--sbindir=/usr/sbin/MACH64' '--libdir=/usr/lib/MACH64' '--libexecdir=/usr/libexec/MACH64' '--localstatedir=/var' '--enable-shared' '--disable-static' '--enable-http' '--enable-ftp' '--enable-file' '--enable-dict' '--enable-manual' '--disable-libgcc' '--enable-rtsp' '--enable-proxy' '--enable-telnet' '--enable-tftp' '--enable-pop3' '--enable-imap' '--enable-smtp' '--enable-ipv6' '--enable-nonblocking' '--enable-thread' '--enable-verbose' '--disable-sspi' '--enable-crypto-auth' '--enable-cookies' '--disable-hidden-symbols' '--disable-soname-bump' '--enable-ldap' '--with-random=/dev/urandom' '--with-ssl' '--with-ldap-lib=ldap_r-2.4' '--with-lber-lib=lber-2.4' '--with-gssapi-includes=/usr/include/gssapi' '--with-gssapi-libs=/usr/lib/MACH64' '--with-gssapi=/usr' '--with-ca-bundle=/etc/certs/CA' '--with-zlib=/usr' '--with-libidn=/usr' '--with-pic' 'curl_disallow_getifaddrs=yes'" ;; *) diff -r 49cf3ba424f0 -r 716fa74ddec1 components/curl/resolve.deps --- a/components/curl/resolve.deps Thu Jan 30 14:31:44 2014 -0800 +++ b/components/curl/resolve.deps Thu Jan 30 15:14:00 2014 -0800 @@ -1,4 +1,5 @@ library/libidn +library/openldap library/libssh2 library/security/openssl library/zlib