Hello community, here is the log from the commit of package curl checked in at Fri Feb 16 18:20:48 CET 2007. -------- --- curl/curl.changes 2007-02-02 15:41:31.000000000 +0100 +++ curl/curl.changes 2007-02-16 16:07:58.000000000 +0100 @@ -1,0 +2,12 @@ +Fri Feb 16 16:07:34 CET 2007 - mmarek@suse.cz + +- better patch for #246179 + +------------------------------------------------------------------- +Fri Feb 16 14:04:38 CET 2007 - mmarek@suse.cz + +- fix CURLOPT_RANGE reset for ftp transfers + [#246179] (ftp_range.patch) +- updated to 7.16.1 (other bugfixes) + +------------------------------------------------------------------- Old: ---- curl-7.16.0-strict-aliasing.patch curl-7.16.0.tar.bz2 New: ---- curl-7.16.1-ftp_range.patch curl-7.16.1-strict-aliasing.patch curl-7.16.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ curl.spec ++++++ --- /var/tmp/diff_new_pack.m20337/_old 2007-02-16 18:18:03.000000000 +0100 +++ /var/tmp/diff_new_pack.m20337/_new 2007-02-16 18:18:03.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package curl (Version 7.16.0) +# spec file for package curl (Version 7.16.1) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -14,8 +14,8 @@ BuildRequires: libidn-devel openssl-devel Obsoletes: curl_ssl Provides: curl_ssl -Version: 7.16.0 -Release: 2 +Version: 7.16.1 +Release: 1 Autoreqprov: on License: MOZILLA PUBLIC LICENSE (MPL/NPL) Group: Productivity/Networking/Web/Utilities @@ -24,7 +24,8 @@ Source: curl-%{version}.tar.bz2 Patch1: curl-lfs.patch Patch2: curl-ipv6tests.patch -Patch3: curl-7.16.0-strict-aliasing.patch +Patch3: curl-7.16.1-strict-aliasing.patch +Patch4: curl-7.16.1-ftp_range.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -61,6 +62,7 @@ %patch1 %patch2 %patch3 +%patch4 %build autoreconf -fi @@ -74,7 +76,9 @@ --enable-ipv6 \ --with-ssl \ --libdir=%{_libdir} \ +%if %{?!_with_testsuite:1}0 --enable-hidden-symbols \ +%endif --disable-static make %{?jobs:-j%jobs} %if %{?_with_testsuite:1}0 @@ -113,7 +117,13 @@ %doc %{_mandir}/man1/curl-config.1.gz %doc %{_mandir}/man3/* -%changelog -n curl +%changelog +* Fri Feb 16 2007 - mmarek@suse.cz +- better patch for #246179 +* Fri Feb 16 2007 - mmarek@suse.cz +- fix CURLOPT_RANGE reset for ftp transfers + [#246179] (ftp_range.patch) +- updated to 7.16.1 (other bugfixes) * Fri Jan 26 2007 - mmarek@suse.cz - remove libcurl.a and libcurl.la (rationale: there are security updates of curl from time to time, so statically linking it is ++++++ curl-7.16.1-ftp_range.patch ++++++ --- lib/ftp.c +++ lib/ftp.c @@ -3282,7 +3282,8 @@ static CURLcode ftp_range(struct connect " to %" FORMAT_OFF_T ", totally %" FORMAT_OFF_T " bytes\n", from, to, data->reqdata.maxdownload)); ftpc->dont_check = TRUE; /* dont check for successful transfer */ - } + } else + data->reqdata.maxdownload = -1; return CURLE_OK; } ++++++ curl-7.16.0-strict-aliasing.patch -> curl-7.16.1-strict-aliasing.patch ++++++ --- curl/curl-7.16.0-strict-aliasing.patch 2007-02-02 15:41:31.000000000 +0100 +++ curl/curl-7.16.1-strict-aliasing.patch 2007-02-16 13:58:27.000000000 +0100 @@ -12,19 +12,3 @@ } #elif defined(WIN32) if (libldap) { ---- lib/connect.c -+++ lib/connect.c -@@ -384,11 +384,10 @@ static CURLcode bindlocal(struct connect - if( bind(sockfd, sock, socksize) >= 0) { - /* we succeeded to bind */ - struct Curl_sockaddr_storage add; -- size_t size; -+ socklen_t size; - - size = sizeof(add); -- if(getsockname(sockfd, (struct sockaddr *) &add, -- (socklen_t *)&size)<0) { -+ if(getsockname(sockfd, (struct sockaddr *) &add, &size)<0) { - failf(data, "getsockname() failed"); - return CURLE_HTTP_PORT_FAILED; - } ++++++ curl-7.16.0.tar.bz2 -> curl-7.16.1.tar.bz2 ++++++ ++++ 34892 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org