diff --git a/curl-7.16.1-ftp_range.patch b/curl-7.16.1-ftp_range.patch deleted file mode 100644 index 6868030..0000000 --- a/curl-7.16.1-ftp_range.patch +++ /dev/null @@ -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; - } - diff --git a/curl-7.16.1.tar.bz2 b/curl-7.16.1.tar.bz2 deleted file mode 100644 index 5a68251..0000000 --- a/curl-7.16.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:257b204acf1d80314694b4cf63cccbc7c70bccee75cb3d9924bbb061ec6bccef -size 1592074 diff --git a/curl-7.16.2.tar.bz2 b/curl-7.16.2.tar.bz2 new file mode 100644 index 0000000..ee8351a --- /dev/null +++ b/curl-7.16.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2e833e81d43f6294e5bd0d1776d68bd147bdab31e86c7544dc1462e44db9bfa2 +size 1664414 diff --git a/curl.changes b/curl.changes index 5af2522..4ff1017 100644 --- a/curl.changes +++ b/curl.changes @@ -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 diff --git a/curl.spec b/curl.spec index 0e95796..567a6d0 100644 --- a/curl.spec +++ b/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. # This file and all modifications and additions to the pristine @@ -12,8 +12,8 @@ Name: curl BuildRequires: libidn-devel openssl-devel zlib-devel -Version: 7.16.1 -Release: 16 +Version: 7.16.2 +Release: 1 Autoreqprov: on License: BSD License and BSD-like, X11/MIT Group: Productivity/Networking/Web/Utilities @@ -23,7 +23,7 @@ Source: curl-%{version}.tar.bz2 Patch1: curl-lfs.patch Patch2: curl-ipv6tests.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 %description @@ -90,7 +90,6 @@ Authors: %patch1 %patch2 %patch3 -%patch4 %build autoreconf -fi @@ -99,19 +98,18 @@ export CFLAGS="$RPM_OPT_FLAGS" %else export CFLAGS="$RPM_OPT_FLAGS -fstack-protector" %endif +# cleanup notice: removed the debugging option %_with_testsuite here, +# removing it does not change the build configuration and make check: ./configure \ --prefix=%{_prefix} \ --enable-ipv6 \ --with-ssl \ --libdir=%{_libdir} \ -%if %{?!_with_testsuite:1}0 --enable-hidden-symbols \ -%endif --disable-static +# enable-hidden-symbols needs gcc4 and causes that curl exports only its API make %{?jobs:-j%jobs} -%if %{?_with_testsuite:1}0 make check -%endif %install rm -rf $RPM_BUILD_ROOT @@ -153,6 +151,8 @@ rm -rf $RPM_BUILD_ROOT %doc %{_mandir}/man3/* %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 - also avoid non-versioned obsoletes * Mon Apr 16 2007 - mmarek@suse.de