OBS User unknown 2007-02-16 17:20:49 +00:00 committed by Git OBS Bridge
parent 9eed96053c
commit 2e4ba7a505
6 changed files with 42 additions and 24 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc8dcda5a933c370c15c832bf1e7316a0690f473fdd6000454d233edaa33bc23
size 1566391

View File

@ -0,0 +1,12 @@
--- 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;
}

View File

@ -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;
}

3
curl-7.16.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:257b204acf1d80314694b4cf63cccbc7c70bccee75cb3d9924bbb061ec6bccef
size 1592074

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
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)
-------------------------------------------------------------------
Fri Jan 26 09:55:19 CET 2007 - mmarek@suse.cz

View File

@ -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 @@ Name: curl
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 @@ URL: http://curl.haxx.se/
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 @@ Authors:
%patch1
%patch2
%patch3
%patch4
%build
autoreconf -fi
@ -74,7 +76,9 @@ export CFLAGS="$RPM_OPT_FLAGS -fstack-protector"
--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 @@ rm -rf $RPM_BUILD_ROOT
%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