Accepting request 515937 from home:pmonrealgonzalez:branches:devel:libraries:c_c++

- Upstream fix to build libcurl man3 pages
  * Added patch curl-man3.patch

- Disabled test1425 that fails in i586 architecture
  * Added patch curl-disable-test1427-i586.patch

- Update to 7.55.0
 Changes:
  * curl: allow --header and --proxy-header read from file
  * getinfo: provide sizes as curl_off_t
  * curl: prevent binary output spewed to terminal
  * curl: added --request-target
  * curl: added --socks5-{basic,gssapi}: control socks5 auth
  * libcurl: added CURLOPT_REQUEST_TARGET
  * libcurl: added CURLOPT_SOCKS5_AUTH
 Bugfixes:
  * Security Fixes:
    - glob: do not parse after a strtoul() overflow range 
      (CVE-2017-1000101, bsc#1051643)
    - tftp: reject file name lengths that don't fit
      (CVE-2017-1000100, bsc#1051644)
    - file: output the correct buffer to the user
      (CVE-2017-1000099, bsc#1051645)
  * includes: remove curl/curlbuild.h and curl/curlrules.h
  * dist: make the hugehelp.c not get regenerated unnecessarily
  * timers: store internal time stamps as time_t instead of doubles
  * progress: let "current speed" be UL + DL speeds combined
  * http-proxy: do the HTTP CONNECT process entirely non-blocking
  * lib/curl_setup.h: remove CURL_WANTS_CA_BUNDLE_ENV
  * fuzz: bring oss-fuzz initial code converted to C89

OBS-URL: https://build.opensuse.org/request/show/515937
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=201
This commit is contained in:
Tomáš Chvátal
2017-08-10 16:25:31 +00:00
committed by Git OBS Bridge
parent 90d1cc3471
commit fc76886d57
11 changed files with 373 additions and 115 deletions

View File

@@ -32,20 +32,23 @@
%endif
Name: curl-mini
Version: 7.54.1
Version: 7.55.0
Release: 0
Summary: A Tool for Transferring Data from URLs
License: curl
Group: Productivity/Networking/Web/Utilities
Url: https://curl.haxx.se/
Source: https://curl.haxx.se/download/curl-%{version}.tar.lzma
Source2: https://curl.haxx.se/download/curl-%{version}.tar.lzma.asc
Source: https://curl.haxx.se/download/curl-%{version}.tar.gz
Source2: https://curl.haxx.se/download/curl-%{version}.tar.gz.asc
Source3: baselibs.conf
Source4: https://daniel.haxx.se/mykey.asc#/curl.keyring
Patch0: libcurl-ocloexec.patch
Patch1: dont-mess-with-rpmoptflags.diff
Patch2: curl-secure-getenv.patch
Patch3: curl-invalid-free.patch
# PATCH-FIX-OPENSUSE curl-disable-test1427-i586.patch - Disabled test1425 that fails in i586 architecture
Patch3: curl-disable-test1427-i586.patch
# PATCH-FIX-UPSTREAM curl-man3.patch - Fix to build libcurl man3 pages
Patch4: curl-man3.patch
BuildRequires: libtool
BuildRequires: pkgconfig
%if !0%{?bootstrap}
@@ -126,7 +129,8 @@ user interaction or any kind of interactivity.
%patch0
%patch1
%patch2
%patch3 -p1
%patch3 -p1 -R
%patch4 -p1
%build
# curl complains if macro definition is contained in CFLAGS