packages: curl/curl.spec - ldap bcond added

jajcus jajcus at pld-linux.org
Fri Apr 1 12:19:39 CEST 2011


Author: jajcus                       Date: Fri Apr  1 10:19:39 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- ldap bcond added

---- Files affected:
packages/curl:
   curl.spec (1.186 -> 1.187) 

---- Diffs:

================================================================
Index: packages/curl/curl.spec
diff -u packages/curl/curl.spec:1.186 packages/curl/curl.spec:1.187
--- packages/curl/curl.spec:1.186	Thu Feb 17 19:04:57 2011
+++ packages/curl/curl.spec	Fri Apr  1 12:19:33 2011
@@ -7,6 +7,7 @@
 %bcond_without	gnutls		# use GnuTLS instead of OpenSSL
 %bcond_without	kerberos5	# without Heimdal Kerberos 5 support
 %bcond_without	rtmp		# without Real Time Media Protocol
+%bcond_without	ldap		# without LDAP support
 
 Summary:	A utility for getting files from remote servers (FTP, HTTP, and others)
 Summary(es.UTF-8):	Un cliente para bajar archivos de servidores (FTP, HTTP, y otros)
@@ -35,7 +36,7 @@
 %{?with_rtmp:BuildRequires:	librtmp-devel}
 %{?with_ssh:BuildRequires:	libssh2-devel >= 0.16}
 BuildRequires:	libtool
-BuildRequires:	openldap-devel
+%{?with_ldap:BuildRequires:	openldap-devel}
 BuildRequires:	pkgconfig
 %if %{with ssl}
 %if %{with gnutls}
@@ -129,7 +130,7 @@
 Requires:	libidn-devel >= 0.4.1
 %{?with_rtmp:Requires:	librtmp-devel}
 %{?with_ssh:Requires:	libssh2-devel >= 0.16}
-Requires:	openldap-devel
+%{?with_ldap:Requires:	openldap-devel}
 %if %{with ssl}
 %if %{with gnutls}
 Requires:	gnutls-devel
@@ -210,7 +211,8 @@
 	%{?with_kerberos5:--with-gssapi=%{_prefix}} \
 	%{?with_rtmp:--with-librtmp} \
 	%{?with_ares:--enable-ares} \
-	--enable-ldaps \
+	%{?with_ldap:--enable-ldaps} \
+	%{!?with_ldap:--disable-ldap} \
 	--enable-ipv6
 
 %{__make}
@@ -260,6 +262,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.187  2011/04/01 10:19:33  jajcus
+- ldap bcond added
+
 Revision 1.186  2011/02/17 18:04:57  glen
 - up to 7.21.4, fixes connecting to hosts with AAAA but no ipv6 routes (like connecting to carme without working ipv6 routers in the middle)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/curl/curl.spec?r1=1.186&r2=1.187&f=u



More information about the pld-cvs-commit mailing list