This commit is contained in:
parent
a21a5248a2
commit
35eb58db12
@ -1,12 +0,0 @@
|
|||||||
--- 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;
|
|
||||||
}
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:257b204acf1d80314694b4cf63cccbc7c70bccee75cb3d9924bbb061ec6bccef
|
|
||||||
size 1592074
|
|
3
curl-7.16.2.tar.bz2
Normal file
3
curl-7.16.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2e833e81d43f6294e5bd0d1776d68bd147bdab31e86c7544dc1462e44db9bfa2
|
||||||
|
size 1664414
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 23 16:22:39 CEST 2007 - bk@suse.de
|
||||||
|
|
||||||
|
- updated to 7.16.2 (lots of fixes, fixes a segfault in git-http)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 4 14:55:41 CEST 2007 - mmarek@suse.cz
|
Fri May 4 14:55:41 CEST 2007 - mmarek@suse.cz
|
||||||
|
|
||||||
|
18
curl.spec
18
curl.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package curl (Version 7.16.1)
|
# spec file for package curl (Version 7.16.2)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
@ -12,8 +12,8 @@
|
|||||||
|
|
||||||
Name: curl
|
Name: curl
|
||||||
BuildRequires: libidn-devel openssl-devel zlib-devel
|
BuildRequires: libidn-devel openssl-devel zlib-devel
|
||||||
Version: 7.16.1
|
Version: 7.16.2
|
||||||
Release: 16
|
Release: 1
|
||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
License: BSD License and BSD-like, X11/MIT
|
License: BSD License and BSD-like, X11/MIT
|
||||||
Group: Productivity/Networking/Web/Utilities
|
Group: Productivity/Networking/Web/Utilities
|
||||||
@ -23,7 +23,7 @@ Source: curl-%{version}.tar.bz2
|
|||||||
Patch1: curl-lfs.patch
|
Patch1: curl-lfs.patch
|
||||||
Patch2: curl-ipv6tests.patch
|
Patch2: curl-ipv6tests.patch
|
||||||
Patch3: curl-7.16.1-strict-aliasing.patch
|
Patch3: curl-7.16.1-strict-aliasing.patch
|
||||||
Patch4: curl-7.16.1-ftp_range.patch
|
# The ftp-range bug is fixed in 7.16.2, testcase works, Patch4 is obsolete.
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -90,7 +90,6 @@ Authors:
|
|||||||
%patch1
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
@ -99,19 +98,18 @@ export CFLAGS="$RPM_OPT_FLAGS"
|
|||||||
%else
|
%else
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fstack-protector"
|
export CFLAGS="$RPM_OPT_FLAGS -fstack-protector"
|
||||||
%endif
|
%endif
|
||||||
|
# cleanup notice: removed the debugging option %_with_testsuite here,
|
||||||
|
# removing it does not change the build configuration and make check:
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
--enable-ipv6 \
|
--enable-ipv6 \
|
||||||
--with-ssl \
|
--with-ssl \
|
||||||
--libdir=%{_libdir} \
|
--libdir=%{_libdir} \
|
||||||
%if %{?!_with_testsuite:1}0
|
|
||||||
--enable-hidden-symbols \
|
--enable-hidden-symbols \
|
||||||
%endif
|
|
||||||
--disable-static
|
--disable-static
|
||||||
|
# enable-hidden-symbols needs gcc4 and causes that curl exports only its API
|
||||||
make %{?jobs:-j%jobs}
|
make %{?jobs:-j%jobs}
|
||||||
%if %{?_with_testsuite:1}0
|
|
||||||
make check
|
make check
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -153,6 +151,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc %{_mandir}/man3/*
|
%doc %{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 23 2007 - bk@suse.de
|
||||||
|
- updated to 7.16.2 (lots of fixes, fixes a segfault in git-http)
|
||||||
* Fri May 04 2007 - mmarek@suse.cz
|
* Fri May 04 2007 - mmarek@suse.cz
|
||||||
- also avoid non-versioned obsoletes
|
- also avoid non-versioned obsoletes
|
||||||
* Mon Apr 16 2007 - mmarek@suse.de
|
* Mon Apr 16 2007 - mmarek@suse.de
|
||||||
|
Loading…
x
Reference in New Issue
Block a user