curl: Update to version 7.81.0

Message ID 20220206123841.3456432-1-adolf.belka@ipfire.org
State Accepted
Commit 593adc77a77cc48eea0751e71d5da18e285b1b71
Headers
Series curl: Update to version 7.81.0 |

Commit Message

Adolf Belka Feb. 6, 2022, 12:38 p.m. UTC
  - Update from 7.80.0 to 7.81.0
- Update of rootfile
- Changelog
   7.81.0
    This release includes the following changes:
	 o mime: use percent-escaping for multipart form field and file names [1]
    This release includes the following bugfixes:
	 o asyn-ares: ares_getaddrinfo needs no happy eyeballs timer [73]
	 o azure: make the "w/o HTTP/SMTP/IMAP" build disable SSL proper [12]
	 o BINDINGS: add cURL client for PostgreSQL [68]
	 o BINDINGS: add one from Everything curl and update a link
	 o checksrc: detect more kinds of NULL comparisons we avoid [105]
	 o CI: build examples for additional code verification [75]
	 o CI: bump job to use mbedtls 3.1.0 [90]
	 o cmake: don't set _USRDLL on a static Windows build [22]
	 o cmake: prevent dev warning due to mismatched arg [94]
	 o cmake: private identifiers use CURL_ instead of CMAKE_ prefix [40]
	 o config.d: update documentation to match the path search
	 o configure: add -lm to configure for rustls build. [13]
	 o configure: better diagnostics if hyper is built wrong [6]
	 o configure: don't enable TLS when --without-* flags are used [17]
	 o configure: fix runtime-lib detection on macOS [21]
	 o curl.1: require "see also" for every documented option [27]
	 o curl: improve error message for --head with -J [42]
	 o curl_easy_cleanup.3: remove from multi handle first [3]
	 o curl_easy_escape.3: call curl_easy_cleanup in example [58]
	 o curl_easy_unescape.3: call curl_easy_cleanup in example [57]
	 o curl_multi_init.3: fix EXAMPLE formatting
	 o curl_multi_perform/socket_action.3: clarify what errors mean [70]
	 o curl_share_setopt.3: split out options into their own manpages [14]
	 o CURLOPT_STDERR.3: does not work with libcurl as a win32 DLL [51]
	 o digest: compute user:realm:pass digest w/o userhash [45]
	 o docs/checksrc: Add documentation for STRERROR [18]
	 o docs/cmdline-opts: do not say "protocols: all" [26]
	 o docs/examples: workaround broken -Wno-pedantic-ms-format
	 o docs/HTTP3: describe how to setup a h3 reverse-proxy for testing [88]
	 o docs/INSTALL.md: typo fix : added missing "get" verb [31]
	 o docs/URL-SYNTAX.md: space is not fine in a given URL
	 o docs: add known bugs list to HTTP3.md [83]
	 o docs: address proselint nits [16]
	 o docs: consistent manpage SYNOPSIS [47]
	 o docs: fix dead links, remove ECH.md
	 o docs: fix typo in OpenSSL 3 build instructions [80]
	 o docs: Update the Reducing Size section
	 o example/progressfunc: remove code for old libcurls [78]
	 o examples/multi-single.c: remove WAITMS() [98]
	 o FAQ: typo fix : "yout" ➤ "your" [30]
	 o ftp: disable warning 4706 in MSVC [85]
	 o gen.pl: improve example output format [29]
	 o github workflow: add wolfssl (removed from zuul) [103]
	 o github/workflows: add mbedtls and mbedtls-clang (removed from zuul) [92]
	 o gtls: check return code for gnutls_alpn_set_protocols [86]
	 o hash: lazy-alloc the table in Curl_hash_add() [54]
	 o http2:set_transfer_url() return early on OOM [53]
	 o HTTP3: update quiche build instructions [37]
	 o http: enable haproxy support for hyper backend [20]
	 o http: Fix CURLOPT_HTTP200ALIASES [89]
	 o http_proxy: don't close the socket (too early) [100]
	 o insecure.d: detail its use for SFTP and SCP as well [32]
	 o insecure.d: expand and clarify [28]
	 o libcurl-multi.3: "SOCKS proxy handshakes" are not blocking
	 o libcurl-security.3: mention address and URL mitigations
	 o libssh2: fix error message for sha256 mismatch
	 o libtest: avoid "assignment within conditional expression" [84]
	 o lift: ignore is a deprecated config option, use ignoreRules [35]
	 o linkcheck.yml: add CI job that checks markdown links [82]
	 o m4/curl-compilers: tell clang -Wno-pointer-bool-conversion [99]
	 o Makefile.m32: rename -winssl option to -schannel and tidy up [33]
	 o mbedTLS: add support for CURLOPT_CAINFO_BLOB [44]
	 o mbedtls: fix CURLOPT_SSLCERT_BLOB [72]
	 o mbedtls: fix private member designations for v3.1.0 [93]
	 o misc: remove unused doh flags when CURL_DISABLE_DOH is defined [71]
	 o misc: s/e-mail/email [74]
	 o multi: cleanup the socket hash when destroying it [55]
	 o multi: handle errors returned from socket/timer callbacks [52]
	 o multi: shut down CONNECT in Curl_detach_connnection [2]
	 o netrc.d: edit the .netrc example to look nicer [24]
	 o ngtcp2: verify the server cert on connect (quictls) [102]
	 o ngtcp2: verify the server certificate for the gnutls case [101]
	 o nss:set_cipher don't clobber the cipher list [38]
	 o openldap: implement STARTTLS [56]
	 o openldap: process search query response messages one by one [50]
	 o openldap: several minor improvements [69]
	 o openldap: simplify ldif generation code [77]
	 o openssl: check the return value of BIO_new() [43]
	 o openssl: define HAVE_OPENSSL_VERSION for OpenSSL 1.1.0+
	 o openssl: remove `RSA_METHOD_FLAG_NO_CHECK` handling if unavailable
	 o openssl: remove usage of deprecated `SSL_get_peer_certificate`
	 o openssl: use non-deprecated API to read key parameters
	 o page-footer: add a mention of how to report bugs to the man page
	 o page-footer: document more environment variables [23]
	 o request.d: refer to 'method' rather than 'command' [59]
	 o retry-all-errors.d: make the example complete
	 o runtests: make the SSH library a testable feature
	 o rustls: read of zero bytes might be okay [9]
	 o rustls: remove comment about checking handshaking [15]
	 o rustls: remove incorrect EOF check [10]
	 o sha256/md5: return errors when init fails [79]
	 o socks5: use appropriate ATYP for numerical IP address host names [91]
	 o test1156: enable for hyper [65]
	 o test1156: fixup the stdout check for Windows [60]
	 o test1525: tweaked for hyper [64]
	 o test1526: enable for hyper [63]
	 o test1527: enable for hyper [62]
	 o test1528: enable for hyper [61]
	 o test1554: adjust for hyper [49]
	 o test1556: adjust for hyper [48]
	 o test302[12]: run only with the libssh2 backend [8]
	 o test661: enable for hyper [66]
	 o tests/CI.md: add more information on CI environments [39]
	 o tests/data/test302[12]: fix MSYS2 path conversion of hostpubsha256 [76]
	 o tftp: mark protocol as not possible to do over CONNECT [25]
	 o tool_findfile: updated search for a file in the homedir [46]
	 o tool_operate: only set SSH related libcurl options for SSH URLs [11]
	 o tool_operate: warn if too many output arguments were found [87]
	 o url.c: fix the SIGPIPE comment for Curl_close [4]
	 o url: check ssl_config when re-use proxy connection [81]
	 o url: reduce ssl backend count for CURL_DISABLE_PROXY builds [96]
	 o urlapi: accept port number zero [34]
	 o urlapi: if possible, shorten given numerical IPv6 addresses [95]
	 o urlapi: provide more detailed return codes [36]
	 o urlapi: reject short file URLs [41]
	 o version_win32: Check build number and platform id
	 o vtls/rustls: adapt to the updated rustls_version proto [19]
	 o writeout: fix %{http_version} for HTTP/3 [7]
	 o x509asn1: return early on errors [67]
	 o zuul.d: update rustls-ffi to version 0.8.2 [5]
	 o zuul: fix quiche build pointing to wrong Cargo [104]
    This release includes the following known bugs:
	 o see docs/KNOWN_BUGS (https://curl.se/docs/knownbugs.html)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/curl | 6 ++++++
 lfs/curl                     | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)
  

Comments

Peter Müller Feb. 6, 2022, 4:53 p.m. UTC | #1
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>

> - Update from 7.80.0 to 7.81.0
> - Update of rootfile
> - Changelog
>    7.81.0
>     This release includes the following changes:
> 	 o mime: use percent-escaping for multipart form field and file names [1]
>     This release includes the following bugfixes:
> 	 o asyn-ares: ares_getaddrinfo needs no happy eyeballs timer [73]
> 	 o azure: make the "w/o HTTP/SMTP/IMAP" build disable SSL proper [12]
> 	 o BINDINGS: add cURL client for PostgreSQL [68]
> 	 o BINDINGS: add one from Everything curl and update a link
> 	 o checksrc: detect more kinds of NULL comparisons we avoid [105]
> 	 o CI: build examples for additional code verification [75]
> 	 o CI: bump job to use mbedtls 3.1.0 [90]
> 	 o cmake: don't set _USRDLL on a static Windows build [22]
> 	 o cmake: prevent dev warning due to mismatched arg [94]
> 	 o cmake: private identifiers use CURL_ instead of CMAKE_ prefix [40]
> 	 o config.d: update documentation to match the path search
> 	 o configure: add -lm to configure for rustls build. [13]
> 	 o configure: better diagnostics if hyper is built wrong [6]
> 	 o configure: don't enable TLS when --without-* flags are used [17]
> 	 o configure: fix runtime-lib detection on macOS [21]
> 	 o curl.1: require "see also" for every documented option [27]
> 	 o curl: improve error message for --head with -J [42]
> 	 o curl_easy_cleanup.3: remove from multi handle first [3]
> 	 o curl_easy_escape.3: call curl_easy_cleanup in example [58]
> 	 o curl_easy_unescape.3: call curl_easy_cleanup in example [57]
> 	 o curl_multi_init.3: fix EXAMPLE formatting
> 	 o curl_multi_perform/socket_action.3: clarify what errors mean [70]
> 	 o curl_share_setopt.3: split out options into their own manpages [14]
> 	 o CURLOPT_STDERR.3: does not work with libcurl as a win32 DLL [51]
> 	 o digest: compute user:realm:pass digest w/o userhash [45]
> 	 o docs/checksrc: Add documentation for STRERROR [18]
> 	 o docs/cmdline-opts: do not say "protocols: all" [26]
> 	 o docs/examples: workaround broken -Wno-pedantic-ms-format
> 	 o docs/HTTP3: describe how to setup a h3 reverse-proxy for testing [88]
> 	 o docs/INSTALL.md: typo fix : added missing "get" verb [31]
> 	 o docs/URL-SYNTAX.md: space is not fine in a given URL
> 	 o docs: add known bugs list to HTTP3.md [83]
> 	 o docs: address proselint nits [16]
> 	 o docs: consistent manpage SYNOPSIS [47]
> 	 o docs: fix dead links, remove ECH.md
> 	 o docs: fix typo in OpenSSL 3 build instructions [80]
> 	 o docs: Update the Reducing Size section
> 	 o example/progressfunc: remove code for old libcurls [78]
> 	 o examples/multi-single.c: remove WAITMS() [98]
> 	 o FAQ: typo fix : "yout" ➤ "your" [30]
> 	 o ftp: disable warning 4706 in MSVC [85]
> 	 o gen.pl: improve example output format [29]
> 	 o github workflow: add wolfssl (removed from zuul) [103]
> 	 o github/workflows: add mbedtls and mbedtls-clang (removed from zuul) [92]
> 	 o gtls: check return code for gnutls_alpn_set_protocols [86]
> 	 o hash: lazy-alloc the table in Curl_hash_add() [54]
> 	 o http2:set_transfer_url() return early on OOM [53]
> 	 o HTTP3: update quiche build instructions [37]
> 	 o http: enable haproxy support for hyper backend [20]
> 	 o http: Fix CURLOPT_HTTP200ALIASES [89]
> 	 o http_proxy: don't close the socket (too early) [100]
> 	 o insecure.d: detail its use for SFTP and SCP as well [32]
> 	 o insecure.d: expand and clarify [28]
> 	 o libcurl-multi.3: "SOCKS proxy handshakes" are not blocking
> 	 o libcurl-security.3: mention address and URL mitigations
> 	 o libssh2: fix error message for sha256 mismatch
> 	 o libtest: avoid "assignment within conditional expression" [84]
> 	 o lift: ignore is a deprecated config option, use ignoreRules [35]
> 	 o linkcheck.yml: add CI job that checks markdown links [82]
> 	 o m4/curl-compilers: tell clang -Wno-pointer-bool-conversion [99]
> 	 o Makefile.m32: rename -winssl option to -schannel and tidy up [33]
> 	 o mbedTLS: add support for CURLOPT_CAINFO_BLOB [44]
> 	 o mbedtls: fix CURLOPT_SSLCERT_BLOB [72]
> 	 o mbedtls: fix private member designations for v3.1.0 [93]
> 	 o misc: remove unused doh flags when CURL_DISABLE_DOH is defined [71]
> 	 o misc: s/e-mail/email [74]
> 	 o multi: cleanup the socket hash when destroying it [55]
> 	 o multi: handle errors returned from socket/timer callbacks [52]
> 	 o multi: shut down CONNECT in Curl_detach_connnection [2]
> 	 o netrc.d: edit the .netrc example to look nicer [24]
> 	 o ngtcp2: verify the server cert on connect (quictls) [102]
> 	 o ngtcp2: verify the server certificate for the gnutls case [101]
> 	 o nss:set_cipher don't clobber the cipher list [38]
> 	 o openldap: implement STARTTLS [56]
> 	 o openldap: process search query response messages one by one [50]
> 	 o openldap: several minor improvements [69]
> 	 o openldap: simplify ldif generation code [77]
> 	 o openssl: check the return value of BIO_new() [43]
> 	 o openssl: define HAVE_OPENSSL_VERSION for OpenSSL 1.1.0+
> 	 o openssl: remove `RSA_METHOD_FLAG_NO_CHECK` handling if unavailable
> 	 o openssl: remove usage of deprecated `SSL_get_peer_certificate`
> 	 o openssl: use non-deprecated API to read key parameters
> 	 o page-footer: add a mention of how to report bugs to the man page
> 	 o page-footer: document more environment variables [23]
> 	 o request.d: refer to 'method' rather than 'command' [59]
> 	 o retry-all-errors.d: make the example complete
> 	 o runtests: make the SSH library a testable feature
> 	 o rustls: read of zero bytes might be okay [9]
> 	 o rustls: remove comment about checking handshaking [15]
> 	 o rustls: remove incorrect EOF check [10]
> 	 o sha256/md5: return errors when init fails [79]
> 	 o socks5: use appropriate ATYP for numerical IP address host names [91]
> 	 o test1156: enable for hyper [65]
> 	 o test1156: fixup the stdout check for Windows [60]
> 	 o test1525: tweaked for hyper [64]
> 	 o test1526: enable for hyper [63]
> 	 o test1527: enable for hyper [62]
> 	 o test1528: enable for hyper [61]
> 	 o test1554: adjust for hyper [49]
> 	 o test1556: adjust for hyper [48]
> 	 o test302[12]: run only with the libssh2 backend [8]
> 	 o test661: enable for hyper [66]
> 	 o tests/CI.md: add more information on CI environments [39]
> 	 o tests/data/test302[12]: fix MSYS2 path conversion of hostpubsha256 [76]
> 	 o tftp: mark protocol as not possible to do over CONNECT [25]
> 	 o tool_findfile: updated search for a file in the homedir [46]
> 	 o tool_operate: only set SSH related libcurl options for SSH URLs [11]
> 	 o tool_operate: warn if too many output arguments were found [87]
> 	 o url.c: fix the SIGPIPE comment for Curl_close [4]
> 	 o url: check ssl_config when re-use proxy connection [81]
> 	 o url: reduce ssl backend count for CURL_DISABLE_PROXY builds [96]
> 	 o urlapi: accept port number zero [34]
> 	 o urlapi: if possible, shorten given numerical IPv6 addresses [95]
> 	 o urlapi: provide more detailed return codes [36]
> 	 o urlapi: reject short file URLs [41]
> 	 o version_win32: Check build number and platform id
> 	 o vtls/rustls: adapt to the updated rustls_version proto [19]
> 	 o writeout: fix %{http_version} for HTTP/3 [7]
> 	 o x509asn1: return early on errors [67]
> 	 o zuul.d: update rustls-ffi to version 0.8.2 [5]
> 	 o zuul: fix quiche build pointing to wrong Cargo [104]
>     This release includes the following known bugs:
> 	 o see docs/KNOWN_BUGS (https://curl.se/docs/knownbugs.html)
> 
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
>  config/rootfiles/common/curl | 6 ++++++
>  lfs/curl                     | 4 ++--
>  2 files changed, 8 insertions(+), 2 deletions(-)
> 
> diff --git a/config/rootfiles/common/curl b/config/rootfiles/common/curl
> index 75015b6fa..da18e3f29 100644
> --- a/config/rootfiles/common/curl
> +++ b/config/rootfiles/common/curl
> @@ -231,6 +231,7 @@ usr/lib/libcurl.so.4.7.0
>  #usr/share/man/man3/CURLOPT_MAX_RECV_SPEED_LARGE.3
>  #usr/share/man/man3/CURLOPT_MAX_SEND_SPEED_LARGE.3
>  #usr/share/man/man3/CURLOPT_MIMEPOST.3
> +#usr/share/man/man3/CURLOPT_MIME_OPTIONS.3
>  #usr/share/man/man3/CURLOPT_NETRC.3
>  #usr/share/man/man3/CURLOPT_NETRC_FILE.3
>  #usr/share/man/man3/CURLOPT_NEW_DIRECTORY_PERMS.3
> @@ -397,6 +398,11 @@ usr/lib/libcurl.so.4.7.0
>  #usr/share/man/man3/CURLOPT_XFERINFODATA.3
>  #usr/share/man/man3/CURLOPT_XFERINFOFUNCTION.3
>  #usr/share/man/man3/CURLOPT_XOAUTH2_BEARER.3
> +#usr/share/man/man3/CURLSHOPT_LOCKFUNC.3
> +#usr/share/man/man3/CURLSHOPT_SHARE.3
> +#usr/share/man/man3/CURLSHOPT_UNLOCKFUNC.3
> +#usr/share/man/man3/CURLSHOPT_UNSHARE.3
> +#usr/share/man/man3/CURLSHOPT_USERDATA.3
>  #usr/share/man/man3/curl_easy_cleanup.3
>  #usr/share/man/man3/curl_easy_duphandle.3
>  #usr/share/man/man3/curl_easy_escape.3
> diff --git a/lfs/curl b/lfs/curl
> index abdd115ab..8e3cedf46 100644
> --- a/lfs/curl
> +++ b/lfs/curl
> @@ -24,7 +24,7 @@
>  
>  include Config
>  
> -VER        = 7.80.0
> +VER        = 7.81.0
>  
>  THISAPP    = curl-$(VER)
>  DL_FILE    = $(THISAPP).tar.xz
> @@ -40,7 +40,7 @@ objects = $(DL_FILE)
>  
>  $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>  
> -$(DL_FILE)_MD5 = cf9f8553762150ef0ebcd5ee412737f5
> +$(DL_FILE)_MD5 = 41954fa09f879fccb57d88be23fe8606
>  
>  install : $(TARGET)
>
  

Patch

diff --git a/config/rootfiles/common/curl b/config/rootfiles/common/curl
index 75015b6fa..da18e3f29 100644
--- a/config/rootfiles/common/curl
+++ b/config/rootfiles/common/curl
@@ -231,6 +231,7 @@  usr/lib/libcurl.so.4.7.0
 #usr/share/man/man3/CURLOPT_MAX_RECV_SPEED_LARGE.3
 #usr/share/man/man3/CURLOPT_MAX_SEND_SPEED_LARGE.3
 #usr/share/man/man3/CURLOPT_MIMEPOST.3
+#usr/share/man/man3/CURLOPT_MIME_OPTIONS.3
 #usr/share/man/man3/CURLOPT_NETRC.3
 #usr/share/man/man3/CURLOPT_NETRC_FILE.3
 #usr/share/man/man3/CURLOPT_NEW_DIRECTORY_PERMS.3
@@ -397,6 +398,11 @@  usr/lib/libcurl.so.4.7.0
 #usr/share/man/man3/CURLOPT_XFERINFODATA.3
 #usr/share/man/man3/CURLOPT_XFERINFOFUNCTION.3
 #usr/share/man/man3/CURLOPT_XOAUTH2_BEARER.3
+#usr/share/man/man3/CURLSHOPT_LOCKFUNC.3
+#usr/share/man/man3/CURLSHOPT_SHARE.3
+#usr/share/man/man3/CURLSHOPT_UNLOCKFUNC.3
+#usr/share/man/man3/CURLSHOPT_UNSHARE.3
+#usr/share/man/man3/CURLSHOPT_USERDATA.3
 #usr/share/man/man3/curl_easy_cleanup.3
 #usr/share/man/man3/curl_easy_duphandle.3
 #usr/share/man/man3/curl_easy_escape.3
diff --git a/lfs/curl b/lfs/curl
index abdd115ab..8e3cedf46 100644
--- a/lfs/curl
+++ b/lfs/curl
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 7.80.0
+VER        = 7.81.0
 
 THISAPP    = curl-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -40,7 +40,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = cf9f8553762150ef0ebcd5ee412737f5
+$(DL_FILE)_MD5 = 41954fa09f879fccb57d88be23fe8606
 
 install : $(TARGET)