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

- Update to 7.75.0
  * Changes:
    - curl: add --create-file-mode [mode]
    - curl: add new variables to --write-out
    - dns: extend CURLOPT_RESOLVE syntax for adding non-permanent entries
    - gopher: implement secure gopher protocol
    - http: add Hyper as new optional HTTP backend
    - http: introduce AWS HTTP v4 Signature support 
  * Bugfixes:
    - cmake: Add an option to disable libidn2
    - cmake: enable gophers correctly in curl-config
    - cmake: expose CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG
    - digest_sspi: Show InitializeSecurityContext errors in verbose mode
    - getinfo: build with disabled HTTP support
    - http: get CURLOPT_REQUEST_TARGET working with a HTTP proxy
    - http_proxy: Fix CONNECT chunked encoding race condition
    - httpauth: make multi-request auth work with custom port
    - lib: pass in 'struct Curl_easy *' to most functions
    - lib: remove Curl_ prefix from many static functions
    - lib: save a bit of space with some structure packing
    - libssh: avoid plain free() of libssh-memory
    - mime: make sure setting MIMEPOST to NULL resets properly
    - multi_runsingle: bail out early on data->conn == NULL
    - ngtcp2: Fix http3 upload stall
    - ngtcp2: Fix stack buffer overflow
    - openssl: lowercase the hostname before using it for SNI
    - socks: use the download buffer instead
    - speedcheck: exclude paused transfers
    - tooĺ_writeout: fix the -w time output units
    - url: if IDNA conversion fails, fallback to Transitional

OBS-URL: https://build.opensuse.org/request/show/869220
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=291
This commit is contained in:
Pedro Monreal Gonzalez 2021-02-04 14:43:03 +00:00 committed by Git OBS Bridge
parent 58aa3f944e
commit 5e99168233
7 changed files with 74 additions and 39 deletions

View File

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

View File

@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEEJ+3q8i86vOtQ25oSXMkI/bceEsIFAl/QcZ8ACgkQXMkI/bce
EsJYnggAs5MbJByXsUEI3LzdRvjb2s/dNS/+ubJ98GL+ed8uVsLmGxdF0fS9EPVX
+KoaYbaZwjZJH43+UyqtoFr4GQKhxxhcyZi3477s9Ws9x60yEA21oIggkQLF6X+E
OEymG0YmNUn/6vvWizCWZtE7TkoWAXEzPLyVbBzoFzfmgzxiQ9//usKCaDh/nCWA
kouxubBJbpdjk8KTnVf5HMP5PJKs9LeiVh9B2F+Rq1cEvzLrxNlDYptEgH/ml5Sd
WsWeWttngs2pnZu0pMQNGhdXp6XC5lteN21C1/3hy3KVFUnkqaA+1IHm39wBE73j
Bmnoi36d+Ub6ZT3Va84Dp/tWJ65Xig==
=9ka/
-----END PGP SIGNATURE-----

3
curl-7.75.0.tar.xz Normal file
View File

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

11
curl-7.75.0.tar.xz.asc Normal file
View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEEJ+3q8i86vOtQ25oSXMkI/bceEsIFAmAaSxEACgkQXMkI/bce
EsI36QgAlx+oYuWiaMytv/Ixfcm2gTq+9Qu60KsmvccyKLOq7OxAmX+gz1PYOsUc
eqAwq8dg9Mo+cuk7zWpxRMg1qBgvZpv5oeAhy8VUeWD/HE0Z2RoxC3tw87uNn5uN
2g0FJEXGzDaQQdI0hh2Kb4uNqiKiBCsSfHX4J+eWDUoHwzoFestct8PAcAG8lOzt
0nGj6Is1Rba3SrlkCtRdzEkrjfNe5KKNjE9F0ybhL7TPKSZZvlustZgU5OgdjDHu
uJzFQDK5eyjeYu7tyJQOOwercjOQrmp0YYvYt6CdALUflU2RNvnS83+e/syAYEZ4
FvnYlZyp8WCKxOikGwX2m/JEOATXSw==
=HFSu
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Thu Feb 4 11:20:22 UTC 2021 - Pedro Monreal <pmonreal@suse.com>
- Update to 7.75.0
* Changes:
- curl: add --create-file-mode [mode]
- curl: add new variables to --write-out
- dns: extend CURLOPT_RESOLVE syntax for adding non-permanent entries
- gopher: implement secure gopher protocol
- http: add Hyper as new optional HTTP backend
- http: introduce AWS HTTP v4 Signature support
* Bugfixes:
- cmake: Add an option to disable libidn2
- cmake: enable gophers correctly in curl-config
- cmake: expose CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG
- digest_sspi: Show InitializeSecurityContext errors in verbose mode
- getinfo: build with disabled HTTP support
- http: get CURLOPT_REQUEST_TARGET working with a HTTP proxy
- http_proxy: Fix CONNECT chunked encoding race condition
- httpauth: make multi-request auth work with custom port
- lib: pass in 'struct Curl_easy *' to most functions
- lib: remove Curl_ prefix from many static functions
- lib: save a bit of space with some structure packing
- libssh: avoid plain free() of libssh-memory
- mime: make sure setting MIMEPOST to NULL resets properly
- multi_runsingle: bail out early on data->conn == NULL
- ngtcp2: Fix http3 upload stall
- ngtcp2: Fix stack buffer overflow
- openssl: lowercase the hostname before using it for SNI
- socks: use the download buffer instead
- speedcheck: exclude paused transfers
- tooĺ_writeout: fix the -w time output units
- url: if IDNA conversion fails, fallback to Transitional
- Refresh libcurl-ocloexec.patch
-------------------------------------------------------------------
Fri Dec 18 20:04:33 UTC 2020 - Cristian Rodríguez <crrodriguez@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package curl
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -21,7 +21,7 @@
# need ssl always for python-pycurl
%bcond_without openssl
Name: curl
Version: 7.74.0
Version: 7.75.0
Release: 0
Summary: A Tool for Transferring Data from URLs
License: curl

View File

@ -7,11 +7,11 @@ To make it portable you have to test O_CLOEXEC support at *runtime*
compile time is not enough.
Index: curl-7.69.0/lib/file.c
Index: curl-7.75.0/lib/file.c
===================================================================
--- curl-7.69.0.orig/lib/file.c
+++ curl-7.69.0/lib/file.c
@@ -192,7 +192,7 @@ static CURLcode file_connect(struct conn
--- curl-7.75.0.orig/lib/file.c
+++ curl-7.75.0/lib/file.c
@@ -193,7 +193,7 @@ static CURLcode file_connect(struct Curl
return CURLE_URL_MALFORMAT;
}
@ -20,19 +20,19 @@ Index: curl-7.69.0/lib/file.c
file->path = real_path;
#endif
file->freepath = real_path; /* free this when done */
@@ -285,7 +285,7 @@ static CURLcode file_upload(struct conne
@@ -277,7 +277,7 @@ static CURLcode file_upload(struct Curl_
else
mode = MODE_DEFAULT|O_TRUNC;
- fd = open(file->path, mode, conn->data->set.new_file_perms);
+ fd = open(file->path, mode | O_CLOEXEC, conn->data->set.new_file_perms);
- fd = open(file->path, mode, data->set.new_file_perms);
+ fd = open(file->path, mode | O_CLOEXEC, data->set.new_file_perms);
if(fd < 0) {
failf(data, "Can't open %s for writing", file->path);
return CURLE_WRITE_ERROR;
Index: curl-7.69.0/lib/hostip6.c
Index: curl-7.75.0/lib/hostip6.c
===================================================================
--- curl-7.69.0.orig/lib/hostip6.c
+++ curl-7.69.0/lib/hostip6.c
--- curl-7.75.0.orig/lib/hostip6.c
+++ curl-7.75.0/lib/hostip6.c
@@ -44,7 +44,7 @@
#ifdef HAVE_PROCESS_H
#include <process.h>
@ -42,7 +42,7 @@ Index: curl-7.69.0/lib/hostip6.c
#include "urldata.h"
#include "sendf.h"
#include "hostip.h"
@@ -76,7 +76,7 @@ bool Curl_ipv6works(struct connectdata *
@@ -75,7 +75,7 @@ bool Curl_ipv6works(struct Curl_easy *da
else {
int ipv6_works = -1;
/* probe to see if we have a working IPv6 stack */
@ -51,11 +51,11 @@ Index: curl-7.69.0/lib/hostip6.c
if(s == CURL_SOCKET_BAD)
/* an IPv6 address was requested but we can't get/use one */
ipv6_works = 0;
Index: curl-7.69.0/lib/if2ip.c
Index: curl-7.75.0/lib/if2ip.c
===================================================================
--- curl-7.69.0.orig/lib/if2ip.c
+++ curl-7.69.0/lib/if2ip.c
@@ -201,7 +201,7 @@ if2ip_result_t Curl_if2ip(int af, unsign
--- curl-7.75.0.orig/lib/if2ip.c
+++ curl-7.75.0/lib/if2ip.c
@@ -202,7 +202,7 @@ if2ip_result_t Curl_if2ip(int af, unsign
if(len >= sizeof(req.ifr_name))
return IF2IP_NOT_FOUND;
@ -64,11 +64,11 @@ Index: curl-7.69.0/lib/if2ip.c
if(CURL_SOCKET_BAD == dummy)
return IF2IP_NOT_FOUND;
Index: curl-7.69.0/lib/connect.c
Index: curl-7.75.0/lib/connect.c
===================================================================
--- curl-7.69.0.orig/lib/connect.c
+++ curl-7.69.0/lib/connect.c
@@ -1529,7 +1529,9 @@ CURLcode Curl_socket(struct connectdata
--- curl-7.75.0.orig/lib/connect.c
+++ curl-7.75.0/lib/connect.c
@@ -1575,7 +1575,9 @@ CURLcode Curl_socket(struct Curl_easy *d
}
else
/* opensocket callback not set, so simply create the socket now */
@ -79,11 +79,11 @@ Index: curl-7.69.0/lib/connect.c
if(*sockfd == CURL_SOCKET_BAD)
/* no socket, no connection */
Index: curl-7.69.0/configure.ac
Index: curl-7.75.0/configure.ac
===================================================================
--- curl-7.69.0.orig/configure.ac
+++ curl-7.69.0/configure.ac
@@ -196,6 +196,8 @@ AC_DEFINE_UNQUOTED(OS, "${host}", [cpu-m
--- curl-7.75.0.orig/configure.ac
+++ curl-7.75.0/configure.ac
@@ -189,6 +189,8 @@ AC_DEFINE_UNQUOTED(OS, "${host}", [cpu-m
# Silence warning: ar: 'u' modifier ignored since 'D' is the default
AC_SUBST(AR_FLAGS, [cr])