Commit Graph

220 Commits

Author SHA256 Message Date
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
9eaf7717dc Accepting request 661521 from home:seanlew:branches:devel:libraries:c_c++
Update curl to 7.63

OBS-URL: https://build.opensuse.org/request/show/661521
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=237
2018-12-27 09:25:59 +00:00
Ismail Dönmez
681d679767 Accepting request 645709 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to version 7.62.0
 Changes:
  * multiplex: enable by default
  * url: default to CURL_HTTP_VERSION_2TLS if built h2-enabled
  * setopt: add CURLOPT_DOH_URL
  * curl: --doh-url added
  * setopt: add CURLOPT_UPLOAD_BUFFERSIZE: set upload buffer size
  * imap: change from "FETCH" to "UID FETCH"
  * configure: add option to disable automatic OpenSSL config loading
  * upkeep: add a connection upkeep API: curl_easy_upkeep()
  * URL-API: added five new functions
  * vtls: MesaLink is a new TLS backend 
 Bugfixes:
  * CVE-2018-16839: SASL password overflow via integer overflow [bsc#1112758]
  * CVE-2018-16840: use-after-free in handle close [bsc#1113029]
  * CVE-2018-16842: warning message out-of-buffer read [bsc#1113660]
  * CURLOPT_DNS_USE_GLOBAL_CACHE: deprecated
  * Curl_dedotdotify(): always nul terminate returned string
  * Curl_follow: Always free the passed new URL
  * Curl_http2_done: fix memleak in error path
  * Curl_retry_request: fix memory leak
  * Curl_saferealloc: Fixed typo in docblock
  * FILE: fix CURLOPT_NOBODY and CURLOPT_HEADER output
  * GnutTLS: TLS 1.3 support
  * SECURITY-PROCESS: mention the bountygraph program
  * VS projects: add USE_IPV6:
  * certs: generate tests certs with sha256 digest algorithm
  * checksrc: enable strict mode and warnings
  * checksrc: handle zero scoped ignore commands
  * cmake: Backport to work with CMake 3.0 again

OBS-URL: https://build.opensuse.org/request/show/645709
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=235
2018-10-31 11:23:21 +00:00
Ismail Dönmez
f4eb0b015b Accepting request 633266 from home:kbabioch:branches:devel:libraries:c_c++
- Update to version 7.61.1
  Bugfixes:
   * CVE-2018-14618: NTLM password overflow via integer overflow (bsc#1106019)
   * CURLINFO_SIZE_UPLOAD: fix missing counter update
   * CURLOPT_ACCEPT_ENCODING.3: list them comma-separated
   * CURLOPT_SSL_CTX_FUNCTION.3: might cause accidental connection reuse
   * Curl_getoff_all_pipelines: improved for multiplexed
   * DEPRECATE: remove release date from 7.62.0
   * HTTP: Don't attempt to needlessly decompress redirect body
   * INTERNALS: require GnuTLS >= 2.11.3
   * README.md: add LGTM.com code quality grade for C/C++
   * SSLCERTS: improve the openssl command line
   * Silence GCC 8 cast-function-type warnings
   * ares: check for NULL in completed-callback
   * asyn-thread: Remove unused macro
   * auth: only pick CURLAUTH_BEARER if we *have* a Bearer token
   * auth: pick Bearer authentication whenever a token is available
   * cmake: CMake config files are defining CURL_STATICLIB for static builds
   * cmake: Respect BUILD_SHARED_LIBS
   * cmake: Update scripts to use consistent style
   * cmake: bumped minimum version to 3.4
   * cmake: link curl to the OpenSSL targets instead of lib absolute paths
   * configure: conditionally enable pedantic-errors
   * configure: fix for -lpthread detection with OpenSSL and pkg-config
   * conn: remove the boolean 'inuse' field
   * content_encoding: accept up to 4 unknown trailer bytes after raw deflate data
   * cookie tests: treat files as text
   * cookies: support creation-time attribute for cookies
   * curl: Fix segfault when -H @headerfile is empty
   * curl: add http code 408 to transient list for --retry

OBS-URL: https://build.opensuse.org/request/show/633266
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=233
2018-09-05 07:44:03 +00:00
Vítězslav Čížek
050b9af608 Accepting request 630925 from home:vitezslav_cizek:branches:devel:libraries:c_c++
Fix version number in changelog.
7.62.0 hasn't been released yet

- Update to version 7.61.0

OBS-URL: https://build.opensuse.org/request/show/630925
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=230
2018-08-22 14:01:44 +00:00
Ismail Dönmez
7970c80edd Accepting request 630909 from home:kbabioch:branches:devel:libraries:c_c++
- Added curl-switch-off-all-styles.patch: Fix output of wrong escape sequences,
  which might mess up the terminal (bsc#1105624)

OBS-URL: https://build.opensuse.org/request/show/630909
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=229
2018-08-22 12:42:47 +00:00
Tomáš Chvátal
cbfaaab1ef Accepting request 623481 from home:pgajdos
- Update to version 7.62.0
  [bsc#1099793, CVE-2018-0500]
  Changes:
   * getinfo: add microsecond precise timers for seven intervals
   * curl: show headers in bold, switch off with --no-styled-output
   * httpauth: add support for Bearer tokens 
   * Add CURLOPT_TLS13_CIPHERS and CURLOPT_PROXY_TLS13_CIPHERS
   * curl: --tls13-ciphers and --proxy-tls13-ciphers
   * Add CURLOPT_DISALLOW_USERNAME_IN_URL
   * curl: --disallow-username-in-url 
  Bugfixes:
   * CVE-2018-0500: smtp: fix SMTP send buffer overflow 
   * schannel: disable client cert option if APIs not available
   * schannel: disable manual verify if APIs not available
   * tests/libtest/Makefile: Do not unconditionally add gcc-specific flags
   * openssl: acknowledge --tls-max for default version too 
   * stub_gssapi: fix 'unused parameter' warnings
   * examples/progressfunc: make it build on both new and old libcurls
   * docs: mention it is HA Proxy protocol "version 1"
   * curl_fnmatch: only allow two asterisks for matching  
   * docs: clarify CURLOPT_HTTPGET 
   * configure: replace a AC_TRY_RUN with CURL_RUN_IFELSE
   * configure: do compile-time SIZEOF checks instead of run-time
   * checksrc: make sure sizeof() is used *with* parentheses 
   * CURLOPT_ACCEPT_ENCODING.3: add brotli and clarify a bit
   * schannel: make CAinfo parsing resilient to CR/LF 
   * tftp: make sure error is zero terminated before printfing it
   * http resume: skip body if http code 416 (range error) is ignored
   * configure: add basic test of --with-ssl prefix 
   * cmake: set -d postfix for debug builds

OBS-URL: https://build.opensuse.org/request/show/623481
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=227
2018-07-17 14:51:01 +00:00
26a26de5f7 Accepting request 610348 from home:vitezslav_cizek:branches:devel:libraries:c_c++
- Use OPENSSL_config instead of CONF_modules_load_file() to avoid
  crashes due to openssl engines conflicts (bsc#1086367)
  * add curl-use_OPENSSL_config.patch

- Use OPENSSL_config instead of CONF_modules_load_file() to avoid
  crashes due to openssl engines conflicts (bsc#1086367)
  * add curl-use_OPENSSL_config.patch

OBS-URL: https://build.opensuse.org/request/show/610348
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=225
2018-05-18 13:17:37 +00:00
Tomáš Chvátal
9232e3979e Accepting request 609087 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to version 7.60.0
  [bsc#1092094, CVE-2018-1000300][bsc#1092098, CVE-2018-1000301]
  Changes:
   * Add CURLOPT_HAPROXYPROTOCOL, support for the HAProxy PROXY protocol
   * Add --haproxy-protocol for the command line tool
   * Add CURLOPT_DNS_SHUFFLE_ADDRESSES, shuffle returned IP addresses 
  Bugfixes:
   * FTP: shutdown response buffer overflow CVE-2018-1000300
   * RTSP: bad headers buffer over-read CVE-2018-1000301
   * FTP: fix typo in recursive callback detection for seeking
   * test1208: marked flaky
   * HTTP: make header-less responses still count correct body size
   * user-agent.d:: mention --proxy-header as well
   * http2: fixes typo
   * cleanup: misc typos in strings and comments
   * rate-limit: use three second window to better handle high speeds
   * examples/hiperfifo.c: improved
   * pause: when changing pause state, update socket state
   * multi: improved pending transfers handling => improved performance
   * curl_version_info.3: fix ssl_version description
   * add_handle/easy_perform: clear errorbuffer on start if set
   * cmake: add support for brotli
   * parsedate: support UT timezone
   * vauth/ntlm.h: fix the #ifdef header guard
   * lib/curl_path.h: added #ifdef header guard
   * vauth/cleartext: fix integer overflow check
   * CURLINFO_COOKIELIST.3: made the example not leak memory
   * cookie.d: mention that "-" as filename means stdin
   * CURLINFO_SSL_VERIFYRESULT.3: fixed the example
   * http2: read pending frames (including GOAWAY) in connection-check

OBS-URL: https://build.opensuse.org/request/show/609087
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=224
2018-05-16 09:29:48 +00:00
Tomáš Chvátal
3b846fa6c7 Accepting request 586981 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Added message about protocol redirection not supported or
  disabled to the function findprotocol() [bsc#1076446]
  * Added curl-disabled-redirect-protocol-message.patch

- Update to version 7.59.0
  [bsc#1084521, CVE-2018-1000120][bsc#1084524, CVE-2018-1000121]
  [bsc#1084532, CVE-2018-1000122]
  Changes:
   * curl: add --proxy-pinnedpubkey
   * added: CURLOPT_TIMEVALUE_LARGE and CURLINFO_FILETIME_T
   * CURLOPT_RESOLVE: Add support for multiple IP addresses per entry
   * Add option CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS
   * Add new tool option --happy-eyeballs-timeout-ms
   * Add CURLOPT_RESOLVER_START_FUNCTION and CURLOPT_RESOLVER_START_DATA 
  Bugfixes: 
   * openldap: check ldap_get_attribute_ber() results for NULL before using
   * FTP: reject path components with control codes
   * readwrite: make sure excess reads don't go beyond buffer end
   * lib555: drop text conversion and encode data as ascii codes
   * lib517: make variable static to avoid compiler warning
   * lib544: sync ascii code data with textual data
   * GSKit: restore pinnedpubkey functionality
   * darwinssl: Don't import client certificates into Keychain on macOS
   * parsedate: fix date parsing for systems with 32 bit long
   * openssl: fix pinned public key build error in FIPS mode
   * SChannel/WinSSL: Implement public key pinning
   * cookies: remove verbose "cookie size:" output
   * progress-bar: don't use stderr explicitly, use bar->out
   * build: open VC15 projects with VS 2017
   * curl_ctype: private is*() type macros and functions

OBS-URL: https://build.opensuse.org/request/show/586981
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=222
2018-03-14 16:35:07 +00:00
Tomáš Chvátal
abda1d488f - Sort a bit with spec-cleaner
- Install license with the library
  * Added patch ignore_runtests_failure.patch

- Sort a bit with spec-cleaner
- Install license with the library

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=220
2018-02-20 09:49:49 +00:00
4fd8b7bb4b Accepting request 569532 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
* Added patch ignore_runtests_failure.patch

OBS-URL: https://build.opensuse.org/request/show/569532
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=218
2018-01-25 15:18:55 +00:00
6049d2010d Accepting request 569503 from home:michel_mno:branches:devel:libraries:c_c++
- ignore all test failures for PowerPC as bypass boo#1075219
  (not only the 1501 previously skipped)

OBS-URL: https://build.opensuse.org/request/show/569503
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=217
2018-01-25 14:30:54 +00:00
Tomáš Chvátal
64310a5fef Accepting request 569261 from home:gladiac:branches:devel:libraries:c_c++
- Build curl with libssh.org
  libssh offers a lot more features than libssh2, for example:
  * Key Exchange Methods: curve25519-sha256@libssh.org
  * Hostkey Types: ssh-ed25519
  * Authentication: gssapi-with-mic

OBS-URL: https://build.opensuse.org/request/show/569261
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=216
2018-01-24 19:57:28 +00:00
Tomáš Chvátal
c73289f2c4 Accepting request 568866 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
[bsc#1076360,CVE-2018-1000005][bsc#1077001,CVE-2018-1000007]
  [bsc#1076360,CVE-2018-1000005][bsc#1077001,CVE-2018-1000007]

OBS-URL: https://build.opensuse.org/request/show/568866
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=215
2018-01-24 11:14:30 +00:00
9319d328f2 Accepting request 568861 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to version 7.58.0
  [bsc1076360, CVE-2018-1000005][bsc#1077001, CVE-2018-1000007]
  Changes:
   * new libssh-powered SSH SCP/SFTP back-end
   * curl-config: add --ssl-backends
  Bugfixes:
   * http2: fix incorrect trailer buffer size
   * http: prevent custom Authorization headers in redirects
   * travis: add boringssl build
   * examples/xmlstream.c: don't switch off CURL_GLOBAL_SSL
   * SSL: Avoid magic allocation of SSL backend specific data
   * lib: don't export all symbols, just everything curl_*
   * libssh2: send the correct CURLE error code on scp file not found
   * libssh2: return CURLE_UPLOAD_FAILED on failure to upload
   * openssl: enable pkcs12 in boringssl builds
   * libssh2: remove dead code from SSH_SFTP_QUOTE
   * sasl_getmesssage: make sure we have a long enough string to pass
   * conncache: fix several lock issues
   * threaded-shared-conn.c: new example
   * conncache: only allow multiplexing within same multi handle
   * configure: check for netinet/in6.h
   * URL: tolerate backslash after drive letter for FILE:
   * openldap: add commented out debug possibilities
   * include: get netinet/in.h before linux/tcp.h
   * CONNECT: keep close connection flag in http_connect_state struct
   * BINDINGS: another PostgreSQL client
   * curl: limit -# update frequency for unknown total size
   * configure: add AX_CODE_COVERAGE only if using gcc
   * curl.h: remove incorrect comment about ERRORBUFFER
   * openssl: improve data-pending check for https proxy

OBS-URL: https://build.opensuse.org/request/show/568861
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=214
2018-01-24 11:04:16 +00:00
Tomáš Chvátal
24ae8f1d6f Accepting request 563207 from home:michel_mno:branches:devel:libraries:c_c++
- disable 1501 test for PowerPC as bypass boo#1075219

OBS-URL: https://build.opensuse.org/request/show/563207
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=212
2018-01-10 09:42:47 +00:00
7221049c30 Accepting request 546402 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to version 7.57.0  [bsc#1069226, CVE-2017-8816]
  [bsc#1069222, CVE-2017-8817] [bsc#1069714, CVE-2017-8818]
  Changes:
   * auth: add support for RFC7616 - HTTP Digest access authentication
   * share: add support for sharing the connection cache
   * HTTP: implement Brotli content encoding
  Bugfixes:
   * CVE-2017-8816: NTLM buffer overflow via integer overflow
   * CVE-2017-8817: FTP wildcard out of bounds read
   * CVE-2017-8818: SSL out of buffer access
   * curl_mime_filedata.3: fix typos
   * libtest: Add required test libraries for lib1552 and lib1553
   * fix time diffs for systems using unsigned time_t
   * ftplistparser: memory leak fix: free temporary memory always
   * multi: allow table handle sizes to be overridden
   * wildcards: don't use with non-supported protocols
   * curl_fnmatch: return error on illegal wildcard pattern
   * transfer: Fix chunked-encoding upload too early exit
   * resolvers: only include anything if needed
   * setopt: fix CURLOPT_SSH_AUTH_TYPES option read
   * Curl_timeleft: change return type to timediff_t
   * cmake: Export libcurl and curl targets to use by other cmake projects
   * curl: in -F option arg, comma is a delimiter for files only
   * curl: improved ";type=" handling in -F option arguments
   * timeval: use mach_absolute_time() on MacOS
   * curlx: the timeval functions are no longer provided as curlx_*
   * mkhelp.pl: do not generate comment with current date
   * memdebug: use send/recv signature for curl_dosend/curl_dorecv
   * cookie: avoid NULL dereference
   * url: fix CURLOPT_POSTFIELDSIZE arg value check to allow -1

OBS-URL: https://build.opensuse.org/request/show/546402
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=210
2017-11-29 11:15:27 +00:00
Tomáš Chvátal
b911b69cc2 Accepting request 535940 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to version 7.56.1 [bsc#1063824]
  Bugfixes:
   * imap: if a FETCH response has no size, don't call write
     callback [CVE-2017-1000257]
   * ftp: UBsan fixup 'pointer index expression overflowed
   * failf: skip the sprintf() if there are no consumers
   * fuzzer: move to using external curl-fuzzer
   * lib/Makefile.m32: allow customizing dll suffixes
   * docs: fix typo in curl_mime_data_cb man page
   * darwinssl: add support for TLSv1.3
   * build: fix --disable-crypto-auth
   * openssl: fix build without HAVE_OPAQUE_EVP_PKEY
   * strtoofft: Remove extraneous null check
   * multi_cleanup: call DONE on handles that never got that
   * tests: added flaky keyword to tests 587 and 644
   * pingpong: return error when trying to send without connection
   * remove_handle: call multi_done() first, then clear dns cache pointer
   * mime: be tolerant about setting the same header list twice in a part
   * mime: improve unbinding top multipart from easy handle
   * mime: avoid resetting a part's encoder when part's contents change
   * mime: refuse to add subparts to one of their own descendants
   * RTSP: avoid integer overflow on funny RTSP responses
   * curl: don't pass semicolons when parsing Content-Disposition
   * openssl: enable PKCS12 support for !BoringSSL
   * FAQ: s/CURLOPT_PROGRESSFUNCTION/CURLOPT_XFERINFOFUNCTION
   * CURLOPT_NOPROGRESS.3: also refer to xferinfofunction
   * CURLOPT_XFERINFODATA.3: fix duplicate see also
   * test298: verify --ftp-method nowcwd with URL encoded path
   * FTP: URL decode path for dir listing in nocwd mode
   * smtp_done: fix memory leak on send failure

OBS-URL: https://build.opensuse.org/request/show/535940
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=208
2017-10-23 11:09:07 +00:00
Tomáš Chvátal
435fa2e023 Accepting request 532977 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 7.56.0 [bsc#1061876, CVE-2017-1000254]
 Changes:
  * curl: enable compression for SCP/SFTP with --compressed-ssh
  * libcurl: enable compression for SCP/SFTP with CURLOPT_SSH_COMPRESSION
  * vtls: added dynamic changing SSL backend with curl_global_sslset()
  * new MIME API, curl_mime_init() and friends
  * openssl: initial SSLKEYLOGFILE implementation 
 Security fixes:
  * CVE-2017-1000254 FTP PWD response parser out of bounds read
 Bugfixes:
  * FTP: zero terminate the entry path even on bad input
  * examples/ftpuploadresume.c: use portable code
  * runtests: match keywords case insensitively
  * strtoofft: reduce integer overflow risks globally
  * zsh.pl: produce a working completion script again
  * cmake: remove dead code for CURL_DISABLE_RTMP
  * progress: Track total times following redirects
  * configure: fix --disable-threaded-resolver
  * configure: fix clang version detection
  * darwinssi: fix error: variable length array used
  * configure: check for __builtin_available() availability
  * http_proxy: fix build error for CURL_DOES_CONVERSIONS
  * examples/ftpuploadresume: checksrc compliance
  * ftp: fix CWD when doing multicwd then nocwd on same connection
  * system.h: remove all CURL_SIZEOF_* defines
  * http: Don't wait on CONNECT when there is no proxy
  * system.h: check for __ppc__ as well
  * http2_recv: return error better on fatal h2 errors
  * tftp: fix memory leak on too long filename
  * system.h: fix build for hppa

OBS-URL: https://build.opensuse.org/request/show/532977
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=206
2017-10-10 10:18:27 +00:00
Tomáš Chvátal
8ef60e6c2a Accepting request 519550 from home:Zaitor:branches:devel:libraries:c_c++
- Add curl-http-Don-t-wait-on-CONNECT-when-there-is-no-proxy.patch:
  Fix NetworkManagers connectivity test.
- Add curl-http-Don-t-wait-on-CONNECT-when-there-is-no-proxy.patch:
  Fix NetworkManagers connectivity test.

OBS-URL: https://build.opensuse.org/request/show/519550
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=204
2017-08-30 08:02:52 +00:00