Commit Graph

240 Commits

Author SHA256 Message Date
abfeb2c0ec Accepting request 1031305 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 7.86.0:
  * Security fixes:
    - POST following PUT confusion [bsc#1204383, CVE-2022-32221]
    - .netrc parser out-of-bounds access [bsc#1204384, CVE-2022-35260]
    - HTTP proxy double-free [bsc#1204385, CVE-2022-42915]
    - HSTS bypass via IDN [bsc#1204386, CVE-2022-42916]
  * Changes:
    - NPN: remove support for and use of
    - Websockets: initial support
  * Bugfixes:
    - altsvc: reject bad port numbers
    - autotools: reduce brute-force when detecting recv/send arg list
    - aws_sigv4: fix header computation
    - cli tool: do not use disabled protocols
    - connect: change verbose IPv6 address:port to [address]:port
    - connect: fix builds without AF_INET6
    - connect: fix Curl_updateconninfo for TRNSPRT_UNIX
    - connect: fix the wrong error message on connect failures
    - content_encoding: use writer struct subclasses for different encodings
    - cookie: reject cookie names or content with TAB characters
    - curl/add_file_name_to_url: use the libcurl URL parser
    - curl/get_url_file_name: use libcurl URL parser
    - curl: warn for --ssl use, considered insecure
    - docs/libcurl/symbols-in-versions: add several missing symbols
    - ftp: ignore a 550 response to MDTM
    - functypes: provide the recv and send arg and return types
    - getparameter: return PARAM_MANUAL_REQUESTED for -M even when disabled
    - header: define public API functions as extern c
    - headers: reset the requests counter at transfer start
    - hostip: guard PF_INET6 use

OBS-URL: https://build.opensuse.org/request/show/1031305
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=321
2022-10-26 09:49:48 +00:00
881171ebca Accepting request 1008961 from home:vulyanov:branches:Virtualization
- Update connection info when using UNIX socket as endpoint
  connect-fix-Curl_updateconninfo-for-TRNSPRT_UNIX.patch

OBS-URL: https://build.opensuse.org/request/show/1008961
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=319
2022-10-10 08:08:34 +00:00
c9f82120ba Accepting request 1000420 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 7.85.0:
  * Security fixes: [bsc#1202593, CVE-2022-35252]
    - control code in cookie denial of service
  * Changes:
    - quic: add support via wolfSSL
    - schannel: Add TLS 1.3 support
    - setopt: add CURLOPT_PROTOCOLS_STR and CURLOPT_REDIR_PROTOCOLS_STR
  * Bugfixes:
    - asyn-thread: fix socket leak on OOM
    - asyn-thread: make getaddrinfo_complete return CURLcode
    - base64: base64url encoding has no padding
    - configure: fix broken m4 syntax in TLS options
    - configure: if asked to use TLS, fail if no TLS lib was detected
    - connect: add quic connection information
    - connect: set socktype/protocol correctly
    - cookie: reject cookies with "control bytes"
    - cookie: treat a blank domain in Set-Cookie: as non-existing
    - curl: output warning when a cookie is dropped due to size
    - Curl_close: call Curl_resolver_cancel to avoid memory-leak
    - digest: fix memory leak, fix not quoted 'opaque'
    - digest: fix missing increment of 'nc' value for auth-int
    - digest: pass over leading spaces in qop values
    - digest: reject broken header with session protocol but without qop
    - doh: use https protocol by default
    - easy_lock.h: include sched.h if available to fix build
    - easy_lock.h: use __asm__ instead of asm to fix build
    - easy_lock: switch to using atomic_int instead of bool
    - ftp: use a correct expire ID for timer expiry
    - h2h3: fix overriding the 'TE: Trailers' header
    - hostip: resolve *.localhost to 127.0.0.1/::1

OBS-URL: https://build.opensuse.org/request/show/1000420
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=317
2022-08-31 11:55:07 +00:00
2485d02a96 Accepting request 990903 from home:dirkmueller:Factory
- add tests-for-32bit.patch to fix testsuite on 32bit platforms

OBS-URL: https://build.opensuse.org/request/show/990903
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=315
2022-07-24 19:39:09 +00:00
David Anes
c3baa6d82e Accepting request 985355 from home:david.anes:branches:devel:libraries:c_c++
- Update to 7.84.0:
  * Security fixes:
    - (bsc#1200737, CVE-2022-32208): FTP-KRB bad message verification
    - (bsc#1200736, CVE-2022-32207): Unpreserved file permissions
    - (bsc#1200735, CVE-2022-32206): HTTP compression denial of service
    - (bsc#1200734, CVE-2022-32205): Set-Cookie denial of service
  * Changes:
    - curl: add --rate to set max request rate per time unit
    - curl: deprecate --random-file and --egd-file
    - curl_version_info: add CURL_VERSION_THREADSAFE
    - CURLINFO_CAPATH/CAINFO: get the default CA paths from libcurl
    - lib: make curl_global_init() threadsafe when possible
    - libssh2: add CURLOPT_SSH_HOSTKEYFUNCTION
    - opts: deprecate RANDOM_FILE and EGDSOCKET
    - socks: support unix sockets for socks proxy 
  * Bugfixes:
    - aws-sigv4: fix potentional NULL pointer arithmetic
    - bindlocal: don't use a random port if port number would wrap
    - c-hyper: mark status line as status for Curl_client_write()
    - ci: avoid `cmake -Hpath`
    - CI: bump FreeBSD 13.0 to 13.1
    - ci: update github actions
    - cmake: add libpsl support
    - cmake: do not add libcurl.rc to the static libcurl library
    - cmake: enable curl.rc for all Windows targets
    - cmake: fix detecting libidn2
    - cmake: support adding a suffix to the OS value
    - configure: skip libidn2 detection when winidn is used
    - configure: use the SED value to invoke sed
    - configure: warn about rustls being experimental

OBS-URL: https://build.opensuse.org/request/show/985355
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=314
2022-06-27 15:29:40 +00:00
David Anes
d14347c3d1 Accepting request 976221 from home:david.anes:branches:devel:libraries:c_c++
- Update to 7.83.1:
  * Security fixes:
    - (bsc#1199225, CVE-2022-30115) HSTS bypass via trailing dot 
    - (bsc#1199224, CVE-2022-27782) TLS and SSH connection too eager reuse
    - (bsc#1199223, CVE-2022-27781) CERTINFO never-ending busy-loop
    - (bsc#1199222, CVE-2022-27780) percent-encoded path separator in URL host
    - (bsc#1199221, CVE-2022-27779) cookie for trailing dot TLD
    - (bsc#1199220, CVE-2022-27778) removes wrong file on error
  * Bugfixes:
    - altsvc: fix host name matching for trailing dots
    - cirrus: Update to FreeBSD 12.3
    - cirrus: Use pip for Python packages on FreeBSD
    - conn: fix typo 'connnection' -> 'connection' in two function names
    - cookies: make bad_domain() not consider a trailing dot fine
    - curl: free resource in error path
    - curl: guard against size_t wraparound in no-clobber code
    - CURLOPT_DOH_URL.3: mention the known bug
    - CURLOPT_HSTS*FUNCTION.3: document the involved structs as well
    - CURLOPT_SSH_AUTH_TYPES.3: fix the default
    - data/test376: set a proper name
    - GHA/mbedtls: enabled nghttp2 in the build
    - gha: build msh3
    - gskit: fixed bogus setsockopt calls
    - gskit: remove unused function set_callback
    - hsts: ignore trailing dots when comparing hosts names
    - HTTP-COOKIES: add missing CURLOPT_COOKIESESSION
    - http: move Curl_allow_auth_to_host()
    - http_proxy/hyper: handle closed connections
    - hyper: fix test 357
    - Makefile: fix "make ca-firefox"

OBS-URL: https://build.opensuse.org/request/show/976221
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=312
2022-05-11 08:03:48 +00:00
73128f1a05 Accepting request 973058 from home:david.anes:branches:devel:libraries:c_c++
- Patches rework:
  * Refreshed all patches as -p1.
  * Use autopatch macro.
  * Renamed: 
    - dont-mess-with-rpmoptflags.diff -> dont-mess-with-rpmoptflags.patch
  * Removed (already upstream):
    - curl-fix-verifyhost.patch
- Update to 7.83.0:
  * Security fixes:
    - (bsc#1198766, CVE-2022-27776) Auth/cookie leak on redirect
    - (bsc#1198723, CVE-2022-27775) Bad local IPv6 connection reuse
    - (bsc#1198608, CVE-2022-27774) Credential leak on redirect
    - (bsc#1198614, CVE-2022-22576) OAUTH2 bearer bypass in connection re-use
  * Changes:
    - curl: add %header{name} experimental support in -w handling
    - curl: add %{header_json} experimental support in -w handling
    - curl: add --no-clobber
    - curl: add --remove-on-error
    - header api: add curl_easy_header and curl_easy_nextheader
    - msh3: add support for QUIC and HTTP/3 using msh3 
  * Bugfixes:
    - appveyor: add Cygwin build
    - appveyor: only add MSYS2 to PATH where required
    - BearSSL: add CURLOPT_SSL_CIPHER_LIST support
    - BearSSL: add CURLOPT_SSL_CTX_FUNCTION support
    - BINDINGS.md: add Hollywood binding
    - CI: Do not use buildconf. Instead, just use: autoreconf -fi
    - CI: install Python package impacket to run SMB test 1451
    - configure.ac: move -pthread CFLAGS setting back where it used to be
    - configure: bump the copyright year range int the generated output

OBS-URL: https://build.opensuse.org/request/show/973058
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=310
2022-04-27 09:43:43 +00:00
f208095dfb Accepting request 961109 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Fix: openssl: fix CN check error code
  * Add curl-fix-verifyhost.patch

OBS-URL: https://build.opensuse.org/request/show/961109
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=308
2022-03-11 17:48:51 +00:00
fe8fb266fc Accepting request 960571 from home:jengelh:branches:devel:libraries:c_c++
Curate changelog.
Highlight what's immediately user-visible. Trim e.g.
 - everything related to build procedure, does not affect the user
 - everything non-Linux
 - everything non-openssl

OBS-URL: https://build.opensuse.org/request/show/960571
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=307
2022-03-11 16:35:24 +00:00
5bdc7bb95b Accepting request 959799 from home:polslinux:branches:devel:libraries:c_c++
- Update to 7.82.0:
  * curl: add --json
  * mesalink: remove support 
  * bearssl: fix connect error on expired cert and no verify
  * bearssl: fix EXC_BAD_ACCESS on incomplete CA cert
  * bearssl: fix session resumption (session id)
  * build: enable -Warith-conversion
  * build: fix -Wenum-conversion handling
  * build: fix ngtcp2 crypto library detection
  * checkprefix: remove strlen calls
  * checksrc: fix typo in comment
  * cmdline-opts/gen.pl: fix option matching to improve references
  * config.d: Clarify _curlrc filename is still valid on Windows
  * curl tool: erase some more sensitive command line arguments
  * curl-functions.m4: fix LIBRARY_PATH adjustment to avoid eval
  * curl-functions.m4: revert DYLD_LIBRARY_PATH tricks in CURL_RUN_IFELSE
  * curl-openssl: fix SRP check for OpenSSL 3.0
  * curl-openssl: remove the OpenSSL headers and library versions check
  * curl.h: fix typo
  * curl: remove "separators" (when using globbed URLs)
  * curl_getdate.3: remove pointless .PP line
  * curl_multi_socket.3: remove callback and typical usage descriptions
  * curl_url_set.3: mention when CURLU_ALLOW_SPACE was added
  * CURLMOPT_TIMERFUNCTION/DATA.3: fix the examples
  * CURLOPT_PROGRESSFUNCTION.3: fix example struct assignment
  * CURLOPT_RESOLVE.3: change example port to 443
  * CURLOPT_XFERINFOFUNCTION.3: fix example struct assignment
  * CURLOPT_XFERINFOFUNCTION.3: fix typo in example
  * CURLSHOPT_LOCKFUNC.3: fix typo "relased" -> "released"
  * des: fix compile break for OpenSSL without DES

OBS-URL: https://build.opensuse.org/request/show/959799
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=306
2022-03-08 13:14:24 +00:00
5914d9e419 Accepting request 945157 from home:dirkmueller:Factory
- update to 7.81.0:
  * mime: use percent-escaping for multipart form field and file names
  * asyn-ares: ares_getaddrinfo needs no happy eyeballs timer
  * azure: make the "w/o HTTP/SMTP/IMAP" build disable SSL proper
  * BINDINGS: add cURL client for PostgreSQL
  * BINDINGS: add one from Everything curl and update a link
  * checksrc: detect more kinds of NULL comparisons we avoid
  * CI: build examples for additional code verification
  * CI: bump job to use mbedtls 3.1.0
  * cmake: don't set _USRDLL on a static Windows build
  * cmake: prevent dev warning due to mismatched arg
  * cmake: private identifiers use CURL_ instead of CMAKE_ prefix
  * config.d: update documentation to match the path search
  * configure: add -lm to configure for rustls build.
  * configure: better diagnostics if hyper is built wrong
  * configure: don't enable TLS when --without-* flags are used
  * configure: fix runtime-lib detection on macOS
  * curl.1: require "see also" for every documented option
  * curl: improve error message for --head with -J
  * curl_easy_cleanup.3: remove from multi handle first
  * curl_easy_escape.3: call curl_easy_cleanup in example
  * curl_easy_unescape.3: call curl_easy_cleanup in example
  * curl_multi_init.3: fix EXAMPLE formatting
  * curl_multi_perform/socket_action.3: clarify what errors mean
  * curl_share_setopt.3: split out options into their own manpages
  * CURLOPT_STDERR.3: does not work with libcurl as a win32 DLL
  * digest: compute user:realm:pass digest w/o userhash
  * docs/checksrc: Add documentation for STRERROR
  * docs/cmdline-opts: do not say "protocols: all"
  * docs/examples: workaround broken -Wno-pedantic-ms-format

OBS-URL: https://build.opensuse.org/request/show/945157
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=305
2022-01-10 09:11:10 +00:00
e97fe00771 Accepting request 931828 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 7.80.0:
  * Changes:
    - CURLOPT_MAXLIFETIME_CONN: maximum allowed lifetime for conn reuse
    - CURLOPT_PREREQFUNCTION: add new callback
    - libssh2: add SHA256 fingerprint support
    - urlapi: add curl_url_strerror()
  * Bugfixes:
    - aws-sigv4: make signature work when post data is binary
    - c-hyper: don't abort CONNECT responses early when auth-in-progress
    - c-hyper: make CURLOPT_SUPPRESS_CONNECT_HEADERS work
    - cmake: add CURL_ENABLE_SSL option
    - cmake: with OpenSSL, define OPENSSL_SUPPRESS_DEPRECATED
    - configure.ac: replace krb5-config with pkg-config
    - configure: when hyper is selected, deselect nghttp2
    - curl-confopts.m4: remove --enable/disable-hidden-symbols
    - curl-openssl.m4: modify library order for openssl linking
    - curl_ntlm_core: use OpenSSL only if DES is available
    - Curl_updateconninfo: store addresses for QUIC connections too
    - ftp: make the MKD retry to retry once per directory
    - http: fix Basic auth with empty name field in URL
    - http: reject HTTP response codes < 100
    - http: remove assert that breaks hyper
    - http: set content length earlier
    - imap: display quota information
    - libssh2: Get the version at runtime if possible
    - md5: fix compilation with OpenSSL 3.0 API
    - ngtcp2: advertise h3 as well as h3-29
    - ngtcp2: compile with the latest nghttp3
    - ngtcp2: use latest QUIC TLS RFC9001
    - NTLM: use DES_set_key_unchecked with OpenSSL

OBS-URL: https://build.opensuse.org/request/show/931828
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=304
2021-11-19 08:25:50 +00:00
a05c4a5cbc Accepting request 921012 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 7.79.1:
  * Bugfixes:
    - Curl_http2_setup: don't change connection data on repeat invokes
    - curl_multi_fdset: make FD_SET() not operate on sockets out of range
    - dist: provide lib/.checksrc in the tarball
    - FAQ: add GOPHERS + curl works on data, not files
    - hsts: CURLSTS_FAIL from hsts read callback should fail transfer
    - hsts: handle unlimited expiry
    - http: fix the broken >3 digit response code detection
    - strerror: use sys_errlist instead of strerror on Windows
    - test1184: disable: https://github.com/curl/curl/issues/7725
    - tests/sshserver.pl: make it work with openssh-8.7p1

OBS-URL: https://build.opensuse.org/request/show/921012
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=303
2021-09-24 13:46:57 +00:00
da230172cc Accepting request 919261 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Temporarily disable flaky test 1184
  * See https://github.com/curl/curl/issues/7725

OBS-URL: https://build.opensuse.org/request/show/919261
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=302
2021-09-15 15:41:06 +00:00
1afbf91ed8 Accepting request 919068 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 7.79.0: [bsc#1190213, CVE-2021-22945]
  [bsc#1190373, CVE-2021-22946] [bsc#1190374, CVE-2021-22947]
  * Changes:
    - bearssl: support CURLOPT_CAINFO_BLOB
    - http: consider cookies over localhost to be secure
    - secure transport: support CURLINFO_CERTINFO
  * Bugfixes:
    - CVE-2021-22945: clear the leftovers pointer when sending succeeds
    - CVE-2021-22946: do not ignore --ssl-reqd
    - CVE-2021-22947: reject STARTTLS server response pipelining
    - auth: do not append zero-terminator to authorisation id in kerberos
    - auth: properly handle byte order in kerberos security message
    - auth: use sasl authzid option in kerberos
    - auth: we do not support a security layer after kerberos authentication
    - c-hyper: deal with Expect: 100-continue combined with POSTFIELDS
    - c-hyper: handle HTTP/1.1 => HTTP/1.0 downgrade on reused connection
    - c-hyper: initial step for 100-continue support
    - c-hyper: initial support for "dumping" 1xx HTTP responses
    - curl-openssl.m4: show correct output for OpenSSL v3
    - docs/MQTT: update state of username/password support
    - docs: the security list is reached at security at curl.se now
    - getparameter: fix the --local-port number parser
    - hostip: Make Curl_ipv6works function independent of getaddrinfo
    - http_proxy: fix the User-Agent inclusion in CONNECT
    - http_proxy: fix user-agent and custom headers for CONNECT with hyper
    - http_proxy: only wait for writable socket while sending request
    - mailing lists: move from cool.haxx.se to lists.haxx.se
    - mbedtls: avoid using a large buffer on the stack
    - mbedTLS: initial 3.0.0 support
    - ngtcp2: remove the acked_crypto_offset struct field init

OBS-URL: https://build.opensuse.org/request/show/919068
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=301
2021-09-15 08:46:22 +00:00
b3548a3228 Accepting request 907429 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 7.78.0:
  [bsc#1188217, CVE-2021-22922][bsc#1188218, CVE-2021-22923]
  [bsc#1188219, CVE-2021-22924][bsc#1188220, CVE-2021-22925]
  * Changes:
    - curl_url_set: reject spaces in URLs w/o CURLU_ALLOW_SPACE
    - CURLE_SETOPT_OPTION_SYNTAX: new error name for wrong setopt syntax
    - hostip: make 'localhost' return fixed values
    - mbedtls: add support for cert and key blob options
    - metalink: remove all support for it
    - mqtt: add support for username and password
  * Bugfixes:
    - ares: always store IPv6 addresses first
    - c-hyper: abort CONNECT response reading early on non 2xx responses
    - c-hyper: add support for transfer-encoding in the request
    - c-hyper: bail on too long response headers
    - c-hyper: clear NTLM auth buffer when request is issued
    - c-hyper: fix NTLM on closed connection tested with test159
    - conncache: lowercase the hash key for better match
    - curl_multibyte: Remove local encoding fallbacks
    - Curl_ntlm_core_mk_nt_hash: fix OOM in error path
    - Curl_ssl_getsessionid: fail if no session cache exists
    - easy: during upkeep, attach Curl_easy to connections in the cache
    - gnutls: set the preferred TLS versions in correct order
    - hsts: ignore numberical IP address hosts
    - HSTS: not experimental anymore
    - http2: init recvbuf struct for pushed streams
    - http: fix crash in rate-limited upload
    - http: make the haproxy support work with unix domain sockets
    - http_proxy: deal with non-200 CONNECT response with Hyper
    - lib: don't compare fd to FD_SETSIZE when using poll

OBS-URL: https://build.opensuse.org/request/show/907429
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=300
2021-07-21 07:38:07 +00:00
1ac72d6f7d Accepting request 895500 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 7.77.0: [bsc#1186114, CVE-2021-22898]
  [bsc#1186115, bsc#1185579, CVE-2021-22901]
  * Security fixes:
    - CVE-2021-22297: schannel cipher selection surprise
    - CVE-2021-22298: TELNET stack contents disclosure
    - CVE-2021-22901: TLS session caching disaster
  * Changes:
    - configure: make the TLS library choice(s) explicit
    - curl: ignore options asking for SSLv2 or SSLv3
    - hsts: enable by default
    - SSL: support in-memory CA certs for some backends
    - vtls: refuse setting any SSL version 
  * Bugfixes:
    - configure: provide --with-openssl, deprecate --with-ssl
    - cookie: CURLOPT_COOKIEFILE set to NULL switches off cookies
    - curl: include libmetalink version in --version output
    - data_pending: check only SECONDARY socket for FTP(S) transfers
    - gnutls: don't allow TLS 1.3 for versions that don't support it
    - gnutls: make setting only the MAX TLS allowed version work
    - http2: fix resource leaks in set_transfer_url() and push_promise()
    - http: limit the initial send amount to used upload buffer size
    - rustls: only return CURLE_AGAIN when TLS session is fully drained
    - rustls: use ALPN
    - schannel: Disable auto credentials; add an option to enable it
    - schannel: Support strong crypto option
    - sectransp: allow cipher name to be specified
    - sockfilt: avoid getting stuck waiting for writable socket

OBS-URL: https://build.opensuse.org/request/show/895500
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=298
2021-05-28 08:58:36 +00:00
c7f22ba641 Accepting request 888337 from home:dirkmueller:Factory
- update to 7.76.1:
  - ngtcp2: Use ALPN h3-29 for now
  - TODO: remove 18.22 --fail-with-body

OBS-URL: https://build.opensuse.org/request/show/888337
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=296
2021-04-26 08:24:36 +00:00
2d844b09a9 Accepting request 882316 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 7.76.0
  * Security fixes:
    - [bsc#1183933, CVE-2021-22876]: strip credentials from the
	    auto-referer header field
    - [bsc#1183934, CVE-2021-22890]: add 'isproxy' argument to
	    Curl_ssl_get/addsessionid()
  * Changes:
    - cookies: Support multiple -b parameters
    - curl: add --fail-with-body
    - doh: add options to disable ssl verification
    - http: add support to read and store the referrer header
    - sasl: support SCRAM-SHA-1 and SCRAM-SHA-256 via libgsasl
    - vtls: initial implementation of rustls backend
  * Bugfixes:
    - CVE-2021-22876: strip credentials from the auto-referer header field
    - CVE-2021-22890: add 'isproxy' argument to Curl_ssl_get/addsessionid()
    - c-hyper: support automatic content-encoding
    - configure: only add OpenSSL paths if they are defined
    - configure: provide Largefile feature for curl-config
    - curl: set CURLOPT_NEW_FILE_PERMS if requested
    - doh: Fix sharing user's resolve list with DOH handles
    - doh: Inherit CURLOPT_STDERR from user's easy handle
    - dynbuf: bump the max HTTP request to 1MB
    - ftp: add 'list_only' to the transfer state struct
    - ftp: add 'prefer_ascii' to the transfer state struct
    - ftp: allow SIZE to fail when doing (resumed) upload
    - ftp: avoid SIZE when asking for a TYPE A file
    - ftp: fix memory leak in ftp_done
    - ftp: never set data->set.ftp_append outside setopt
    - gnutls: assume nettle crypto support

OBS-URL: https://build.opensuse.org/request/show/882316
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=294
2021-04-03 13:31:06 +00:00
98afeb4ad0 Accepting request 876802 from home:elvigia:branches:devel:libraries:c_c++
- Harden build, enable full RELRO
- Never allow undefined symbols anywhere.

OBS-URL: https://build.opensuse.org/request/show/876802
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=292
2021-03-05 07:59:37 +00:00
5e99168233 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
2021-02-04 14:43:03 +00:00
58aa3f944e Accepting request 856926 from home:elvigia:branches:devel:libraries:c_c++
- Enable zstd and brotli support

OBS-URL: https://build.opensuse.org/request/show/856926
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=289
2020-12-21 18:23:18 +00:00
4faea07c93 Accepting request 856452 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 7.74.0 
  * Changes:
    hsts: add experimental support for Strict-Transport-Security
  * Bugfixes:
    - Inferior OCSP verification  [bsc#1179593, CVE-2020-8286]
    - FTP wildcard stack overflow [bsc#1179399, CVE-2020-8285]
    - trusting FTP PASV responses [bsc#1179398, CVE-2020-8284]
    - Revert "multi: implement wait using winsock events"
    - openssl: free mem_buf in error path
    - ntlm: avoid malloc(0) on zero length user and domain
    - ngtcp2: use the minimal version of QUIC supported by ngtcp2
    - ngtcp2: advertise h3 ALPN unconditionally
    - file: avoid duplicated code sequence
    - openssl: guard against OOM on context creation
    - docs: document the 8MB input string limit for curl_easy_escape
      and curl_easy_setopt()
    - hsts: add read/write callbacks
    - hsts: add support for Strict-Transport-Security
    - alt-svc: enable by default
    - checksrc: warn on empty line before open brace
    - connect: repair build without ipv6 availability
    - curl.se: new home
    - ftp: retry getpeername for FTP with TCP_FASTOPEN
    - gnutls: fix memory leaks (certfields memory wasn't released)
    - http: pass correct header size to debug callback for chunked post
    - libssh2: fix transport over HTTPS proxy
    - openssl: guard against OOM on context creation
    - openssl: use OPENSSL_init_ssl() with >= 1.1.0
    - Revert "multi: implement wait using winsock events"
    - socks: check for DNS entries with the right port number

OBS-URL: https://build.opensuse.org/request/show/856452
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=288
2020-12-19 18:24:38 +00:00
2871dab525 Accepting request 841883 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 7.73.0
  * Changes:
    - curl: add --output-dir
    - curl: support XDG_CONFIG_HOME to find .curlrc
    - curl: update --help with categories
    - curl_easy_option_*: new API for meta-data about easy options
    - CURLE_PROXY: new error code
    - mqtt: enable by default
    - sftp: add new quote commands 'atime' and 'mtime'
    - ssh: add the option CURLKHSTAT_FINE_REPLACE
    - tls: add CURLOPT_SSL_EC_CURVES and --curves 
  * Bugfixes:
    - base64: also build for smtp, pop3 and imap
    - cleanups: avoid curl_ on local variables
    - configure: let --enable-debug set -Wenum-conversion with gcc >= 10
    - conn: check for connection being dead before reuse
    - curl: in retry output don't call all problems "transient"
    - curl: make checkpasswd, file2memory, file2string and
            glob_match_url use dynbuf
    - curl: retry delays in parallel mode no longer sleeps blocking
    - curl: use curlx_dynbuf for realloc when loading config files
    - curl:parallel_transfers: make sure retry readds the transfer
    - curl_get_line: build only if cookies or alt-svc are enabled
    - Curl_pgrsTime - return new time to avoid timeout integer overflow
    - Curl_send: return error when pre_receive_plain can't malloc
    - dynbuf: make sure Curl_dyn_tail() zero terminates
    - etag: save and use the full received contents
    - ftp: a 550 response to SIZE returns CURLE_REMOTE_FILE_NOT_FOUND
    - ftp: avoid risk of reading uninitialized integers
    - ftp: get rid of the PPSENDF macro

OBS-URL: https://build.opensuse.org/request/show/841883
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=286
2020-10-19 09:58:55 +00:00
2907952dc5 Accepting request 827742 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 7.72.0 [bsc#1175109, CVE-2020-8231]
  * Changes:
    - content_encoding: add zstd decoding support
    - CURL_PUSH_ERROROUT: allow the push callback to fail the parent stream
    - CURLINFO_EFFECTIVE_METHOD: added
  * Bugfixes:
    - CVE-2020-8231: libcurl: wrong connect-only connection
    - curl-config: ignore REQUIRE_LIB_DEPS in --libs output
    - curl: improve the existing file check with -J
    - curl_multi_setopt: fix compiler warning "result is always false"
    - curl_version_info.3: CURL_VERSION_KERBEROS4 is deprecated
    - docs: Add video link to docs/CONTRIBUTE.md
    - docs: clarify MAX_SEND/RECV_SPEED functionality
    - ftp: don't do ssl_shutdown instead of ssl_close
    - ftpserver: don't verify SMTP MAIL FROM names
    - getinfo: reset retry-after value in initinfo
    - gnutls: repair the build with 'CURL_DISABLE_PROXY'
    - gtls: survive not being able to get name/issuer
    - h2: repair trailer handling
    - http2: close the http2 connection when no more requests may be sent
    - http2: fix nghttp2_strerror -> nghttp2_http2_strerror in debug messages
    - libssh2: s/ssherr/sftperr/
    - mprintf: Fix dollar string handling
    - mprintf: Fix stack overflows
    - multi_remove_handle: close unused connect-only connections
    - ngtcp2: adapt to error code rename
    - ngtcp2: adjust to recent sockaddr updates
    - ngtcp2: update to modified qlog callback prototype
    - ntlm: free target_info before (re-)malloc
    - page-header: provide protocol details in the curl.1 man page

OBS-URL: https://build.opensuse.org/request/show/827742
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=284
2020-08-19 08:14:43 +00:00
b3d54ca4de Accepting request 818117 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 7.71.1
  * Bugfixes:
    - Curl_inet_ntop: always check the return code
    - CURLOPT_READFUNCTION.3: provide the upload data size up front
    - escape: make the URL decode able to reject only %00-bytes
    - escape: zero length input should return a zero length output
    - examples/multithread.c: call curl_global_cleanup()
    - http2: set the correct URL in pushed transfers
    - http: fix proxy auth with blank password
    - mbedtls: fix build with disabled proxy support
    - ngtcp2: sync with current master
    - Revert "multi: implement wait using winsock events"
    - sendf: improve the message on client write errors
    - terminology: call them null-terminated strings
    - tool_cb_hdr: Fix etag warning output and return code
    - url: allow user + password to contain "control codes" for HTTP(S)
    - vtls: compare cert blob when finding a connection to reuse

OBS-URL: https://build.opensuse.org/request/show/818117
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=282
2020-07-01 13:36:26 +00:00
1c8143ff31 Accepting request 816791 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 7.71.0 [bsc#1173026, CVE-2020-8169][bsc#1173027, CVE-2020-8177]
  * Changes:
    - CURLOPT_SSL_OPTIONS: optional use of Windows' CA store (with openssl)
    - setopt: add CURLOPT_PROXY_ISSUERCERT(_BLOB) for coherency
    - setopt: support certificate options in memory with struct curl_blob
    - tool: Add option --retry-all-errors to retry on any error 
  * Bugfixes:
    - *_sspi: fix bad uses of CURLE_NOT_BUILT_IN
    - altsvc: bump to h3-29
    - altsvc: fix 'dsthost' may be used uninitialized in this function
    - altsvc: fix parser for lines ending with CRLF
    - altsvc: remove the num field from the altsvc struct
    - asyn-*: remove support for never-used NULL entry pointers
    - azure: use matrix strategy to avoid configuration redundancy
    - build: disable more code/data when built without proxy support
    - buildconf: remove -print from the find command that removes files
    - checksrc: enhance the ASTERISKSPACE and update code accordingly
    - cirrus: disable SFTP and SCP tests
    - CMake: add ENABLE_ALT_SVC option
    - CMake: add HTTP/3 support (ngtcp2+nghttp3, quiche)
    - CMake: add libssh build support
    - configure: fix pthread check with static boringssl
    - configure: for wolfSSL, check for the DES func needed for NTLM
    - configure: only strip first -L from LDFLAGS
    - configure: repair the check if argv can be written to
    - configure: the wolfssh backend does not provide SCP
    - connect: improve happy eyeballs handling
    - connect: make happy eyeballs work for QUIC (again)
    - curl: remove -J "informational" written on stdout
    - Curl_addrinfo: use one malloc instead of three

OBS-URL: https://build.opensuse.org/request/show/816791
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=280
2020-06-24 08:59:17 +00:00
38ea0aae7e Accepting request 814140 from home:dimstar:Factory
- Change with-gssapi configure parameter: krb5 is changing location
  in the future: ask krb5-config about the correct prefix values.

OBS-URL: https://build.opensuse.org/request/show/814140
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=278
2020-06-15 14:56:44 +00:00
0ef4a47c35 Accepting request 798810 from home:polslinux:branches:devel:libraries:c_c++
- Update to 7.70.0
  * Changes:
    - curl: add --ssl-revoke-best-effort to allow a "best effort" revocation check
    - mqtt: add new experimental protocol
    - schannel: add "best effort" revocation check option: CURLSSLOPT_REVOKE_BEST_EFFORT
    - writeout: support to generate JSON output with '%{json}' 
  * Bugfixes:
    - gnutls: Don't skip really long certificate fields
    - gnutls: ensure TLS 1.3 when SRP isn't requested 
    - lib: never define CURL_CA_BUNDLE with a getenv
    - libcurl-multi.3: added missing full stop
    - libssh: avoid options override by configuration files
    - libssh: Use new ECDSA key types to check known hosts
    - tons of other fixes

OBS-URL: https://build.opensuse.org/request/show/798810
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=276
2020-04-29 09:36:19 +00:00
Tomáš Chvátal
551512e061 Accepting request 784472 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 7.69.1
  * Bugfixes:
    - ares: store dns parameters for duphandle
    - cirrus-ci: disable the FreeBSD 13 builds
    - curl_share_setopt.3: Note sharing cookies doesn't enable the engine
    - lib1564: reduce number of mid-wait wakeup calls
    - libssh: Fix matching user-specified MD5 hex key
    - MANUAL: update a dict-using command line
    - mime: do not perform more than one read in a row
    - mime: fix the binary encoder to handle large data properly
    - mime: latch last read callback status
    - multi: skip EINTR check on wakeup socket if it was closed
    - pause: bail out on bad input
    - pause: force a connection recheck after unpausing (take 2)
    - pause: return early for calls that don't change pause state
    - runtests.1: rephrase how to specify what tests to run
    - runtests: fix missing use of exe_ext helper function
    - seek: fix fall back for missing ftruncate on Windows
    - sftp: fix segfault regression introduced by #4747 in 7.69.0
    - sha256: Added SecureTransport implementation
    - sha256: Added WinCrypt implementation
    - socks4: fix host resolve regression
    - socks5: host name resolv regression fix
    - tests/server: fix missing use of exe_ext helper function
    - tests: fix static ip:port instead of dynamic values being used
    - tests: make sleeping portable by avoiding select
    - unit1612: fix the inclusion and compilation of the HMAC unit test
    - urldata: remove the 'stream_was_rewound' connectdata struct member
    - version: make curl_version* thread-safe without using global context

OBS-URL: https://build.opensuse.org/request/show/784472
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=274
2020-03-13 06:53:01 +00:00
Tomáš Chvátal
a22b8816d2 Accepting request 782948 from home:Andreas_Schwab:Factory
- ignore_runtests_failure.patch: remove, no longer needed

OBS-URL: https://build.opensuse.org/request/show/782948
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=272
2020-03-09 13:29:23 +00:00
Tomáš Chvátal
cd408e41f8 Accepting request 781412 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 7.69.0
  * Changes:
    - polarssl: removed
    - smtp: add CURLOPT_MAIL_RCPT_ALLLOWFAILS and --mail-rcpt-allowfails
    - wolfSSH: new SSH backend 
  * Bugfixes:
    - altsvc: improved header parser
    - altsvc: keep a copy of the file name to survive handle reset
    - altsvc: make saving the cache an atomic operation
    - altsvc: use h3-27
    - azure: disable brotli on the macos debug-builds
    - build: remove all HAVE_OPENSSL_ENGINE_H defines
    - cleanup: fix several comment typos
    - cleanup: fix typos and wording in docs and comments
    - cmake: add support for CMAKE_LTO option
    - cmake: clean up and improve build procedures
    - cmake: Show HTTPS-proxy in the features output
    - cmake: use check_symbol_exists also for inet_pton
    - configure.ac: fix comments about --with-quiche
    - configure: disable metalink if mbedTLS is specified
    - configure: disable metalink support for incompatible SSL/TLS
    - conn: do not reuse connection if SOCKS proxy credentials differ
    - conncache: removed unused Curl_conncache_bundle_size()
    - connect: remove some spurious infof() calls
    - connection reuse: respect the max_concurrent_streams limits
    - cookie: check __Secure- and __Host- case sensitively
    - cookies: make saving atomic with a rename
    - create-dirs.d: mention the mode
    - curl: avoid using strlen for testing if a string is empty
    - curl: error on --alt-svc use w/o support

OBS-URL: https://build.opensuse.org/request/show/781412
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=270
2020-03-04 10:49:53 +00:00
Tomáš Chvátal
78a9b1c333 Accepting request 775220 from home:dimstar:Factory
- Eliminate curl-mini: The reason for this to exist was that cmake
  pulled in curl into too many places, causing build cycles. A new
  cmake-mini was generated, eliminating that need.

    - openssl: CURLSSLOPT_NO_PARTIALCHAIN can disable partial cert chains

OBS-URL: https://build.opensuse.org/request/show/775220
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=268
2020-02-18 14:31:05 +00:00
Tomáš Chvátal
94ea573e6e Accepting request 761809 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 7.68.0
  * Changes:
    - TLS: add BearSSL vtls implementation
    - XFERINFOFUNCTION: support CURL_PROGRESSFUNC_CONTINUE
    - curl: add --etag-compare and --etag-save
    - curl: add --parallel-immediate
    - multi: add curl_multi_wakeup()
    - openssl: CURLSSLOPT_NO_PARTIALCHAIN can disable partial cert chains 
  * Bugfixes:
    - CVE-2019-15601: file: on Windows, refuse paths that start with \\
    - Azure Pipelines: add several builds
    - CMake: add support for building with the NSS vtls backend
    - CURL-DISABLE: initial docs for the CURL_DISABLE_* defines
    - CURLOPT_HEADERFUNCTION.3: Document that size is always 1
    - CURLOPT_QUOTE.3: fix typos
    - CURLOPT_READFUNCTION.3: fix the example
    - CURLOPT_URL.3: "curl supports SMB version 1 (only)"
    - CURLOPT_VERBOSE.3: see also ERRORBUFFER
    - HISTORY: added cmake, HTTP/3 and parallel downloads with curl
    - HISTORY: the SMB(S) support landed in 2014
    - INSTALL.md: provide Android build instructions
    - KNOWN_BUGS: Connection information when using TCP Fast Open
    - KNOWN_BUGS: LDAP on Windows doesn't work correctly
    - KNOWN_BUGS: TLS session cache doesn't work with TFO
    - OPENSOCKETFUNCTION.3: correct the purpose description
    - TrackMemory tests: always remove CR before LF
    - altsvc: bump to h3-24
    - altsvc: make the save function ignore NULL filenames
    - build: Disable Visual Studio warning "conditional expression is constant"
    - build: fix for CURL_DISABLE_DOH

OBS-URL: https://build.opensuse.org/request/show/761809
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=266
2020-01-08 11:36:55 +00:00
Tomáš Chvátal
1719ded507 Accepting request 748807 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Fix segfault in zypper ref: [bsc#1156481]
  * remove_handle: clear expire timers after multi_done()
  * Add patch curl-expire-clear.patch

- Fix segfault in zypper ref: [bsc#1156481]
  * remove_handle: clear expire timers after multi_done()
  * Add patch curl-expire-clear.patch

OBS-URL: https://build.opensuse.org/request/show/748807
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=264
2019-11-15 08:23:12 +00:00
Tomáš Chvátal
de6b040347 Accepting request 746069 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update spec file with spec-cleaner

- Update to 7.67.0
  * Changes:
    - curl: added --no-progress-meter
    - setopt: CURLMOPT_MAX_CONCURRENT_STREAMS is new
    - urlapi: CURLU_NO_AUTHORITY allows empty authority/host part 
  * Bugfixes:
    - BINDINGS: five new bindings addded
    - CURLOPT_TIMEOUT.3: Clarify transfer timeout time includes queue time
    - CURLOPT_TIMEOUT.3: remove the mention of "minutes"
    - ESNI: initial build/setup support
    - FTP: FTPFILE_NOCWD: avoid redundant CWDs
    - FTP: allow "rubbish" prepended to the SIZE response
    - FTP: remove trailing slash from path for LIST/MLSD
    - FTP: skip CWD to entry dir when target is absolute
    - FTP: url-decode path before evaluation
    - HTTP3.md: move -p for mkdir, remove -j for make
    - HTTP3: fix invalid use of sendto for connected UDP socket
    - HTTP3: fix prefix parameter for ngtcp2 build
    - HTTP3: show an --alt-svc using example too
    - INSTALL: add missing space for configure commands
    - INSTALL: add vcpkg installation instructions
    - altsvc: accept quoted ma and persist values
    - altsvc: both backends run h3-23 now
    - appveyor: Add MSVC ARM64 build
    - appveyor: Use two parallel compilation on appveyor with CMake
    - appveyor: add --disable-proxy autotools build
    - appveyor: publish artifacts on appveyor
    - appveyor: upgrade VS2017 to VS2019

OBS-URL: https://build.opensuse.org/request/show/746069
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=262
2019-11-06 18:43:40 +00:00
Tomáš Chvátal
d943312f64 Accepting request 730075 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 7.66.0 [bsc#1149496, CVE-2019-5482][bsc#1149495, CVE-2019-5481]
  * Changes:
    - CURLINFO_RETRY_AFTER: parse the Retry-After header value
    - HTTP3: initial (experimental still not working) support
    - curl: --sasl-authzid added to support CURLOPT_SASL_AUTHZID from the tool
    - curl: support parallel transfers with -Z
    - curl_multi_poll: a sister to curl_multi_wait() that waits more
    - sasl: Implement SASL authorisation identity via CURLOPT_SASL_AUTHZID 
  * Bugfixes:
    - CVE-2019-5481: FTP-KRB double-free
    - CVE-2019-5482: TFTP small blocksize heap buffer overflow
    - CMake: remove needless newlines at end of gss variables
    - CMake: use platform dependent name for dlopen() library
    - CURLINFO docs: mention that in redirects times are added
    - CURLOPT_ALTSVC.3: use a "" file name to not load from a file
    - CURLOPT_ALTSVC_CTRL.3: remove CURLALTSVC_ALTUSED
    - CURLOPT_HEADERFUNCTION.3: clarify
    - CURLOPT_HTTP_VERSION: seting this to 3 forces HTTP/3 use directly
    - CURLOPT_READFUNCTION.3: provide inline example
    - CURLOPT_SSL_VERIFYHOST: treat the value 1 as 2
    - Curl_addr2string: take an addrlen argument too
    - Curl_fillreadbuffer: avoid double-free trailer buf on error
    - HTTP: use chunked Transfer-Encoding for HTTP_POST if size unknown
    - alt-svc: add protocol version selection masking
    - alt-svc: fix removal of expired cache entry
    - alt-svc: make it use h3-22 with ngtcp2 as well
    - alt-svc: more liberal ALPN name parsing
    - alt-svc: send Alt-Used: in redirected requests
    - alt-svc: with quiche, use the quiche h3 alpn string
    - asyn-thread: create a socketpair to wait on

OBS-URL: https://build.opensuse.org/request/show/730075
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=260
2019-09-11 10:51:15 +00:00
4579b11e4a Accepting request 717097 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 7.65.3
  * progress: make the progress meter appear again 

- Update to 7.65.3
  * progress: make the progress meter appear again

OBS-URL: https://build.opensuse.org/request/show/717097
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=258
2019-07-19 14:23:45 +00:00
Tomáš Chvátal
ddfab0d7ec Accepting request 716040 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 7.65.2
  * Bugfixes:
    - CIPHERS.md: Explain Schannel error SEC_E_ALGORITHM_MISMATCH
    - CMake: Fix finding Brotli on case-sensitive file systems
    - CURLOPT_RANGE.3: Caution against using it for HTTP PUT
    - CURLOPT_SEEKDATA.3: fix variable name
    - bindlocal: detect and avoid IP version mismatches in bind()
    - build: fix Codacy warnings
    - c-ares: honor port numbers in CURLOPT_DNS_SERVERS
    - config-os400: add getpeername and getsockname defines
    - configure: --disable-progress-meter
    - configure: fix --disable-code-coverage
    - configure: more --disable switches to toggle off individual features
    - configure: remove CURL_DISABLE_TLS_SRP
    - conn_maxage: move the check to prune_dead_connections()
    - curl: skip CURLOPT_PROXY_CAPATH for disabled-proxy builds
    - docs: Explain behavior change in --tlsv1. options since 7.54
    - docs: Fix links to OpenSSL docs
    - docs: fix string suggesting HTTP/2 is not the default
    - headers: Remove no longer exported functions
    - http2: call done_sending on end of upload
    - http2: don't call stream-close on already closed streams
    - http2: remove CURL_DISABLE_TYPECHECK define
    - http: allow overriding timecond with custom header
    - http: clarify header buffer size calculation
    - krb5: fix compiler warning
    - lib: Use UTF-8 encoding in comments
    - libcurl: Restrict redirect schemes to HTTP, HTTPS, FTP and FTPS
    - multi: enable multiplexing by default (again)
    - multi: fix the transfer hashes in the socket hash entries

OBS-URL: https://build.opensuse.org/request/show/716040
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=257
2019-07-17 11:56:03 +00:00
Tomáš Chvátal
ffc5057b8e Accepting request 707886 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 7.65.1
  * Bugfixes:
    - CURLOPT_LOW_SPEED_* repaired
    - NTLM: reset proxy "multipass" state when CONNECT request is done
    - PolarSSL: deprecate support step 1. Removed from configure
    - cmake: check for if_nametoindex()
    - cmake: support CMAKE_OSX_ARCHITECTURES when detecting SIZEOF variables
    - conncache: Remove the DEBUGASSERT on length check
    - conncache: make "bundles" per host name when doing proxy tunnels
    - curl_share_setopt.3: improve wording
    - dump-header.d: spell out that no headers == empty file
    - example/http2-download: fix format specifier
    - examples: cleanups and compiler warning fixes
    - http2: Stop drain from being permanently set
    - http: don't parse body-related headers in bodyless responses
    - md4: build correctly with openssl without MD4
    - md4: include the mbedtls config.h to get the MD4 info
    - multi: track users of a socket better
    - nss: allow to specify TLS 1.3 ciphers if supported by NSS
    - parse_proxy: make sure portptr is initialized
    - parse_proxy: use the IPv6 zone id if given
    - sectransp: handle errSSLPeerAuthCompleted from SSLRead()
    - singlesocket: use separate variable for inner loop
    - ssl: Update outdated "openssl-only" comments for supported backends
    - tests: add HAProxy keywords
    - tests: make test 1420 and 1406 work with rtsp-disabled libcurl
    - tls13-docs: mention it is only for OpenSSL >= 1.1.1
    - tool_setopt: for builds with disabled-proxy, skip all proxy setopts()
    - url: fix bad feature-disable #ifdef
    - url: use correct port in ConnectionExists()

OBS-URL: https://build.opensuse.org/request/show/707886
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=255
2019-06-06 06:12:43 +00:00
2412b5ba50 Accepting request 704763 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 7.65.0 [bsc#1135176, CVE-2019-5435][bsc#1135170, CVE-2019-5436]
  * Changes:
    - CURLOPT_DNS_USE_GLOBAL_CACHE: removed
    - CURLOPT_MAXAGE_CONN: set the maximum allowed age for conn reuse
    - pipelining: removed 
  * Bugfixes:
    - CVE-2019-5435: Integer overflows in curl_url_set
    - CVE-2019-5436: tftp: use the current blksize for recvfrom()
    - --config: clarify that initial : and = might need quoting
    - CURLMOPT_TIMERFUNCTION.3: warn about the recursive risk
    - CURLOPT_ADDRESS_SCOPE: fix range check and more
    - CURLOPT_CHUNK_BGN_FUNCTION.3: document the struct and time value
    - CURLOPT_READFUNCTION.3: see also CURLOPT_UPLOAD_BUFFERSIZE
    - CURL_MAX_INPUT_LENGTH: largest acceptable string input size
    - Curl_disconnect: treat all CONNECT_ONLY connections as "dead"
    - OS400/ccsidcurl: replace use of Curl_vsetopt
    - OpenSSL: Report -fips in version if OpenSSL is built with FIPS
    - WRITEFUNCTION: add missing set_in_callback around callback
    - altsvc: Fix building with cookies disabled
    - auth: Rename the various authentication clean up functions
    - base64: build conditionally if there are users
    - cmake: avoid linking executable for some tests with cmake 3.6+
    - cmake: clear CMAKE_REQUIRED_LIBRARIES after each use
    - cmake: set SSL_BACKENDS
    - configure: avoid unportable '==' test(1) operator
    - configure: error out if OpenSSL wasn't detected when asked for
    - configure: fix default location for fish completions
    - cookie: Guard against possible NULL ptr deref
    - curl: make code work with protocol-disabled libcurl
    - curl: report error for "--no-" on non-boolean options

OBS-URL: https://build.opensuse.org/request/show/704763
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=253
2019-05-22 17:50:36 +00:00
Tomáš Chvátal
a2ec7c74c0 Accepting request 692902 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Install curl.fish completions file from curl rather than from the fish package

- update to version 7.64.1
  * Changes:
    - alt-svc: experiemental support added
    - configure: add --with-amissl
  * Bugfixes:
    - AppVeyor: switch VS 2015 builds to VS 2017 image
    - CURLU: fix NULL dereference when used over proxy
    - Curl_easy: remove req.maxfd - never used!
    - Curl_resolv: fix a gcc -Werror=maybe-uninitialized warning
    - DoH: inherit some SSL options from user's easy handle
    - Secure Transport: no more "darwinssl"
    - Secure Transport: tvOS 11 is required for ALPN support
    - cirrus: Added FreeBSD builds using Cirrus CI
    - cleanup: make local functions static
    - cli tool: do not use mime.h private structures
    - cmdline-opts/proxytunnel.d: the option tunnnels all protocols
    - configure: add additional libraries to check for LDAP support
    - configure: remove the unused fdopen macro
    - configure: show features as well in the final summary
    - conncache: use conn->data to know if a transfer owns it
    - connection: never reuse CONNECT_ONLY connections
    - connection_check: restore original conn->data after the check
    - connection_check: set ->data to the transfer doing the check
    - cookie: Add support for cookie prefixes
    - cookies: dotless names can set cookies again
    - cookies: fix NULL dereference if flushing cookies with no CookieInfo set
    - curl.1: --user and --proxy-user are hidden from ps output
    - curl.1: mark the argument to --cookie as

OBS-URL: https://build.opensuse.org/request/show/692902
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=251
2019-04-10 19:12:39 +00:00
Tomáš Chvátal
390c5c9db9 Accepting request 686070 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Fix variable placement that wasn't properly reset within a loop
  missing to notify sockets. [bsc#1129083, bsc#1129470]
  * Added curl-singlesocket-sincebefore-placement.patch

- Fix variable placement that wasn't properly reset within a loop
  missing to notify sockets. [bsc#1129083, bsc#1129470]
  * Added curl-singlesocket-sincebefore-placement.patch

OBS-URL: https://build.opensuse.org/request/show/686070
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=249
2019-03-18 12:23:25 +00:00
Tomáš Chvátal
e407d02ccf Accepting request 682917 from home:favogt:zyppcrash
- Add patches to fix use-after-free (boo#1127849):
  * 0001-connection_check-set-data-to-the-transfer-doing-the-.patch
  * 0002-connection_check-restore-original-conn-data-after-th.patch

OBS-URL: https://build.opensuse.org/request/show/682917
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=247
2019-03-09 07:51:32 +00:00
Tomáš Chvátal
1a0b850f5b Accepting request 679758 from home:coolo:branches:devel:libraries:c_c++
- BuildRequire libcurl4-mini for !bootstrap to avoid build cycles
  due to cmake pulling libcurl4

- BuildRequire libcurl4-mini for !bootstrap to avoid build cycles
  due to cmake pulling libcurl4

OBS-URL: https://build.opensuse.org/request/show/679758
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=245
2019-02-27 09:54:06 +00:00
Tomáš Chvátal
ec4ab9ef11 Accepting request 672083 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- update to version 7.64.0
  [bcs#1123371, CVE-2018-16890][bcs#1123377, CVE-2019-3822]
  [bcs#1123378, CVE-2019-3823]
  * Changes:
    - cookies: leave secure cookies alone
    - hostip: support wildcard hosts
    - http: Implement trailing headers for chunked transfers
    - http: added options for allowing HTTP/0.9 responses
    - timeval: Use high resolution timestamps on Windows 
  * Bugfixes:
    - CVE-2018-16890: NTLM type-2 out-of-bounds buffer read
    - CVE-2019-3822: NTLMv2 type-3 header stack buffer overflow
    - CVE-2019-3823: SMTP end-of-response out-of-bounds read
    - FAQ: remove mention of sourceforge for github
    - OS400: handle memory error in list conversion
    - OS400: upgrade ILE/RPG binding.
    - README: add codacy code quality badge
    - Revert http_negotiate: do not close connection
    - THANKS: added several missing names from year <= 2000
    - build: make 'tidy' target work for metalink builds
    - cmake: added checks for variadic macros
    - cmake: updated check for HAVE_POLL_FINE to match autotools
    - cmake: use lowercase for function name like the rest of the code
    - configure: detect xlclang separately from clang
    - configure: fix recv/send/select detection on Android
    - configure: rewrite --enable-code-coverage
    - conncache_unlock: avoid indirection by changing input argument type
    - cookie: fix comment typo
    - cookies: allow secure override when done over HTTPS
    - cookies: extend domain checks to non psl builds

OBS-URL: https://build.opensuse.org/request/show/672083
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=244
2019-02-06 13:10:47 +00:00
Tomáš Chvátal
d780acec9f Accepting request 669362 from home:jengelh:branches:devel:libraries:c_c++
- Fix wrong summary, curl is at version 7, not 4. (it also won't hold up in future, so just trim it altogether)

OBS-URL: https://build.opensuse.org/request/show/669362
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=243
2019-01-28 20:39:11 +00:00
Vítězslav Čížek
c29bea8f7f Use it provide only for the mini
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=241
2019-01-18 15:45:35 +00:00
Vítězslav Čížek
8acd984e71 - refreshed curl-disabled-redirect-protocol-message.patch
- refreshed curl-disabled-redirect-protocol-message.patch

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=240
2019-01-18 15:28:25 +00:00
Vítězslav Čížek
f165c249ca - Provide libcurl4 = %version in the mini library package
- Update to version 7.63.0
  Changes:
  * curl: add %{stderr} and %{stdout} for --write-out
  * curl: add undocumented option --dump-module-paths for w32
  * setopt: add CURLOPT_CURLU
  Bugfixes:
  * (lib)curl.rc: fixup for minor bugs
  * CURLINFO_REDIRECT_URL: extract the Location: header field unvalidated
  * CURLOPT_HEADERFUNCTION.3: match 'nitems' name in synopsis/desc
  * CURLOPT_WRITEFUNCTION.3: spell out that it gets called many times
  * Curl_follow: accept non-supported schemes for "fake" redirects
  * KNOWN_BUGS: add --proxy-any connection issue
  * NTLM: Remove redundant ifdef USE_OPENSSL
  * NTLM: force the connection to HTTP/1.1
  * OS400: add URL API ccsid wrappers and sync ILE/RPG bindings
  * SECURITY-PROCESS: bountygraph shuts down again
  * TODO: Have the URL API offer IDN decoding
  * ares: remove fd from multi fd set when ares is about to close the fd
  * axtls: removed
  * checksrc: add COPYRIGHTYEAR check
  * cmake: fix MIT/Heimdal Kerberos detection
  * configure: include all libraries in ssl-libs fetch
  * configure: show CFLAGS, LDFLAGS etc in summary
  * connect: fix building for recent versions of Minix
  * cookies: create the cookiejar even if no cookies to save
  * cookies: expire "Max-Age=0" immediately
  * curl: --local-port range was not "including"
  * curl: fix --local-port integer overflow

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=239
2019-01-18 15:24:30 +00:00