rpms/curl/F-8 curl-7.17.1-badsocket.patch, NONE, 1.1 curl.spec, 1.62, 1.63
Jindrich Novy (jnovy)
fedora-extras-commits at redhat.com
Tue Jan 22 12:28:48 UTC 2008
- Previous message (by thread): rpms/sepostgresql/F-8 sepostgresql-8.2.6-1.patch, 1.1, 1.2 sepostgresql.init, 1.9, 1.10 sepostgresql.spec, 1.9, 1.10 sepostgresql.te, 1.9, 1.10
- Next message (by thread): rpms/docbook-style-xsl/F-8 docbook-style-xsl.spec,1.41,1.42
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jnovy
Update of /cvs/extras/rpms/curl/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13379
Modified Files:
curl.spec
Added Files:
curl-7.17.1-badsocket.patch
Log Message:
* Tue Jan 22 2008 Jindrich Novy <jnovy at redhat.com> 7.17.1-2
- do not attempt to close a bad socket (#427966),
thanks to Caolan McNamara
- enable LDAPS support (#225671)
- update description to contain complete supported servers list (#393861)
curl-7.17.1-badsocket.patch:
--- NEW FILE curl-7.17.1-badsocket.patch ---
diff -up curl-7.17.1/lib/ftp.c.badsocket curl-7.17.1/lib/ftp.c
--- curl-7.17.1/lib/ftp.c.badsocket 2007-10-27 00:25:19.000000000 +0200
+++ curl-7.17.1/lib/ftp.c 2008-01-08 15:09:03.000000000 +0100
@@ -3228,7 +3228,8 @@ static CURLcode Curl_ftp_done(struct con
/* Note that we keep "use" set to TRUE since that (next) connection is
still requested to use SSL */
}
- sclose(conn->sock[SECONDARYSOCKET]);
+ if(CURL_SOCKET_BAD != conn->sock[SECONDARYSOCKET])
+ sclose(conn->sock[SECONDARYSOCKET]);
conn->sock[SECONDARYSOCKET] = CURL_SOCKET_BAD;
Index: curl.spec
===================================================================
RCS file: /cvs/extras/rpms/curl/F-8/curl.spec,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- curl.spec 18 Nov 2007 16:57:00 -0000 1.62
+++ curl.spec 22 Jan 2008 12:28:04 -0000 1.63
@@ -4,7 +4,7 @@
Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
Name: curl
Version: 7.17.1
-Release: 1%{?dist}
+Release: 2%{?dist}
License: MIT
Group: Applications/Internet
Source: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2
@@ -12,6 +12,7 @@
Patch2: curl-7.16.0-privlibs.patch
Patch3: curl-7.16.4-curl-config.patch
Patch4: curl-7.17.1-sslgen.patch
+Patch5: curl-7.17.1-badsocket.patch
Provides: webclient
URL: http://curl.haxx.se/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -19,11 +20,12 @@
BuildRequires: nss-devel >= 3.11.7-7
%description
-cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, and
-Dict servers, using any of the supported protocols. cURL is designed
-to work without user interaction or any kind of interactivity. cURL
-offers many useful capabilities, like proxy support, user
-authentication, FTP upload, HTTP post, and file transfer resume.
+cURL is a tool for getting files from HTTP, FTP, FILE, LDAP, LDAPS,
+DICT, TELNET and TFTP servers, using any of the supported protocols.
+cURL is designed to work without user interaction or any kind of
+interactivity. cURL 5;3~offers many useful capabilities, like proxy
+support, user authentication, FTP upload, HTTP post, and file transfer
+resume.
%package devel
Group: Development/Libraries
@@ -43,6 +45,7 @@
%patch2 -p1 -b .privlibs
%patch3 -p1 -b .curl-config
%patch4 -p1 -b .sslgen
+%patch5 -p1 -b .badsocket
%build
if pkg-config nss ; then
@@ -54,6 +57,7 @@
--with-gssapi=%{_prefix}/kerberos --with-libidn \
--with-ldap-lib=libldap-%{ldap_version}.so.0 \
--with-lber-lib=liblber-%{ldap_version}.so.0 \
+ --enable-ldaps \
--disable-static
sed -i -e 's,-L/usr/lib ,,g;s,-L/usr/lib64 ,,g;s,-L/usr/lib$,,g;s,-L/usr/lib64$,,g' \
Makefile libcurl.pc
@@ -103,7 +107,13 @@
%{_datadir}/aclocal/libcurl.m4
%changelog
-* Sun Nov 18 2007 Jindrich Novy <jnovy at redhat.com> 7.17.1
+* Tue Jan 22 2008 Jindrich Novy <jnovy at redhat.com> 7.17.1-2
+- do not attempt to close a bad socket (#427966),
+ thanks to Caolan McNamara
+- enable LDAPS support (#225671)
+- update description to contain complete supported servers list (#393861)
+
+* Sun Nov 18 2007 Jindrich Novy <jnovy at redhat.com> 7.17.1-1
- update to curl 7.17.1
- include patch to enable SSL usage in NSS when a socket is opened
nonblocking, thanks to Rob Crittenden (rcritten at redhat.com) (#387991)
- Previous message (by thread): rpms/sepostgresql/F-8 sepostgresql-8.2.6-1.patch, 1.1, 1.2 sepostgresql.init, 1.9, 1.10 sepostgresql.spec, 1.9, 1.10 sepostgresql.te, 1.9, 1.10
- Next message (by thread): rpms/docbook-style-xsl/F-8 docbook-style-xsl.spec,1.41,1.42
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list