SPECS: curl.spec - bcond for building with c-ares support (disable...

adamg adamg at pld-linux.org
Sun Apr 23 17:46:10 CEST 2006


Author: adamg                        Date: Sun Apr 23 15:46:10 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- bcond for building with c-ares support (disables ipv6 though)

---- Files affected:
SPECS:
   curl.spec (1.117 -> 1.118) 

---- Diffs:

================================================================
Index: SPECS/curl.spec
diff -u SPECS/curl.spec:1.117 SPECS/curl.spec:1.118
--- SPECS/curl.spec:1.117	Wed Mar 22 13:45:22 2006
+++ SPECS/curl.spec	Sun Apr 23 17:46:05 2006
@@ -1,6 +1,7 @@
 # $Revision$, $Date$
 #
 # Conditional build:
+%bcond_with	ares	# with c-ares (asynchronous DNS operations) library (disables IPv6)
 %bcond_without	ssl	# without SSL support
 %bcond_without	heimdal	# without HEIMDAL support
 #
@@ -23,6 +24,7 @@
 URL:		http://curl.haxx.se/
 BuildRequires:	autoconf >= 2.57
 BuildRequires:	automake
+%{?with_ares:BuildRequires:	c-ares-devel}
 %{?with_heimdal:BuildRequires:	heimdal-devel >= 0.7}
 BuildRequires:	libidn-devel >= 0.4.1
 BuildRequires:	libtool
@@ -165,7 +167,8 @@
 	%{?with_ssl:--with-ssl=%{_prefix}} \
 	%{?with_ssl:--with-ca-bundle=/usr/share/ssl/ca-bundle.crt} \
 	%{?with_heimdal:--with-gssapi=%{_prefix}} \
-	--with-ipv6
+	%{?with_ares:--enable-ares=%{_prefix}} \
+	--%{?with_ares:dis}%{!?with_ares:en}able-ipv6
 
 %{__make}
 
@@ -212,6 +215,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.118  2006/04/23 15:46:05  adamg
+- bcond for building with c-ares support (disables ipv6 though)
+
 Revision 1.117  2006/03/22 12:45:22  glen
 - up to 7.15.3, resolves CVE-2006-1061
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/curl.spec?r1=1.117&r2=1.118&f=u



More information about the pld-cvs-commit mailing list