commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2020-10-22 14:21:41 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.3463 (New) Package is "curl" Thu Oct 22 14:21:41 2020 rev:162 rq:842516 version:7.73.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2020-08-21 19:00:23.984221549 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new.3463/curl.changes 2020-10-22 14:23:05.702794024 +0200 @@ -1,0 +2,77 @@ +Wed Oct 14 21:29:48 UTC 2020 - Pedro Monreal + +- 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 +- ftp: make a 552 response return CURLE_REMOTE_DISK_FULL +- ftp: separate FTPS from FTP over "HTTPS proxy" +- HTTP/3: update to OpenSSL_1_1_1g-quic-draft-29 +- http: consolidate nghttp2_session_mem_recv() call paths +- http_proxy: do not count proxy headers in the header bytecount +- http_proxy: do not crash with HTTPS_PROXY and NO_PROXY set +- imap: make imap_send use dynbuf for the send buffer management +- imap: set cselect_bits to CURL_CSELECT_IN initially +- lib1560: verify "redirect" to double-slash leading URL +- lib: make Curl_gethostname accept a const pointer +- libssh2: handle the SSH protocols done over HTTPS proxy +- libssh2: pass on the error from ssh_force_knownhost_key_type +- memdebug: remove 9 year old unused debug function +- multi: expand pre-check for socket readiness +- ngtcp2: adapt to new NGTCP2_PROTO_VER_MAX define +- ngtcp2: adapt to the new pkt_info arguments +- openssl: avoid error conditions when importing native CA +- openssl: consider ALERT_CERTIFICATE_EXPIRED a failed verification +- parsedate: tune the date to epoch conversion +- pause: only trigger a reread if the unpause sticks +- pingpong: use a dynbuf for the *_pp_sendf() function +- runtests: allow creating files without newlines +- runtests: allow generating a binary sequence from hex +- runtests: clear pid variables when failing to start a server +- schannel: fix memory leak when using get_cert_location +- schannel: return CURLE_PEER_FAILED_VERIFICATION for untrusted root +- sectransp: make it build with --disable-proxy +- select.h: make socket validation macros test for INVALID_SOCKET +- select: align poll emulation to return all relevant events +- select: fix poll-based check not detecting connect failure +- select: simplify return code handling for poll and select +- setopt: if the buffer exists, refuse the new BUFFERSIZE +- setopt: return CURLE_BAD_FUNCTION_ARGUMENT on bad argument +- socketpair: allow CURL_DISABLE_SOCKETPAIR +- sockfilt: handle FD_CLOSE winsock event on write socket +- symbian: drop support +- tests: remove pipelining tests +- tls: fix SRP detection by using the proper #ifdefs +- tls: provide the CApath verbose log on its own line +- tool_setopt: escape binary data to hex, not octal +- url: use blank credentials when using proxy w/o username and password +- urlapi: use more Curl_safefree +- vtls: deduplicate client certificates in ssl_config_data + +--- Old: curl-7.72.0.tar.xz curl-7.72.0.tar.xz.asc New: c
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2020-08-21 19:00:02 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.3399 (New) Package is "curl" Fri Aug 21 19:00:02 2020 rev:161 rq:827744 version:7.72.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2020-07-02 23:57:58.017196796 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new.3399/curl.changes 2020-08-21 19:00:23.984221549 +0200 @@ -1,0 +2,45 @@ +Wed Aug 19 07:47:34 UTC 2020 - Pedro Monreal Gonzalez + +- 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 +- quiche: handle calling disconnect twice +- setopt: unset NOBODY switches to GET if still HEAD +- smtp_parse_address: handle blank input string properly +- socks: use size_t for size variable +- tls-max.d: this option is only for TLS-using connections +- tlsv1.3.d. only for TLS-using connections +- tool_getparam: make --krb option work again +- transfer: fix data_pending for builds with both h2 and h3 enabled +- transfer: fix memory-leak with CURLOPT_CURLU in a duped handle +- transfer: move retrycount from connect struct to easy handle +- url: fix CURLU and location following + +--- Old: curl-7.71.1.tar.xz curl-7.71.1.tar.xz.asc New: curl-7.72.0.tar.xz curl-7.72.0.tar.xz.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.wlBWdZ/_old 2020-08-21 19:00:27.948223904 +0200 +++ /var/tmp/diff_new_pack.wlBWdZ/_new 2020-08-21 19:00:27.952223907 +0200 @@ -21,7 +21,7 @@ # need ssl always for python-pycurl %bcond_without openssl Name: curl -Version:7.71.1 +Version:7.72.0 Release:0 Summary:A Tool for Transferring Data from URLs License:curl ++ curl-7.71.1.tar.xz -> curl-7.72.0.tar.xz ++ 34065 lines of diff (skipped)
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2020-07-02 23:57:25 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.3060 (New) Package is "curl" Thu Jul 2 23:57:25 2020 rev:160 rq:818122 version:7.71.1 Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2020-06-28 23:03:06.882218697 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new.3060/curl.changes 2020-07-02 23:57:58.017196796 +0200 @@ -1,0 +2,21 @@ +Wed Jul 1 12:59:25 UTC 2020 - Pedro Monreal Gonzalez + +- 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 + +--- Old: curl-7.71.0.tar.xz curl-7.71.0.tar.xz.asc New: curl-7.71.1.tar.xz curl-7.71.1.tar.xz.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.creu7J/_old 2020-07-02 23:58:05.157220464 +0200 +++ /var/tmp/diff_new_pack.creu7J/_new 2020-07-02 23:58:05.161220478 +0200 @@ -21,7 +21,7 @@ # need ssl always for python-pycurl %bcond_without openssl Name: curl -Version:7.71.0 +Version:7.71.1 Release:0 Summary:A Tool for Transferring Data from URLs License:curl ++ curl-7.71.0.tar.xz -> curl-7.71.1.tar.xz ++ 10875 lines of diff (skipped)
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2020-06-28 23:02:57 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.3060 (New) Package is "curl" Sun Jun 28 23:02:57 2020 rev:159 rq:816803 version:7.71.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2020-06-21 19:45:37.804782672 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new.3060/curl.changes 2020-06-28 23:03:06.882218697 +0200 @@ -1,0 +2,103 @@ +Wed Jun 24 07:13:22 UTC 2020 - Pedro Monreal Gonzalez + +- 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 +- dynbuf: introduce internal generic dynamic buffer functions +- easy: fix dangling pointer on easy_perform fail +- examples/ephiperfifo: turn off interval when setting timerfd +- examples/http2-down/upload: add error checks +- FILEFORMAT: add more features that tests can depend on +- FILEFORMAT: describe verify/stderr +- ftp: make domore_getsock() return the secondary socket properly +- ftp: mark return-ignoring calls to Curl_GetFTPResponse with (void) +- ftp: shut down the secondary connection properly when SSL is used +- GnuTLS: Backend support for CURLINFO_SSL_VERIFYRESULT +- hostip: make Curl_printable_address not return anything +- http2: keep trying to send pending frames after req.upload_done +- http2: simplify and clean up trailer handling +- http: move header storage to Curl_easy from connectdata +- libssh2: improved error output for wrong quote syntax +- libssh2: keep sftp errors as 'unsigned long' +- libssh2: set the expected total size in SCP upload init +- multi: add defensive check on data->multi->num_alive +- multi: implement wait using winsock events +- ngtcp2: cleanup memory when failing to connect +- ngtcp2: fix build with current ngtcp2 master implementing draft 28 +- ngtcp2: fix happy eyeballs quic connect crash +- ngtcp2: introduce qlog support +- ngtcp2: never call fprintf() in lib code in release version +- ngtcp2: update with recent API changes +- ntlm: enable NTLM support with wolfSSL +- OpenSSL: have CURLOPT_CRLFILE imply CURLSSLOPT_NO_PARTIALCHAIN +- openssl: set FLAG_TRUSTED_FIRST unconditionally +- projects: Add crypt32.lib to dependencies for all OpenSSL configs +- quiche: clean up memory properly when failing to connect +- quiche: enable qlog output +- quiche: update SSLKEYLOGFILE support +- Revert "ssh: ignore timeouts during disconnect" +- select: fix overflow protection in Curl_socket_check +- sendf: make failf() use the mvsnprintf() return code +- server/sws: fix asan warning on use of uninitialized variable +- server/util: fix logmsg format using curl_off_t argument +- sha256: fixed potentially uninitialized variable +- share: don not set the share flag it something fails +- sockfilt: make select_ws stop waiting on exit signal event +- socks: detect connection close during handshake +- socks: fix expected length of SOCKS5 reply +- socks: remove unreachable breaks in socks.c and mime.c +- source cleanup: remo
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2020-06-21 19:03:58 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.3606 (New) Package is "curl" Sun Jun 21 19:03:58 2020 rev:158 rq:814737 version:7.70.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2020-05-08 23:00:31.785271225 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new.3606/curl.changes 2020-06-21 19:45:37.804782672 +0200 @@ -1,0 +2,6 @@ +Fri Jun 12 09:07:50 UTC 2020 - Dominique Leuenberger + +- Change with-gssapi configure parameter: krb5 is changing location + in the future: ask krb5-config about the correct prefix values. + +--- Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.PHGtM6/_old 2020-06-21 19:45:38.284784676 +0200 +++ /var/tmp/diff_new_pack.PHGtM6/_new 2020-06-21 19:45:38.288784692 +0200 @@ -125,7 +125,7 @@ --with-nss \ %endif %endif ---with-gssapi=%{_libexecdir}/mit \ +--with-gssapi=$(krb5-config --prefix) \ --with-libidn2 \ --with-libssh \ --with-libmetalink \
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2020-05-08 23:00:25 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.2738 (New) Package is "curl" Fri May 8 23:00:25 2020 rev:157 rq:798838 version:7.70.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2020-03-16 10:17:35.195568864 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new.2738/curl.changes 2020-05-08 23:00:31.785271225 +0200 @@ -1,0 +2,18 @@ +Wed Apr 29 07:45:48 UTC 2020 - Paolo Stivanin + +- 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 + +--- Old: curl-7.69.1.tar.xz curl-7.69.1.tar.xz.asc New: curl-7.70.0.tar.xz curl-7.70.0.tar.xz.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.wAXNkj/_old 2020-05-08 23:00:34.109275973 +0200 +++ /var/tmp/diff_new_pack.wAXNkj/_new 2020-05-08 23:00:34.109275973 +0200 @@ -21,7 +21,7 @@ # need ssl always for python-pycurl %bcond_without openssl Name: curl -Version:7.69.1 +Version:7.70.0 Release:0 Summary:A Tool for Transferring Data from URLs License:curl ++ curl-7.69.1.tar.xz -> curl-7.70.0.tar.xz ++ 71507 lines of diff (skipped)
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2020-03-16 10:16:52 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.3160 (New) Package is "curl" Mon Mar 16 10:16:52 2020 rev:156 rq:784518 version:7.69.1 Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2020-03-11 18:47:21.939451592 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new.3160/curl.changes 2020-03-16 10:17:35.195568864 +0100 @@ -1,0 +2,33 @@ +Thu Mar 12 22:07:26 UTC 2020 - Pedro Monreal Gonzalez + +- 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 + +--- Old: curl-7.69.0.tar.xz curl-7.69.0.tar.xz.asc New: curl-7.69.1.tar.xz curl-7.69.1.tar.xz.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.go7mmT/_old 2020-03-16 10:17:36.747569497 +0100 +++ /var/tmp/diff_new_pack.go7mmT/_new 2020-03-16 10:17:36.747569497 +0100 @@ -21,7 +21,7 @@ # need ssl always for python-pycurl %bcond_without openssl Name: curl -Version:7.69.0 +Version:7.69.1 Release:0 Summary:A Tool for Transferring Data from URLs License:curl ++ curl-7.69.0.tar.xz -> curl-7.69.1.tar.xz ++ 20637 lines of diff (skipped)
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2020-03-11 18:43:57 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.3160 (New) Package is "curl" Wed Mar 11 18:43:57 2020 rev:155 rq:782968 version:7.69.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2020-03-06 21:26:01.665506797 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new.3160/curl.changes 2020-03-11 18:47:21.939451592 +0100 @@ -1,0 +2,5 @@ +Mon Mar 9 12:54:08 UTC 2020 - Andreas Schwab + +- ignore_runtests_failure.patch: remove, no longer needed + +--- Old: ignore_runtests_failure.patch Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.E06Kw1/_old 2020-03-11 18:47:23.507452555 +0100 +++ /var/tmp/diff_new_pack.E06Kw1/_new 2020-03-11 18:47:23.507452555 +0100 @@ -33,7 +33,6 @@ Patch0: libcurl-ocloexec.patch Patch1: dont-mess-with-rpmoptflags.diff Patch2: curl-secure-getenv.patch -Patch3: ignore_runtests_failure.patch # PATCH-FIX-OPENSUSE bsc#1076446 protocol redirection not supported or disabled Patch4: curl-disabled-redirect-protocol-message.patch Patch5: curl-use_OPENSSL_config.patch @@ -94,9 +93,6 @@ %patch0 -p1 %patch1 %patch2 -%ifarch ppc ppc64 ppc64le -%patch3 -p1 -%endif %patch4 -p1 %patch5 -p1
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2020-03-06 21:25:50 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.26092 (New) Package is "curl" Fri Mar 6 21:25:50 2020 rev:154 rq:781452 version:7.69.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2020-02-21 16:39:38.813708026 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new.26092/curl.changes 2020-03-06 21:26:01.665506797 +0100 @@ -1,0 +2,122 @@ +Wed Mar 4 08:56:45 UTC 2020 - Pedro Monreal Gonzalez + +- 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 +- curl: let -D merge headers in one file again +- curl: make #0 not output the full URL +- curl: make the -# spaceship bar not wrap the line +- curl: remove 'config' field from OutStruct +- curl:progressbarinit: ignore column width from terminals < 20 +- curl_escape.3: add a link to curl_free +- curl_getenv.3: fix the memory handling description +- curl_global_init: assume the EINTR bit by default +- curl_global_init: move the IPv6 works status bool to multi handle +- CURLINFO_COOKIELIST.3: Fix example +- CURLOPT_ALTSVC_CTRL.3: fix the DEFAULT wording +- CURLOPT_PROXY_SSL_OPTIONS.3: Sync with CURLOPT_SSL_OPTIONS.3 +- CURLOPT_REDIR_PROTOCOLS.3: update the DEFAULT section +- data.d: remove "Multiple files can also be specified" +- digest: do not quote algorithm in HTTP authorisation +- docs/HTTP3: add --enable-alt-svc to curl's configure +- docs/HTTP3: update the OpenSSL branch to use for ngtcp2 +- docs: fix typo on CURLINFO_RETRY_AFTER +- easy: remove dead code +- form.d: fix two minor typos +- ftp: convert 'sock_accepted' to a plain boolean +- ftp: remove superfluous checking for crlf in user or pwd +- ftp: shrink temp buffers used for PORT +- github: Instructions to post "uname -a" on Unix systems in issues +- GnuTLS: always send client cert +- gtls: fixed compilation when using GnuTLS < 3.5.0 +- hostip: move code to resolve IP address literals to 'Curl_resolv' +- HTTP-COOKIES: describe the cookie file format +- HTTP-COOKIES: mention that a trailing newline is required +- http2: make pausing/unpausing set/clear local stream window +- http2: now requires nghttp2 >= 1.12.0 +- http: added 417 response treatment +- http: increase EXPECT_100_THRESHOLD to 1Mb +- http: mark POSTs with no body as "upload done" from the start +- http: move "oauth_bearer" from connectdata to Curl_easy +- include: remove non-curl prefixed defines +- KNOWN_BUGS: Multiple methods in a single WWW-Authenticate: header +- libssh2: add support for forcing a hostkey type +- libssh2: fix variable type +- libssh: improve known hosts handling +- llist: removed unused Curl_llist_move() +- location.d: the method change is from POST to GET only +- md4: fixed compilation issues when using GNU TLS gcrypt +- md4: use init/update/final functions in Secure Transport +- md5: added implementation for mbedTLS +- mk-ca-bundle: add support for CKA_NSS_SERVER_DISTRUST_AFTER +- multi: change curl_multi_wait/poll to error on negative timeout +- multi: fix outdated comment +- multi: if Curl_readwrite sets 'comeback' use expire, not loop +- multi_done: if multiplexed, make conn->d
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2020-02-21 16:39:37 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.26092 (New) Package is "curl" Fri Feb 21 16:39:37 2020 rev:153 rq:775228 version:7.68.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2020-01-11 14:37:13.957118144 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new.26092/curl.changes 2020-02-21 16:39:38.813708026 +0100 @@ -1,0 +2,7 @@ +Tue Feb 18 14:11:29 UTC 2020 - Dominique Leuenberger + +- 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. + +--- Old: curl-mini.changes curl-mini.spec pre_checkin.sh Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.vRPIPF/_old 2020-02-21 16:39:39.941710280 +0100 +++ /var/tmp/diff_new_pack.vRPIPF/_new 2020-02-21 16:39:39.945710288 +0100 @@ -16,13 +16,7 @@ # -%define bootstrap 0 -%define mini %{nil} -%if 0%{?bootstrap} -%bcond_with testsuite -%else %bcond_without testsuite -%endif %bcond_with mozilla_nss # need ssl always for python-pycurl %bcond_without openssl @@ -45,8 +39,7 @@ Patch5: curl-use_OPENSSL_config.patch BuildRequires: libtool BuildRequires: pkgconfig -Requires: libcurl4%{?mini} = %{version} -%if !0%{?bootstrap} +Requires: libcurl4 = %{version} BuildRequires: groff BuildRequires: lzma BuildRequires: openldap2-devel @@ -57,14 +50,6 @@ BuildRequires: pkgconfig(libpsl) BuildRequires: pkgconfig(libssh) BuildRequires: pkgconfig(zlib) -# avoid our own libcurl4 pulled in by cmake -#!BuildRequires: libcurl4-mini -%else -Requires: this-is-only-for-build-envs -Conflicts: curl -# The -mini package is sufficient for the build hosts -Provides: curl = %{version} -%endif %if %{with openssl} BuildRequires: pkgconfig(libssl) %endif @@ -83,32 +68,22 @@ TFTP, DICT, TELNET, LDAP, or FILE). The command is designed to work without user interaction or any kind of interactivity. -%package -n libcurl4%{?mini} +%package -n libcurl4 Summary:Library for transferring data from URLs -%if 0%{?bootstrap} -Requires: this-is-only-for-build-envs -Conflicts: libcurl4 -Provides: libcurl4 = %{version} -%endif -%description -n libcurl4%{?mini} +%description -n libcurl4 The cURL shared library for accessing data using different network protocols. -%package -n libcurl%{?mini}-devel +%package -n libcurl-devel Summary:Development files for the curl library Requires: glibc-devel -Requires: libcurl4%{?mini} = %{version} +Requires: libcurl4 = %{version} # curl-devel (v 7.15.5) was last used in 10.2 Provides: curl-devel <= 7.15.5 Obsoletes: curl-devel < 7.16.2 -%if 0%{?bootstrap} -Requires: this-is-only-for-build-envs -Conflicts: libcurl-devel -Provides: libcurl-devel = %{version}-%{release} -%endif -%description -n libcurl%{?mini}-devel +%description -n libcurl-devel Curl is a client to get documents and files from or send documents to a server using any of the supported protocols (HTTP, HTTPS, FTP, GOPHER, DICT, TELNET, LDAP, or FILE). The command is designed to work without @@ -154,12 +129,10 @@ --with-nss \ %endif %endif -%if !0%{?bootstrap} --with-gssapi=%{_libexecdir}/mit \ --with-libidn2 \ --with-libssh \ --with-libmetalink \ -%endif --enable-hidden-symbols \ --disable-static \ --enable-threaded-resolver @@ -197,8 +170,8 @@ %make_install popd -%post -n libcurl4%{?mini} -p /sbin/ldconfig -%postun -n libcurl4%{?mini} -p /sbin/ldconfig +%post -n libcurl4 -p /sbin/ldconfig +%postun -n libcurl4 -p /sbin/ldconfig %files %doc README RELEASE-NOTES @@ -212,11 +185,11 @@ %dir %{_datadir}/fish/vendor_completions.d/ %{_datadir}/fish/vendor_completions.d/curl.fish -%files -n libcurl4%{?mini} +%files -n libcurl4 %license COPYING %{_libdir}/libcurl.so.4* -%files -n libcurl%{?mini}-devel +%files -n libcurl-devel %{_bindir}/curl-config %{_includedir}/curl %dir %{_datadir}/aclocal/
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2020-01-11 14:37:11 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.6675 (New) Package is "curl" Sat Jan 11 14:37:11 2020 rev:152 rq:761820 version:7.68.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2019-11-18 20:06:08.945720702 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new.6675/curl-mini.changes 2020-01-11 14:37:13.821118090 +0100 @@ -1,0 +2,138 @@ +Wed Jan 8 09:54:50 UTC 2020 - Pedro Monreal Gonzalez + +- 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 +- checksrc.bat: Add a check for vquic and vssh directories +- checksrc: repair the copyrightyear check +- cirrus-ci: enable clang sanitizers on freebsd 13 +- cirrus: Drop the FreeBSD 10.4 build +- config-win32: cpu-machine-OS for Windows on ARM +- configure: avoid unportable `==' test(1) operator +- configure: enable IPv6 support without `getaddrinfo` +- configure: fix typo in help text +- conncache: CONNECT_ONLY connections assumed always in-use +- conncache: fix multi-thread use of shared connection cache +- copyrights: fix copyright year range +- create_conn: prefer multiplexing to using new connections +- curl -w: handle a blank input file correctly +- curl.h: add two missing defines for "pre ISO C" compilers +- curl/parseconfig: fix mem-leak +- curl/parseconfig: use curl_free() to free memory allocated by libcurl +- curl: cleanup multi handle on failure +- curl: fix --upload-file . hangs if delay in STDIN +- curl: fix -T globbing +- curl: improved cleanup in upload error path +- curl: make a few char pointers point to const char instead +- curl: properly free mimepost data +- curl: show better error message when no homedir is found +- curl: show error for --http3 if libcurl lacks support +- curl_setup_once: consistently use WHILE_FALSE in macros +- define: remove HAVE_ENGINE_LOAD_BUILTIN_ENGINES, not used anymore +- docs: Change 'experiemental' to 'experimental' +- docs: TLS SRP doesn't work with TLS 1.3 +- docs: fix several typos +- docs: mention CURL_MAX_INPUT_LENGTH restrictions +- doh: improved both encoding and decoding +- doh: make it behave when built without proxy support +- examples/postinmemory.c: Call curl_global_cleanup always +- examples/url2file.c: corrected erroneous comment +- examples: add multi-poll.c +- global_init: undo the "intialized" bump in case of failure +- hostip: suppress compiler warning +- http_ntlm: Remove duplicate NSS initialisation +- lib: Move lib/ssh.h -> lib/vssh/ssh.h +- lib: fix compiler warnings with `CURL_DISABLE_VERBOSE_STRINGS` +- lib: fix warnings found when porting to NuttX +- lib: remove ASSIGNWITHINCONDITION exceptions, use our code style +- lib: remove erroneous +x file permission on some c files +- libssh2: add support for ECDSA and ed25519 knownhost keys +- multi.h: remove INITIAL_MAX_CONCURRENT_STREAMS from public header +- multi: free sockhash on OOM +- multi_poll: avoid busy-loop when called without easy handles attached +- ngtcp2: Support the latest update key callback type +- ngtcp2: fix thread-safety bug in error-handling +
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2019-11-18 20:06:05 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.26869 (New) Package is "curl" Mon Nov 18 20:06:05 2019 rev:151 rq:748808 version:7.67.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2019-11-11 12:58:31.085571353 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new.26869/curl-mini.changes 2019-11-18 20:06:08.945720702 +0100 @@ -1,0 +2,7 @@ +Thu Nov 14 16:55:18 UTC 2019 - Pedro Monreal Gonzalez + +- Fix segfault in zypper ref: [bsc#1156481] + * remove_handle: clear expire timers after multi_done() + * Add patch curl-expire-clear.patch + +--- curl.changes: same change New: curl-expire-clear.patch Other differences: -- ++ curl-mini.spec ++ --- /var/tmp/diff_new_pack.S9tjd1/_old 2019-11-18 20:06:10.117720114 +0100 +++ /var/tmp/diff_new_pack.S9tjd1/_new 2019-11-18 20:06:10.133720106 +0100 @@ -1,7 +1,7 @@ # # spec file for package curl-mini # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -45,6 +45,8 @@ # PATCH-FIX-OPENSUSE bsc#1076446 protocol redirection not supported or disabled Patch4: curl-disabled-redirect-protocol-message.patch Patch5: curl-use_OPENSSL_config.patch +# PATCH-FIX-UPSTREAM bsc#1156481 +Patch6: curl-expire-clear.patch BuildRequires: libtool BuildRequires: pkgconfig Requires: libcurl4%{?mini} = %{version} @@ -126,6 +128,7 @@ %endif %patch4 -p1 %patch5 -p1 +%patch6 -p1 # disable new failing test 1165 echo "1165" >> tests/data/DISABLED ++ curl.spec ++ --- /var/tmp/diff_new_pack.S9tjd1/_old 2019-11-18 20:06:10.381719982 +0100 +++ /var/tmp/diff_new_pack.S9tjd1/_new 2019-11-18 20:06:10.385719979 +0100 @@ -1,7 +1,7 @@ # # spec file for package curl # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -43,6 +43,8 @@ # PATCH-FIX-OPENSUSE bsc#1076446 protocol redirection not supported or disabled Patch4: curl-disabled-redirect-protocol-message.patch Patch5: curl-use_OPENSSL_config.patch +# PATCH-FIX-UPSTREAM bsc#1156481 +Patch6: curl-expire-clear.patch BuildRequires: libtool BuildRequires: pkgconfig Requires: libcurl4%{?mini} = %{version} @@ -124,6 +126,7 @@ %endif %patch4 -p1 %patch5 -p1 +%patch6 -p1 # disable new failing test 1165 echo "1165" >> tests/data/DISABLED ++ curl-expire-clear.patch ++ >From 13182b33f727cf5a56a5a13419904369f7f3baad Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 10 Nov 2019 16:23:53 +0100 Subject: [PATCH] remove_handle: clear expire timers after multi_done() Since 59041f0, a new timer might be set in multi_done() so the clearing of the timers need to happen afterwards! Reported-by: Max Kellermann Fixes #4575 Closes #4583 --- lib/multi.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/multi.c b/lib/multi.c index 6dfe8842e7..7e8e38dc9f 100755 --- a/lib/multi.c +++ b/lib/multi.c @@ -695,11 +695,6 @@ CURLMcode curl_multi_remove_handle(struct Curl_multi *multi, easy_owns_conn = TRUE; } - /* The timer must be shut down before data->multi is set to NULL, - else the timenode will remain in the splay tree after - curl_easy_cleanup is called. */ - Curl_expire_clear(data); - if(data->conn) { /* we must call multi_done() here (if we still own the connection) so that @@ -715,6 +710,11 @@ CURLMcode curl_multi_remove_handle(struct Curl_multi *multi, } } + /* The timer must be shut down before data->multi is set to NULL, else the + timenode will remain in the splay tree after curl_easy_cleanup is + called. Do it after multi_done() in case that sets another time! */ + Curl_expire_clear(data); + if(data->connect_queue.ptr) /* the handle was in the pending list waiting for an available connection, so go ahead and remove it */
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2019-11-11 12:58:27 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.2990 (New) Package is "curl" Mon Nov 11 12:58:27 2019 rev:150 rq:746072 version:7.67.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2019-09-19 15:49:37.527308148 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new.2990/curl-mini.changes 2019-11-11 12:58:31.085571353 +0100 @@ -1,0 +2,122 @@ +Wed Nov 6 15:52:24 UTC 2019 - Pedro Monreal Gonzalez + +- Update spec file with spec-cleaner + +--- +Wed Nov 6 09:36:43 UTC 2019 - Pedro Monreal Gonzalez + +- 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 +- asyn-thread: make use of Curl_socketpair() where available +- asyn-thread: s/AF_LOCAL/AF_UNIX for Solaris +- build: Remove unused HAVE_LIBSSL and HAVE_LIBCRYPTO defines +- checksrc: fix uninitialized variable warning +- chunked-encoding: stop hiding the CURLE_BAD_CONTENT_ENCODING error +- cirrus: Switch the FreeBSD 11.x build to 11.3 and add a 13.0 build +- cirrus: switch off blackhole status on the freebsd CI machines +- cleanups: 21 various PVS-Studio warnings +- configure: only say ipv6 enabled when the variable is set +- configure: remove all cyassl references +- conn-reuse: requests wanting NTLM can reuse non-NTLM connections +- connect: return CURLE_OPERATION_TIMEDOUT for errno == ETIMEDOUT +- connect: silence sign-compare warning +- cookie: avoid harmless use after free +- cookie: pass in the correct cookie amount to qsort() +- cookies: change argument type for Curl_flush_cookies +- cookies: using a share with cookies shouldn't enable the cookie engine +- copyrights: update copyright notices to 2019 +- curl: create easy handles on-demand and not ahead of time +- curl: ensure HTTP 429 triggers --retry +- curl: exit the create_transfers loop on errors +- curl: fix memory leaked by parse_metalink() +- curl: load large files with -d @ much faster +- docs/HTTP3: fix `--with-ssl` ngtcp2 configure flag +- docs: added multi-event.c example +- docs: disambiguate CURLUPART_HOST is for host name (ie no port) +- docs: note on failed handles not being counted by curl_multi_perform +- doh: allow only http and https in debug mode +- doh: avoid truncating DNS QTYPE to lower octet +- doh: clean up dangling DOH memory on easy close +- doh: fix (harmless) buffer overrun +- doh: fix undefined behaviour and open up for gcc and clang optimization +- doh: return early if there is no time left +- examples/sslbackend: fix -Wchar-subscripts warning +- gnutls: make gnutls_bye() not wait for response on shutdown +- http2: expire a timeout at end of stream +- http2: prevent dup'ed handles to send dummy PRIORITY frames +- http2: relax verification of :authority in push promise requests +- http2_recv: a closed stream trumps pause state +- http: lowercase headernames for HTTP/2 and HTTP/3 +- ldap: Stop using wide char version of ldapp_err2string +- ldap: fix OOM error on missing query string +- mbedtls: add error message for cert validity starting in the future +- mime: when disabled, avoid C99 macro +- ngtcp2: adapt to API change +- ngtcp2: compile with latest ngtcp2 + nghttp3 draft-23 +- ngtcp2: remove fpr
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2019-09-19 15:49:31 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.7948 (New) Package is "curl" Thu Sep 19 15:49:31 2019 rev:149 rq:730096 version:7.66.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2019-07-26 12:34:22.222125184 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new.7948/curl-mini.changes 2019-09-19 15:49:37.527308148 +0200 @@ -1,0 +2,86 @@ +Wed Sep 11 08:17:06 UTC 2019 - Pedro Monreal Gonzalez + +- 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 +- cleanup: move functions out of url.c and make them static +- cleanup: remove the 'numsocks' argument used in many places +- configure: avoid undefined check_for_ca_bundle +- curl.h: add CURL_HTTP_VERSION_3 to the version enum +- curl: cap the maximum allowed values for retry time arguments +- curl: handle a libcurl build without netrc support +- curl: make use of CURLINFO_RETRY_AFTER when retrying +- curl: use CURLINFO_PROTOCOL to check for HTTP(s) +- curl_global_init_mem.3: mention it was added in 7.12.0 +- curl_version: bump string buffer size to 250 +- curl_version_info.3: mentioned ALTSVC and HTTP3 +- curl_version_info: offer quic (and h3) library info +- curl_version_info: provide nghttp2 details +- defines: avoid underscore-prefixed defines +- docs/ALTSVC: remove what works and the experimental explanation +- docs/EXPERIMENTAL: explain what it means and what's experimental now +- docs/MANUAL.md: converted to markdown from plain text +- docs/examples/curlx: fix errors +- docs: s/curl_debug/curl_dbg_debug in comments and docs +- easy: resize receive buffer on easy handle reset +- examples: Avoid reserved names in hiperfifo examples +- examples: add http3.c, altsvc.c and http3-present.c +- http09: disable HTTP/0.9 by default in both tool and library +- http2: when marked for closure and wanted to close == OK +- http2_recv: trigger another read when the last data is returned +- http: fix use of credentials from URL when using HTTP proxy +- http_negotiate: improve handling of gss_init_sec_context() failures +- md4: Use our own MD4 when no crypto libraries are available +- multi: call detach_connection before Curl_disconnect +- nss: use TLSv1.3 as default if supported +- openssl: build warning free with boringssl +- openssl: use SSL_CTX_set__proto_version() when available +- plan9: add support for running on Plan 9 +- progress: reset download/uploaded counter between transfers +- readwrite_data: repair setting the TIMER_STARTTRANSFER stamp +- scp: fix directory name length used in memcpy +- smb: init *msg to NULL in smb_send_and_recv() +- smtp: check for and bail out on too short EHLO response +- source: remove names from source comments +- spnego_sspi: add typecast to fix build warning +- src/makefile: fix uncompressed hugehelp.c generation +- ssh-libssh: do not specify O_APPEND when not in append mode +- ssh: move code into
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2019-07-26 12:34:16 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.4126 (New) Package is "curl" Fri Jul 26 12:34:16 2019 rev:148 rq:717100 version:7.65.3 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2019-06-13 22:36:07.700327071 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new.4126/curl-mini.changes 2019-07-26 12:34:22.222125184 +0200 @@ -1,0 +2,68 @@ +Fri Jul 19 13:51:15 UTC 2019 - Pedro Monreal Gonzalez + +- Update to 7.65.3 + * progress: make the progress meter appear again + +--- +Wed Jul 17 09:07:25 UTC 2019 - Pedro Monreal Gonzalez + +- 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 +- multi: make sure 'data' can present in several sockhash entries +- netrc: Return the correct error code when out of memory +- nss: don't set unused parameter +- nss: inspect returnvalue of token check +- nss: only cache valid CRL entries +- openssl: define HAVE_SSL_GET_SHUTDOWN based on version number +- openssl: disable engine if OPENSSL_NO_UI_CONSOLE is defined +- openssl: fix pubkey/signature algorithm detection in certinfo +- os400: make vsetopt() non-static as Curl_vsetopt() for os400 support +- quote.d: asterisk prefix works for SFTP as well +- runtests: keep logfiles around by default +- runtests: report single test time + total duration +- test1165: verify that CURL_DISABLE_ symbols are in sync +- test1521: adapt to SLISTPOINT +- test1523: test CURLOPT_LOW_SPEED_LIMIT +- test153: fix content-length to avoid occasional hang +- test188/189: fix Content-Length +- tests: have runtests figure out disabled features +- tests: support non-localhost HOSTIP for dict/smb servers +- tests: update fixed IP for hostip/clientip split +- tool_cb_prg: Fix integer overflow in progress bar +- typecheck: CURLOPT_CONNECT_TO takes an slist too +- typecheck: add 3 missing strings and a callback data pointer +- unit1654: cleanup on memory failure +- unpause: trigger a timeout for event-based transfers +- url: Fix CURLOPT_MAXAGE_CONN time comparison +- Rebased patch curl-use_OPENSSL_config.patch +- Disable new added failing test1165 + +--- curl.changes: same change Old: curl-7.65.1.tar.xz curl-7.65.1.tar.xz.asc New: curl-7.65.3.tar.xz curl-7.65.3.tar.xz.asc Other differences: -- ++ curl-mini.spec ++ --- /var/tmp/diff_new_pack.3ueTej/_old 2019-07-26 12:34:27.034122705 +0200 +++ /var/tmp/diff_new_pack.3ueTej/_new 2019-07-26 12:34:27.038122703 +0200 @@ -29,7 +29,7 @@ # need ssl always for python-pycurl %bcond_without openssl Name: curl-mini -Version:7.65.1 +Version:7.65.3 Release:0 Summary:A Tool for Transferring Data from URLs License:curl @@ -130,6 +130,9 @@ %patch4 -p1 %patch5 -p1 +# disable new failing test 1165 +echo "1165" >> tests/data/DISABLED + %build # curl complains if macro definit
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2019-06-13 22:36:01 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.4811 (New) Package is "curl" Thu Jun 13 22:36:01 2019 rev:147 rq:708007 version:7.65.1 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2019-05-25 13:19:59.252342080 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new.4811/curl-mini.changes 2019-06-13 22:36:07.700327071 +0200 @@ -1,0 +2,34 @@ +Wed Jun 5 15:34:01 UTC 2019 - Pedro Monreal Gonzalez + +- 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() + +--- curl.changes: same change Old: curl-7.65.0.tar.xz curl-7.65.0.tar.xz.asc New: curl-7.65.1.tar.xz curl-7.65.1.tar.xz.asc Other differences: -- ++ curl-mini.spec ++ --- /var/tmp/diff_new_pack.D6noQM/_old 2019-06-13 22:36:08.568326789 +0200 +++ /var/tmp/diff_new_pack.D6noQM/_new 2019-06-13 22:36:08.568326789 +0200 @@ -29,7 +29,7 @@ # need ssl always for python-pycurl %bcond_without openssl Name: curl-mini -Version:7.65.0 +Version:7.65.1 Release:0 Summary:A Tool for Transferring Data from URLs License:curl ++ curl.spec ++ --- /var/tmp/diff_new_pack.D6noQM/_old 2019-06-13 22:36:08.592326781 +0200 +++ /var/tmp/diff_new_pack.D6noQM/_new 2019-06-13 22:36:08.592326781 +0200 @@ -27,7 +27,7 @@ # need ssl always for python-pycurl %bcond_without openssl Name: curl -Version:7.65.0 +Version:7.65.1 Release:0 Summary:A Tool for Transferring Data from URLs License:curl ++ curl-7.65.0.tar.xz -> curl-7.65.1.tar.xz ++ 21266 lines of diff (skipped)
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2019-05-25 13:19:57 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.5148 (New) Package is "curl" Sat May 25 13:19:57 2019 rev:146 rq:704820 version:7.65.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2019-04-15 11:50:29.938488128 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new.5148/curl-mini.changes 2019-05-25 13:19:59.252342080 +0200 @@ -1,0 +2,101 @@ +Wed May 22 11:41:49 UTC 2019 - Pedro Monreal Gonzalez + +- 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 +- curlver.h: use parenthesis in CURL_VERSION_BITS macro +- docs/INSTALL: fix broken link +- doh: acknowledge CURL_DISABLE_DOH +- doh: disable DOH for the cases it doesn't work +- examples: remove unused variables +- ftplistparser: fix LGTM alert "Empty block without comment" +- hostip: acknowledge CURL_DISABLE_SHUFFLE_DNS +- http: Ignore HTTP/2 prior knowledge setting for HTTP proxies +- http: acknowledge CURL_DISABLE_HTTP_AUTH +- http: mark bundle as not for multiuse on < HTTP/2 response +- http_digest: Don't expose functions when HTTP and Crypto Auth are disabled +- http_negotiate: do not treat failure of gss_init_sec_context() as fatal +- http_ntlm: Corrected the name of the include guard +- http_ntlm_wb: Handle auth for only a single request +- http_ntlm_wb: Return the correct error on receiving an empty auth message +- lib509: add missing include for strdup +- lib557: initialize variables +- mbedtls: enable use of EC keys +- mime: acknowledge CURL_DISABLE_MIME +- multi: improved HTTP_1_1_REQUIRED handling +- netrc: acknowledge CURL_DISABLE_NETRC +- nss: allow fifos and character devices for certificates +- nss: provide more specific error messages on failed init +- ntlm: Fix misaligned function comments for Curl_auth_ntlm_cleanup +- ntlm: Support the NT response in the type-3 when OpenSSL doesn't include MD4 +- openssl: mark connection for close on TLS close_notify +- openvms: Remove pre-processor for SecureTransport +- parse_proxy: use the URL parser API +- parsedate: disabled on CURL_DISABLE_PARSEDATE +- pingpong: disable more when no pingpong protocols are enabled +- polarssl_threadlock: remove conditionally unused code +- progress: acknowledge CURL_DISABLE_PROGRESS_METER +- proxy: acknowledge DISABLE_PROXY more +- resolve: apply Happy Eyeballs philosophy to parallel c-ares queries +- revert "multi: support verbose conncache closure handle" +- sasl: Don't send authcid as authzid for the PLAIN mechanism as per RFC 4616 +- sasl: only enable if there's a protocol enabled using it +- singleipconnect: show port in the verbose "Trying ..." message +- socks5: user name and passwords must be shorter than 256 +- socks: fix error message +- socksd: new SOCKS 4+5 server for tests +- spnego_gssapi: fix return code on gss_init_sec_context() failure +- ssh-libssh: remove unused variable +- ssh: define USE_SSH if SSH is enabled (any
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2019-04-15 11:50:23 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.17052 (New) Package is "curl" Mon Apr 15 11:50:23 2019 rev:145 rq:693004 version:7.64.1 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2019-03-27 16:11:58.323658838 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new.17052/curl-mini.changes 2019-04-15 11:50:29.938488128 +0200 @@ -1,0 +2,130 @@ +Tue Apr 9 12:11:46 UTC 2019 - Pedro Monreal Gonzalez + +- Install curl.fish completions file from curl rather than from the fish package + +--- +Tue Apr 9 11:41:07 UTC 2019 - Pedro Monreal Gonzalez + +- 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 +- curl.h: use __has_declspec_attribute for shared builds +- curl: display --version features sorted alphabetically +- curl: fix FreeBSD compiler warning in the --xattr code +- curl: remove MANUAL from -M output +- curl_easy_duphandle.3: clarify that a duped handle has no shares +- curl_multi_remove_handle.3: use at any time, just not from within callbacks +- curl_url.3: this API is not experimental anymore +- dns: release sharelock as soon as possible +- docs: update max-redirs.d phrasing +- examples/10-at-a-time.c: improve readability and simplify +- examples/cacertinmem.c: use multiple certificates for loading CA-chain +- examples/crawler: Fix the Accept-Encoding setting +- examples/ephiperfifo.c: various fixes +- examples/externalsocket: add missing close socket calls +- examples/http2-download: cleaned up +- examples/http2-serverpush: add some sensible error checks +- examples/http2-upload: cleaned up +- examples/httpcustomheader: Value stored to 'res' is never read +- examples/postinmemory: Potential leak of memory pointed to by 'chunk.memory' +- examples/sftpuploadresume: Value stored to 'result' is never read +- examples: only include +- examples: remove recursive calls to curl_multi_socket_action +- examples: remove superfluous null-pointer checks +- file: fix "Checking if unsigned variable 'readcount' is less than zero." +- fnmatch: disable if FTP is disabled +- gnutls: remove call to deprecated gnutls_compression_get_name +- gopher: remove check for path == NULL +- gssapi: fix deprecated header warnings +- hostip: make create_hostcache_id avoid alloc + free +- http2: multi_connchanged() moved from multi.c, only used for h2 +- http2: verify :athority in push promise requests +- http: make adding a blank header thread-safe +- http: send payload when (proxy) authentication is done +- http: set state.infilesize when sending multipart formposts +- makefile: make checksrc and hugefile commands "silent" +- mbedtls: make it build even if MBEDTLS_VERSION_C isn't set +- mbedtls: release sessionid resources on error +- memdebug: log pointer before freeing its data +- memdebug: make debug-specific functions use curl_dbg_ prefix +- mime: put the boundary buffer into the curl_mime struct +- multi: call multi_done on connect timeouts, fixes CURLINFO_TOTAL_TIME +- multi: remove verbose "Expire in" ... messages +- multi: removed unused code for re
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2019-03-27 16:11:56 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.25356 (New) Package is "curl" Wed Mar 27 16:11:56 2019 rev:144 rq:686085 version:7.64.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2019-03-11 11:14:22.709360313 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new.25356/curl-mini.changes 2019-03-27 16:11:58.323658838 +0100 @@ -1,0 +2,7 @@ +Mon Mar 18 10:34:14 UTC 2019 - Pedro Monreal Gonzalez + +- 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 + +--- curl.changes: same change New: curl-singlesocket-sincebefore-placement.patch Other differences: -- ++ curl-mini.spec ++ --- /var/tmp/diff_new_pack.kNCUC5/_old 2019-03-27 16:11:59.827658455 +0100 +++ /var/tmp/diff_new_pack.kNCUC5/_new 2019-03-27 16:11:59.831658453 +0100 @@ -49,6 +49,8 @@ # PATCH-FIX-UPSTREAM boo#1127849 fix a crash in libcurl Patch6: 0001-connection_check-set-data-to-the-transfer-doing-the-.patch Patch7: 0002-connection_check-restore-original-conn-data-after-th.patch +# PATCH-FIX-UPSTREAM bsc#1129083 bsc#1129470 Fix sincebefore variable placement +Patch8: curl-singlesocket-sincebefore-placement.patch BuildRequires: libtool BuildRequires: pkgconfig Requires: libcurl4%{?mini} = %{version} @@ -134,6 +136,7 @@ %patch5 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 %build # curl complains if macro definition is contained in CFLAGS ++ curl.spec ++ --- /var/tmp/diff_new_pack.kNCUC5/_old 2019-03-27 16:11:59.855658448 +0100 +++ /var/tmp/diff_new_pack.kNCUC5/_new 2019-03-27 16:11:59.855658448 +0100 @@ -47,6 +47,8 @@ # PATCH-FIX-UPSTREAM boo#1127849 fix a crash in libcurl Patch6: 0001-connection_check-set-data-to-the-transfer-doing-the-.patch Patch7: 0002-connection_check-restore-original-conn-data-after-th.patch +# PATCH-FIX-UPSTREAM bsc#1129083 bsc#1129470 Fix sincebefore variable placement +Patch8: curl-singlesocket-sincebefore-placement.patch BuildRequires: libtool BuildRequires: pkgconfig Requires: libcurl4%{?mini} = %{version} @@ -132,6 +134,7 @@ %patch5 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 %build # curl complains if macro definition is contained in CFLAGS ++ curl-singlesocket-sincebefore-placement.patch ++ >From afc00e047c773faeaa60a5f86a246cbbeeba5819 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 19 Feb 2019 15:56:54 +0100 Subject: [PATCH] singlesocket: fix the 'sincebefore' placement The variable wasn't properly reset within the loop and thus could remain set for sockets that hadn't been set before and miss notifying the app. This is a follow-up to 4c35574 (shipped in curl 7.64.0) Reported-by: buzo-ffm on github Detected-by: Jan Alexander Steffens Fixes #3585 Closes #3589 --- lib/multi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/multi.c b/lib/multi.c index aaae8b9786..521262b2b2 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -2349,8 +2349,6 @@ static CURLMcode singlesocket(struct Curl_multi *multi, int num; unsigned int curraction; int actions[MAX_SOCKSPEREASYHANDLE]; - unsigned int comboaction; - bool sincebefore = FALSE; for(i = 0; i< MAX_SOCKSPEREASYHANDLE; i++) socks[i] = CURL_SOCKET_BAD; @@ -2369,6 +2367,8 @@ static CURLMcode singlesocket(struct Curl_multi *multi, i++) { unsigned int action = CURL_POLL_NONE; unsigned int prevaction = 0; +unsigned int comboaction; +bool sincebefore = FALSE; s = socks[i];
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2019-03-11 11:14:20 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.28833 (New) Package is "curl" Mon Mar 11 11:14:20 2019 rev:143 rq:682978 version:7.64.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2019-03-01 20:26:02.738060058 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new.28833/curl-mini.changes 2019-03-11 11:14:22.709360313 +0100 @@ -1,0 +2,7 @@ +Fri Mar 8 16:10:39 UTC 2019 - Fabian Vogt + +- 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 + +--- curl.changes: same change New: 0001-connection_check-set-data-to-the-transfer-doing-the-.patch 0002-connection_check-restore-original-conn-data-after-th.patch Other differences: -- ++ curl-mini.spec ++ --- /var/tmp/diff_new_pack.Q7FghA/_old 2019-03-11 11:14:23.609360044 +0100 +++ /var/tmp/diff_new_pack.Q7FghA/_new 2019-03-11 11:14:23.613360042 +0100 @@ -46,6 +46,9 @@ # PATCH-FIX-OPENSUSE bsc#1076446 protocol redirection not supported or disabled Patch4: curl-disabled-redirect-protocol-message.patch Patch5: curl-use_OPENSSL_config.patch +# PATCH-FIX-UPSTREAM boo#1127849 fix a crash in libcurl +Patch6: 0001-connection_check-set-data-to-the-transfer-doing-the-.patch +Patch7: 0002-connection_check-restore-original-conn-data-after-th.patch BuildRequires: libtool BuildRequires: pkgconfig Requires: libcurl4%{?mini} = %{version} @@ -129,6 +132,8 @@ %endif %patch4 -p1 %patch5 -p1 +%patch6 -p1 +%patch7 -p1 %build # curl complains if macro definition is contained in CFLAGS ++ curl.spec ++ --- /var/tmp/diff_new_pack.Q7FghA/_old 2019-03-11 11:14:23.633360037 +0100 +++ /var/tmp/diff_new_pack.Q7FghA/_new 2019-03-11 11:14:23.637360035 +0100 @@ -44,6 +44,9 @@ # PATCH-FIX-OPENSUSE bsc#1076446 protocol redirection not supported or disabled Patch4: curl-disabled-redirect-protocol-message.patch Patch5: curl-use_OPENSSL_config.patch +# PATCH-FIX-UPSTREAM boo#1127849 fix a crash in libcurl +Patch6: 0001-connection_check-set-data-to-the-transfer-doing-the-.patch +Patch7: 0002-connection_check-restore-original-conn-data-after-th.patch BuildRequires: libtool BuildRequires: pkgconfig Requires: libcurl4%{?mini} = %{version} @@ -127,6 +130,8 @@ %endif %patch4 -p1 %patch5 -p1 +%patch6 -p1 +%patch7 -p1 %build # curl complains if macro definition is contained in CFLAGS ++ 0001-connection_check-set-data-to-the-transfer-doing-the-.patch ++ >From c34b576805318aa4896caf1d9b806a5bb89ca456 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 11 Feb 2019 07:56:00 +0100 Subject: [PATCH 1/2] connection_check: set ->data to the transfer doing the check The http2 code for connection checking needs a transfer to use. Make sure a working one is set before handler->connection_check() is called. Reported-by: jnbr on github Fixes #3541 Closes #3547 --- lib/url.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/url.c b/lib/url.c index d5a982008..229c655da 100644 --- a/lib/url.c +++ b/lib/url.c @@ -965,6 +965,7 @@ static bool extract_if_dead(struct connectdata *conn, /* The protocol has a special method for checking the state of the connection. Use it to check if the connection is dead. */ unsigned int state; + conn->data = data; /* use this transfer for now */ state = conn->handler->connection_check(conn, CONNCHECK_ISDEAD); dead = (state & CONNRESULT_DEAD); } -- 2.20.1 ++ 0002-connection_check-restore-original-conn-data-after-th.patch ++ >From f992905ab8a242934dba114103c730117a1d25a3 Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Mon, 11 Feb 2019 23:00:00 -0500 Subject: [PATCH 2/2] connection_check: restore original conn->data after the check - Save the original conn->data before it's changed to the specified data transfer for the connection check and then restore it afterwards. This is a follow-up to 38d8e1b 2019-02-11. History: It was discovered a month ago that before checking whether to extract a dead connection that that connection should be associated with a "live" transfer for the check (ie original conn->data ignored and set to the passed in data). A fix was landed in 54b201b which did that and also cleared conn->data after the check. The original conn->data was not restored, so presumably it was thought that a valid conn->data was no longer needed. Se
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2019-03-01 20:26:00 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.28833 (New) Package is "curl" Fri Mar 1 20:26:00 2019 rev:142 rq:679773 version:7.64.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2019-01-25 22:41:42.871350220 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new.28833/curl-mini.changes 2019-03-01 20:26:02.738060058 +0100 @@ -1,0 +2,101 @@ +Wed Feb 27 08:53:31 UTC 2019 - Stephan Kulow + +- BuildRequire libcurl4-mini for !bootstrap to avoid build cycles + due to cmake pulling libcurl4 + +--- +Wed Feb 6 09:16:58 UTC 2019 - Pedro Monreal Gonzalez + +- 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 +- cookies: skip custom cookies when redirecting cross-site +- curl --xattr: strip credentials from any URL that is stored +- curl -J: refuse to append to the destination file +- curl/urlapi.h: include "curl.h" first +- curl_multi_remove_handle() don't block terminating c-ares requests +- darwinssl: accept setting max-tls with default min-tls +- disconnect: separate connections and easy handles better +- disconnect: set conn->data for protocol disconnect +- docs/version.d: mention MultiSSL +- docs: fix the --tls-max description +- docs: use $(INSTALL_DATA) to install man page +- docs: use meaningless port number in CURLOPT_LOCALPORT example +- gopher: always include the entire gopher-path in request +- http2: clear pause stream id if it gets closed +- if2ip: remove unused function Curl_if_is_interface_name +- libssh: do not let libssh create socket +- libssh: enable CURLOPT_SSH_KNOWNHOSTS and CURLOPT_SSH_KEYFUNCTION for libssh +- libssh: free sftp_canonicalize_path() data correctly +- libtest/stub_gssapi: use "real" snprintf +- mbedtls: use VERIFYHOST +- multi: multiplexing improvements +- multi: set the EXPIRE_*TIMEOUT timers at TIMER_STARTSINGLE time +- ntlm: fix NTMLv2 compliance +- ntlm_sspi: add support for channel binding +- openssl: adapt to 3.0.0, OpenSSL_version_num() is deprecated +- openssl: fix the SSL_get_tlsext_status_ocsp_resp call +- openvms: fix OpenSSL discovery on VAX +- openvms: fix typos in documentation +- os400: add a missing closing bracket +- os400: fix extra parameter syntax error +- pingpong: change default response timeout to 120 seconds +- pingpong: ignore regular timeout in disconnect phase +- printf: fix format specifiers +- runtests.pl: Fix perl call to include srcdir +- schannel: fix compiler warning +- schannel: preserve original certificate path parameter +- schannel: stop calling it "winssl" +- sigpipe: if mbedTLS is used, ignore SIGPIPE +- smb: fix incorrect path in request if connection reused +- ssh: log the libssh2 error message when ssh session startup fails +- test1558: verify CURLINFO_PROTOCOL on file:// transfer +- test1561: improve test name +- test1653: make it survive torture tests +- tests: allow tests to pass by 2037-02-12 +- tests: move objnames-* from lib into tests +- timediff: fix math for unsigned time_t +- timeva
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2019-01-25 22:41:40 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.28833 (New) Package is "curl" Fri Jan 25 22:41:40 2019 rev:141 rq:667017 version:7.63.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2018-11-06 15:27:37.252318361 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new.28833/curl-mini.changes 2019-01-25 22:41:42.871350220 +0100 @@ -1,0 +2,97 @@ +Fri Jan 18 15:18:57 UTC 2019 - VÃtÄ›zslav ČÞek + +- Provide libcurl4 = %version in the mini library package + +--- +Thu Dec 27 04:44:48 UTC 2018 - s...@suspend.net + +- 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 + * curl: fix memory leak reading --writeout from file + * curl: fixed UTF-8 in current console code page (Win) + * curl_easy_perform: fix timeout handling + * curl_global_sslset(): id == -1 is not necessarily an error + * curl_multibyte: fix a malloc overcalculation + * curle: move deprecated error code to ifndef block + * docs: curl_formadd field and file names are now escaped + * docs: escape "\n" codes + * doh: fix memory leak in OOM situation + * doh: make it work for h2-disabled builds too + * examples/ephiperfifo: report error when epoll_ctl fails + * ftp: avoid unsigned int overflows in FTP listing parser + * host names: allow trailing dot in name resolve, then strip it + * http2: Upon HTTP_1_1_REQUIRED, retry the request with HTTP/1.1 + * http: don't set CURLINFO_CONDIITON_UNMET for http status code 204 + * http: fix HTTP DIgest auth to include query in URI + * http_negotiate: do not close connection until negotiation is completed + * impacket: add LICENSE + * infof: clearly indicate truncation + * ldap: fix LDAP URL parsing regressions + * libcurl: stop reading from paused transfers + * mprintf: avoid unsigned integer overflow warning + * netrc: don't ignore the login name specified with "--user" + * nss: Fall back to latest supported SSL version + * nss: Fix compatibility with nss versions 3.14 to 3.15 + * nss: fix fallthrough comment to fix picky compiler warning + * nss: remove version selecting dead code + * nss: set default max-tls to 1.3/1.2 + * openssl: Remove SSLEAY leftovers + * openssl: do not log excess "TLS app data" lines for TLS 1.3 + * openssl: do not use file BIOs if not requested + * openssl: fix unused variable compiler warning with old openssl + * openssl: support session resume with TLS 1.3 + * openvms: fix example name + * os400: Add curl_easy_conn_upkeep() to ILE/RPG binding + * os400: add CURLOPT_CURLU to ILE/RPG binding + * os400: fix return type of curl_easy_pause() in ILE/RPG binding + * packages: remove old leftover files and dirs + * pop3: only do APOP with a valid timestamp + * runtests: use the local curl for verifying + * schannel: be consistent in Schannel capitalization + * schannel: better CURLOPT_CERTINFO support + * schannel: use Curl_prefix for global private symbols + * snprintf: renamed and now we only use msnprintf() + * ssl: fix compilation with OpenSSL 0.9.7 + * ssl: replace all internal uses of CURLE_SSL_CACERT + * symbols-in-versions: add missing CURLU_symbols + * test328: verify Content-Encoding: none + * tests: disable SO_EXCLUSIVEADDRUSE for stunnel/Win + * tests: drop http_pipe.py script no longer used + * tests: drop http_pipe.py script no lon
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2019-01-03 18:03:34 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new.28833 (New) Package is "curl" Thu Jan 3 18:03:34 2019 rev:140 rq:661567 version:7.63.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2018-11-06 15:27:38.624316277 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new.28833/curl.changes 2019-01-03 18:03:36.680301305 +0100 @@ -1,0 +2,91 @@ +Thu Dec 27 04:44:48 UTC 2018 - s...@suspend.net + +- 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 + * curl: fix memory leak reading --writeout from file + * curl: fixed UTF-8 in current console code page (Win) + * curl_easy_perform: fix timeout handling + * curl_global_sslset(): id == -1 is not necessarily an error + * curl_multibyte: fix a malloc overcalculation + * curle: move deprecated error code to ifndef block + * docs: curl_formadd field and file names are now escaped + * docs: escape "\n" codes + * doh: fix memory leak in OOM situation + * doh: make it work for h2-disabled builds too + * examples/ephiperfifo: report error when epoll_ctl fails + * ftp: avoid unsigned int overflows in FTP listing parser + * host names: allow trailing dot in name resolve, then strip it + * http2: Upon HTTP_1_1_REQUIRED, retry the request with HTTP/1.1 + * http: don't set CURLINFO_CONDIITON_UNMET for http status code 204 + * http: fix HTTP DIgest auth to include query in URI + * http_negotiate: do not close connection until negotiation is completed + * impacket: add LICENSE + * infof: clearly indicate truncation + * ldap: fix LDAP URL parsing regressions + * libcurl: stop reading from paused transfers + * mprintf: avoid unsigned integer overflow warning + * netrc: don't ignore the login name specified with "--user" + * nss: Fall back to latest supported SSL version + * nss: Fix compatibility with nss versions 3.14 to 3.15 + * nss: fix fallthrough comment to fix picky compiler warning + * nss: remove version selecting dead code + * nss: set default max-tls to 1.3/1.2 + * openssl: Remove SSLEAY leftovers + * openssl: do not log excess "TLS app data" lines for TLS 1.3 + * openssl: do not use file BIOs if not requested + * openssl: fix unused variable compiler warning with old openssl + * openssl: support session resume with TLS 1.3 + * openvms: fix example name + * os400: Add curl_easy_conn_upkeep() to ILE/RPG binding + * os400: add CURLOPT_CURLU to ILE/RPG binding + * os400: fix return type of curl_easy_pause() in ILE/RPG binding + * packages: remove old leftover files and dirs + * pop3: only do APOP with a valid timestamp + * runtests: use the local curl for verifying + * schannel: be consistent in Schannel capitalization + * schannel: better CURLOPT_CERTINFO support + * schannel: use Curl_prefix for global private symbols + * snprintf: renamed and now we only use msnprintf() + * ssl: fix compilation with OpenSSL 0.9.7 + * ssl: replace all internal uses of CURLE_SSL_CACERT + * symbols-in-versions: add missing CURLU_symbols + * test328: verify Content-Encoding: none + * tests: disable SO_EXCLUSIVEADDRUSE for stunnel/Win + * tests: drop http_pipe.py script no longer used + * tests: drop http_pipe.py script no longer used + * tool_cb_wrt: Silence function cast compiler warning + * tool_doswin: Fix uninitialized field warning + * travis: build with clang sanitizers + * travis: remove curl before
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2018-11-06 15:26:51 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Tue Nov 6 15:26:51 2018 rev:139 rq:645714 version:7.62.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2018-09-07 15:34:40.282848438 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl-mini.changes 2018-11-06 15:27:37.252318361 +0100 @@ -1,0 +2,120 @@ +Wed Oct 31 09:23:37 UTC 2018 - Pedro Monreal Gonzalez + +- 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 + * cmake: Improve config installation + * cmake: add support for transitive ZLIB target + * cmake: disable -Wpedantic-ms-format + * cmake: don't require OpenSSL if USE_OPENSSL=OFF + * cmake: fixed path used in generation of docs/tests + * cmake: remove unused *SOCKLEN_T variables + * cmake: suppress MSVC warning C4127 for libtest + * cmake: test and set missed defines during configuration + * config: Remove unused SIZEOF_VOIDP + * configure: force-use -lpthreads on HPUX + * configure: remove CURL_CONFIGURE_CURL_SOCKLEN_T + * configure: s/AC_RUN_IFELSE/CURL_RUN_IFELSE + * cookies: Remove redundant expired check + * cookies: fix leak when writing cookies to file + * curl-config.in: remove dependency on bc + * curl.1: --ipv6 mutexes ipv4 (fixed typo) + * curl: update the documentation of --tlsv1.0 + * curl_multi_wait: call getsock before figuring out timeout + * curl_ntlm_wb: check aprintf() return codes + * data-binary.d: clarify default content-type is x-www-form-urlencoded + * docs/CIPHERS: Mention the options used to set TLS 1.3 ciphers + * docs/CIPHERS: fix the TLS 1.3 cipher names + * docs/CIPHERS: mention the colon separation for OpenSSL + * docs/examples: URL updates + * docs: add "see also" links for SSL options + * example/asiohiper: insert warning comment about its status + * example/htmltidy: fix include paths of tidy libraries + * examples/http2-pushinmemory: receive HTTP/2 pushed files in memory + * examples/parseurl.c: show off the URL API + * examples: Fix memory leaks from realloc errors + * examples: do not wait when no transfers are running + * ftp: include command in Curl_ftpsend sendbuffer + * gskit: make sure to terminate version string + * gtls: Values stored to but never read + * hostip: fix check on Curl_shuffle_addr return value + * http2: fix memory leaks on error-path + * http: fix memleak in rewind error path + * krb5: fix memory leak in krb_auth + * memory: add missing curl_printf header + * memory: ensure to check allocation results + * multi: Fix error handling in the SENDPROTOCONNECT state + * multi: fix memory leak in content encoding related error path + * multi: make the closure handle "inherit" CURLOPT_NOSIGNAL + * netrc: free temporary strings if memory allocation fails + * nss: try to connect even if libnssckbi.so fails to load + * ntlm_wb: Fix memory leaks in ntlm_wb_response + * ntlm_wb: bail out if the response gets overly large + * openssl: assume engine support in 0.9.8 or later + * openssl: enable TLS 1.3 post-handshake auth + * openssl: fix gcc8 warning + * openssl: load built-in engines too + * openssl: make 'done' a proper boolean + * openssl: output the correct cipher list on TLS 1.3 error + * openssl: return CURLE_PEER_FAILED_VERIFICATION on failure to parse issuer + * openssl: show "pr
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2018-09-07 15:34:35 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Fri Sep 7 15:34:35 2018 rev:138 rq:633271 version:7.61.1 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2018-08-28 09:23:17.176611181 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl-mini.changes 2018-09-07 15:34:40.282848438 +0200 @@ -1,0 +2,110 @@ +Wed Sep 5 07:12:59 UTC 2018 - Karol Babioch + +- 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 + * curl: fix time-of-check, time-of-use race in dir creation + * curl: use Content-Disposition before the "URL end" for -OJ + * curl: warn the user if a given file name looks like an option + * curl_threads: silence bad-function-cast warning + * darwinssl: add support for ALPN negotiation + * docs/CURLOPT_URL: fix indentation + * docs/CURLOPT_WRITEFUNCTION: size is always 1 + * docs/SECURITY-PROCESS: mention bounty, drop pre-notify + * docs/examples: add hiperfifo example using linux epoll/timerfd + * docs: add disallow-username-in-url.d and haproxy-protocol.d to dist + * docs: clarify NO_PROXY env variable functionality + * docs: improved the manual pages of some callbacks + * docs: mention NULL is fine input to several functions + * formdata: Remove unused macro HTTPPOST_CONTENTTYPE_DEFAULT + * gopher: Do not translate `?' to `%09' + * header output: switch off all styles, not just unbold + * hostip: fix unused variable warning + * http2: Use correct format identifier for stream_id + * http2: abort the send_callback if not setup yet + * http2: avoid set_stream_user_data() before stream is assigned + * http2: check nghttp2_session_set_stream_user_data return code + * http2: clear the drain counter in Curl_http2_done + * http2: make sure to send after RST_STREAM + * http2: separate easy handle from connections better + * http: fix for tiny "HTTP/0.9" response + * http_proxy: Remove unused macro SELECT_TIMEOUT + * lib/Makefile: only do symbol hiding if told to + * lib1502: fix memory leak in torture test + * lib1522: fix curl_easy_setopt argument type + * libcurl-thread.3: expand somewhat on the NO_SIGNAL motivation + * mime: check Curl_rand_hex's return code + * multi: always do the COMPLETED procedure/state + * openssl: assume engine support in 1.0.0 or later + * openssl: fix debug messages + * projects: Improve Windows perl detection in batch scripts + * retry: return error if rewind was necessary but didn't happen + * reuse_conn(): memory leak - free old_conn->options + * schannel: client certificate store opening fix + * schannel: enable CALG_TLS1PRF for w32api >= 5.1 + * schannel: fix MinGW compile break + * sftp: don't send post-qoute sequence when retrying a connection + * smb: fix memory leak on early failure + * smb: fix memory-leak in URL parse error path + * smb_getsock: always wait for write socket too + * ssh-libssh: fix infinite connect loop on invalid private key + * ssh-libssh: reduce excessive verbose output about pubkey auth + * ssh-libssh: use FALLTHROUG
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2018-08-31 10:46:58 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Fri Aug 31 10:46:58 2018 rev:137 rq:632185 version:7.61.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2018-08-28 09:23:17.320611631 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2018-08-31 10:47:00.827389235 +0200 @@ -10 +10 @@ -- Update to version 7.62.0 +- Update to version 7.61.0 Other differences: -- curl.spec: same change
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2018-08-28 09:23:15 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Tue Aug 28 09:23:15 2018 rev:136 rq:630910 version:7.61.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2018-07-27 10:51:42.357125497 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl-mini.changes 2018-08-28 09:23:17.176611181 +0200 @@ -1,0 +2,6 @@ +Wed Aug 22 12:32:50 UTC 2018 - kbabi...@suse.com + +- Added curl-switch-off-all-styles.patch: Fix output of wrong escape sequences, + which might mess up the terminal (bsc#1105624) + +--- curl.changes: same change New: curl-switch-off-all-styles.patch Other differences: -- ++ curl-mini.spec ++ --- /var/tmp/diff_new_pack.uL5Ion/_old 2018-08-28 09:23:17.788613091 +0200 +++ /var/tmp/diff_new_pack.uL5Ion/_new 2018-08-28 09:23:17.792613104 +0200 @@ -46,6 +46,7 @@ # PATCH-FIX-OPENSUSE bsc#1076446 protocol redirection not supported or disabled Patch4: curl-disabled-redirect-protocol-message.patch Patch5: curl-use_OPENSSL_config.patch +Patch6: curl-switch-off-all-styles.patch BuildRequires: libtool BuildRequires: pkgconfig Requires: libcurl4%{?mini} = %{version} @@ -126,6 +127,7 @@ %endif %patch4 -p1 %patch5 -p1 +%patch6 -p1 %build # curl complains if macro definition is contained in CFLAGS ++ curl.spec ++ --- /var/tmp/diff_new_pack.uL5Ion/_old 2018-08-28 09:23:17.808613153 +0200 +++ /var/tmp/diff_new_pack.uL5Ion/_new 2018-08-28 09:23:17.812613166 +0200 @@ -44,6 +44,7 @@ # PATCH-FIX-OPENSUSE bsc#1076446 protocol redirection not supported or disabled Patch4: curl-disabled-redirect-protocol-message.patch Patch5: curl-use_OPENSSL_config.patch +Patch6: curl-switch-off-all-styles.patch BuildRequires: libtool BuildRequires: pkgconfig Requires: libcurl4%{?mini} = %{version} @@ -124,6 +125,7 @@ %endif %patch4 -p1 %patch5 -p1 +%patch6 -p1 %build # curl complains if macro definition is contained in CFLAGS ++ curl-switch-off-all-styles.patch ++ >From 1b62b1704581fed8cd01e18cffe6676667e3a7f4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 12 Jul 2018 11:04:00 +0200 Subject: [PATCH] header output: switch off all styles, not just unbold ... the "unbold" sequence doesn't work on the mac Terminal. Reported-by: Zero King Fixes #2736 Closes #2738 --- src/tool_cb_hdr.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/tool_cb_hdr.c b/src/tool_cb_hdr.c index 88ce5e13b8..6419b72048 100644 --- a/src/tool_cb_hdr.c +++ b/src/tool_cb_hdr.c @@ -42,7 +42,10 @@ static char *parse_filename(const char *ptr, size_t len); #define BOLDOFF #else #define BOLD "\x1b[1m" -#define BOLDOFF "\x1b[21m" +/* Switch off bold by settting "all attributes off" since the explicit + bold-off code (21) isn't supported everywhere - like in the mac + Terminal. */ +#define BOLDOFF "\x1b[0m" #endif /*
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2018-07-27 10:51:39 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Fri Jul 27 10:51:39 2018 rev:135 rq:623486 version:7.61.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2018-05-29 16:45:51.753976155 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl-mini.changes 2018-07-27 10:51:42.357125497 +0200 @@ -1,0 +2,109 @@ +Tue Jul 17 13:56:05 UTC 2018 - pgaj...@suse.com + +- 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 + * multi: provide a socket to wait for in Curl_protocol_getsock + * content_encoding: handle zlib versions too old for Z_BLOCK + * winbuild: only delete OUTFILE if it exists + * winbuild: In MakefileBuild.vc fix typo DISTDIR->DIRDIST + * schannel: add failf calls for client certificate failures + * cmake: Fix the test for fsetxattr and strerror_r + * curl.1: Fix cmdline-opts reference errors + * cmdline-opts/gen.pl: warn if mutexes: or see-also: list non-existing options + * cmake: check for getpwuid_r + * configure: fix ssh2 linking when built with a static mbedtls + * psl: use latest psl and refresh it periodically + * fnmatch: insist on escaped bracket to match + * KNOWN_BUGS: restore text regarding #2101 + * INSTALL: LDFLAGS=-Wl,-R/usr/local/ssl/lib + * configure: override AR_FLAGS to silence warning + * os400: implement mime api EBCDIC wrappers + * curl.rc: embed manifest for correct Windows version detection + * strictness: correct {infof, failf} format specifiers + * tests: update .gitignore for libtests + * configure: check for declaration of getpwuid_r + * fnmatch: use the system one if available + * CURLOPT_RESOLVE: always purge old entry first + * multi: remove a potentially bad DEBUGF() + * curl_addrinfo: use same #ifdef conditions in source as header + * build: remove the Borland specific makefiles + * axTLS: not considered fit for use + * cmdline-opts/cert-type.d: mention "p12" as a recognized type + * system.h: add support for IBM xlc C compiler + * tests/libtest: Add lib1521 to nodist_SOURCES + * mk-ca-bundle.pl: leave certificate name untouched + * boringssl + schannel: undef X509_NAME in lib/schannel.h + * openssl: assume engine support in 1.0.1 or later + * cppcheck: fix warnings + * test 46: make test pass after year 2025 + * schannel: support selecting ciphers + * Curl_debug: remove dead printhost code + * test 1455: unflakified + * Curl_init_do: handle NULL connection pointer passed in + * progress: remove a set of unused defines + * mk-ca-bundle.pl: make -u delete certdata.txt if found not changed + * GOVERNANCE.md: explains how this project is run + * configure: use pkg-config for c-ares detection + * configure: enhance ability to build with static openssl + * maketgz: fix sed issues on OSX + * multi: fix memory leak when stopped during name resolve + * CURLOPT_INTERFACE.3: interface names not supported on Windows + * url: fix dangling conn->data pointer + * cmake: allow multiple SSL backends + * system.h: fix for gcc on 32 bit OpenServer + * ConnectionExists: make sure conn->data is
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2018-05-29 16:45:48 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Tue May 29 16:45:48 2018 rev:134 rq:610352 version:7.60.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2018-03-19 23:31:36.180018084 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl-mini.changes 2018-05-29 16:45:51.753976155 +0200 @@ -1,0 +2,128 @@ +Fri May 18 11:47:00 UTC 2018 - vci...@suse.com + +- 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 + +--- +Wed May 16 08:41:48 UTC 2018 - pmonrealgonza...@suse.com + +- 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 + * timeval: remove compilation warning by casting + * cmake: avoid warn-as-error during config checks + * travis-ci: enable -Werror for CMake builds + * openldap: fix for NULL return from ldap_get_attribute_ber() + * threaded resolver: track resolver time and set suitable timeout values + * cmake: Add advapi32 as explicit link library for win32 + * docs: fix CURLINFO_*_T examples use of CURL_FORMAT_CURL_OFF_T + * test1148: set a fixed locale for the test + * cookies: when reading from a file, only remove_expired once + * cookie: store cookies per top-level-domain-specific hash table + * openssl: fix build with LibreSSL 2.7 + * tls: fix mbedTLS 2.7.0 build + handle sha256 failures + * openssl: RESTORED verify locations when verifypeer==0 + * file: restore old behavior for file:foo/bar URLs + * FTP: allow PASV on IPv6 connections when a proxy is being used + * build-openssl.bat: allow custom paths for VS and perl + * winbuild: make the clean target work without build-type + * build-openssl.bat: Refer to VS2017 as VC14.1 instead of VC15 + * curl: retry on FTP 4xx, ignore other protocols + * configure: detect (and use) sa_family_t + * examples/sftpuploadresume: Fix Windows large file seek + * build: cleanup to fix clang warnings/errors + * winbuild: updated the documentation + * lib: silence null-dereference warnings + * travis: bump to clang 6 and gcc 7 + * travis: build libpsl and make builds use it + * proxy: show getenv proxy use in verbose output + * duphandle: make sure CURLOPT_RESOLVE is duplicated + * all: Refactor malloc+memset to use calloc + * checksrc: Fix typo + * system.h: Add sparcv8plus to oracle/sunpro 32-bit detection + * vauth: Fix typo + * ssh: show libSSH2 error code when closing fails + * test1148: tolerate progress updates better + * urldata: make service names unconditional + * configure: keep LD_LIBRARY_PATH changes local + * ntlm_sspi: fix authentication using Credential Manager + * schannel: add client certificate authentication + * winbuild: Support custom devel paths for each dependency + * schannel: add support for CURLOPT_CAINFO + * http2: handle on_begin_headers() called more than once + * openssl: support OpenSSL 1.1.1 verbose-mode trace messages + * openssl: fix subjectAltName check on non-ASCII platforms + * http2: avoid strstr() on data not zero terminated +
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2018-03-19 23:31:34 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Mon Mar 19 23:31:34 2018 rev:133 rq:587006 version:7.59.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2018-02-25 12:19:01.826789479 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl-mini.changes 2018-03-19 23:31:36.180018084 +0100 @@ -1,0 +2,94 @@ +Wed Mar 14 14:23:22 UTC 2018 - pmonrealgonza...@suse.com + +- Added message about protocol redirection not supported or + disabled to the function findprotocol() [bsc#1076446] + * Added curl-disabled-redirect-protocol-message.patch + +--- +Wed Mar 14 13:08:33 UTC 2018 - pmonrealgonza...@suse.com + +- 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 + * configure: set PATH_SEPARATOR to colon for PATH w/o separator + * curl_easy_reset: clear digest auth state + * curl/curl.h: fix comment typo for CURLOPT_DNS_LOCAL_IP6 + * range: commonize FTP and FILE range handling + * progress-bar docs: update to match implementation + * fnmatch: do not match the empty string with a character set + * fnmatch: accept an alphanum to be followed by a non-alphanum in char set + * build: fix termios issue on android cross-compile + * getdate: return -1 for out of range + * formdata: use the mime-content type function + * openssl: Don't add verify locations when verifypeer==0 + * fnmatch: optimize processing of consecutive *s and ?s pattern characters + * schannel: fix compiler warnings + * content_encoding: Add "none" alias to "identity" + * get_posix_time: only check for overflows if they can happen + * http_chunks: don't write chunks twice with CURLOPT_HTTP_TRANSFER_DECODING + * README: language fix + * sha256: build with OpenSSL < 0.9.8 + * smtp: fix processing of initial dot in data + * --tlsauthtype: works only if libcurl is built with TLS-SRP support + * tests: new tests for http raw mode + * libcurl-security.3: man page discussion security concerns when using libcurl + * curl_gssapi: make sure this file too uses our *printf() + * BINDINGS: fix curb link (and remove ruby-curl-multi) + * nss: use PK11_CreateManagedGenericObject() if available + * travis: add build with iconv enabled + * ssh: add two missing state names + * CURLOPT_HEADERFUNCTION.3: mention folded headers + * http: fix the max header length detection logic + * header callback: don't chop headers into smaller pieces + * CURLOPT_HEADER.3: clarify problems with different data sizes + * curl --version: show PSL if the run-time lib has it enabled + * examples/sftpuploadresume: resume upload via CURLOPT_APPEND + * Return error if called recursively from within callbacks + * sasl: prefer PLAIN mechanism over LOGIN + * winbuild: Use CALL to run batch scripts + * curl_share_setopt.3: connection cache is shared within multi handles + * projects/README: remove reference to dead IDN link/package + * lib655: silence compiler warning + * configure: Fix version check for OpenSSL 1.1.1 + * docs/MANUAL: formfind.pl is not accessible on the site anymore + * unit1307: proper cleanup on OOM to fix torture tests + * curl_ctype: fix macro redefinition warnings + * build: get CFLAGS (including -werror) used for examples and tests + * NO_PROXY:
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2018-02-25 12:18:58 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Sun Feb 25 12:18:58 2018 rev:132 rq:578303 version:7.58.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2018-02-18 11:40:59.904542802 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl-mini.changes 2018-02-25 12:19:01.826789479 +0100 @@ -1,0 +2,6 @@ +Tue Feb 20 09:48:49 UTC 2018 - tchva...@suse.com + +- Sort a bit with spec-cleaner +- Install license with the library + +--- @@ -5,0 +12 @@ + * Added patch ignore_runtests_failure.patch --- /work/SRC/openSUSE:Factory/curl/curl.changes2018-02-18 11:41:00.100535766 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2018-02-25 12:19:03.286736600 +0100 @@ -1,0 +2,6 @@ +Tue Feb 20 09:48:49 UTC 2018 - tchva...@suse.com + +- Sort a bit with spec-cleaner +- Install license with the library + +--- Other differences: -- ++ curl-mini.spec ++ --- /var/tmp/diff_new_pack.8gXQHJ/_old 2018-02-25 12:19:04.778682563 +0100 +++ /var/tmp/diff_new_pack.8gXQHJ/_new 2018-02-25 12:19:04.782682418 +0100 @@ -20,17 +20,14 @@ %define bootstrap 1 # WARNING: please do not edit this auto generated spec file. Use the curl.spec! # %define mini -mini - -%bcond_with mozilla_nss -# need ssl always for python-pycurl -%bcond_without openssl - %if 0%{?bootstrap} %bcond_with testsuite %else %bcond_without testsuite %endif - +%bcond_with mozilla_nss +# need ssl always for python-pycurl +%bcond_without openssl Name: curl-mini Version:7.58.0 Release:0 @@ -48,6 +45,7 @@ Patch3: ignore_runtests_failure.patch BuildRequires: libtool BuildRequires: pkgconfig +Requires: libcurl4%{?mini} = %{version} %if !0%{?bootstrap} BuildRequires: groff BuildRequires: krb5-mini-devel @@ -65,8 +63,6 @@ # The -mini package is sufficient for the build hosts Provides: curl = %{version} %endif -Requires: libcurl4%{?mini} = %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with openssl} BuildRequires: pkgconfig(libssl) %endif @@ -78,10 +74,6 @@ # used by the testsuite BuildRequires: stunnel %endif -# bug437293 -%ifarch ppc64 -Obsoletes: curl-64bit -%endif %description Curl is a client to get documents and files from or send documents to a @@ -111,8 +103,8 @@ Obsoletes: curl-devel < 7.16.2 %if 0%{?bootstrap} Requires: this-is-only-for-build-envs -Provides: libcurl-devel = %{version}-%{release} Conflicts: libcurl-devel +Provides: libcurl-devel = %{version}-%{release} %endif %description -n libcurl%{?mini}-devel @@ -122,7 +114,7 @@ user interaction or any kind of interactivity. %prep -%setup -q -n curl-%version +%setup -q -n curl-%{version} %patch0 %patch1 %patch2 @@ -196,14 +188,13 @@ rm -f %{buildroot}%{_libdir}/libcurl.la install -Dm 0644 docs/libcurl/libcurl.m4 %{buildroot}%{_datadir}/aclocal/libcurl.m4 pushd scripts -make %{?_smp_mflags} DESTDIR=%{buildroot} install +%make_install popd %post -n libcurl4%{?mini} -p /sbin/ldconfig %postun -n libcurl4%{?mini} -p /sbin/ldconfig %files -%defattr(-,root,root) %doc README RELEASE-NOTES %doc docs/{BUGS,FAQ,FEATURES,MANUAL,RESOURCES,TODO,TheArtOfHttpScripting} %{_bindir}/curl @@ -213,11 +204,10 @@ %dir %{_datadir}/zsh/site-functions %files -n libcurl4%{?mini} -%defattr(-,root,root) +%license COPYING %{_libdir}/libcurl.so.4* %files -n libcurl%{?mini}-devel -%defattr(-,root,root) %{_bindir}/curl-config %{_includedir}/curl %dir %{_datadir}/aclocal/ ++ curl.spec ++ --- /var/tmp/diff_new_pack.8gXQHJ/_old 2018-02-25 12:19:04.806681549 +0100 +++ /var/tmp/diff_new_pack.8gXQHJ/_new 2018-02-25 12:19:04.810681404 +0100 @@ -17,18 +17,15 @@ %define bootstrap 0 -%define mini %nil - -%bcond_with mozilla_nss -# need ssl always for python-pycurl -%bcond_without openssl - +%define mini %{nil} %if 0%{?bootstrap} %bcond_with testsuite %else %bcond_without testsuite %endif - +%bcond_with mozilla_nss +# need ssl always for python-pycurl +%bcond_without openssl Name: curl Version:7.58.0 Release:0 @@ -46,6 +43,7 @@ Patch3: ignore_runtests_failure.patch BuildRequires: libtool BuildRequires: pkgconfig +Requires: libcurl4%{?mini} = %{version} %if !0%{?bootstrap} BuildRequires: groff BuildRequires: krb5-mini-devel @@ -63,8 +61,6 @@ # The -mini package is sufficient for the build hosts
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2018-02-18 11:40:54 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Sun Feb 18 11:40:54 2018 rev:131 rq:569559 version:7.58.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2017-12-03 10:09:36.663300808 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl-mini.changes 2018-02-18 11:40:59.904542802 +0100 @@ -1,0 +2,107 @@ +Thu Jan 25 12:23:48 UTC 2018 - norm...@linux.vnet.ibm.com + +- ignore all test failures for PowerPC as bypass boo#1075219 + (not only the 1501 previously skipped) + +--- +Wed Jan 24 11:41:36 UTC 2018 - a...@cryptomilk.org + +- Build curl with libssh.org + libssh offers a lot more features than libssh2, for example: + * Key Exchange Methods: curve25519-sha...@libssh.org + * Hostkey Types: ssh-ed25519 + * Authentication: gssapi-with-mic + +--- +Wed Jan 24 10:31:58 UTC 2018 - pmonrealgonza...@suse.com + +- Update to version 7.58.0 + [bsc#1076360,CVE-2018-105][bsc#1077001,CVE-2018-107] + 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 + * curl: remove __EMX__ #ifdefs + * CURLOPT_PRIVATE.3: fix grammar + * sftp: allow quoted commands to use relative paths + * CURLOPT_DNS_CACHE_TIMEOUT.3: see also CURLOPT_RESOLVE + * RESOLVE: output verbose text when trying to set a duplicate name + * multi_done: prune DNS cache + * tests: update .gitignore for libtests + * tests: mark data files as non-executable in git + * CURLOPT_DNS_LOCAL_IP4.3: fixed the "SEE ALSO" to not self-reference + * curl.1: documented two missing valid exit codes + * curl.1: mention http:// and https:// as valid proxy prefixes + * vtls: replaced getenv() with curl_getenv() + * setopt: less *or equal* than INT_MAX/1000 should be fine + * examples/smtp-mail.c: use separate defines for options and mail + * curl: support >256 bytes warning messsages + * conncache: fix a return code + * krb5: fix a potential access of uninitialized memory + * rand: add a clang-analyzer work-around + * CURLOPT_READFUNCTION.3: refer to argument with correct name + * brotli: allow compiling with version 0.6.0 + * content_encoding: rework zlib_inflate + * curl_easy_reset: release mime-related data + * examples/rtsp: fix error handling macros + * curl: Support size modifiers for --max-filesize + * examples/cacertinmem: ignore cert-already-exists error + * brotli: data at the end of content can be lost + * curl_version_info.3: call the argument 'age' + * openssl: fix memory leak of SSLKEYLOGFILE filename + * build: remove HAVE_LIMITS_H check + * --mail-rcpt: fix short-text description + * scripts: allow all perl scripts to be run directly + * progress: calculate transfer speed on milliseconds if possible + * system.h: check __LONG_MAX__ for defining curl_off_t + * easy: fix connection ownership in curl_easy_pause + * setopt: reintroduce non-static Curl_vsetopt() for OS400 support + * setopt: fix SSLVERSION to allow CURL_SSLVERSION_MAX_ values + * configure.ac: append extra linker flags instead of prepending them + * HTTP: bail out on negative Content-Length: values + * docs: comment about CURLE_READ_ERROR returned by curl_mime_fil
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2018-01-13 21:34:15 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Sat Jan 13 21:34:15 2018 rev:130 rq:563229 version:7.57.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2017-12-03 10:09:36.919291501 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2018-01-13 21:34:17.207450067 +0100 @@ -1,0 +2,5 @@ +Tue Jan 9 17:55:14 UTC 2018 - norm...@linux.vnet.ibm.com + +- disable 1501 test for PowerPC as byass boo#1075219 + +--- Other differences: -- ++ curl-mini.spec ++ --- /var/tmp/diff_new_pack.uhZ7Kg/_old 2018-01-13 21:34:18.063409992 +0100 +++ /var/tmp/diff_new_pack.uhZ7Kg/_new 2018-01-13 21:34:18.071409618 +0100 @@ -1,7 +1,7 @@ # # spec file for package curl-mini # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++ curl.spec ++ --- /var/tmp/diff_new_pack.uhZ7Kg/_old 2018-01-13 21:34:18.095408494 +0100 +++ /var/tmp/diff_new_pack.uhZ7Kg/_new 2018-01-13 21:34:18.099408307 +0100 @@ -1,7 +1,7 @@ # # spec file for package curl # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -168,6 +168,10 @@ %if %{with testsuite} %check pushd tests +%ifarch ppc ppc64 ppc64le +echo "# disable 1501 for PowerPC bypass boo#1075219" >>data/DISABLED +echo "1501" >>data/DISABLED +%endif make %{?_smp_mflags} # make sure the testsuite runs don't race on MP machines in autobuild if test -z "$BUILD_INCARNATION" -a -r /.buildenv; then
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2017-12-03 10:09:33 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Sun Dec 3 10:09:33 2017 rev:129 rq:546406 version:7.57.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2017-10-26 18:40:04.82952 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl-mini.changes 2017-12-03 10:09:36.663300808 +0100 @@ -1,0 +2,77 @@ +Wed Nov 29 10:43:55 UTC 2017 - pmonrealgonza...@suse.com + +- 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 + * include: remove conncache.h inclusion from where its not needed + * CURLOPT_MAXREDIRS: allow -1 as a value + * tests: Fixed torture tests on tests 556 and 650 + * http2: Fixed OOM handling in upgrade request + * url: fix CURLOPT_DNS_CACHE_TIMEOUT arg value check to allow -1 + * CURLOPT_INFILESIZE: accept -1 + * curl: pass through [] in URLs instead of calling globbing error + * curl: speed up handling of many URLs + * ntlm: avoid malloc(0) for zero length passwords + * url: remove faulty arg value check from CURLOPT_SSH_AUTH_TYPES + * HTTP: support multiple Content-Encodings + * travis: add a job with brotli enabled + * url: remove unncessary NULL-check + * fnmatch: remove dead code + * connect: store IPv6 connection status after valid connection + * imap: deal with commands case insensitively + * --interface: add support for Linux VRF + * content_encoding: fix inflate_stream for no bytes available + * cmake: Add missing setmode check + * connect.c: remove executable bit on file + * SMB: fix uninitialized local variable + * zlib/brotli: only include header files in modules needing them + * URL: return error on malformed URLs with junk after IPv6 bracket + * openssl: fix too broad use of HAVE_OPAQUE_EVP_PKEY + * macOS: Fix missing connectx function with Xcode version older than 9.0 + * --resolve: allow IP address within [] brackets + * examples/curlx: Fix code style + * ntlm: remove unnecessary NULL-check to please scan-build + * Curl_llist_remove: fix potential NULL pointer deref + * mime: fix "Value stored to 'sz' is never read" scan-build error + * openssl: fix "Value stored to 'rc' is never read" scan-build error + * http2: fix "Value stored to 'hdbuf' is never read" scan-build error + * http2: fix "Value stored to 'end' is never read" scan-build error + * Curl_open: fix OOM return error correctly + * url: reject ASCII control characters and space in host names + * examples/rtsp: clear RANGE again after use + * connect: improve the bind error message + * make: fix "make distclean" + * connect: add support for new TCP Fast Open API on Linux + * metalink: fix memory-leak and NULL pointer dereference + * URL: update "file:" URL handling + * ssh: remove check for a NULL pointer + * global_init: ignore CURL_GLOBAL_SSL's absense + +--- curl.changes: same change Old: curl-7.56.1.tar.gz curl-7.56.1.tar.gz.asc New: curl-7.57.0.tar.gz curl-7.57.0.tar.gz.asc +++
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2017-10-26 18:40:04 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Thu Oct 26 18:40:04 2017 rev:128 rq:535954 version:7.56.1 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2017-10-20 16:11:09.220947285 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl-mini.changes 2017-10-26 18:40:04.82952 +0200 @@ -1,0 +2,55 @@ +Mon Oct 23 09:12:11 UTC 2017 - pmonrealgonza...@suse.com + +- 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 + * ftpserver: support case insensitive commands + * test950; verify SMTP with custom request + * openssl: don't use old BORINGSSL_MM macros + * setopt: update current connection SSL verify params + * curl: reimplement stdin buffering in -F option + * mime: keep "text/plain" content type if user-specified + * mime: fix the content reader to handle >16K data properly + * configure: remove the C++ compiler check + * memdebug: trace send, recv and socket + * runtests: use valgrind for torture as well + * ldap: silence clang warning + * makefile.m32: allow to override gcc, ar and ranlib + * setopt: avoid integer overflows when setting millsecond values + * setopt: range check most long options + * ftp: reject illegal IP/port in PASV 227 response + * mime: do not reuse previously computed multipart size + * vtls: change struct Curl_ssl `close' field name to `close_one' + * os400: add missing symbols in config file + * mime: limit bas64-encoded lines length to 76 characters + * mk-ca-bundle: Remove URL for aurora + * mk-ca-bundle: Fix URL for NSS + +--- curl.changes: same change Old: curl-7.56.0.tar.gz curl-7.56.0.tar.gz.asc New: curl-7.56.1.tar.gz curl-7.56.1.tar.gz.asc Other differences: -- ++ curl-mini.spec ++ --- /var/tmp/diff_new_pack.4fvIB3/_old 2017-10-26 18:40:08.391834303 +0200 +++ /var/tmp/diff_new_pack.4fvIB3/_new 2017-10-26 18:40:08.391834303 +0200 @@ -32,7 +32,7 @@ %endif Name: curl-mini -Version:7.56.0 +Version:7.56.1 Release:0 Summary:A Tool for Transferring Data from URLs License:curl ++ curl.spec ++ --- /var/tmp/diff_new_pack.4fvIB3/_old 2017-10-26 18:40:08.419832997 +0200 +++ /var/tmp/diff_new_pack.4fvIB3/_new 2017-10-26 18:40:08.419832997 +0200 @@ -30,7 +30,7 @@ %endif Name: curl -Version:7.56.0 +Version:7.56.1 Release:0 Summary:A Tool for Transferring Data from URLs License:curl ++ curl-7.56.0.tar.gz -> curl-7.56.1.tar.gz ++ 32571 lines of diff (skipped)
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2017-10-20 16:11:07 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Fri Oct 20 16:11:07 2017 rev:127 rq:532979 version:7.56.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2017-09-04 12:20:35.700186389 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl-mini.changes 2017-10-20 16:11:09.220947285 +0200 @@ -1,0 +2,98 @@ +Thu Oct 5 16:15:04 UTC 2017 - pmonrealgonza...@suse.com + +- 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 + * cmake: enable picky compiler options with clang and gcc + * makefile.m32: add support for libidn2 + * curl: shorten and clean up CA cert verification error message + * imap: support PREAUTH + * CURLOPT_USERPWD.3: see also CURLOPT_PROXYUSERPWD + * examples/threaded-ssl: mention that this is for openssl before 1.1 + * tests: Make sure libtests & unittests call curl_global_cleanup() + * system.h: include sys/poll.h for AIX + * darwinssl: handle long strings in TLS certs + * strtooff: fix build for systems with long long but no strtoll + * asyn-thread: Improved cleanup after OOM situations + * curl.h: CURLSSLBACKEND_WOLFSSL used wrong value + * unit1301: fix error message on first test + * ossfuzz: moving towards the ideal integration + * http: fix a memory leakage in checkrtspprefix() + * examples/post-callback: stop returning one byte at a time + * schannel: return CURLE_SSL_CACERT on failed verification + * http-proxy: treat all 2xx as CONNECT success + * openssl: use OpenSSL's default ciphers by default + * runtests.pl: support attribute "nonewline" in part verify/upload + * configure: remove --enable-soname-bump and SONAME_BUMP + * vtls: fix WolfSSL 3.12 build problems + * http-proxy: when not doing CONNECT, that phase is done immediately + * configure: fix curl_off_t check's include order + * configure: use -Wno-varargs on clang 3.9[.X] debug builds + * rtsp: do not call fwrite() with NULL pointer FILE * + * mbedtls: enable CA path processing + * checksrc: verify more code style rules + * HTTP proxy: on connection re-use, still use the new remote port + * tests: add initial gssapi test using stub implementation + * rtsp: Segfault when using WRITEDATA + * docs: clarify the CURLOPT_INTERLEAVE* options behavior + * non-ascii: use iconv() with 'char **' argument + * server/getpart: provide dummy function to build conversion enabled + * conversions: fix several compiler warnings + * openssl: add missing includes + * schannel: Support partial send for when data is too large + * socks: fix incorrect port number in SOCKS4 error message + * curl: fix integer overflow in timeout options + * cookies: reject oversized cookies instead of truncating + * cookies: use lock when using CURLINFO_COOKIELIST + * curl: check fseek() return code and bail on error + * examples/post-callback: use long for CURLOPT_POSTFIELDSIZE + * openssl: only verify RSA private key if supported + * tests: make the imap server not verify user+password + * imap: quote atoms properly when escaping characters + * tests: fix a compiler warning in test 643 + * file_range: avoid integer overflow when figuring out byte range + * reuse_conn: don't copy flags that are known to be equal + * http: f
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2017-09-04 12:20:32 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Mon Sep 4 12:20:32 2017 rev:126 rq:519611 version:7.55.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2017-08-24 18:21:04.378161026 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl-mini.changes 2017-09-04 12:20:35.700186389 +0200 @@ -1,0 +2,11 @@ +Tue Aug 29 17:33:29 UTC 2017 - zai...@opensuse.org + +- Add curl-http-Don-t-wait-on-CONNECT-when-there-is-no-proxy.patch: + Fix NetworkManagers connectivity test. + +--- +Mon Aug 28 16:15:30 UTC 2017 - sch...@suse.de + +- ppc-build.patch: Fix build for powerpc + +--- curl.changes: same change New: curl-http-Don-t-wait-on-CONNECT-when-there-is-no-proxy.patch ppc-build.patch Other differences: -- ++ curl-mini.spec ++ --- /var/tmp/diff_new_pack.7MUOMZ/_old 2017-09-04 12:20:38.707763570 +0200 +++ /var/tmp/diff_new_pack.7MUOMZ/_new 2017-09-04 12:20:38.723761321 +0200 @@ -49,6 +49,10 @@ Patch3: curl-disable-test1427-i586.patch # PATCH-FIX-UPSTREAM curl-man3.patch - Fix to build libcurl man3 pages Patch4: curl-man3.patch +# PATCH-FIX-UPSTREAM ppc-build.patch - Fix build for powerpc +Patch5: ppc-build.patch +# PATCH-FIX-UPSTREAM curl-http-Don-t-wait-on-CONNECT-when-there-is-no-proxy.patch -- Fix NetworkManagers connectivity test +Patch6: curl-http-Don-t-wait-on-CONNECT-when-there-is-no-proxy.patch BuildRequires: libtool BuildRequires: pkgconfig %if !0%{?bootstrap} @@ -131,6 +135,8 @@ %patch2 %patch3 -p1 -R %patch4 -p1 +%patch5 -p1 +%patch6 -p1 %build # curl complains if macro definition is contained in CFLAGS ++ curl.spec ++ --- /var/tmp/diff_new_pack.7MUOMZ/_old 2017-09-04 12:20:38.823747264 +0200 +++ /var/tmp/diff_new_pack.7MUOMZ/_new 2017-09-04 12:20:38.855742766 +0200 @@ -47,6 +47,10 @@ Patch3: curl-disable-test1427-i586.patch # PATCH-FIX-UPSTREAM curl-man3.patch - Fix to build libcurl man3 pages Patch4: curl-man3.patch +# PATCH-FIX-UPSTREAM ppc-build.patch - Fix build for powerpc +Patch5: ppc-build.patch +# PATCH-FIX-UPSTREAM curl-http-Don-t-wait-on-CONNECT-when-there-is-no-proxy.patch -- Fix NetworkManagers connectivity test +Patch6: curl-http-Don-t-wait-on-CONNECT-when-there-is-no-proxy.patch BuildRequires: libtool BuildRequires: pkgconfig %if !0%{?bootstrap} @@ -129,6 +133,8 @@ %patch2 %patch3 -p1 -R %patch4 -p1 +%patch5 -p1 +%patch6 -p1 %build # curl complains if macro definition is contained in CFLAGS ++ curl-http-Don-t-wait-on-CONNECT-when-there-is-no-proxy.patch ++ >From 74dac344b2feb2e0f4baddb70532dc8e45d2d817 Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Fri, 18 Aug 2017 10:43:02 +0200 Subject: [PATCH] http: Don't wait on CONNECT when there is no proxy Since curl 7.55.0, NetworkManager almost always failed its connectivity check by timeout. I bisected this to 5113ad04 (http-proxy: do the HTTP CONNECT process entirely non-blocking). This patch replaces !Curl_connect_complete with Curl_connect_ongoing, which returns false if the CONNECT state was left uninitialized and lets the connection continue. Closes #1803 Fixes #1804 Also-fixed-by: Gergely Nagy --- lib/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http.c b/lib/http.c index 35c7c3d43f..3e33132783 100644 --- a/lib/http.c +++ b/lib/http.c @@ -1371,7 +1371,7 @@ CURLcode Curl_http_connect(struct connectdata *conn, bool *done) if(CONNECT_FIRSTSOCKET_PROXY_SSL()) return CURLE_OK; /* wait for HTTPS proxy SSL initialization to complete */ - if(!Curl_connect_complete(conn)) + if(Curl_connect_ongoing(conn)) /* nothing else to do except wait right now - we're not done here. */ return CURLE_OK; ++ ppc-build.patch ++ Index: curl-7.55.0/include/curl/system.h === --- curl-7.55.0.orig/include/curl/system.h +++ curl-7.55.0/include/curl/system.h @@ -401,7 +401,7 @@ #elif defined(__GNUC__) # if !defined(__LP64__) && (defined(__ILP32__) || \ - defined(__i386__) || defined(__ppc__) || defined(__arm__) || \ + defined(__i386__) || defined(__powerpc__) || defined(__arm__) || \ defined(__sparc__) || defined(__mips__) || defined(__sh__) || \ defined(__XTENSA__)) #define CURL_SIZEOF_LONG 4
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2017-08-24 18:20:44 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Thu Aug 24 18:20:44 2017 rev:125 rq:515970 version:7.55.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2017-06-29 15:00:46.218722736 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl-mini.changes 2017-08-24 18:21:04.378161026 +0200 @@ -1,0 +2,125 @@ +Thu Aug 10 11:08:46 UTC 2017 - pmonrealgonza...@suse.com + +- Upstream fix to build libcurl man3 pages + * Added patch curl-man3.patch + +--- +Thu Aug 10 10:53:23 UTC 2017 - pmonrealgonza...@suse.com + +- Disabled test1425 that fails in i586 architecture + * Added patch curl-disable-test1427-i586.patch + +--- +Wed Aug 9 09:34:25 UTC 2017 - pmonrealgonza...@suse.com + +- Update to 7.55.0 + Changes: + * curl: allow --header and --proxy-header read from file + * getinfo: provide sizes as curl_off_t + * curl: prevent binary output spewed to terminal + * curl: added --request-target + * curl: added --socks5-{basic,gssapi}: control socks5 auth + * libcurl: added CURLOPT_REQUEST_TARGET + * libcurl: added CURLOPT_SOCKS5_AUTH + Bugfixes: + * Security Fixes: +- glob: do not parse after a strtoul() overflow range + (CVE-2017-1000101, bsc#1051643) +- tftp: reject file name lengths that don't fit + (CVE-2017-1000100, bsc#1051644) +- file: output the correct buffer to the user + (CVE-2017-199, bsc#1051645) + * includes: remove curl/curlbuild.h and curl/curlrules.h + * dist: make the hugehelp.c not get regenerated unnecessarily + * timers: store internal time stamps as time_t instead of doubles + * progress: let "current speed" be UL + DL speeds combined + * http-proxy: do the HTTP CONNECT process entirely non-blocking + * lib/curl_setup.h: remove CURL_WANTS_CA_BUNDLE_ENV + * fuzz: bring oss-fuzz initial code converted to C89 + * configure: disable nghttp2 too if HTTP has been disabled + * mk-ca-bundle.pl: Check curl's exit code after certdata download + * test1148: verify the -# progressbar + * tests: stabilize test 2032 and 2033 + * HTTPS-Proxy: don't offer h2 for https proxy connections + * http-proxy: only attempt FTP over HTTP proxy + * curl-compilers.m4: enable vla warning for clang + * curl-compilers.m4: enable double-promotion warning + * curl-compilers.m4: enable missing-variable-declarations clang +warning + * curl-compilers.m4: enable comma clang warning + * CURLOPT_PREQUOTE: not supported for SFTP + * http2: fix OOM crash + * PIPELINING_SERVER_BL: cleanup the internal list use + * mkhelp.pl: fix script name in usage text + * lib1521: add curl_easy_getinfo calls to the test set + * travis: do the distcheck test build out-of-tree as well + * if2ip: fix compiler warning in ISO C90 mode + * lib: fix the djgpp build + * typecheck-gcc: add support for CURLINFO_OFF_T + * travis: enable typecheck-gcc warnings + * maketgz: switch to xz instead of lzma + * CURLINFO_REDIRECT_URL.3: mention the CURLOPT_MAXREDIRS case + * curl/system.h: add check for XTENSA for 32bit gcc + * test1537: fixed memory leak on OOM + * test1521: fix compiler warnings + * curl: fix memory leak on test 1147 OOM + * libtest/make: generate lib1521.c dynamically at build-time + * curl_strequal.3: fix typo in SYNOPSIS + * progress: prevent resetting t_starttransfer + * openssl: improve fallback seed of PRNG with a time based hash + * http2: improved PING frame handling + * test1450: add simple testing for DICT + * make: build the docs subdir only from within src + * gtls: fix build when sizeof(long) < sizeof(void *) + * url: make the original string get used on subsequent transfers + * timeval.c: Use long long constant type for timeval assignment + * tool_sleep: typecast to avoid macos compiler warning + * travis.yml: use --enable-werror on debug builds + * test1451: add SMB support to the testbed + * configure: remove checks for 5 functions never used + * configure: try ldap/lber in reversed order first + * smb: fix build for djgpp/MSDOS + * travis: install nghttp2 on linux builds + * smb: add support for CURLOPT_FILETIME + * select.h: avoid macro redefinition harder + * runtests: support "threaded-resolver" as a feature + * test506: skip if threaded-resolver + * cmake: remove spurious "-l" from linker flags + * cmake: add CURL_WERROR for enabling "warning as errors" + * memdebug: don't setbuf() if the file open failed + * curl_easy_escape.3: mention the (lack of) encoding + * test1452: add telnet negotiation + * CURLOPT_POSTFIELDS.3: explain the 100-co
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2017-06-29 15:00:29 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Thu Jun 29 15:00:29 2017 rev:124 rq:506883 version:7.54.1 Changes: New Changes file: --- /dev/null 2017-06-22 07:57:20.067658250 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl-mini.changes 2017-06-29 15:00:46.218722736 +0200 @@ -0,0 +1,2029 @@ +--- +Wed Jun 28 13:50:08 UTC 2017 - dims...@opensuse.org + +- Update License to 'curl' as per review on OBS sr#505976. + +--- +Fri Jun 23 10:49:11 UTC 2017 - dims...@opensuse.org + +- Have the -mini packages conflict the real ones. + +--- +Tue Jun 20 11:30:01 UTC 2017 - idon...@suse.com + +- Add curl-invalid-free.patch to fix an invalid free in + curl_multi_setopt function. + +--- +Wed Jun 14 11:19:16 UTC 2017 - idon...@suse.com + +- Update to 7.54.1 + Changes: + * curl now shows release date in --version output + Bugfixes: + * Fixes CVE-2017-9502: default protocol drive letter +buffer overflow bsc#1044243 + * openssl: fix memory leak in servercert + * curl: set a 100K buffer size by default + * nss: do not leak PKCS #11 slot while loading a key + * nss: load libnssckbi.so if no other trust is specified + * curl: use utimes instead of obsolescent utime when available + * url: fixed a memory leak on OOM while setting CURLOPT_BUFFERSIZE + * CURLOPT_BUFFERSIZE: 1024 bytes is now the minimum size + * curl: non-boolean command line args reject --no- prefixes + * telnet: Write full buffer instead of byte-by-byte + * curl: remove --environment and tool_writeenv.c + * curl: generate the --help output + * curl.1: clarify --config + * curl.1: mention --oauth2-bearer's argument + * ssh: fix memory leak in disconnect due to timeout + * redirect: store the "would redirect to" URL when max redirs is reached + * file: make speedcheck use current time for checks + * urlglob: fix division by zero + +--- +Tue Jun 13 13:08:21 UTC 2017 - lnus...@suse.de + +- Create curl-mini for bootstrapping (boo#1042919) + +--- +Wed Apr 19 08:17:17 UTC 2017 - idon...@suse.com + +- Update to 7.54.0 + Changes: + * Add CURL_SSLVERSION_MAX_* constants to CURLOPT_SSLVERSION + * Add --max-tls + * Add CURLOPT_SUPPRESS_CONNECT_HEADERS + * Add --suppress-connect-headers + Bugfixes: + * CVE-2017-7468: switch off SSL session id when client cert is used + * bsc#1033413 + * tests: use consistent environment variables for setting charset + * proxy: fixed a memory leak on OOM + * ftp: removed an erroneous free in an OOM path + * ftp: fixed a NULL pointer dereference on OOM + * gopher: fixed detection of an error condition from Curl_urldecode + * url: fix unix-socket support for proxy-disabled builds + * fix potential use of uninitialized variables + * ares: return error at once if timed out before name resolve starts + * URL: return error on malformed URLs with junk after port number + * http2: Fix assertion error on redirect with CL=0 + * --insecure: clarify that this option is for server connections + * authneg: clear auth.multi flag at http_done + * curl_easy_reset: Also reset the authentication state + * proxy: skip SSL initialization for closed connections + * http_proxy: ignore TE and CL in CONNECT 2xx responses + * multi: fix streamclose() crash in debug mode + * openssl: fall back on SSL_ERROR_* string when no error detail + * asiohiper: make sure socket is open in event_cb + * curl: check for end of input in writeout backslash handling + * openssl: exclude DSA code when OPENSSL_NO_DSA is defined + * http: Fix proxy connection reuse with basic-auth + * pause: handle mixed types of data when paused + * http: do not treat FTPS over CONNECT as HTTPS + * conncache: make hashkey avoid malloc + * multi: fix queueing of pending easy handles + * low_speed_limit: improved function for longer time periods + * nss: load CA certificates even with --insecure + * Curl_expire_latest: ignore already expired timers + * http2: fix handle leak in error path + * openssl: make SSL_ERROR_to_str more future-proof + * openssl: fix thread-safety bugs in error-handling + * openssl: don't try to print nonexistant peer private keys + +--- +Fri Feb 24 11:42:10 UTC 2017 - idon...@suse.com + +- Update to 7.53.1 + Bugfixes: +
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2017-05-03 15:51:43 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Wed May 3 15:51:43 2017 rev:123 rq:489265 version:7.54.0 Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2017-02-26 17:03:56.936204319 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2017-05-03 15:51:44.586365046 +0200 @@ -1,0 +2,45 @@ +Wed Apr 19 08:17:17 UTC 2017 - idon...@suse.com + +- Update to 7.54.0 + Changes: + * Add CURL_SSLVERSION_MAX_* constants to CURLOPT_SSLVERSION + * Add --max-tls + * Add CURLOPT_SUPPRESS_CONNECT_HEADERS + * Add --suppress-connect-headers + Bugfixes: + * CVE-2017-7468: switch off SSL session id when client cert is used + * bsc#1033413 + * tests: use consistent environment variables for setting charset + * proxy: fixed a memory leak on OOM + * ftp: removed an erroneous free in an OOM path + * ftp: fixed a NULL pointer dereference on OOM + * gopher: fixed detection of an error condition from Curl_urldecode + * url: fix unix-socket support for proxy-disabled builds + * fix potential use of uninitialized variables + * ares: return error at once if timed out before name resolve starts + * URL: return error on malformed URLs with junk after port number + * http2: Fix assertion error on redirect with CL=0 + * --insecure: clarify that this option is for server connections + * authneg: clear auth.multi flag at http_done + * curl_easy_reset: Also reset the authentication state + * proxy: skip SSL initialization for closed connections + * http_proxy: ignore TE and CL in CONNECT 2xx responses + * multi: fix streamclose() crash in debug mode + * openssl: fall back on SSL_ERROR_* string when no error detail + * asiohiper: make sure socket is open in event_cb + * curl: check for end of input in writeout backslash handling + * openssl: exclude DSA code when OPENSSL_NO_DSA is defined + * http: Fix proxy connection reuse with basic-auth + * pause: handle mixed types of data when paused + * http: do not treat FTPS over CONNECT as HTTPS + * conncache: make hashkey avoid malloc + * multi: fix queueing of pending easy handles + * low_speed_limit: improved function for longer time periods + * nss: load CA certificates even with --insecure + * Curl_expire_latest: ignore already expired timers + * http2: fix handle leak in error path + * openssl: make SSL_ERROR_to_str more future-proof + * openssl: fix thread-safety bugs in error-handling + * openssl: don't try to print nonexistant peer private keys + +--- Old: curl-7.53.1.tar.lzma curl-7.53.1.tar.lzma.asc New: curl-7.54.0.tar.lzma curl-7.54.0.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.TBkX8U/_old 2017-05-03 15:51:45.762199045 +0200 +++ /var/tmp/diff_new_pack.TBkX8U/_new 2017-05-03 15:51:45.766198480 +0200 @@ -20,7 +20,7 @@ %bcond_with mozilla_nss %bcond_without testsuite Name: curl -Version:7.53.1 +Version:7.54.0 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2017-02-26 17:03:55 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2017-02-08 11:01:52.604084181 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2017-02-26 17:03:56.936204319 +0100 @@ -1,0 +2,119 @@ +Fri Feb 24 11:42:10 UTC 2017 - idon...@suse.com + +- Update to 7.53.1 + Bugfixes: + * url: Improve CURLOPT_PROXY_CAPATH error handling + * urldata: include curl_sspi.h when Windows SSPI is enabled + * formdata: check for EOF when reading from stdin + * tests: Set CHARSET & LANG to UTF-8 in 1035, 2046 and 2047 + * url: Default the proxy CA bundle location to CURL_CA_BUNDLE + * rand: added missing #ifdef HAVE_FCNTL_H around fcntl.h header + +--- +Wed Feb 22 09:49:12 UTC 2017 - idon...@suse.com + +- Update to 7.53.0 + Changes: + * unix_socket: added --abstract-unix-socket and +CURLOPT_ABSTRACT_UNIX_SOCKET + * CURLOPT_BUFFERSIZE: support enlarging receive buffer + + Bugfixes: + * CVE-2017-2629: make SSL_VERIFYSTATUS work again + * gnutls-random: check return code for failed random + * openssl-random: check return code when asking for random + * http: remove "Curl_http_done: called premature" message + * cyassl: use time_t instead of long for timeout + * build-wolfssl: Sync config with wolfSSL 3.10 + * ftp-gss: check for init before use + * configure: accept --with-libidn2 instead + * ftp: failure to resolve proxy should return that error code + * curl.1: add three more exit codes + * docs/ciphers: link to our own new page about ciphers + * vtls: s/SSLEAY/OPENSSL - fixes multi_socket timeouts with openssl + * darwinssl: fix iOS build + * darwinssl: fix CFArrayRef leak + * cmake: use crypt32.lib when building with OpenSSL on windows + * curl_formadd.3: CURLFORM_CONTENTSLENGTH not needed when chunked + * digest_sspi: copy terminating NUL as well + * curl: fix --remote-time incorrect times on Windows + * curl.1: several updates and corrections + * content_encoding: change return code on a failure + * curl.h: CURLE_FUNCTION_NOT_FOUND is no longer in use + * docs: TCP_KEEPALIVE start and interval default to 60 + * darwinssl: --insecure overrides --cacert if both settings are in use + * TheArtOfHttpScripting: grammar + * CIPHERS.md: document GSKit ciphers + * wolfssl: support setting cipher list + * wolfssl: display negotiated SSL version and cipher + * lib506: fix build for Open Watcom + * asiohiper: improved socket handling + * examples: make the C++ examples follow our code style too + * tests/sws: retry send() on EWOULDBLOCK + * cmake: Fix passing _WINSOCKAPI_ macro to compiler + * smtp: Fix STARTTLS denied error message + * imap/pop3: don't print response character in STARTTLS denied messages + * rand: make it work without TLS backing + * url: fix parsing for when 'file' is the default protocol + * url: allow file://X:/path URLs on windows again + * gnutls: check for alpn and ocsp in configure + * IDN: Use TR46 'non-transitional' for toASCII translations + * url: Fix NO_PROXY env var to work properly with --proxy option + * CURLOPT_PREQUOTE.3: takes a struct curl_slist*, not a char* + * docs: Add note about libcurl copying strings to CURLOPT_* manpages + * curl: reset the easy handle at --next + * --next docs: --trace and --trace-ascii are also global + * --write-out docs: 'time_total' is not always shown with ms precision + * http: print correct HTTP string in verbose output when using HTTP/2 + * docs: improved language in README.md HISTORY.md CONTRIBUTE.md + * http2: disable server push if not requested + * nss: use the correct lock in nss_find_slot_by_name() + * usercertinmem.c: improve the short description + * CURLOPT_CONNECT_TO: Fix compile warnings + * docs: non-blocking SSL handshake is now supported with NSS + * *.rc: escape non-ASCII/non-UTF-8 character for clarity + * mbedTLS: fix multi interface non-blocking handshake + * PolarSSL: fix multi interface non-blocking handshake + * VC: remove the makefile.vc6 build infra + * telnet: fix windows compiler warnings + * cookies: do not assume a valid domain has a dot + * polarssl: fix hangs + * gnutls: disable TLS session tickets + * mbedtls: disable TLS session tickets + * mbedtls: implement CTR-DRBG and HAVEGE random generators + * openssl: Don't use certificate after transferring ownership + * cmake: Support curl --xattr when built with cmake + * OS400: Fix symbols + * docs: Add more HTTPS proxy documentation + * docs: use more HTTPS links + * cmdline-opts: Fixed build and test in out of source tree builds + *
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2017-02-08 11:01:51 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2016-12-26 21:38:19.223738242 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2017-02-08 11:01:52.604084181 +0100 @@ -1,0 +2,9 @@ +Sun Feb 5 22:33:33 UTC 2017 - astie...@suse.com + +- build with libidn2 for IDNA2008 support + FATE#321897 CVE-2016-8625 bsc#1005649 + add curl-7.52.1-idn-fixes.patch to fix test, among other things +- re-enable tests that are no longer failing, + remove curl-disable_failing_tests.patch + +--- Old: curl-disable_failing_tests.patch New: curl-7.52.1-idn-fixes.patch Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.nWwMCb/_old 2017-02-08 11:01:53.895904091 +0100 +++ /var/tmp/diff_new_pack.nWwMCb/_new 2017-02-08 11:01:53.903902976 +0100 @@ -1,7 +1,7 @@ # # spec file for package curl # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,14 +33,14 @@ Patch0: libcurl-ocloexec.patch Patch1: dont-mess-with-rpmoptflags.diff Patch3: curl-secure-getenv.patch -Patch4: curl-disable_failing_tests.patch +Patch5: curl-7.52.1-idn-fixes.patch BuildRequires: groff BuildRequires: krb5-mini-devel +BuildRequires: libidn2-devel BuildRequires: libtool BuildRequires: lzma BuildRequires: openldap2-devel BuildRequires: pkgconfig -BuildRequires: pkgconfig(libidn) BuildRequires: pkgconfig(libmetalink) BuildRequires: pkgconfig(libnghttp2) BuildRequires: pkgconfig(libpsl) @@ -98,7 +98,7 @@ %patch0 %patch1 %patch3 -%patch4 -p1 +%patch5 -p1 %build # curl complains if macro definition is contained in CFLAGS ++ curl-7.52.1-idn-fixes.patch ++ >From 0bc24d6f9d15a2cc5898cae4f214487200e78f44 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 25 Dec 2016 01:13:12 +0100 Subject: [PATCH] configure: accept --with-libidn2 instead ... which the help text already implied since we switched to libidn2 from libidn in commit 9c91ec778104ae3b back in October 2016. Reported-by: Christian Weisgerber Bug: https://curl.haxx.se/mail/lib-2016-12/0110.html --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 91028458f..65dac55bc 100644 --- a/configure.ac +++ b/configure.ac @@ -2830,7 +2830,7 @@ dnl ** AC_MSG_CHECKING([whether to build with libidn2]) OPT_IDN="default" -AC_ARG_WITH(libidn, +AC_ARG_WITH(libidn2, AC_HELP_STRING([--with-libidn2=PATH],[Enable libidn2 usage]) AC_HELP_STRING([--without-libidn2],[Disable libidn2 usage]), [OPT_IDN=$withval]) -- 2.11.1 >From f30cbcac11f5a627992f0c48cff91135808fa70f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Fri, 13 Jan 2017 09:36:33 +0100 Subject: [PATCH] IDN: Use TR46 'transitional' for toASCII translations References: http://unicode.org/faq/idn.html http://unicode.org/reports/tr46 Closes #1206 --- lib/url.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/url.c b/lib/url.c index c7a91a4f7..29beb3853 100644 --- a/lib/url.c +++ b/lib/url.c @@ -4010,7 +4010,12 @@ static void fix_hostname(struct connectdata *conn, struct hostname *host) #ifdef USE_LIBIDN2 if(idn2_check_version(IDN2_VERSION)) { char *ace_hostname = NULL; - int rc = idn2_lookup_ul((const char *)host->name, &ace_hostname, 0); +#ifdef IDN2_TRANSITIONAL + int flags = IDN2_NFC_INPUT | IDN2_TRANSITIONAL; +#else + int flags = IDN2_NFC_INPUT; +#endif + int rc = idn2_lookup_ul((const char *)host->name, &ace_hostname, flags); if(rc == IDN2_OK) { host->encalloc = (char *)ace_hostname; /* change the name pointer to point to the encoded hostname */ -- 2.11.1 >From ba315745f7f4ddfedd0763833c22f019817535cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Fri, 13 Jan 2017 11:50:01 +0100 Subject: [PATCH] IDN: Fix compile time detection of linidn2 TR46 Follow-up to f30cbcac1 Closes #1207 --- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/url.c b/lib/url.c index 1f6e5bed9..9112baee0 100644 --- a/lib/url.c +++ b/lib/url.c @@ -4010,7 +4010,7 @@ st
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2016-11-03 12:56:25 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2016-09-17 14:32:33.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2016-11-03 12:56:26.0 +0100 @@ -1,0 +2,71 @@ +Wed Nov 2 07:15:44 UTC 2016 - idon...@suse.com + +- Update to 7.51.0 + Changes: + * nss: additional cipher suites are now accepted by +CURLOPT_SSL_CIPHER_LIST + * New option: CURLOPT_KEEP_SENDING_ON_ERROR + Bugfixes: + * CVE-2016-8615: cookie injection for other servers + * CVE-2016-8616: case insensitive password comparison + * CVE-2016-8617: OOB write via unchecked multiplication + * CVE-2016-8618: double-free in curl_maprintf + * CVE-2016-8619: double-free in krb5 code + * CVE-2016-8620: glob parser write/read out of bounds + * CVE-2016-8621: curl_getdate read out of bounds + * CVE-2016-8622: URL unescape heap overflow via integer truncation + * CVE-2016-8623: Use-after-free via shared cookies + * CVE-2016-8624: invalid URL parsing with '#' + * CVE-2016-8625: IDNA 2003 makes curl use wrong host + * openssl: fix per-thread memory leak using 1.0.1 or 1.0.2 + * http: accept "Transfer-Encoding: chunked" for HTTP/2 as well + * LICENSE-MIXING.md: update with mbedTLS dual licensing + * examples/imap-append: Set size of data to be uploaded + * test2048: fix url + * darwinssl: disable RC4 cipher-suite support + * CURLOPT_PINNEDPUBLICKEY.3: fix the AVAILABILITY formatting + * openssl: don’t call CRYTPO_cleanup_all_ex_data + * libressl: fix version output + * easy: Reset all statistical session info in curl_easy_reset + * curl_global_cleanup.3: don't unload the lib with sub threads running + * dist: add CurlSymbolHiding.cmake to the tarball + * docs: Remove that --proto is just used for initial retrieval + * configure: Fixed builds with libssh2 in a custom location + * curl.1: --trace supports % for sending to stderr! + * cookies: same domain handling changed to match browser behavior + * formpost: trying to attach a directory no longer crashes + * CURLOPT_DEBUGFUNCTION.3: fixed unused argument warning + * formpost: avoid silent snprintf() truncation + * ftp: fix Curl_ftpsendf + * mprintf: return error on too many arguments + * smb: properly check incoming packet boundaries + * GIT-INFO: remove the Mac 10.1-specific details + * resolve: add error message when resolving using SIGALRM + * cmake: add nghttp2 support + * dist: remove PDF and HTML converted docs from the releases + * configure: disable poll() in macOS builds + * vtls: only re-use session-ids using the same scheme + * pipelining: skip to-be-closed connections when pipelining + * win: fix Universal Windows Platform build + * curl: do not set CURLOPT_SSLENGINE to DEFAULT automatically + * maketgz: make it support "only" generating version info + * Curl_socket_check: add extra check to avoid integer overflow + * gopher: properly return error for poll failures + * curl: set INTERLEAVEDATA too + * polarssl: clear thread array at init + * polarssl: fix unaligned SSL session-id lock + * polarssl: reduce #ifdef madness with a macro + * curl_multi_add_handle: set timeouts in closure handles + * configure: set min version flags for builds on mac + * INSTALL: converted to markdown => INSTALL.md + * curl_multi_remove_handle: fix a double-free + * multi: fix inifinte loop in curl_multi_cleanup() + * nss: fix tight loop in non-blocking TLS handhsake over proxy + * mk-ca-bundle: Change URL retrieval to HTTPS-only by default + * mbedtls: stop using deprecated include file + * docs: fix req->data in multi-uv example + * configure: Fix test syntax for monotonic clock_gettime + * CURLMOPT_MAX_PIPELINE_LENGTH.3: Clarify it's not for HTTP/2 +- Refresh libcurl-ocloexec.patch + +--- Old: curl-7.50.3.tar.lzma curl-7.50.3.tar.lzma.asc New: curl-7.51.0.tar.lzma curl-7.51.0.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.Afyekr/_old 2016-11-03 12:56:27.0 +0100 +++ /var/tmp/diff_new_pack.Afyekr/_new 2016-11-03 12:56:27.0 +0100 @@ -20,7 +20,7 @@ %bcond_with mozilla_nss %bcond_without testsuite Name: curl -Version:7.50.3 +Version:7.51.0 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT ++ libcurl-ocloexec.patch ++ --- /var/tmp/diff_new_pack.Afyekr/_old 2016-11-03 12:56:27.0 +0100
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2016-09-17 14:32:31 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2016-09-12 13:23:52.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2016-09-17 14:32:33.0 +0200 @@ -1,0 +2,18 @@ +Wed Sep 14 07:13:02 UTC 2016 - idon...@suse.com + +- update to 7.50.3 + Bugfixes: + * CVE-2016-7167: escape and unescape integer overflows + * mk-ca-bundle.pl: use SHA256 instead of SHA1 + * checksrc: detect strtok() use + * errors: new alias CURLE_WEIRD_SERVER_REPLY + * http2: support > 64bit sized uploads + * openssl: fix bad memory free (regression) + * CMake: hide private library symbols + * http: refuse to pass on response body when NO_NODY is set + * cmake: fix curl-config --static-libs + * mbedtls: switch off NTLM in build if md4 isn't available + * curl: --create-dirs on windows groks both forward and + backward slashes + +--- Old: curl-7.50.2.tar.lzma curl-7.50.2.tar.lzma.asc New: curl-7.50.3.tar.lzma curl-7.50.3.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.RYGBZ1/_old 2016-09-17 14:32:35.0 +0200 +++ /var/tmp/diff_new_pack.RYGBZ1/_new 2016-09-17 14:32:35.0 +0200 @@ -20,7 +20,7 @@ %bcond_with mozilla_nss %bcond_without testsuite Name: curl -Version:7.50.2 +Version:7.50.3 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2016-09-12 13:23:50 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2016-08-12 15:37:09.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2016-09-12 13:23:52.0 +0200 @@ -1,0 +2,55 @@ +Thu Sep 8 08:31:40 UTC 2016 - idon...@suse.com + +- update to 7.50.2 + Bugfixes: + * mbedtls: Added support for NTLM + * SSH: fixed SFTP/SCP transfer problems + * multi: make Curl_expire() work with 0 ms timeouts + * mk-ca-bundle.pl: -m keeps ca cert meta data in output + * TFTP: Fix upload problem with piped input + * CURLOPT_TCP_NODELAY: now enabled by default + * mbedtls: set verbose TLS debug when MBEDTLS_DEBUG is defined + * http2: always wait for readable socket + * cmake: Enable win32 large file support by default + * cmake: Enable win32 threaded resolver by default + * winbuild: Avoid setting redundant CFLAGS to compile commands + * curl.h: make CURL_NO_OLDIES define CURL_STRICTER + * docs: make more markdown files use .md extension + * docs: CONTRIBUTE and LICENSE-MIXING were converted to markdown + * winbuild: Allow changing C compiler via environment variable CC + * rtsp: accept any RTSP session id + * HTTP: retry failed HEAD requests on reused connections too + * configure: add zlib search with pkg-config + * openssl: accept subjectAltName iPAddress if no dNSName match + * MANUAL: Remove invalid link to LDAP documentation + * socks: improved connection procedure + * proxy: reject attempts to use unsupported proxy schemes + * proxy: bring back use of "Proxy-Connection:" + * curl: allow "pkcs11:" prefix for client certificates + * spnego_sspi: fix memory leak in case *outlen is zero + * SOCKS: improve verbose output of SOCKS5 connection sequence + * SOCKS: display the hostname returned by the SOCKS5 proxy server + * http/sasl: Query authentication mechanism supported by SSPI before using + * sasl: Don't use GSSAPI authentication when domain name not specified + * win: Basic support for Universal Windows Platform apps + * nss: fix incorrect use of a previously loaded certificate from file, +https://curl.haxx.se/docs/adv_20160907.html + * nss: work around race condition in PK11_FindSlotByName() + * ftp: fix wrong poll on the secondary socket + * openssl: build warning-free with 1.1.0 (again) + * HTTP: stop parsing headers when switching to unknown protocols + * test219: Add http as a required feature + * TLS: random file/egd doesn't have to match for conn reuse + * schannel: Disable ALPN for Wine since it is causing problems + * http2: make sure stream errors don't needlessly close the connection + * http2: return CURLE_HTTP2_STREAM for unexpected stream close + * darwinssl: --cainfo is intended for backward compatibility only + * speed caps: not based on average speeds anymore + * configure: make the cpp -P detection not clobber CPPFLAGS + * http2: use named define instead of magic constant in read callback + * http2: skip the content-length parsing, detect unknown size + * http2: return EOF when done uploading without known size + * darwinssl: test for errSecSuccess in PKCS12 import rather than noErr + * openssl: fix CURLINFO_SSL_VERIFYRESULT + +--- Old: curl-7.50.1.tar.lzma curl-7.50.1.tar.lzma.asc New: curl-7.50.2.tar.lzma curl-7.50.2.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.0lcUpP/_old 2016-09-12 13:23:54.0 +0200 +++ /var/tmp/diff_new_pack.0lcUpP/_new 2016-09-12 13:23:54.0 +0200 @@ -20,7 +20,7 @@ %bcond_with mozilla_nss %bcond_without testsuite Name: curl -Version:7.50.1 +Version:7.50.2 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2016-08-12 15:37:07 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2016-06-29 15:01:56.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2016-08-12 15:37:09.0 +0200 @@ -1,0 +2,64 @@ +Fri Aug 5 12:41:43 UTC 2016 - pjano...@suse.de + +- update to 7.50.1 + Bugfixes: + * TLS: switch off SSL session id when client cert is used + * TLS: only reuse connections with the same client cert + * curl_multi_cleanup: clear connection pointer for easy handles + * include the CURLINFO_HTTP_VERSION man page into the release tarball + * include the http2-server.pl script in the release tarball + * test558: fix test by stripping file paths from FD lines + * spnego: Corrected miss-placed * in Curl_auth_spnego_cleanup() declaration + * tests: Fix for http/2 feature + * cmake: Fix for schannel support + * curl.h: make public types void * again + * win32: fix a potential memory leak in Curl_load_library + * travis: fix OSX build by re-installing libtool + * mbedtls: Fix debug function name +- removed 0001-tests-distribute-the-http2-server.pl-script-too.patch + +--- +Thu Jul 21 09:30:30 UTC 2016 - vci...@suse.com + +- update to 7.50.0 + Changes: + * http: add CURLINFO_HTTP_VERSION and %{http_version} + Bugfixes: + * openssl: fix build with OPENSSL_NO_COMP + * cmake: Added missing mbedTLS support + * URL parser: allow URLs to use one, two or three slashes + * curl: fix -q [regression] + * openssl: Use correct buffer sizes for error messages + * curl: fix SIGSEGV while parsing URL with too many globs + * vtls: fix ssl session cache race condition + * http: Fix HTTP/2 connection reuse [regression] + * checksrc: Add LoadLibrary to the banned functions list + * configure: occasional ignorance of --enable-symbol-hiding with GCC + * http2: test17xx are the first real HTTP/2 tests + * resolve: add support for IPv6 DNS64/NAT64 Networks on OS X + iOS + * curl_multi_socket_action.3: rewording + * CURLOPT_POSTFIELDS.3: Clarify what happens when set empty + * cmake: Fix build with winldap + * openssl: fix cert check with non-DNS name fields present + * curl.1: mention the units for the progress meter + * openssl: use more 'const' to fix build warnings with 1.1.0 branch + * cmake: now using BUILD_TESTING=ON/OFF + * vtls: Only call add/getsession if session id is enabled + * headers: forward declare CURL, CURLM and CURLSH as structs + * configure: improve detection of CA bundle path on FreeBSD + * SFTP: set a generic error when no SFTP one exists + * curl_global_init.3: expand on the SSL and WIN32 bits purpose + * conn: don't free easy handle data in handler->disconnect + * cookie.c: Fix misleading indentation + * library: Fix memory leaks found during static analysis + * CURLMOPT_SOCKETFUNCTION.3: fix typo + * curl_global_init: moved the "IPv6 works" check here + * connect: disable TFO on Linux when using SSL + * vauth: Fixed memory leak due to function returning without free +- refresh libcurl-ocloexec.patch +- disable tests 1139 and 1140 which fail due to missing manpage + * add curl-disable_failing_tests.patch +- ship http2_server.pl for testing + * add 0001-tests-distribute-the-http2-server.pl-script-too.patch + +--- Old: curl-7.49.1.tar.lzma curl-7.49.1.tar.lzma.asc New: curl-7.50.1.tar.lzma curl-7.50.1.tar.lzma.asc curl-disable_failing_tests.patch Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.qmh0Gw/_old 2016-08-12 15:37:10.0 +0200 +++ /var/tmp/diff_new_pack.qmh0Gw/_new 2016-08-12 15:37:10.0 +0200 @@ -20,7 +20,7 @@ %bcond_with mozilla_nss %bcond_without testsuite Name: curl -Version:7.49.1 +Version:7.50.1 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT @@ -33,6 +33,7 @@ Patch0: libcurl-ocloexec.patch Patch1: dont-mess-with-rpmoptflags.diff Patch3: curl-secure-getenv.patch +Patch4: curl-disable_failing_tests.patch BuildRequires: groff BuildRequires: krb5-mini-devel BuildRequires: libtool @@ -97,6 +98,7 @@ %patch0 %patch1 %patch3 +%patch4 -p1 %build # curl complains if macro definition is contained in CFLAGS ++ curl-disable_failing_tests.patch ++ Index: curl-7.50.0/tests/data/DISABLED =
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2016-06-29 15:01:54 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2016-06-12 18:52:20.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2016-06-29 15:01:56.0 +0200 @@ -1,0 +2,23 @@ +Tue Jun 14 11:47:27 UTC 2016 - astie...@suse.com + +- curl 7.49.1: + * http2: use HTTP/2 in the HTTP/1.1-alike response + * ssh: fix build for libssh2 before 1.2.6 + * a number of bug and build fixes +- curl 7.49.0: + * schannel: Add ALPN support + * SSH: support CURLINFO_FILETIME + * SSH: new CURLOPT_QUOTE command "statvfs" + * wolfssl: Add ALPN support + * http2: added --http2-prior-knowledge + * http2: added CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE + * libcurl: added CURLOPT_CONNECT_TO + * curl: added --connect-to + * libcurl: added CURLOPT_TCP_FASTOPEN + * curl: added --tcp-fastopen + * curl: remove support for --ftpport, -http-request and --socks + * a number of bug and build fixes +- update upstream signing key and download URLs +- 0001-Fix-invalid-Network-is-unreachable-errors.patch is upstream + +--- Old: 0001-Fix-invalid-Network-is-unreachable-errors.patch curl-7.48.0.tar.lzma curl-7.48.0.tar.lzma.asc New: curl-7.49.1.tar.lzma curl-7.49.1.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.uipCnS/_old 2016-06-29 15:01:57.0 +0200 +++ /var/tmp/diff_new_pack.uipCnS/_new 2016-06-29 15:01:57.0 +0200 @@ -20,32 +20,30 @@ %bcond_with mozilla_nss %bcond_without testsuite Name: curl -Version:7.48.0 +Version:7.49.1 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT Group: Productivity/Networking/Web/Utilities -Url:http://curl.haxx.se/ -Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma -Source2:http://curl.haxx.se/download/%{name}-%{version}.tar.lzma.asc +Url:https://curl.haxx.se/ +Source: https://curl.haxx.se/download/%{name}-%{version}.tar.lzma +Source2:https://curl.haxx.se/download/%{name}-%{version}.tar.lzma.asc Source3:baselibs.conf -Source4:%{name}.keyring +Source4:https://daniel.haxx.se/mykey.asc#/%{name}.keyring Patch0: libcurl-ocloexec.patch Patch1: dont-mess-with-rpmoptflags.diff Patch3: curl-secure-getenv.patch -# PATCH-FIX-UPSTREAM 0001-Fix-invalid-Network-is-unreachable-errors.patch -- Fixes "network is unreachable" errors in valid situations when ipv6 is not working but ipv4 is -Patch4: 0001-Fix-invalid-Network-is-unreachable-errors.patch BuildRequires: groff BuildRequires: krb5-mini-devel BuildRequires: libtool BuildRequires: lzma BuildRequires: openldap2-devel -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: pkgconfig(libidn) BuildRequires: pkgconfig(libmetalink) BuildRequires: pkgconfig(libnghttp2) BuildRequires: pkgconfig(libpsl) -BuildRequires: pkgconfig(libssh2) >= 1.6.0 +BuildRequires: pkgconfig(libssh2) BuildRequires: pkgconfig(zlib) Requires: libcurl4 = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -99,7 +97,6 @@ %patch0 %patch1 %patch3 -%patch4 -p1 %build # curl complains if macro definition is contained in CFLAGS @@ -163,9 +160,11 @@ %make_install rm -f %{buildroot}%{_libdir}/libcurl.la install -Dm 0644 docs/libcurl/libcurl.m4 %{buildroot}%{_datadir}/aclocal/libcurl.m4 +pushd scripts +make %{?_smp_mflags} DESTDIR=%{buildroot} install +popd %post -n libcurl4 -p /sbin/ldconfig - %postun -n libcurl4 -p /sbin/ldconfig %files ++ curl.keyring ++ --- /var/tmp/diff_new_pack.uipCnS/_old 2016-06-29 15:01:57.0 +0200 +++ /var/tmp/diff_new_pack.uipCnS/_new 2016-06-29 15:01:57.0 +0200 @@ -1,9 +1,5 @@ -pub 1024D/279D5C91 2003-04-28 -uid Daniel Stenberg (Haxx) -sub 1024g/B70B3510 2003-04-28 - -BEGIN PGP PUBLIC KEY BLOCK- -Version: GnuPG v2.0.19 (GNU/Linux) +Version: GnuPG v2 mQGiBD6tnnoRBACRPnFBVoapBrTpPrCNZ2rq3DcmW6n/soQJW47+zP+vcrcxQ1WJ QiWSzLGO+QOIUZSYfnliR22r8HkFX9EUSW3IAcRMJMsaO3wMJ0a+78a9QqWLp6RV @@ -14,15 +10,68 @@ gHNJA/9m1pfzjpvdxtmJNKRU3C4cRCjXhxNdM7laSEj0/wOGaR2QWWEge51orWwo SLQUIe4BDPvtRStQHC+tI7qr7d12rMMEBXviJC5EkGBOzlgWr9virjM/u/pkGMc2 m5r3pVuWH/JSsHsV952y2kWP64uP4zdLXOpVzX/xs0sYJ9nOPLQnRGFuaWVsIFN0 -ZW5iZXJnIChIYXh4KSA8ZGFuaWVsQGhheHguc2U+iFkEExECABkFAj6tnnoECwcD -AgMVA
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2016-06-12 18:52:19 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2016-05-12 09:33:02.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2016-06-12 18:52:20.0 +0200 @@ -1,0 +2,6 @@ +Mon Jun 6 10:18:29 UTC 2016 - idon...@suse.com + +- Depend on libssh2 >= 1.6.0 since curl depends on the + libssh2_scp_recv2 symbol now. Fixes boo#983170 + +--- Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.H0NFmE/_old 2016-06-12 18:52:21.0 +0200 +++ /var/tmp/diff_new_pack.H0NFmE/_new 2016-06-12 18:52:21.0 +0200 @@ -45,7 +45,7 @@ BuildRequires: pkgconfig(libmetalink) BuildRequires: pkgconfig(libnghttp2) BuildRequires: pkgconfig(libpsl) -BuildRequires: pkgconfig(libssh2) +BuildRequires: pkgconfig(libssh2) >= 1.6.0 BuildRequires: pkgconfig(zlib) Requires: libcurl4 = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2016-05-12 09:33:00 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2016-04-06 11:50:17.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2016-05-12 09:33:02.0 +0200 @@ -1,0 +2,9 @@ +Thu May 5 18:53:47 UTC 2016 - alarr...@suse.com + +- Add 0001-Fix-invalid-Network-is-unreachable-errors.patch. + Fixes "Network is unreachable" errors in valid situations when ipv6 + is not available but ipv4 is working fine. This also fixes the same + error from happening in applications using libcurl4 (like zypper). + (bsc#915846) + +--- New: 0001-Fix-invalid-Network-is-unreachable-errors.patch Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.jZtAVM/_old 2016-05-12 09:33:03.0 +0200 +++ /var/tmp/diff_new_pack.jZtAVM/_new 2016-05-12 09:33:03.0 +0200 @@ -33,6 +33,8 @@ Patch0: libcurl-ocloexec.patch Patch1: dont-mess-with-rpmoptflags.diff Patch3: curl-secure-getenv.patch +# PATCH-FIX-UPSTREAM 0001-Fix-invalid-Network-is-unreachable-errors.patch -- Fixes "network is unreachable" errors in valid situations when ipv6 is not working but ipv4 is +Patch4: 0001-Fix-invalid-Network-is-unreachable-errors.patch BuildRequires: groff BuildRequires: krb5-mini-devel BuildRequires: libtool @@ -97,6 +99,7 @@ %patch0 %patch1 %patch3 +%patch4 -p1 %build # curl complains if macro definition is contained in CFLAGS ++ 0001-Fix-invalid-Network-is-unreachable-errors.patch ++ >From 7781f212206ab3e7e26a73132c604b2dbb2498a1 Mon Sep 17 00:00:00 2001 From: Antonio Larrosa Date: Thu, 5 May 2016 19:50:15 +0200 Subject: [PATCH] Fix invalid "Network is unreachable" errors Sometimes, in systems with both ipv4 and ipv6 addresses but where the network doesn't support ipv6, Curl_is_connected returns an error (intermittently) even if the ipv4 socket connects successfully. This happens because there's a for-loop that iterates on the sockets but the error variable is not resetted when the ipv4 is checked and is ok. This patch fixes this problem by setting error to 0 when checking the second socket and not having a result yet. --- lib/connect.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/connect.c b/lib/connect.c index 8dfe9e2..ac2f268 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -764,6 +764,7 @@ CURLcode Curl_is_connected(struct connectdata *conn, rc = Curl_socket_ready(CURL_SOCKET_BAD, conn->tempsock[i], 0); if(rc == 0) { /* no connection yet */ + error = 0; if(curlx_tvdiff(now, conn->connecttime) >= conn->timeoutms_per_addr) { infof(data, "After %ldms connect time, move on!\n", conn->timeoutms_per_addr); -- 2.8.1
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2016-04-06 11:50:15 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2016-03-29 09:55:38.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2016-04-06 11:50:17.0 +0200 @@ -1,0 +2,11 @@ +Thu Mar 31 17:25:29 UTC 2016 - idon...@suse.com + +- Update to 7.48.0 + * configure: --with-ca-fallback: use built-in TLS CA fallback + * TFTP: add --tftp-no-options to expose CURLOPT_TFTP_NO_OPTIONS + * getinfo: CURLINFO_TLS_SSL_PTR supersedes CURLINFO_TLS_SESSION + * Lots of bugfixes, see https://curl.haxx.se/changes.html#7_48_0 +- Drop curl-7.41.0-use-openssl-s-built-in-verify-path-as-fallback.diff, + superseded by --with-ca-fallback configure option. + +--- Old: curl-7.41.0-use-openssl-s-built-in-verify-path-as-fallback.diff curl-7.47.1.tar.lzma curl-7.47.1.tar.lzma.asc New: curl-7.48.0.tar.lzma curl-7.48.0.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.Amaq3B/_old 2016-04-06 11:50:18.0 +0200 +++ /var/tmp/diff_new_pack.Amaq3B/_new 2016-04-06 11:50:18.0 +0200 @@ -20,7 +20,7 @@ %bcond_with mozilla_nss %bcond_without testsuite Name: curl -Version:7.47.1 +Version:7.48.0 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT @@ -33,8 +33,6 @@ Patch0: libcurl-ocloexec.patch Patch1: dont-mess-with-rpmoptflags.diff Patch3: curl-secure-getenv.patch -# PATCH-FIX-OPENSUSE lnus...@suse.de -- use openssl's built in verify path as fallback -Patch4: curl-7.41.0-use-openssl-s-built-in-verify-path-as-fallback.diff BuildRequires: groff BuildRequires: krb5-mini-devel BuildRequires: libtool @@ -99,7 +97,6 @@ %patch0 %patch1 %patch3 -%patch4 -p1 %build # curl complains if macro definition is contained in CFLAGS @@ -118,6 +115,7 @@ --enable-ipv6 \ %if %{with openssl} --with-ssl \ +--with-ca-fallback \ --without-ca-path \ --without-ca-bundle \ %else
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2016-03-29 09:55:37 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2016-02-03 10:17:47.0 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2016-03-29 09:55:38.0 +0200 @@ -1,0 +2,10 @@ +Thu Mar 17 10:58:24 UTC 2016 - astie...@suse.com + +- curl 7.47.1: + * getredirect.c: fix variable name + * tool_doswin: silence unused function warning + * curl.1: Explain remote-name behavior if file already exists + * sasl_sspi: Fix memory leak in domain populate + * openssl: Fix signed/unsigned mismatch warning in X509V3_ext + +--- Old: curl-7.47.0.tar.lzma curl-7.47.0.tar.lzma.asc New: curl-7.47.1.tar.lzma curl-7.47.1.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.k7gnLU/_old 2016-03-29 09:55:40.0 +0200 +++ /var/tmp/diff_new_pack.k7gnLU/_new 2016-03-29 09:55:40.0 +0200 @@ -20,7 +20,7 @@ %bcond_with mozilla_nss %bcond_without testsuite Name: curl -Version:7.47.0 +Version:7.47.1 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2016-02-03 10:17:44 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2016-01-08 15:39:24.0 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2016-02-03 10:17:47.0 +0100 @@ -1,0 +2,20 @@ +Fri Jan 29 21:17:56 UTC 2016 - mplus...@suse.com + +- Enable PSL (Publix Suffix List) +- Make building more verbose + +--- +Wed Jan 27 13:10:50 UTC 2016 - vci...@suse.com + +- update to 7.47.0 + * fixes CVE-2016-0755 (bsc#962983) +(NTLM credentials not-checked for proxy connection re-use) + * drop curl-fix-zsh-completion.patch (upstream) + Changes: + * version: Add flag CURL_VERSION_PSL for libpsl + * http: added CURL_HTTP_VERSION_2TLS to do HTTP/2 for HTTPS only + * curl: use 2TLS by default + * curl --expect100-timeout: added + * Add .dir-locals and set c-basic-offset to 2 (for emacs) + +--- Old: curl-7.46.0.tar.lzma curl-7.46.0.tar.lzma.asc curl-fix-zsh-completion.patch New: curl-7.47.0.tar.lzma curl-7.47.0.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.IXyBHZ/_old 2016-02-03 10:17:48.0 +0100 +++ /var/tmp/diff_new_pack.IXyBHZ/_new 2016-02-03 10:17:48.0 +0100 @@ -20,7 +20,7 @@ %bcond_with mozilla_nss %bcond_without testsuite Name: curl -Version:7.46.0 +Version:7.47.0 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT @@ -35,8 +35,6 @@ Patch3: curl-secure-getenv.patch # PATCH-FIX-OPENSUSE lnus...@suse.de -- use openssl's built in verify path as fallback Patch4: curl-7.41.0-use-openssl-s-built-in-verify-path-as-fallback.diff -# PATCH-FIX-OPENSUSE idoen...@suse.de -- Fix path to curl in zsh.pl -Patch5: curl-fix-zsh-completion.patch BuildRequires: groff BuildRequires: krb5-mini-devel BuildRequires: libtool @@ -46,6 +44,7 @@ BuildRequires: pkgconfig(libidn) BuildRequires: pkgconfig(libmetalink) BuildRequires: pkgconfig(libnghttp2) +BuildRequires: pkgconfig(libpsl) BuildRequires: pkgconfig(libssh2) BuildRequires: pkgconfig(zlib) Requires: libcurl4 = %{version} @@ -101,7 +100,6 @@ %patch1 %patch3 %patch4 -p1 -%patch5 -p1 %build # curl complains if macro definition is contained in CFLAGS @@ -111,7 +109,7 @@ export CPPFLAGS CFLAGS export CFLAGS="$CFLAGS -fPIE" export LDFLAGS="$LDFLAGS -pie" -autoreconf -fi +autoreconf -fiv # local hack to make curl-config --libs stop printing libraries it depends on # (currently, libtool sets link_all_deplibs=(yes|unknown) everywhere, # will hopefully change in the future) @@ -138,7 +136,7 @@ # if this fails, the above sed hack did not work ./libtool --config | grep -q link_all_deplibs=no # enable-hidden-symbols needs gcc4 and causes that curl exports only its API -make %{?_smp_mflags} +make %{?_smp_mflags} V=1 %if %{with testsuite} %check
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2016-01-08 15:39:23 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2015-12-09 19:41:26.0 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2016-01-08 15:39:24.0 +0100 @@ -1,0 +2,6 @@ +Wed Jan 6 13:18:33 UTC 2016 - idon...@suse.com + +- Fix path to curl in zsh.pl to unbreak _curl completion + * curl-fix-zsh-completion.patch + +--- New: curl-fix-zsh-completion.patch Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.Tw3Urz/_old 2016-01-08 15:39:25.0 +0100 +++ /var/tmp/diff_new_pack.Tw3Urz/_new 2016-01-08 15:39:25.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package curl # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -35,6 +35,8 @@ Patch3: curl-secure-getenv.patch # PATCH-FIX-OPENSUSE lnus...@suse.de -- use openssl's built in verify path as fallback Patch4: curl-7.41.0-use-openssl-s-built-in-verify-path-as-fallback.diff +# PATCH-FIX-OPENSUSE idoen...@suse.de -- Fix path to curl in zsh.pl +Patch5: curl-fix-zsh-completion.patch BuildRequires: groff BuildRequires: krb5-mini-devel BuildRequires: libtool @@ -99,6 +101,7 @@ %patch1 %patch3 %patch4 -p1 +%patch5 -p1 %build # curl complains if macro definition is contained in CFLAGS ++ curl-fix-zsh-completion.patch ++ Index: curl-7.46.0/scripts/zsh.pl === --- curl-7.46.0.orig/scripts/zsh.pl +++ curl-7.46.0/scripts/zsh.pl @@ -5,7 +5,7 @@ use strict; use warnings; -my $curl = $ARGV[0] || 'curl'; +my $curl = $ARGV[0] || '../src/curl'; my $regex = '\s+(?:(-[^\s]+),\s)?(--[^\s]+)\s([^\s.]+)?\s+(.*)'; my @opts = parse_main_opts('--help', $regex);
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2015-12-09 19:41:24 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2015-10-26 12:47:19.0 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2015-12-09 19:41:26.0 +0100 @@ -1,0 +2,13 @@ +Wed Dec 2 12:18:24 UTC 2015 - idon...@suse.com + +- Update to 7.46.0 + * Added CURLOPT_STREAM_DEPENDS + * Added CURLOPT_STREAM_DEPENDS_E + * Added CURLOPT_STREAM_WEIGHT + * Added CURLFORM_CONTENTLEN + * oauth2: Added support for OAUTHBEARER SASL mechanism to IMAP, +POP3 and SNMP +* Many bugfixes, see http://curl.haxx.se/changes.html#7_46_0 for the + complete list. + +--- Old: curl-7.45.0.tar.lzma curl-7.45.0.tar.lzma.asc New: curl-7.46.0.tar.lzma curl-7.46.0.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.cG3kgv/_old 2015-12-09 19:41:28.0 +0100 +++ /var/tmp/diff_new_pack.cG3kgv/_new 2015-12-09 19:41:28.0 +0100 @@ -20,7 +20,7 @@ %bcond_with mozilla_nss %bcond_without testsuite Name: curl -Version:7.45.0 +Version:7.46.0 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT @@ -171,7 +171,10 @@ %doc README RELEASE-NOTES %doc docs/{BUGS,FAQ,FEATURES,MANUAL,RESOURCES,TODO,TheArtOfHttpScripting} %{_bindir}/curl +%{_datadir}/zsh/site-functions/_curl %{_mandir}/man1/curl.1%{ext_man} +%dir %{_datadir}/zsh +%dir %{_datadir}/zsh/site-functions %files -n libcurl4 %defattr(-,root,root)
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2015-10-26 12:47:17 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2015-08-17 17:25:34.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2015-10-26 12:47:19.0 +0100 @@ -1,0 +2,29 @@ +Mon Oct 19 09:35:04 UTC 2015 - vci...@suse.com + +- revert the curl-config change for bsc#900419 until we have a better + fix, because it was breaking builds of other packages + +--- +Sun Oct 18 21:43:16 UTC 2015 - crrodrig...@opensuse.org + +- Enable HTTP/2 support, buildrequires pkgconfig(libnghttp2) + +--- +Sat Oct 10 06:58:35 UTC 2015 - mplus...@suse.com + +- Update to 7.45.0 + * added CURLOPT_DEFAULT_PROTOCOL + * added new tool option --proto-default + * getinfo: added CURLINFO_ACTIVESOCKET + * turned CURLINFO_* option docs as stand-alone man pages + * curl: point out unnecessary uses of -X in verbose mode +- Drop curl-disable_failing_tests.patch as it is now part of + upstream + +--- +Wed Aug 26 07:29:40 UTC 2015 - vci...@suse.com + +- drop a hack that made curl-config print only -lcurl (bsc#900419) + * --as-needed is used by default now + +--- Old: curl-7.44.0.tar.lzma curl-7.44.0.tar.lzma.asc curl-disable_failing_tests.patch New: curl-7.45.0.tar.lzma curl-7.45.0.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.MmLLOU/_old 2015-10-26 12:47:21.0 +0100 +++ /var/tmp/diff_new_pack.MmLLOU/_new 2015-10-26 12:47:21.0 +0100 @@ -20,7 +20,7 @@ %bcond_with mozilla_nss %bcond_without testsuite Name: curl -Version:7.44.0 +Version:7.45.0 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT @@ -35,7 +35,6 @@ Patch3: curl-secure-getenv.patch # PATCH-FIX-OPENSUSE lnus...@suse.de -- use openssl's built in verify path as fallback Patch4: curl-7.41.0-use-openssl-s-built-in-verify-path-as-fallback.diff -Patch5: curl-disable_failing_tests.patch BuildRequires: groff BuildRequires: krb5-mini-devel BuildRequires: libtool @@ -44,6 +43,7 @@ BuildRequires: pkg-config BuildRequires: pkgconfig(libidn) BuildRequires: pkgconfig(libmetalink) +BuildRequires: pkgconfig(libnghttp2) BuildRequires: pkgconfig(libssh2) BuildRequires: pkgconfig(zlib) Requires: libcurl4 = %{version} @@ -99,7 +99,6 @@ %patch1 %patch3 %patch4 -p1 -%patch5 -p1 %build # curl complains if macro definition is contained in CFLAGS ++ curl-7.41.0-use-openssl-s-built-in-verify-path-as-fallback.diff ++ --- /var/tmp/diff_new_pack.MmLLOU/_old 2015-10-26 12:47:21.0 +0100 +++ /var/tmp/diff_new_pack.MmLLOU/_new 2015-10-26 12:47:21.0 +0100 @@ -12,11 +12,11 @@ lib/vtls/openssl.c | 4 1 file changed, 4 insertions(+) -diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c -index 3f93e22..34abd64 100644 a/lib/vtls/openssl.c -+++ b/lib/vtls/openssl.c -@@ -2012,6 +2012,10 @@ static CURLcode ossl_connect_step1(struct connectdata *conn, int sockindex) +Index: curl-7.45.0/lib/vtls/openssl.c +=== +--- curl-7.45.0.orig/lib/vtls/openssl.c curl-7.45.0/lib/vtls/openssl.c +@@ -1952,6 +1952,10 @@ static CURLcode ossl_connect_step1(struc "none", data->set.str[STRING_SSL_CAPATH] ? data->set.str[STRING_SSL_CAPATH]: "none"); @@ -27,6 +27,3 @@ } if(data->set.str[STRING_SSL_CRLFILE]) { --- -2.3.3 -
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2015-08-17 17:25:32 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2015-08-13 18:09:35.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2015-08-17 17:25:34.0 +0200 @@ -1,0 +2,13 @@ +Fri Aug 14 09:02:40 UTC 2015 - vci...@suse.com + +- update to 7.44.0 +http2: added CURLMOPT_PUSHFUNCTION and CURLMOPT_PUSHDATA +examples: added http2-serverpush.c +http2: added curl_pushheader_byname() and curl_pushheader_bynum() +docs: added CODE_OF_CONDUCT.md +curl: Add --ssl-no-revoke to disable certificate revocation checks +libcurl: New value CURLSSLOPT_NO_REVOKE for CURLOPT_SSL_OPTIONS +makefile: Added support for VC14 +- dropped unexpire-test46.patch (upstream) + +--- Old: curl-7.43.0.tar.lzma curl-7.43.0.tar.lzma.asc unexpire-test46.patch New: curl-7.44.0.tar.lzma curl-7.44.0.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.PsjuSN/_old 2015-08-17 17:25:35.0 +0200 +++ /var/tmp/diff_new_pack.PsjuSN/_new 2015-08-17 17:25:35.0 +0200 @@ -20,7 +20,7 @@ %bcond_with mozilla_nss %bcond_without testsuite Name: curl -Version:7.43.0 +Version:7.44.0 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT @@ -36,7 +36,6 @@ # PATCH-FIX-OPENSUSE lnus...@suse.de -- use openssl's built in verify path as fallback Patch4: curl-7.41.0-use-openssl-s-built-in-verify-path-as-fallback.diff Patch5: curl-disable_failing_tests.patch -Patch6: unexpire-test46.patch BuildRequires: groff BuildRequires: krb5-mini-devel BuildRequires: libtool @@ -101,7 +100,6 @@ %patch3 %patch4 -p1 %patch5 -p1 -%patch6 -p1 %build # curl complains if macro definition is contained in CFLAGS
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2015-08-13 18:09:34 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2015-07-05 17:58:37.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2015-08-13 18:09:35.0 +0200 @@ -1,0 +2,11 @@ +Tue Aug 11 10:02:18 UTC 2015 - sch...@suse.de + +- unexpire-test46.patch: Unexpire test 46 + +--- +Fri Jul 31 08:22:39 UTC 2015 - norm...@linux.vnet.ibm.com + +- do not run flaky tests for any architecture (bnc#940009) + at least test 1510 do fail for i586 and ppc64le + +--- New: unexpire-test46.patch Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.7kZrey/_old 2015-08-13 18:09:36.0 +0200 +++ /var/tmp/diff_new_pack.7kZrey/_new 2015-08-13 18:09:36.0 +0200 @@ -36,6 +36,7 @@ # PATCH-FIX-OPENSUSE lnus...@suse.de -- use openssl's built in verify path as fallback Patch4: curl-7.41.0-use-openssl-s-built-in-verify-path-as-fallback.diff Patch5: curl-disable_failing_tests.patch +Patch6: unexpire-test46.patch BuildRequires: groff BuildRequires: krb5-mini-devel BuildRequires: libtool @@ -100,6 +101,7 @@ %patch3 %patch4 -p1 %patch5 -p1 +%patch6 -p1 %build # curl complains if macro definition is contained in CFLAGS @@ -149,8 +151,12 @@ if test -z "$BUILD_INCARNATION"; then BUILD_INCARNATION=0 fi + base=$((8990 + $BUILD_INCARNATION * 20)) -perl ./runtests.pl -a -b$base || exit +# bug940009 do not run flaky tests for any architecture +# at least test 1510 do fail for i586 and ppc64le +perl ./runtests.pl -a -b$base '!flaky' || exit + popd %endif ++ unexpire-test46.patch ++ >From 002d58f1e8d8e725ba6d676599838983561feff9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 10 Aug 2015 00:12:12 +0200 Subject: [PATCH] test46: update cookie expire time ... since it went old and thus was expired and caused the test to fail! --- tests/data/test46 | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/data/test46 b/tests/data/test46 index b6f8f83..b6ebe80 100644 --- a/tests/data/test46 +++ b/tests/data/test46 @@ -51,8 +51,8 @@ TZ=GMT www.fake.come FALSE / FALSE 1022144953 cookiecliente si www.loser.com FALSE / FALSE 1139150993 UID 99 -%HOSTIPFALSE / FALSE 1439150993 moooindeed -#HttpOnly_%HOSTIP FALSE /want FALSE 1439150993 mooo2 indeed2 +%HOSTIPFALSE / FALSE 1739150993 moooindeed +#HttpOnly_%HOSTIP FALSE /want FALSE 1739150993 mooo2 indeed2 %HOSTIPFALSE /want FALSE 0 empty @@ -76,8 +76,8 @@ Cookie: empty=; mooo2=indeed2; mooo=indeed www.fake.come FALSE / FALSE 1022144953 cookiecliente si www.loser.com FALSE / FALSE 1139150993 UID 99 -%HOSTIPFALSE / FALSE 1439150993 moooindeed -#HttpOnly_%HOSTIP FALSE /want FALSE 1439150993 mooo2 indeed2 +%HOSTIPFALSE / FALSE 1739150993 moooindeed +#HttpOnly_%HOSTIP FALSE /want FALSE 1739150993 mooo2 indeed2 %HOSTIPFALSE /want FALSE 0 empty %HOSTIPFALSE / FALSE 2054030187 ckyPersistent permanent %HOSTIPFALSE / FALSE 0 ckySession temporary -- 2.5.0
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2015-07-05 17:58:36 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2015-05-02 21:30:14.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2015-07-05 17:58:37.0 +0200 @@ -1,0 +2,33 @@ +Fri Jul 3 08:29:55 UTC 2015 - vci...@suse.com + +- fix a typo in curl-secure-getenv.patch (bsc#936676) + +--- +Fri Jun 19 13:07:44 UTC 2015 - mplus...@suse.com + +- Update to 7.43.0 + * Added CURLOPT_PROXY_SERVICE_NAME + * Added CURLOPT_SERVICE_NAME + * New curl option: --proxy-service-name + * Mew curl option: --service-name + * New curl option: --data-raw + * Added CURLOPT_PIPEWAIT + * Added support for multiplexing transfers using HTTP/2, enable +this with the new CURLPIPE_MULTIPLEX bit for +CURLMOPT_PIPELINING + * HTTP/2: requires nghttp2 1.0.0 or later + * scripts: add zsh.pl for generating zsh completion + * curl.h: add CURL_HTTP_VERSION_2 + * CVE-2015-3236: lingering HTTP credentials in connection re-use + * CVE-2015-3237: SMB send off unrelated memory contents +- Disable HTTP/2 as it would create build cycle + +--- +Wed May 20 15:18:12 UTC 2015 - vci...@suse.com + +- enable HTTP/2 support +- make the testsuite failure fatal + * added curl-disable_failing_tests.patch + * added groff to BuildRequires to enable builtin manual (test 1026) + +--- Old: curl-7.42.1.tar.lzma curl-7.42.1.tar.lzma.asc New: curl-7.43.0.tar.lzma curl-7.43.0.tar.lzma.asc curl-disable_failing_tests.patch Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.svpIBf/_old 2015-07-05 17:58:38.0 +0200 +++ /var/tmp/diff_new_pack.svpIBf/_new 2015-07-05 17:58:38.0 +0200 @@ -20,7 +20,7 @@ %bcond_with mozilla_nss %bcond_without testsuite Name: curl -Version:7.42.1 +Version:7.43.0 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT @@ -35,6 +35,8 @@ Patch3: curl-secure-getenv.patch # PATCH-FIX-OPENSUSE lnus...@suse.de -- use openssl's built in verify path as fallback Patch4: curl-7.41.0-use-openssl-s-built-in-verify-path-as-fallback.diff +Patch5: curl-disable_failing_tests.patch +BuildRequires: groff BuildRequires: krb5-mini-devel BuildRequires: libtool BuildRequires: lzma @@ -97,6 +99,7 @@ %patch1 %patch3 %patch4 -p1 +%patch5 -p1 %build # curl complains if macro definition is contained in CFLAGS @@ -147,15 +150,9 @@ BUILD_INCARNATION=0 fi base=$((8990 + $BUILD_INCARNATION * 20)) -perl ./runtests.pl -a -b$base || { -%if 0%{?curl_testsuite_fatal:1} - exit -%else - echo "WARNING: runtests.pl failed with code $?, continuing nevertheless" -%endif -} -%endif +perl ./runtests.pl -a -b$base || exit popd +%endif %install %make_install @@ -170,9 +167,8 @@ %defattr(-,root,root) %doc README RELEASE-NOTES %doc docs/{BUGS,FAQ,FEATURES,MANUAL,RESOURCES,TODO,TheArtOfHttpScripting} -%doc lib/README.curl_off_t %{_bindir}/curl -%doc %{_mandir}/man1/curl.1%{ext_man} +%{_mandir}/man1/curl.1%{ext_man} %files -n libcurl4 %defattr(-,root,root) ++ curl-disable_failing_tests.patch ++ Index: curl-7.42.1/tests/data/DISABLED === --- curl-7.42.1.orig/tests/data/DISABLED2015-04-26 18:26:32.0 +0200 +++ curl-7.42.1/tests/data/DISABLED 2015-05-20 21:03:57.598275327 +0200 @@ -10,3 +10,5 @@ 836 882 938 +# requires python +1801 ++ curl-secure-getenv.patch ++ --- /var/tmp/diff_new_pack.svpIBf/_old 2015-07-05 17:58:38.0 +0200 +++ /var/tmp/diff_new_pack.svpIBf/_new 2015-07-05 17:58:38.0 +0200 @@ -7,7 +7,7 @@ #include "memdebug.h" +#ifndef HAVE_SECURE_GETENV -+# ifdef HAVE__SECURE_GETENV ++# ifdef HAVE___SECURE_GETENV +#define secure_getenv __secure_getenv +# else +#error neither secure_getenv nor __secure_getenv is available ++ libcurl-ocloexec.patch ++ --- /var/tmp/diff_new_pack.svpIBf/_old 2015-07-05 17:58:38.0 +0200 +++ /var/tmp/diff_new_pack.svpIBf/_new 2015-07-05 17:58:38.0 +0200 @@ -7,32 +7,10 @@ compile time is not enough. -Index: lib/cookie.c -=== lib/cookie.c.orig 2015-04-22 10:05:04.652863265 +0200 -+++
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2015-05-02 21:30:13 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2015-04-25 16:45:42.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2015-05-02 21:30:14.0 +0200 @@ -1,0 +2,8 @@ +Wed Apr 29 08:32:11 UTC 2015 - vci...@suse.com + +- update to 7.42.1 + * fixes CVE-2015-3153 (bnc#928533) +- sensitive HTTP server headers also sent to proxies +- rename curl-devel to libcurl-devel in baselibs.conf + +--- Old: curl-7.42.0.tar.lzma curl-7.42.0.tar.lzma.asc New: curl-7.42.1.tar.lzma curl-7.42.1.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.1UkmAY/_old 2015-05-02 21:30:15.0 +0200 +++ /var/tmp/diff_new_pack.1UkmAY/_new 2015-05-02 21:30:15.0 +0200 @@ -20,7 +20,7 @@ %bcond_with mozilla_nss %bcond_without testsuite Name: curl -Version:7.42.0 +Version:7.42.1 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT ++ baselibs.conf ++ --- /var/tmp/diff_new_pack.1UkmAY/_old 2015-05-02 21:30:15.0 +0200 +++ /var/tmp/diff_new_pack.1UkmAY/_new 2015-05-02 21:30:15.0 +0200 @@ -1,6 +1,6 @@ libcurl4 obsoletes "curl- <= " provides "curl- = " -curl-devel +libcurl-devel requires -curl- requires "libcurl4- = "
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2015-04-25 16:45:41 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2015-04-03 14:32:00.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2015-04-25 16:45:42.0 +0200 @@ -1,0 +2,15 @@ +Wed Apr 22 08:03:02 UTC 2015 - vci...@suse.com + +- update to 7.42.0 + * refresh libcurl-ocloexec.patch +- fixes security vulnerabilities: + * CVE-2015-3143 (bnc#927556) +- Re-using authenticated connection when unauthenticated + * CVE-2015-3144 (bnc#927608) +- host name out of boundary memory access + * CVE-2015-3145 (bnc#927607) +- cookie parser out of boundary memory access + * CVE-2015-3148 (bnc#927746) +- Negotiate not treated as connection-oriented + +--- Old: curl-7.41.0.tar.lzma curl-7.41.0.tar.lzma.asc New: curl-7.42.0.tar.lzma curl-7.42.0.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.b7Z6in/_old 2015-04-25 16:45:43.0 +0200 +++ /var/tmp/diff_new_pack.b7Z6in/_new 2015-04-25 16:45:43.0 +0200 @@ -20,7 +20,7 @@ %bcond_with mozilla_nss %bcond_without testsuite Name: curl -Version:7.41.0 +Version:7.42.0 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT ++ libcurl-ocloexec.patch ++ --- /var/tmp/diff_new_pack.b7Z6in/_old 2015-04-25 16:45:43.0 +0200 +++ /var/tmp/diff_new_pack.b7Z6in/_new 2015-04-25 16:45:43.0 +0200 @@ -9,9 +9,9 @@ Index: lib/cookie.c === lib/cookie.c.orig 2014-12-10 00:01:02.0 +0100 -+++ lib/cookie.c 2015-01-08 11:33:25.855588512 +0100 -@@ -932,7 +932,7 @@ struct CookieInfo *Curl_cookie_init(stru +--- lib/cookie.c.orig 2015-04-22 10:05:04.652863265 +0200 lib/cookie.c 2015-04-22 10:05:08.225915413 +0200 +@@ -914,7 +914,7 @@ struct CookieInfo *Curl_cookie_init(stru fp = NULL; } else @@ -20,7 +20,7 @@ c->newsession = newsession; /* new session? */ -@@ -1281,7 +1281,7 @@ static int cookie_output(struct CookieIn +@@ -1262,7 +1262,7 @@ static int cookie_output(struct CookieIn use_stdout=TRUE; } else { @@ -31,9 +31,9 @@ } Index: lib/file.c === lib/file.c.orig2014-11-20 18:42:17.0 +0100 -+++ lib/file.c 2015-01-08 11:33:25.855588512 +0100 -@@ -240,7 +240,7 @@ static CURLcode file_connect(struct conn +--- lib/file.c.orig2015-04-22 10:05:04.652863265 +0200 lib/file.c 2015-04-22 10:05:08.226915427 +0200 +@@ -238,7 +238,7 @@ static CURLcode file_connect(struct conn /* binary zeroes indicate foul play */ return CURLE_URL_MALFORMAT; @@ -42,7 +42,7 @@ file->path = real_path; #endif file->freepath = real_path; /* free this when done */ -@@ -338,7 +338,7 @@ static CURLcode file_upload(struct conne +@@ -336,7 +336,7 @@ static CURLcode file_upload(struct conne else mode = MODE_DEFAULT|O_TRUNC; @@ -53,9 +53,9 @@ return CURLE_WRITE_ERROR; Index: lib/formdata.c === lib/formdata.c.orig2014-11-20 18:42:17.0 +0100 -+++ lib/formdata.c 2015-01-08 11:33:25.856588523 +0100 -@@ -1261,7 +1261,7 @@ CURLcode Curl_getformdata(struct Session +--- lib/formdata.c.orig2015-04-22 10:05:04.652863265 +0200 lib/formdata.c 2015-04-22 10:05:08.226915427 +0200 +@@ -1256,7 +1256,7 @@ CURLcode Curl_getformdata(struct Session FILE *fileread; fileread = strequal("-", file->contents)? @@ -64,7 +64,7 @@ /* * VMS: This only allows for stream files on VMS. Stream files are -@@ -1420,7 +1420,7 @@ static size_t readfromfile(struct Form * +@@ -1415,7 +1415,7 @@ static size_t readfromfile(struct Form * else { if(!form->fp) { /* this file hasn't yet been opened */ @@ -75,8 +75,8 @@ } Index: lib/hostip6.c === lib/hostip6.c.orig 2014-12-28 14:36:05.0 +0100 -+++ lib/hostip6.c 2015-01-08 11:33:25.856588523 +0100 +--- lib/hostip6.c.orig 2015-04-22 10:05:04.652863265 +0200 lib/hostip6.c 2015-04-22 10:05:08.226915427 +0200 @@ -39,7 +39,7 @@ #ifdef HAVE_PROCESS_H #include @@ -86,7 +86,7 @@ #include "urldata.h" #include "sendf.h" #include
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2015-04-03 14:31:59 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2015-03-01 14:58:07.0 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2015-04-03 14:32:00.0 +0200 @@ -1,0 +2,6 @@ +Tue Mar 24 12:49:35 UTC 2015 - lnus...@suse.de + +- don't hardcode /etc/ssl/certs. Use openssl's default instead + (curl-7.41.0-use-openssl-s-built-in-verify-path-as-fallback.diff) + +--- New: curl-7.41.0-use-openssl-s-built-in-verify-path-as-fallback.diff Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.mAckb6/_old 2015-04-03 14:32:01.0 +0200 +++ /var/tmp/diff_new_pack.mAckb6/_new 2015-04-03 14:32:01.0 +0200 @@ -33,6 +33,8 @@ Patch0: libcurl-ocloexec.patch Patch1: dont-mess-with-rpmoptflags.diff Patch3: curl-secure-getenv.patch +# PATCH-FIX-OPENSUSE lnus...@suse.de -- use openssl's built in verify path as fallback +Patch4: curl-7.41.0-use-openssl-s-built-in-verify-path-as-fallback.diff BuildRequires: krb5-mini-devel BuildRequires: libtool BuildRequires: lzma @@ -94,6 +96,7 @@ %patch0 %patch1 %patch3 +%patch4 -p1 %build # curl complains if macro definition is contained in CFLAGS @@ -112,7 +115,8 @@ --enable-ipv6 \ %if %{with openssl} --with-ssl \ - --with-ca-path=%{_sysconfdir}/ssl/certs/ \ + --without-ca-path \ + --without-ca-bundle \ %else --without-ssl \ %if %{with mozilla_nss} ++ curl-7.41.0-use-openssl-s-built-in-verify-path-as-fallback.diff ++ >From 9af60d2d52d9635ba4498d3a42abd85c7c2140db Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Tue, 24 Mar 2015 13:25:17 +0100 Subject: [PATCH] use openssl's built in verify path as fallback Trying to verify a peer without any having any root CA certificates registered won't work. So use openssl's built in default as fallback. https://github.com/bagder/curl/pull/175 --- lib/vtls/openssl.c | 4 1 file changed, 4 insertions(+) diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index 3f93e22..34abd64 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -2012,6 +2012,10 @@ static CURLcode ossl_connect_step1(struct connectdata *conn, int sockindex) "none", data->set.str[STRING_SSL_CAPATH] ? data->set.str[STRING_SSL_CAPATH]: "none"); + } else if (data->set.ssl.verifypeer) { + /* verfying the peer without any CA certificates won't + work so use openssl's built in default as fallback */ + SSL_CTX_set_default_verify_paths(connssl->ctx); } if(data->set.str[STRING_SSL_CRLFILE]) { -- 2.3.3
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2015-03-01 14:58:04 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2015-02-18 11:37:58.0 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2015-03-01 14:58:07.0 +0100 @@ -1,0 +2,11 @@ +Thu Feb 26 09:37:22 UTC 2015 - sor.ale...@meowr.ru + +- update to 7.41.0: + * Changes: +NetWare build: added TLS-SRP enabled build +winbuild: Added option to build with c-ares +Added --cert-status +Added CURLOPT_SSL_VERIFYSTATUS +sasl: implement EXTERNAL authentication mechanism + +--- Old: curl-7.40.0.tar.lzma curl-7.40.0.tar.lzma.asc New: curl-7.41.0.tar.lzma curl-7.41.0.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.hTA1za/_old 2015-03-01 14:58:09.0 +0100 +++ /var/tmp/diff_new_pack.hTA1za/_new 2015-03-01 14:58:09.0 +0100 @@ -20,7 +20,7 @@ %bcond_with mozilla_nss %bcond_without testsuite Name: curl -Version:7.40.0 +Version:7.41.0 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT @@ -99,7 +99,7 @@ # curl complains if macro definition is contained in CFLAGS # see m4/xc-val-flgs.m4 CPPFLAGS="-D_FORTIFY_SOURCE=2" -CFLAGS=$(echo %{optflags} | sed 's/-D_FORTIFY_SOURCE=2//') +CFLAGS=$(echo "%{optflags}" | sed -e 's/-D_FORTIFY_SOURCE=2//') export CPPFLAGS CFLAGS export CFLAGS="$CFLAGS -fPIE" export LDFLAGS="$LDFLAGS -pie" @@ -107,7 +107,7 @@ # local hack to make curl-config --libs stop printing libraries it depends on # (currently, libtool sets link_all_deplibs=(yes|unknown) everywhere, # will hopefully change in the future) -sed -i 's/link_all_deplibs=unknown/link_all_deplibs=no/' configure +sed -i 's/\(link_all_deplibs=\)unknown/\1no/' configure %configure \ --enable-ipv6 \ %if %{with openssl} @@ -126,14 +126,14 @@ --enable-threaded-resolver \ --with-libmetalink -: if this fails, the above sed hack did not work +# if this fails, the above sed hack did not work ./libtool --config | grep -q link_all_deplibs=no # enable-hidden-symbols needs gcc4 and causes that curl exports only its API make %{?_smp_mflags} %if %{with testsuite} %check -cd tests +pushd tests make %{?_smp_mflags} # make sure the testsuite runs don't race on MP machines in autobuild if test -z "$BUILD_INCARNATION" -a -r /.buildenv; then @@ -151,12 +151,12 @@ %endif } %endif +popd %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} -rm %{buildroot}%{_libdir}/libcurl.la -install -d %{buildroot}%{_datadir}/aclocal -install -m 644 docs/libcurl/libcurl.m4 %{buildroot}%{_datadir}/aclocal/ +%make_install +rm -f %{buildroot}%{_libdir}/libcurl.la +install -Dm 0644 docs/libcurl/libcurl.m4 %{buildroot}%{_datadir}/aclocal/libcurl.m4 %post -n libcurl4 -p /sbin/ldconfig @@ -178,7 +178,7 @@ %defattr(-,root,root) %{_bindir}/curl-config %{_includedir}/curl -%dir %{_datadir}/aclocal +%dir %{_datadir}/aclocal/ %{_datadir}/aclocal/libcurl.m4 %{_libdir}/libcurl.so %{_libdir}/pkgconfig/libcurl.pc -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2015-02-18 11:37:56 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2015-01-10 23:06:52.0 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2015-02-18 11:37:58.0 +0100 @@ -1,0 +2,6 @@ +Sat Feb 14 18:29:37 UTC 2015 - mplus...@suse.com + +- Re-enable metalink supoort +- Use pkgconfig() style dependencies + +--- Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.3b3wVH/_old 2015-02-18 11:37:59.0 +0100 +++ /var/tmp/diff_new_pack.3b3wVH/_new 2015-02-18 11:37:59.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package curl # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -34,17 +34,18 @@ Patch1: dont-mess-with-rpmoptflags.diff Patch3: curl-secure-getenv.patch BuildRequires: krb5-mini-devel -BuildRequires: libidn-devel -BuildRequires: libssh2-devel BuildRequires: libtool BuildRequires: lzma BuildRequires: openldap2-devel BuildRequires: pkg-config -BuildRequires: zlib-devel +BuildRequires: pkgconfig(libidn) +BuildRequires: pkgconfig(libmetalink) +BuildRequires: pkgconfig(libssh2) +BuildRequires: pkgconfig(zlib) Requires: libcurl4 = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with openssl} -BuildRequires: openssl-devel +BuildRequires: pkgconfig(libssl) %endif %if %{with mozilla_nss} BuildRequires: mozilla-nss-devel @@ -122,7 +123,8 @@ --with-libssh2\ --enable-hidden-symbols \ --disable-static \ ---enable-threaded-resolver + --enable-threaded-resolver \ + --with-libmetalink : if this fails, the above sed hack did not work ./libtool --config | grep -q link_all_deplibs=no -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2015-01-10 23:06:48 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2015-01-05 04:42:56.0 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2015-01-10 23:06:52.0 +0100 @@ -1,0 +2,17 @@ +Thu Jan 8 09:55:11 UTC 2015 - vci...@suse.com + +- update to 7.40.0: + * fixes CVE-2014-8150 (bnc#911363) + * Changes: +http_digest: Added support for Windows SSPI based authentication +version info: Added Kerberos V5 to the supported features +Makefile: Added VC targets for WinIDN +config-win32: Introduce build targets for VS2012+ +SSL: Add PEM format support for public key pinning +smtp: Added support for the conversion of Unix newlines during mail send +smb: Added initial support for the SMB/CIFS protocol +Added support for HTTP over unix domain sockets, +via CURLOPT_UNIX_SOCKET_PATH and --unix-socket +sasl: Added support for GSS-API based Kerberos V5 authentication + +--- Old: curl-7.39.0.tar.lzma curl-7.39.0.tar.lzma.asc New: curl-7.40.0.tar.lzma curl-7.40.0.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.aCUSc1/_old 2015-01-10 23:06:53.0 +0100 +++ /var/tmp/diff_new_pack.aCUSc1/_new 2015-01-10 23:06:53.0 +0100 @@ -20,7 +20,7 @@ %bcond_with mozilla_nss %bcond_without testsuite Name: curl -Version:7.39.0 +Version:7.40.0 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT ++ libcurl-ocloexec.patch ++ --- /var/tmp/diff_new_pack.aCUSc1/_old 2015-01-10 23:06:53.0 +0100 +++ /var/tmp/diff_new_pack.aCUSc1/_new 2015-01-10 23:06:53.0 +0100 @@ -9,9 +9,9 @@ Index: lib/cookie.c === lib/cookie.c.orig 2014-11-14 16:22:55.236645676 +0100 -+++ lib/cookie.c 2014-11-14 16:22:56.345659444 +0100 -@@ -914,7 +914,7 @@ struct CookieInfo *Curl_cookie_init(stru +--- lib/cookie.c.orig 2014-12-10 00:01:02.0 +0100 lib/cookie.c 2015-01-08 11:33:25.855588512 +0100 +@@ -932,7 +932,7 @@ struct CookieInfo *Curl_cookie_init(stru fp = NULL; } else @@ -20,7 +20,7 @@ c->newsession = newsession; /* new session? */ -@@ -1262,7 +1262,7 @@ static int cookie_output(struct CookieIn +@@ -1281,7 +1281,7 @@ static int cookie_output(struct CookieIn use_stdout=TRUE; } else { @@ -31,8 +31,8 @@ } Index: lib/file.c === lib/file.c.orig2014-11-14 16:22:55.236645676 +0100 -+++ lib/file.c 2014-11-14 16:23:47.405293344 +0100 +--- lib/file.c.orig2014-11-20 18:42:17.0 +0100 lib/file.c 2015-01-08 11:33:25.855588512 +0100 @@ -240,7 +240,7 @@ static CURLcode file_connect(struct conn /* binary zeroes indicate foul play */ return CURLE_URL_MALFORMAT; @@ -53,8 +53,8 @@ return CURLE_WRITE_ERROR; Index: lib/formdata.c === lib/formdata.c.orig2014-11-14 16:22:55.237645688 +0100 -+++ lib/formdata.c 2014-11-14 16:22:56.346659457 +0100 +--- lib/formdata.c.orig2014-11-20 18:42:17.0 +0100 lib/formdata.c 2015-01-08 11:33:25.856588523 +0100 @@ -1261,7 +1261,7 @@ CURLcode Curl_getformdata(struct Session FILE *fileread; @@ -75,8 +75,8 @@ } Index: lib/hostip6.c === lib/hostip6.c.orig 2014-11-14 16:22:55.237645688 +0100 -+++ lib/hostip6.c 2014-11-14 16:22:56.346659457 +0100 +--- lib/hostip6.c.orig 2014-12-28 14:36:05.0 +0100 lib/hostip6.c 2015-01-08 11:33:25.856588523 +0100 @@ -39,7 +39,7 @@ #ifdef HAVE_PROCESS_H #include @@ -93,13 +93,13 @@ -curl_socket_t s = socket(PF_INET6, SOCK_DGRAM, 0); +curl_socket_t s = socket(PF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, 0); if(s == CURL_SOCKET_BAD) - /* an ipv6 address was requested but we can't get/use one */ + /* an IPv6 address was requested but we can't get/use one */ ipv6_works = 0; Index: lib/if2ip.c === lib/if2ip.c.orig 2014-11-14 16:22:55.238645701 +0100 -+++ lib/if2ip.c2014-11-14 16:22:56.346659457 +0100 -@@ -171,7 +171,7 @@ if2ip_result_t Curl_if2ip(int af, unsign +--
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2015-01-05 04:42:54 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2014-11-24 11:14:28.0 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2015-01-05 04:42:56.0 +0100 @@ -1,0 +2,5 @@ +Thu Jan 1 23:08:25 UTC 2015 - meiss...@suse.com + +- build with PIE + +--- Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.DE8Sey/_old 2015-01-05 04:42:57.0 +0100 +++ /var/tmp/diff_new_pack.DE8Sey/_new 2015-01-05 04:42:57.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package curl # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -100,6 +100,8 @@ CPPFLAGS="-D_FORTIFY_SOURCE=2" CFLAGS=$(echo %{optflags} | sed 's/-D_FORTIFY_SOURCE=2//') export CPPFLAGS CFLAGS +export CFLAGS="$CFLAGS -fPIE" +export LDFLAGS="$LDFLAGS -pie" autoreconf -fi # local hack to make curl-config --libs stop printing libraries it depends on # (currently, libtool sets link_all_deplibs=(yes|unknown) everywhere, -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2014-11-24 11:14:27 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2014-10-29 21:09:11.0 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2014-11-24 11:14:28.0 +0100 @@ -1,0 +2,23 @@ +Fri Nov 14 15:29:07 UTC 2014 - vci...@suse.com + +- update to 7.39.0: +- changes: +SSLv3 is disabled by default +CURLOPT_COOKIELIST: Added "RELOAD" command +build: Added WinIDN build configuration options to Visual Studio projects +ssh: improve key file search +SSL: public key pinning. Use CURLOPT_PINNEDPUBLICKEY and --pinnedpubkey +vtls: remove QsoSSL support, use gskit! +mk-ca-bundle: added SHA-384 signature algorithm +docs: added many examples for libcurl opts and other doc improvements +build: Added VC ssh2 target to main Makefile +MinGW: Added support to build with nghttp2 +NetWare: Added support to build with nghttp2 +build: added Watcom support to build with WinSSL +build: Added optional specific version generation of VC project files +... and a bunch of bugfixes +- refreshed libcurl-ocloexec.patch +- removed gpg-offline verification +- spec-cleaned curl.spec + +--- Old: curl-7.38.0.tar.lzma curl-7.38.0.tar.lzma.asc New: curl-7.39.0.tar.lzma curl-7.39.0.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.tdYynD/_old 2014-11-24 11:14:29.0 +0100 +++ /var/tmp/diff_new_pack.tdYynD/_new 2014-11-24 11:14:29.0 +0100 @@ -19,9 +19,8 @@ %bcond_without openssl %bcond_with mozilla_nss %bcond_without testsuite - Name: curl -Version:7.38.0 +Version:7.39.0 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT @@ -31,38 +30,34 @@ Source2:http://curl.haxx.se/download/%{name}-%{version}.tar.lzma.asc Source3:baselibs.conf Source4:%{name}.keyring -Patch: libcurl-ocloexec.patch +Patch0: libcurl-ocloexec.patch Patch1: dont-mess-with-rpmoptflags.diff Patch3: curl-secure-getenv.patch -# Use rpmbuild -D 'VERIFY_SIG 1' to verify signature during build or run one-shot check by "gpg-offline --verify --package=curl curl-*.asc". -%if 0%{?VERIFY_SIG} -BuildRequires: gpg-offline -%endif +BuildRequires: krb5-mini-devel BuildRequires: libidn-devel +BuildRequires: libssh2-devel BuildRequires: libtool BuildRequires: lzma BuildRequires: openldap2-devel BuildRequires: pkg-config BuildRequires: zlib-devel +Requires: libcurl4 = %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with openssl} BuildRequires: openssl-devel %endif %if %{with mozilla_nss} BuildRequires: mozilla-nss-devel %endif -BuildRequires: krb5-mini-devel -BuildRequires: libssh2-devel #BuildRequires: openssh %if 0%{?_with_stunnel:1} # used by the testsuite BuildRequires: stunnel %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build # bug437293 %ifarch ppc64 Obsoletes: curl-64bit %endif -Requires: libcurl4 = %{version} %description Curl is a client to get documents and files from or send documents to a @@ -94,11 +89,8 @@ user interaction or any kind of interactivity. %prep -%if 0%{?VERIFY_SIG} -%gpg_verify %{S:2} -%endif %setup -q -%patch +%patch0 %patch1 %patch3 @@ -106,7 +98,7 @@ # curl complains if macro definition is contained in CFLAGS # see m4/xc-val-flgs.m4 CPPFLAGS="-D_FORTIFY_SOURCE=2" -CFLAGS=$(echo $RPM_OPT_FLAGS | sed 's/-D_FORTIFY_SOURCE=2//') +CFLAGS=$(echo %{optflags} | sed 's/-D_FORTIFY_SOURCE=2//') export CPPFLAGS CFLAGS autoreconf -fi # local hack to make curl-config --libs stop printing libraries it depends on @@ -117,14 +109,14 @@ --enable-ipv6 \ %if %{with openssl} --with-ssl \ - --with-ca-path=/etc/ssl/certs/ \ + --with-ca-path=%{_sysconfdir}/ssl/certs/ \ %else --without-ssl \ %if %{with mozilla_nss} --with-nss \ %endif %endif - --with-gssapi=/usr/lib/mit \ + --with-gssapi=%{_libexecdir}/mit \ --with-libssh2\ --enable-hidden-symbols \ --disable-static \ @@ -136,10 +128,9 @@ make %{?_smp_mflags} %if %{with testsuite} - %check cd tests -make +make %{?_smp_mflags} # make sure the testsuite runs don't race on MP machines in autobuild if test -z "$BUILD_INCARNATION" -a -r /.buildenv; then . /.buildenv @@ -158,10 +149,10 @@ %endif %
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2014-10-29 21:09:03 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2014-09-12 15:25:18.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2014-10-29 21:09:11.0 +0100 @@ -1,0 +2,7 @@ +Thu Oct 23 15:13:30 UTC 2014 - crrodrig...@opensuse.org + +- Ensure the curl command line tool always require + the same libcurl it was used for build, even expert users + got confused. + +--- Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.QfdW0o/_old 2014-10-29 21:09:12.0 +0100 +++ /var/tmp/diff_new_pack.QfdW0o/_new 2014-10-29 21:09:12.0 +0100 @@ -62,6 +62,7 @@ %ifarch ppc64 Obsoletes: curl-64bit %endif +Requires: libcurl4 = %{version} %description Curl is a client to get documents and files from or send documents to a -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2014-09-12 15:25:04 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2014-09-01 16:59:07.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2014-09-12 15:25:18.0 +0200 @@ -1,0 +2,25 @@ +Wed Sep 10 09:07:59 UTC 2014 - vci...@suse.com + +- update to 7.38.0 + * fixes CVE-2014-3613 (bnc#894575) and CVE-2014-3620 (bnc#895991) + * cookie leaks with IP address as domain and TLDs respectively + Changes: +supports HTTP/2 draft-14 +CURLE_HTTP2 is a new error code +CURLAUTH_NEGOTIATE is a new auth define +CURL_VERSION_GSSAPI is a new capability bit +no longer use fbopenssl for anything +schannel: use CryptGenRandom for random numbers +axtls: define curlssl_random using axTLS's PRNG +cyassl: use RNG_GenerateBlock to generate a good random number +findprotocol: show unsupported protocol within quotes +version: detect and show LibreSSL +version: detect and show BoringSSL +imap/pop3/smtp: Kerberos (SASL GSSAPI) authentication via Windows SSPI +http2: requires nghttp2 0.6.0 or later + Bugfixes: +SECURITY ADVISORY: cookie leak with IP address as domain +SECURITY ADVISORY: cookie leak for TLDs +And many other fixes + +--- Old: curl-7.37.1.tar.lzma curl-7.37.1.tar.lzma.asc New: curl-7.38.0.tar.lzma curl-7.38.0.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.fieuSN/_old 2014-09-12 15:25:19.0 +0200 +++ /var/tmp/diff_new_pack.fieuSN/_new 2014-09-12 15:25:19.0 +0200 @@ -21,7 +21,7 @@ %bcond_without testsuite Name: curl -Version:7.37.1 +Version:7.38.0 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2014-09-01 16:58:54 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2014-06-19 13:19:59.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2014-09-01 16:59:07.0 +0200 @@ -1,0 +2,10 @@ +Thu Aug 28 21:59:59 UTC 2014 - andreas.stie...@gmx.de + +- curl 7.37.1: + This release includes many bugfixes and the following changes: + * bits.close: introduce connection close tracking + * darwinssl: Add support for --cacert + * polarssl: add ALPN support + * docs: Added new option man pages + +--- Old: curl-7.37.0.tar.lzma curl-7.37.0.tar.lzma.asc New: curl-7.37.1.tar.lzma curl-7.37.1.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.oOVXZb/_old 2014-09-01 16:59:09.0 +0200 +++ /var/tmp/diff_new_pack.oOVXZb/_new 2014-09-01 16:59:09.0 +0200 @@ -21,7 +21,7 @@ %bcond_without testsuite Name: curl -Version:7.37.0 +Version:7.37.1 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2014-06-19 13:19:53 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2014-04-14 06:42:24.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2014-06-19 13:19:59.0 +0200 @@ -1,0 +2,22 @@ +Thu Jun 12 11:45:03 UTC 2014 - vci...@suse.com + +- update to 7.37.0 + This release includes many bugfixes and the following changes: + * URL parser: IPv6 zone identifiers are now supported + * CURLOPT_PROXYHEADER: set headers for proxy-only + * CURLOPT_HEADEROPT: added + * curl: add --proxy-header + * sasl: Added support for DIGEST-MD5 via Windows SSPI + * sasl: Added DIGEST-MD5 qop-option validation in native challange handling + * imap: Expanded mailbox SEARCH support to use URL query strings [7] + * imap: Extended FETCH support to include PARTIAL URL specifier [7] + * nss: implement non-blocking SSL handshake + * build: Reworked Visual Studio project files + * poll: enable poll on darwin13 + * mk-ca-bundle: added -p + * libtests: add a wait_ms() function + - dropped patches: +* curl-mkhelp.patch (upstream) +* curl-test815.patch (upstream) + +--- Old: curl-7.36.0.tar.lzma curl-7.36.0.tar.lzma.asc curl-mkhelp.patch curl-test815.patch New: curl-7.37.0.tar.lzma curl-7.37.0.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.i12ZqQ/_old 2014-06-19 13:20:00.0 +0200 +++ /var/tmp/diff_new_pack.i12ZqQ/_new 2014-06-19 13:20:00.0 +0200 @@ -21,7 +21,7 @@ %bcond_without testsuite Name: curl -Version:7.36.0 +Version:7.37.0 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT @@ -34,8 +34,6 @@ Patch: libcurl-ocloexec.patch Patch1: dont-mess-with-rpmoptflags.diff Patch3: curl-secure-getenv.patch -Patch4: curl-mkhelp.patch -Patch5: curl-test815.patch # Use rpmbuild -D 'VERIFY_SIG 1' to verify signature during build or run one-shot check by "gpg-offline --verify --package=curl curl-*.asc". %if 0%{?VERIFY_SIG} BuildRequires: gpg-offline @@ -102,12 +100,6 @@ %patch %patch1 %patch3 -%patch4 -p1 -%patch5 -p1 -# temporary workaround to fix build of 7.36.0 -# http://curl.haxx.se/mail/tracker-2014-03/0083.html -# removes tool_hugehelp.c to regenerate it later -rm src/tool_hugehelp.c %build # curl complains if macro definition is contained in CFLAGS -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2014-04-14 06:42:22 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2014-03-15 17:35:54.0 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2014-04-14 06:42:24.0 +0200 @@ -1,0 +2,26 @@ +Fri Apr 11 06:51:54 UTC 2014 - vci...@suse.com + +- remove the useless BuildRequires that were meant for debugging only + +--- +Wed Apr 9 11:40:19 UTC 2014 - vci...@suse.com + +- update to 7.36 + * fixes CVE-2014-0138 (bnc#868627) and CVE-2014-0139 (bnc#868629) + * NEW FEATURES: +ntlm: Added support for NTLMv2 +tool: Added support for URL specific options +openssl: add ALPN support +gtls: add ALPN support +nss: add ALPN and NPN support +added CURLOPT_EXPECT_100_TIMEOUT_MS +tool: add --no-alpn and --no-npn +added CURLOPT_SSL_ENABLE_NPN and CURLOPT_SSL_ENABLE_ALPN +http2: build with current nghttp2 version +openssl: info message with SSL version used + * dropped curl-test172_cookie_expiration.patch (upstream) + * added patches to make it build: +- curl-mkhelp.patch +- curl-test815.patch + +--- Old: curl-7.35.0.tar.lzma curl-7.35.0.tar.lzma.asc curl-test172_cookie_expiration.patch New: curl-7.36.0.tar.lzma curl-7.36.0.tar.lzma.asc curl-mkhelp.patch curl-test815.patch Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.ncNwHd/_old 2014-04-14 06:42:26.0 +0200 +++ /var/tmp/diff_new_pack.ncNwHd/_new 2014-04-14 06:42:26.0 +0200 @@ -21,7 +21,7 @@ %bcond_without testsuite Name: curl -Version:7.35.0 +Version:7.36.0 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT @@ -34,7 +34,8 @@ Patch: libcurl-ocloexec.patch Patch1: dont-mess-with-rpmoptflags.diff Patch3: curl-secure-getenv.patch -Patch4: curl-test172_cookie_expiration.patch +Patch4: curl-mkhelp.patch +Patch5: curl-test815.patch # Use rpmbuild -D 'VERIFY_SIG 1' to verify signature during build or run one-shot check by "gpg-offline --verify --package=curl curl-*.asc". %if 0%{?VERIFY_SIG} BuildRequires: gpg-offline @@ -102,6 +103,12 @@ %patch1 %patch3 %patch4 -p1 +%patch5 -p1 +# temporary workaround to fix build of 7.36.0 +# http://curl.haxx.se/mail/tracker-2014-03/0083.html +# removes tool_hugehelp.c to regenerate it later +rm src/tool_hugehelp.c + %build # curl complains if macro definition is contained in CFLAGS # see m4/xc-val-flgs.m4 ++ curl-mkhelp.patch ++ >From 38d582ff541353d738858299d4a2b78bafac03ed Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 26 Mar 2014 13:22:10 +0100 Subject: [PATCH] mkhelp: generate code for --disable-manual as well This allows configure --disable-manual to run and build without having to regenerate the src/tool_hugehelp.c file which otherwise is necessary since we ship tarballs with that file present. Reported-by: Remi Gacogne Bug: http://curl.haxx.se/bug/view.cgi?id=1350 --- src/mkhelp.pl | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mkhelp.pl b/src/mkhelp.pl index 444b669..7ed86f7 100644 --- a/src/mkhelp.pl +++ b/src/mkhelp.pl @@ -256,6 +256,10 @@ sub foot { print < curl-test815.patch ++ --- /work/SRC/openSUSE:Factory/curl/curl-test172_cookie_expiration.patch 2014-02-07 13:49:00.0 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl-test815.patch 2014-04-14 06:42:24.0 +0200 @@ -1,13 +1,43 @@ -Index: curl-7.19.7/tests/data/test172 -=== curl-7.19.7.orig/tests/data/test1722008-11-19 22:12:35.0 +0100 -+++ curl-7.19.7/tests/data/test172 2014-02-04 15:05:46.817554144 +0100 -@@ -36,7 +36,7 @@ http://%HOSTIP:%HTTPPORT/we/want/172 -b +From f82e0edc171b33528bc4f59036505d98ecf1d816 Mon Sep 17 00:00:00 2001 +From: Dan Fandrich +Date: Wed, 26 Mar 2014 22:02:31 +0100 +Subject: [PATCH] test815/816: Use authentication for both URLs + +The improved connection reuse logic would otherwise create a new +connection for each one, which isn't supported by the test +server, nor expected by the test. +--- + tests/data/test815 | 2 +- + tests/data/test816 | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/tests/data/test815 b/tests/data/test815 +index c006c6d..5c5ef79 100
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2014-03-15 17:35:53 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2014-02-07 13:49:00.0 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2014-03-15 17:35:54.0 +0100 @@ -1,0 +2,8 @@ +Thu Mar 13 13:53:08 CET 2014 - ku...@suse.de + +- Disable BuildRequires for openssh, only needed for test suite, + but the test suite isn't able to start sshd anyways. + Solves the problem that openssh checkins triggers a nearly full + rebuild, too. + +--- Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.wwCUHd/_old 2014-03-15 17:35:55.0 +0100 +++ /var/tmp/diff_new_pack.wwCUHd/_new 2014-03-15 17:35:55.0 +0100 @@ -53,7 +53,7 @@ %endif BuildRequires: krb5-mini-devel BuildRequires: libssh2-devel -BuildRequires: openssh +#BuildRequires: openssh %if 0%{?_with_stunnel:1} # used by the testsuite BuildRequires: stunnel -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2014-02-07 13:48:59 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2013-11-30 07:25:02.0 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2014-02-07 13:49:00.0 +0100 @@ -1,0 +2,27 @@ +Tue Feb 4 15:17:18 UTC 2014 - vci...@suse.com + +- update to 7.35.0 + * security fix: +CVE-2014-0015: re-use of wrong HTTP NTLM connection (bnc#858673) + * changes: +imap/pop3/smtp: Added support for SASL authentication downgrades +imap/pop3/smtp: Extended the login options to support multiple auth mechanisms +TheArtOfHttpScripting: major update, converted layout and more +mprintf: Added support for I, I32 and I64 size specifiers +makefile: Added support for VC7, VC11 and VC12 +SSL: protocol version can be specified more precisely +imap/pop3/smtp: Added graceful cancellation of SASL authentication +Add "Happy Eyeballs" for IPv4/IPv6 dual connect attempts +base64: Added validation of base64 input strings when decoding +curl_easy_setopt: Added the ability to set the login options separately +smtp: Added support for additional SMTP commands +curl_easy_getinfo: Added CURLINFO_TLS_SESSION for accessing TLS internals +nss: allow to use TLS > 1.0 if built against recent NSS +SECURITY: added this document to describe our security processes +parseconfig: warn if unquoted white spaces are detected + * and many bugfixes +- fix test failure because of an expired cookie (bnc#862144) + * added curl-test172_cookie_expiration.patch +- refresh libcurl-ocloexec.patch + +--- Old: curl-7.33.0.tar.lzma curl-7.33.0.tar.lzma.asc New: curl-7.35.0.tar.lzma curl-7.35.0.tar.lzma.asc curl-test172_cookie_expiration.patch Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.2D3x4y/_old 2014-02-07 13:49:01.0 +0100 +++ /var/tmp/diff_new_pack.2D3x4y/_new 2014-02-07 13:49:01.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package curl # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ %bcond_without testsuite Name: curl -Version:7.33.0 +Version:7.35.0 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT @@ -34,6 +34,7 @@ Patch: libcurl-ocloexec.patch Patch1: dont-mess-with-rpmoptflags.diff Patch3: curl-secure-getenv.patch +Patch4: curl-test172_cookie_expiration.patch # Use rpmbuild -D 'VERIFY_SIG 1' to verify signature during build or run one-shot check by "gpg-offline --verify --package=curl curl-*.asc". %if 0%{?VERIFY_SIG} BuildRequires: gpg-offline @@ -100,6 +101,7 @@ %patch %patch1 %patch3 +%patch4 -p1 %build # curl complains if macro definition is contained in CFLAGS # see m4/xc-val-flgs.m4 ++ curl-test172_cookie_expiration.patch ++ Index: curl-7.19.7/tests/data/test172 === --- curl-7.19.7.orig/tests/data/test172 2008-11-19 22:12:35.0 +0100 +++ curl-7.19.7/tests/data/test172 2014-02-04 15:05:46.817554144 +0100 @@ -36,7 +36,7 @@ http://%HOSTIP:%HTTPPORT/we/want/172 -b .%HOSTIP TRUE/silly/ FALSE 0 ismatch this .%HOSTIP TRUE/ FALSE 0 partmatch present -%HOSTIPFALSE /we/want/ FALSE 1391252187 nodomain value +%HOSTIPFALSE /we/want/ FALSE 2139150993 nodomain value ++ libcurl-ocloexec.patch ++ --- /var/tmp/diff_new_pack.2D3x4y/_old 2014-02-07 13:49:01.0 +0100 +++ /var/tmp/diff_new_pack.2D3x4y/_new 2014-02-07 13:49:01.0 +0100 @@ -7,9 +7,11 @@ compile time is not enough. lib/cookie.c.orig -+++ lib/cookie.c -@@ -841,7 +841,7 @@ struct CookieInfo *Curl_cookie_init(stru +Index: lib/cookie.c +=== +--- lib/cookie.c.orig 2014-02-04 16:25:31.256657224 +0100 lib/cookie.c 2014-02-04 16:25:32.638671791 +0100 +@@ -882,7 +882,7 @@ struct CookieInfo *Curl_cookie_init(stru fp = NULL; } else @@ -18,7 +20,7 @@ c->newsession = newsession; /* new session? */ -@@ -
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2013-11-30 07:24:58 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2013-08-13 11:08:40.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2013-11-30 07:25:02.0 +0100 @@ -1,0 +2,16 @@ +Fri Nov 29 15:30:23 UTC 2013 - vci...@suse.com + +- update to 7.33.0 + * fixes CVE-2013-4545 (bnc#849596) += curl: ssl cert checks unclear behaviour + o test code for testing the event based API + o CURLM_ADDED_ALREADY: new error code + o test TFTP server: support "writedelay" within + o krb4 support has been removed + o imap/pop3/smtp: added basic SASL XOAUTH2 support + o Pass password to OpenSSL engine by user interface + o c-ares: Add support for various DNS binding options + o cookies: add expiration + o curl: added --oauth2-bearer option + +--- Old: curl-7.32.0.tar.lzma curl-7.32.0.tar.lzma.asc New: curl-7.33.0.tar.lzma curl-7.33.0.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.pZraaH/_old 2013-11-30 07:25:04.0 +0100 +++ /var/tmp/diff_new_pack.pZraaH/_new 2013-11-30 07:25:04.0 +0100 @@ -21,7 +21,7 @@ %bcond_without testsuite Name: curl -Version:7.32.0 +Version:7.33.0 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2013-08-13 11:08:38 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2013-07-02 06:45:08.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2013-08-13 11:08:40.0 +0200 @@ -1,0 +2,14 @@ +Mon Aug 12 05:29:34 UTC 2013 - crrodrig...@opensuse.org + +- curl 7.32.0 +* curl: allow timeouts to accept decimal values +* CURLOPT_XFERINFOFUNCTION: introducing a new progress callback +* SIGPIPE: ignored while inside the library +* OpenSSL: check for read errors +* configure: automake 1.14 compatibility tweak +* curl_multi_wait: set revents for extra fds +* global dns cache: didn't work (regression) +* mk-ca-bundle.1: don't install on make install + + +--- Old: curl-7.31.0.tar.lzma curl-7.31.0.tar.lzma.asc New: curl-7.32.0.tar.lzma curl-7.32.0.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.weoh3x/_old 2013-08-13 11:08:41.0 +0200 +++ /var/tmp/diff_new_pack.weoh3x/_new 2013-08-13 11:08:41.0 +0200 @@ -21,7 +21,7 @@ %bcond_without testsuite Name: curl -Version:7.31.0 +Version:7.32.0 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT @@ -186,7 +186,6 @@ %{_libdir}/libcurl.so %{_libdir}/pkgconfig/libcurl.pc %{_mandir}/man1/curl-config.1%{ext_man} -%{_mandir}/man1/mk-ca-bundle.1%{ext_man} %{_mandir}/man3/* %doc docs/libcurl/symbols-in-versions ++ libcurl-ocloexec.patch ++ --- /var/tmp/diff_new_pack.weoh3x/_old 2013-08-13 11:08:41.0 +0200 +++ /var/tmp/diff_new_pack.weoh3x/_new 2013-08-13 11:08:41.0 +0200 @@ -7,11 +7,9 @@ compile time is not enough. -Index: lib/cookie.c -=== lib/cookie.c.orig 2013-04-12 13:25:07.866367012 +0200 -+++ lib/cookie.c 2013-04-12 13:25:29.391017340 +0200 -@@ -750,7 +750,7 @@ struct CookieInfo *Curl_cookie_init(stru +--- lib/cookie.c.orig lib/cookie.c +@@ -841,7 +841,7 @@ struct CookieInfo *Curl_cookie_init(stru fp = NULL; } else @@ -20,7 +18,7 @@ c->newsession = newsession; /* new session? */ -@@ -1091,7 +1091,7 @@ static int cookie_output(struct CookieIn +@@ -1179,7 +1179,7 @@ static int cookie_output(struct CookieIn use_stdout=TRUE; } else { @@ -29,10 +27,8 @@ if(!out) return 1; /* failure */ } -Index: lib/file.c -=== lib/file.c.orig2013-04-12 13:25:07.867367042 +0200 -+++ lib/file.c 2013-04-12 13:25:29.391017340 +0200 +--- lib/file.c.orig lib/file.c @@ -243,7 +243,7 @@ static CURLcode file_connect(struct conn fd = open_readonly(actual_path, O_RDONLY|O_BINARY); file->path = actual_path; @@ -51,11 +47,9 @@ if(fd < 0) { failf(data, "Can't open %s for writing", file->path); return CURLE_WRITE_ERROR; -Index: lib/formdata.c -=== lib/formdata.c.orig2013-04-12 13:25:07.868367072 +0200 -+++ lib/formdata.c 2013-04-12 13:25:29.392017370 +0200 -@@ -1234,7 +1234,7 @@ CURLcode Curl_getformdata(struct Session +--- lib/formdata.c.orig lib/formdata.c +@@ -1297,7 +1297,7 @@ CURLcode Curl_getformdata(struct Session FILE *fileread; fileread = strequal("-", file->contents)? @@ -64,19 +58,17 @@ /* * VMS: This only allows for stream files on VMS. Stream files are -@@ -1365,7 +1365,7 @@ static size_t readfromfile(struct Form * +@@ -1458,7 +1458,7 @@ static size_t readfromfile(struct Form * else { if(!form->fp) { /* this file hasn't yet been opened */ -- form->fp = fopen(form->data->line, "rb"); /* b is for binary */ -+ form->fp = fopen(form->data->line, "rbe"); /* b is for binary */ +- form->fp = fopen_read(form->data->line, "rb"); /* b is for binary */ ++ form->fp = fopen_read(form->data->line, "rbe"); /* b is for binary */ if(!form->fp) return (size_t)-1; /* failure */ } -Index: lib/hostip6.c -=== lib/hostip6.c.orig 2013-04-12 13:25:07.868367072 +0200 -+++ lib/hostip6.c 2013-04-12 13:25:29.392017370 +0200 +--- lib/hostip6.c.orig lib/hostip6.c @@ -39,7 +39,7 @@ #ifdef HAVE_PROCESS_H #include @@ -95,10 +87,8 @@ if(s == CURL_SOCK
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2013-07-02 06:45:06 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2013-06-26 20:17:21.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2013-07-02 06:45:08.0 +0200 @@ -1,0 +2,5 @@ +Mon Jul 1 18:56:33 UTC 2013 - co...@suse.com + +- avoid cycle between curl and krb5 by using krb5-mini-devel + +--- Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.6kWwLN/_old 2013-07-02 06:45:09.0 +0200 +++ /var/tmp/diff_new_pack.6kWwLN/_new 2013-07-02 06:45:09.0 +0200 @@ -50,7 +50,7 @@ %if %{with mozilla_nss} BuildRequires: mozilla-nss-devel %endif -BuildRequires: krb5-devel +BuildRequires: krb5-mini-devel BuildRequires: libssh2-devel BuildRequires: openssh %if 0%{?_with_stunnel:1} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2013-06-26 20:17:19 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2013-04-14 10:13:29.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2013-06-26 20:17:21.0 +0200 @@ -1,0 +2,17 @@ +Mon Jun 24 14:00:11 UTC 2013 - vci...@suse.com + +- update to 7.31.0 + * includes fix for CVE-2013-2174 (bnc#824517) + * SECURITY VULNERABILITY: curl_easy_unescape() may parse data +beyond the end of the input buffer [26] + * Changes: +darwinssl: add TLS session resumption +darwinssl: add TLS crypto authentication +imap/pop3/smtp: Added support for ;auth= in the URL +imap/pop3/smtp: Added support for ;auth= to CURLOPT_USERPWD +usercertinmem.c: add example showing user cert in memory +url: Added smtp and pop3 hostnames to the protocol detection list +imap/pop3/smtp: Added support for enabling the SASL initial response +curl -E: allow to use ':' in certificate nicknames + +--- Old: curl-7.30.0.tar.lzma curl-7.30.0.tar.lzma.asc New: curl-7.31.0.tar.lzma curl-7.31.0.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.kXSWUV/_old 2013-06-26 20:17:22.0 +0200 +++ /var/tmp/diff_new_pack.kXSWUV/_new 2013-06-26 20:17:22.0 +0200 @@ -21,7 +21,7 @@ %bcond_without testsuite Name: curl -Version:7.30.0 +Version:7.31.0 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2013-04-14 10:13:27 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl", Maintainer is "vci...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2013-02-18 13:46:24.0 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2013-04-14 10:13:29.0 +0200 @@ -1,0 +2,35 @@ +Fri Apr 12 11:36:47 UTC 2013 - vci...@suse.com + +- update to 7.30.0 + includes security fixes for CVE-2013-0249 and CVE-2013-1944 + (bugs bnc#814655 and bnc#802411 respectively) + (dropped curl-CVE-2013-0249.patch) +- Changes: + imap: Changed response tag generation to be completely unique + imap: Added support for SASL-IR extension + imap: Added support for the list command + imap: Added support for the append command + imap: Added custom request parsing + imap: Added support to the fetch command for UID and SECTION properties + imap: Added parsing and verification of the UIDVALIDITY mailbox attribute + imap/pop3/smtp: Added support for the STARTTLS capability + checksrc: ban use of sprintf, vsprintf, strcat, strncat and gets + curl_global_init() now accepts the CURL_GLOBAL_ACK_EINTR flag + Added CURLMOPT_MAX_HOST_CONNECTIONS, CURLMOPT_MAX_TOTAL_CONNECTIONS +for new multi interface connection handling + Added CURLMOPT_MAX_PIPELINE_LENGTH, CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE, +CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE, CURLMOPT_PIPELINING_SITE_BL +and CURLMOPT_PIPELI NING_SERVER_BL for new pipelining control + test: offer "automake" output and check for perl better + always-multi: always use non-blocking internals + imap: Added support for sasl digest-md5 authentication + imap: Added support for sasl cram-md5 authentication + imap: Added support for sasl ntlm authentication + imap: Added support for sasl login authentication + imap: Added support for sasl plain text authentication + imap: Added support for login disabled server capability + mk-ca-bundle: add -f, support passing to stdout and more + writeout: -w now supports remote_ip/port and local_ip/port +- refreshed patches + +--- Old: curl-7.28.1.tar.lzma curl-7.28.1.tar.lzma.asc curl-CVE-2013-0249.patch New: curl-7.30.0.tar.lzma curl-7.30.0.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.KN6a2u/_old 2013-04-14 10:13:32.0 +0200 +++ /var/tmp/diff_new_pack.KN6a2u/_new 2013-04-14 10:13:32.0 +0200 @@ -21,7 +21,7 @@ %bcond_without testsuite Name: curl -Version:7.28.1 +Version:7.30.0 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT @@ -33,7 +33,6 @@ Source4:%{name}.keyring Patch: libcurl-ocloexec.patch Patch1: dont-mess-with-rpmoptflags.diff -Patch2: curl-CVE-2013-0249.patch Patch3: curl-secure-getenv.patch # Use rpmbuild -D 'VERIFY_SIG 1' to verify signature during build or run one-shot check by "gpg-offline --verify --package=curl curl-*.asc". %if 0%{?VERIFY_SIG} @@ -100,9 +99,13 @@ %setup -q %patch %patch1 -%patch2 -p1 %patch3 %build +# curl complains if macro definition is contained in CFLAGS +# see m4/xc-val-flgs.m4 +CPPFLAGS="-D_FORTIFY_SOURCE=2" +CFLAGS=$(echo $RPM_OPT_FLAGS | sed 's/-D_FORTIFY_SOURCE=2//') +export CPPFLAGS CFLAGS autoreconf -fi # local hack to make curl-config --libs stop printing libraries it depends on # (currently, libtool sets link_all_deplibs=(yes|unknown) everywhere, ++ curl-secure-getenv.patch ++ --- /var/tmp/diff_new_pack.KN6a2u/_old 2013-04-14 10:13:32.0 +0200 +++ /var/tmp/diff_new_pack.KN6a2u/_new 2013-04-14 10:13:32.0 +0200 @@ -1,6 +1,8 @@ lib/getenv.c.orig -+++ lib/getenv.c -@@ -31,6 +31,14 @@ +Index: lib/getenv.c +=== +--- lib/getenv.c.orig 2013-04-12 13:31:59.056761437 +0200 lib/getenv.c 2013-04-12 13:36:25.654762399 +0200 +@@ -27,6 +27,14 @@ #include "memdebug.h" @@ -15,18 +17,20 @@ static char *GetEnv(const char *variable) { -@@ -45,7 +53,7 @@ char *GetEnv(const char *variable) +@@ -41,7 +49,7 @@ char *GetEnv(const char *variable) ExpandEnvironmentStringsA(temp, env, sizeof(env)); return (env[0] != '\0')?strdup(env):NULL; #else - char *env = getenv(variable); + char *env = secure_getenv(variable); - #ifdef __VMS - if(env && strcmp("HOME",variable) == 0) - env = decc_translate_vms(env); configure.ac.orig -+++ configure.ac -@@ -3480,6
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2013-02-18 13:46:23 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl", Maintainer is "vci...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2013-02-07 14:16:03.0 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2013-02-18 13:46:24.0 +0100 @@ -1,0 +2,7 @@ +Sun Feb 17 17:04:34 UTC 2013 - crrodrig...@opensuse.org + +- Add curl-secure-getenv.patch: Use secure_getenv if available. + libcurl might be linked to a program where "secure execution" is + required. + +--- New: curl-secure-getenv.patch Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.zSHdGA/_old 2013-02-18 13:46:26.0 +0100 +++ /var/tmp/diff_new_pack.zSHdGA/_new 2013-02-18 13:46:26.0 +0100 @@ -34,6 +34,7 @@ Patch: libcurl-ocloexec.patch Patch1: dont-mess-with-rpmoptflags.diff Patch2: curl-CVE-2013-0249.patch +Patch3: curl-secure-getenv.patch # Use rpmbuild -D 'VERIFY_SIG 1' to verify signature during build or run one-shot check by "gpg-offline --verify --package=curl curl-*.asc". %if 0%{?VERIFY_SIG} BuildRequires: gpg-offline @@ -100,7 +101,7 @@ %patch %patch1 %patch2 -p1 - +%patch3 %build autoreconf -fi # local hack to make curl-config --libs stop printing libraries it depends on ++ curl-secure-getenv.patch ++ --- lib/getenv.c.orig +++ lib/getenv.c @@ -31,6 +31,14 @@ #include "memdebug.h" +#ifndef HAVE_SECURE_GETENV +# ifdef HAVE__SECURE_GETENV +#define secure_getenv __secure_getenv +# else +#error neither secure_getenv nor __secure_getenv is available +# endif +#endif + static char *GetEnv(const char *variable) { @@ -45,7 +53,7 @@ char *GetEnv(const char *variable) ExpandEnvironmentStringsA(temp, env, sizeof(env)); return (env[0] != '\0')?strdup(env):NULL; #else - char *env = getenv(variable); + char *env = secure_getenv(variable); #ifdef __VMS if(env && strcmp("HOME",variable) == 0) env = decc_translate_vms(env); --- configure.ac.orig +++ configure.ac @@ -3480,6 +3480,8 @@ if test "x$want_curldebug_assumed" = "xy ac_configure_args="$ac_configure_args --enable-curldebug" fi +AC_CHECK_FUNCS([__secure_getenv secure_getenv]) + AC_CONFIG_FILES([Makefile \ docs/Makefile \ docs/examples/Makefile \ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2013-02-07 14:16:01 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl", Maintainer is "vci...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2013-01-12 14:50:32.0 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2013-02-07 14:16:03.0 +0100 @@ -1,0 +2,6 @@ +Thu Feb 7 10:54:15 UTC 2013 - vci...@suse.com + +- fixed CVE-2013-0249 (bnc#802411) +- refreshed patches + +--- New: curl-CVE-2013-0249.patch Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.OApOm0/_old 2013-02-07 14:16:05.0 +0100 +++ /var/tmp/diff_new_pack.OApOm0/_new 2013-02-07 14:16:05.0 +0100 @@ -33,6 +33,7 @@ Source4:%{name}.keyring Patch: libcurl-ocloexec.patch Patch1: dont-mess-with-rpmoptflags.diff +Patch2: curl-CVE-2013-0249.patch # Use rpmbuild -D 'VERIFY_SIG 1' to verify signature during build or run one-shot check by "gpg-offline --verify --package=curl curl-*.asc". %if 0%{?VERIFY_SIG} BuildRequires: gpg-offline @@ -98,6 +99,7 @@ %setup -q %patch %patch1 +%patch2 -p1 %build autoreconf -fi ++ curl-CVE-2013-0249.patch ++ >From ee45a34907ffeb5fd95b0513040d8491d565b663 Mon Sep 17 00:00:00 2001 From: Eldar Zaitov Date: Wed, 30 Jan 2013 23:22:27 +0100 Subject: [PATCH] Curl_sasl_create_digest_md5_message: fix buffer overflow When negotiating SASL DIGEST-MD5 authentication, the function Curl_sasl_create_digest_md5_message() uses the data provided from the server without doing the proper length checks and that data is then appended to a local fixed-size buffer on the stack. This vulnerability can be exploited by someone who is in control of a server that a libcurl based program is accessing with POP3, SMTP or IMAP. For applications that accept user provided URLs, it is also thinkable that a malicious user would feed an application with a URL to a server hosting code targetting this flaw. Bug: http://curl.haxx.se/docs/adv_20130206.html --- lib/curl_sasl.c | 23 ++- 1 file changed, 6 insertions(+), 17 deletions(-) Index: curl-7.28.1/lib/curl_sasl.c === --- curl-7.28.1.orig/lib/curl_sasl.c2012-08-08 22:45:18.0 +0200 +++ curl-7.28.1/lib/curl_sasl.c 2013-02-07 11:55:15.183277599 +0100 @@ -345,9 +345,7 @@ CURLcode Curl_sasl_create_digest_md5_mes snprintf(&HA1_hex[2 * i], 3, "%02x", digest[i]); /* Prepare the URL string */ - strcpy(uri, service); - strcat(uri, "/"); - strcat(uri, realm); + snprintf(uri, sizeof(uri), "%s/%s", service, realm); /* Calculate H(A2) */ ctxt = Curl_MD5_init(Curl_DIGEST_MD5); @@ -391,20 +389,11 @@ CURLcode Curl_sasl_create_digest_md5_mes for(i = 0; i < MD5_DIGEST_LEN; i++) snprintf(&resp_hash_hex[2 * i], 3, "%02x", digest[i]); - strcpy(response, "username=\""); - strcat(response, userp); - strcat(response, "\",realm=\""); - strcat(response, realm); - strcat(response, "\",nonce=\""); - strcat(response, nonce); - strcat(response, "\",cnonce=\""); - strcat(response, cnonce); - strcat(response, "\",nc="); - strcat(response, nonceCount); - strcat(response, ",digest-uri=\""); - strcat(response, uri); - strcat(response, "\",response="); - strcat(response, resp_hash_hex); + snprintf(response, sizeof(response), + "username=\"%s\",realm=\"%s\",nonce=\"%s\"," + "cnonce=\"%s\",nc=\"%s\",digest-uri=\"%s\",response=%s", + userp, realm, nonce, + cnonce, nonceCount, uri, resp_hash_hex); /* Base64 encode the reply */ return Curl_base64_encode(data, response, 0, outptr, outlen); ++ dont-mess-with-rpmoptflags.diff ++ --- /var/tmp/diff_new_pack.OApOm0/_old 2013-02-07 14:16:05.0 +0100 +++ /var/tmp/diff_new_pack.OApOm0/_new 2013-02-07 14:16:05.0 +0100 @@ -1,6 +1,8 @@ configure.ac.orig -+++ configure.ac -@@ -279,10 +279,6 @@ dnl platform/compiler/architecture speci +Index: configure.ac +=== +--- configure.ac.orig 2013-02-07 11:55:15.150276599 +0100 configure.ac 2013-02-07 11:55:15.167277116 +0100 +@@ -288,10 +288,6 @@ dnl platform/compiler/architecture speci dnl ** CURL_CHECK_COMPILER ++ libcurl-ocloexec.patch ++ --- /var/tmp/diff_new_pack.OApOm0/_old 2013-02-07 14:16:05.0 +0100 +++ /var/tmp/diff_new_pack.OApOm0/_new 2013-02
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2013-01-12 14:50:30 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl", Maintainer is "vci...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2012-12-19 10:51:54.0 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2013-01-12 14:50:32.0 +0100 @@ -1,0 +2,5 @@ +Fri Jan 11 21:34:38 CET 2013 - sbra...@suse.cz + +- Break build loop and make GPG signature verification optional. + +--- Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.qxe20L/_old 2013-01-12 14:50:33.0 +0100 +++ /var/tmp/diff_new_pack.qxe20L/_new 2013-01-12 14:50:33.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package curl # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,7 +33,10 @@ Source4:%{name}.keyring Patch: libcurl-ocloexec.patch Patch1: dont-mess-with-rpmoptflags.diff +# Use rpmbuild -D 'VERIFY_SIG 1' to verify signature during build or run one-shot check by "gpg-offline --verify --package=curl curl-*.asc". +%if 0%{?VERIFY_SIG} BuildRequires: gpg-offline +%endif BuildRequires: libidn-devel BuildRequires: libtool BuildRequires: lzma @@ -89,7 +92,9 @@ user interaction or any kind of interactivity. %prep +%if 0%{?VERIFY_SIG} %gpg_verify %{S:2} +%endif %setup -q %patch %patch1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2012-12-19 10:51:53 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl", Maintainer is "vci...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2012-11-22 16:11:59.0 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2012-12-19 10:51:54.0 +0100 @@ -1,0 +2,5 @@ +Tue Nov 27 20:05:00 CET 2012 - sbra...@suse.cz + +- Verify GPG signature. + +--- New: curl.keyring Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.0bs79H/_old 2012-12-19 10:51:58.0 +0100 +++ /var/tmp/diff_new_pack.0bs79H/_new 2012-12-19 10:51:58.0 +0100 @@ -30,8 +30,10 @@ Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma Source2:http://curl.haxx.se/download/%{name}-%{version}.tar.lzma.asc Source3:baselibs.conf +Source4:%{name}.keyring Patch: libcurl-ocloexec.patch Patch1: dont-mess-with-rpmoptflags.diff +BuildRequires: gpg-offline BuildRequires: libidn-devel BuildRequires: libtool BuildRequires: lzma @@ -87,6 +89,7 @@ user interaction or any kind of interactivity. %prep +%gpg_verify %{S:2} %setup -q %patch %patch1 ++ curl.keyring ++ pub 1024D/279D5C91 2003-04-28 uid Daniel Stenberg (Haxx) sub 1024g/B70B3510 2003-04-28 -BEGIN PGP PUBLIC KEY BLOCK- Version: GnuPG v2.0.19 (GNU/Linux) mQGiBD6tnnoRBACRPnFBVoapBrTpPrCNZ2rq3DcmW6n/soQJW47+zP+vcrcxQ1WJ QiWSzLGO+QOIUZSYfnliR22r8HkFX9EUSW3IAcRMJMsaO3wMJ0a+78a9QqWLp6RV 0arcQkuuCvG79h+yJ6NnoAXe1geRt8vNGsaWtsS91CtYlTSs6JVtaRLnYwCg/Ly1 EFgvNZ6SJRc/8I5rRv0lrz8D/0goih2kZ5z4SI+r2hgABNcN7g565YwGKaQDbIch soh3OBzgETWc3wuAZqmCzQXPXMpMx+ziqX6XDzDKNiGL1CdrBJQd0II8UutWVDje f9UxLfo02YQ8diGYeq0u9k1RezC13w4TVUmQfg0Uqn4xM6DNzO1O6yCK8rlNwsvL gHNJA/9m1pfzjpvdxtmJNKRU3C4cRCjXhxNdM7laSEj0/wOGaR2QWWEge51orWwo SLQUIe4BDPvtRStQHC+tI7qr7d12rMMEBXviJC5EkGBOzlgWr9virjM/u/pkGMc2 m5r3pVuWH/JSsHsV952y2kWP64uP4zdLXOpVzX/xs0sYJ9nOPLQnRGFuaWVsIFN0 ZW5iZXJnIChIYXh4KSA8ZGFuaWVsQGhheHguc2U+iFkEExECABkFAj6tnnoECwcD AgMVAgMDFgIBAh4BAheAAAoJEHjhHGsnnVyRjngAn1gK6Q0qUTHwYJBAhIDmrRi0 ebfDAJ4qDSHd6UU2MEkkFCgGfYgEBXKbb7kBDQQ+rZ59EAQAmYsA8gPjJ75gOIPb XNg9Z31QzIz65qS9XdNsFNAdKxnY4b72nhc0oaS9/7Dcdf2Q+1mDa2p72DWk+9iz 7knmBL++csBP2z9eMe5h8oV53prqNOHDHyL3WLOa25ga9381gZnzWoQME74iSBBM wDw8vbLEgIZ34JaQ7Oe+9N3+6n8AAwcD/Av+Ms+3gCc5pLp4nx36qqi36fodaG9+ dwIcMbr9bivEtjmDHeuPsD6X1J9+Y/ikUBIDpMPv33lJxLoubOtpLhEuN2XN/ojT rueVPDKA1f+GyfHnyfpf/78IgX1hGVqu/3RBWKPpXFwSZA4q8vFR+FaPC5WbU68t FLJpYuC9ZO/LiEYEGBECAAYFAj6tnn0ACgkQeOEcayedXJGtPQCgxrbd59afemZ9 OIadZD8kUGC29dUAoJ94aGUkWCwoEiPyEZRGXv9XRlfx =yTQx -END PGP PUBLIC KEY BLOCK- -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2012-11-22 16:11:56 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl", Maintainer is "vci...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2012-11-10 16:55:42.0 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2012-11-22 16:11:59.0 +0100 @@ -1,0 +2,12 @@ +Tue Nov 20 23:43:24 UTC 2012 - crrodrig...@opensuse.org + +- Curl 7.28.1 +* FTP: prevent the multi interface from blocking Obsoletes + curl-ftp-prevent-the-multi-interface-from-blocking.patch +* don't send '#' fragments when using proxy +* OpenSSL: Disable SSL/TLS compression - avoid the "CRIME" attack +* TFTP: handle resend +* memory leak: CURLOPT_RESOLVE with multi interface +* SSL: Several SSL-backend related fixes + +--- Old: curl-7.27.0.tar.lzma curl-7.27.0.tar.lzma.asc curl-ftp-prevent-the-multi-interface-from-blocking.patch New: curl-7.28.1.tar.lzma curl-7.28.1.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.jc8md2/_old 2012-11-22 16:12:01.0 +0100 +++ /var/tmp/diff_new_pack.jc8md2/_new 2012-11-22 16:12:01.0 +0100 @@ -21,7 +21,7 @@ %bcond_without testsuite Name: curl -Version:7.27.0 +Version:7.28.1 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause and MIT @@ -32,8 +32,6 @@ Source3:baselibs.conf Patch: libcurl-ocloexec.patch Patch1: dont-mess-with-rpmoptflags.diff -# PATCH-FIX-UPSTREAM curl-ftp-prevent-the-multi-interface-from-blocking.patch sf#3579064 g...@opensuse.org -- Prevent the multi interface from blocking when using ftp and the remote end responds very slowly (backported from upstream git) -Patch2: curl-ftp-prevent-the-multi-interface-from-blocking.patch BuildRequires: libidn-devel BuildRequires: libtool BuildRequires: lzma @@ -47,7 +45,6 @@ BuildRequires: mozilla-nss-devel %endif BuildRequires: krb5-devel -BuildRequires: libcares-devel BuildRequires: libssh2-devel BuildRequires: openssh %if 0%{?_with_stunnel:1} @@ -93,7 +90,6 @@ %setup -q %patch %patch1 -%patch2 -p1 %build autoreconf -fi ++ libcurl-ocloexec.patch ++ --- /var/tmp/diff_new_pack.jc8md2/_old 2012-11-22 16:12:01.0 +0100 +++ /var/tmp/diff_new_pack.jc8md2/_new 2012-11-22 16:12:01.0 +0100 @@ -38,33 +38,15 @@ file->path = real_path; #endif file->freepath = real_path; /* free this when done */ -@@ -336,7 +336,7 @@ static CURLcode file_upload(struct conne - return CURLE_FILE_COULDNT_READ_FILE; /* fix: better error code */ - - if(data->state.resume_from) --fp = fopen( file->path, "ab" ); -+fp = fopen( file->path, "abe" ); - else { - int fd; - -@@ -344,7 +344,7 @@ static CURLcode file_upload(struct conne - fd = open(file->path, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY, - conn->data->set.new_file_perms); - #else --fd = open(file->path, O_WRONLY|O_CREAT|O_TRUNC, -+fd = open(file->path, O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, - conn->data->set.new_file_perms); - #endif - if(fd < 0) { -@@ -352,7 +352,7 @@ static CURLcode file_upload(struct conne - return CURLE_WRITE_ERROR; - } - close(fd); --fp = fopen(file->path, "wb"); -+fp = fopen(file->path, "wbe"); - } +@@ -347,7 +347,7 @@ static CURLcode file_upload(struct conne + else + mode = MODE_DEFAULT|O_TRUNC; - if(!fp) { +- fd = open(file->path, mode, conn->data->set.new_file_perms); ++ fd = open(file->path, mode | O_CLOEXEC, conn->data->set.new_file_perms); + if(fd < 0) { + failf(data, "Can't open %s for writing", file->path); + return CURLE_WRITE_ERROR; --- lib/formdata.c.orig +++ lib/formdata.c @@ -1207,7 +1207,7 @@ CURLcode Curl_getformdata(struct Session @@ -101,7 +83,7 @@ if(-1 == ipv6_works) { /* probe to see if we have a working IPv6 stack */ -curl_socket_t s = socket(PF_INET6, SOCK_DGRAM, 0); -+curl_socket_t s = socket(PF_INET6, SOCK_DGRAM | O_CLOEXEC, 0); ++curl_socket_t s = socket(PF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, 0); if(s == CURL_SOCKET_BAD) /* an ipv6 address was requested but we can't get/use one */ ipv6_works = 0; @@ -129,7 +111,7 @@ char *tok_buf; --- lib/ssluse.c.orig +++ lib/ssluse.c -@@ -435,7 +435,7 @@ int cert_stuff(struct connectdata *conn, +@@ -437,7 +437,7 @@ int cert_stuff(struct connectdata *conn, STACK_OF(X509) *ca = NULL; int i; @@ -138,7 +120,7 @@
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2012-11-10 16:55:38 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl", Maintainer is "vci...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2012-07-30 20:15:23.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2012-11-10 16:55:42.0 +0100 @@ -1,0 +2,7 @@ +Sun Nov 4 19:57:33 UTC 2012 - g...@opensuse.org + +- added curl-ftp-prevent-the-multi-interface-from-blocking.patch in + order to prevent the multi interface from blocking when using ftp + and the remote end responds very slowly (sf#3579064) + +--- New: curl-ftp-prevent-the-multi-interface-from-blocking.patch Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.hbbjQm/_old 2012-11-10 16:55:43.0 +0100 +++ /var/tmp/diff_new_pack.hbbjQm/_new 2012-11-10 16:55:43.0 +0100 @@ -24,7 +24,7 @@ Version:7.27.0 Release:0 Summary:A Tool for Transferring Data from URLs -License:BSD-3-Clause ; MIT +License:BSD-3-Clause and MIT Group: Productivity/Networking/Web/Utilities Url:http://curl.haxx.se/ Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma @@ -32,6 +32,8 @@ Source3:baselibs.conf Patch: libcurl-ocloexec.patch Patch1: dont-mess-with-rpmoptflags.diff +# PATCH-FIX-UPSTREAM curl-ftp-prevent-the-multi-interface-from-blocking.patch sf#3579064 g...@opensuse.org -- Prevent the multi interface from blocking when using ftp and the remote end responds very slowly (backported from upstream git) +Patch2: curl-ftp-prevent-the-multi-interface-from-blocking.patch BuildRequires: libidn-devel BuildRequires: libtool BuildRequires: lzma @@ -91,6 +93,7 @@ %setup -q %patch %patch1 +%patch2 -p1 %build autoreconf -fi ++ curl-ftp-prevent-the-multi-interface-from-blocking.patch ++ >From b2954e66e87be7414a4508f8167ca531e653bea8 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 4 Nov 2012 18:22:48 +0100 Subject: [PATCH] FTP: prevent the multi interface from blocking As pointed out in Bug report #3579064, curl_multi_perform() would wrongly use a blocking mechanism internally for some commands which could lead to for example a very long block if the LIST response never showed. The solution was to make sure to properly continue to use the multi interface non-blocking state machine. The new test 1501 verifies the fix. Bug: http://curl.haxx.se/bug/view.cgi?id=3579064 Reported by: Guido Berhoerster Index: curl-7.27.0/lib/ftp.c === --- curl-7.27.0.orig/lib/ftp.c +++ curl-7.27.0/lib/ftp.c @@ -650,11 +650,18 @@ static CURLcode ftp_readresp(curl_socket if(ftpcode) *ftpcode = code; - if(421 == code) + if(421 == code) { /* 421 means "Service not available, closing control connection." and FTP * servers use it to signal that idle session timeout has been exceeded. - * If we ignored the response, it could end up hanging in some cases. */ + * If we ignored the response, it could end up hanging in some cases. + * + * This response code can come at any point so having it treated + * generically is a good idea. + */ +infof(data, "We got a 421 - timeout!\n"); +state(conn, FTP_STOP); return CURLE_OPERATION_TIMEDOUT; + } return result; } @@ -2378,6 +2385,7 @@ static CURLcode ftp_state_stor_resp(stru if(ftpcode>=400) { failf(data, "Failed FTP upload: %0d", ftpcode); +state(conn, FTP_STOP); /* oops, we never close the sockets! */ return CURLE_UPLOAD_FAILED; } @@ -2395,9 +2403,6 @@ static CURLcode ftp_state_stor_resp(stru if(!connected) { struct ftp_conn *ftpc = &conn->proto.ftpc; infof(data, "Data conn was not available immediately\n"); - /* as there's not necessarily an immediate action on the control - connection now, we halt the state machine */ - state(conn, FTP_STOP); ftpc->wait_data_conn = TRUE; } @@ -3647,6 +3652,8 @@ static CURLcode ftp_do_more(struct conne /* the ftp struct is inited in ftp_connect() */ struct FTP *ftp = data->state.proto.ftp; + *complete = FALSE; + /* if the second connection isn't done yet, wait for it */ if(!conn->bits.tcpconnect[SECONDARYSOCKET]) { result = Curl_is_connected(conn, SECONDARYSOCKET, &connected); @@ -3659,6 +3666,18 @@ static CURLcode ftp_do_more(struct conne return result; } + if((data->state.
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2012-07-30 20:12:21 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl", Maintainer is "vci...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2012-07-12 12:11:47.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2012-07-30 20:15:23.0 +0200 @@ -1,0 +2,9 @@ +Sun Jul 29 22:14:25 UTC 2012 - crrodrig...@opensuse.org + +- Curl 7.27.0 +* support metalinks +* Add sasl authentication support +* various bugfixes +- Fix previous change, _GNU_SOURCE --> AC_USE_SYSTEM_EXTENSIONS + +--- Old: curl-7.25.0.tar.lzma curl-7.25.0.tar.lzma.asc New: curl-7.27.0.tar.lzma curl-7.27.0.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.Wg1byC/_old 2012-07-30 20:15:29.0 +0200 +++ /var/tmp/diff_new_pack.Wg1byC/_new 2012-07-30 20:15:29.0 +0200 @@ -21,7 +21,7 @@ %bcond_without testsuite Name: curl -Version:7.25.0 +Version:7.27.0 Release:0 Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause ; MIT @@ -98,7 +98,7 @@ # (currently, libtool sets link_all_deplibs=(yes|unknown) everywhere, # will hopefully change in the future) sed -i 's/link_all_deplibs=unknown/link_all_deplibs=no/' configure -%configure CFLAGS="%{optflags} -D_GNU_SOURCE=1" \ +%configure \ --enable-ipv6 \ %if %{with openssl} --with-ssl \ @@ -158,7 +158,7 @@ %doc docs/{BUGS,FAQ,FEATURES,MANUAL,RESOURCES,TODO,TheArtOfHttpScripting} %doc lib/README.curl_off_t %{_prefix}/bin/curl -%doc %{_mandir}/man1/curl.1.gz +%doc %{_mandir}/man1/curl.1%{ext_man} %files -n libcurl4 %defattr(-,root,root) @@ -172,8 +172,9 @@ %{_prefix}/share/aclocal/libcurl.m4 %{_libdir}/libcurl.so %{_libdir}/pkgconfig/libcurl.pc -%doc %{_mandir}/man1/curl-config.1.gz -%doc %{_mandir}/man3/* +%{_mandir}/man1/curl-config.1%{ext_man} +%{_mandir}/man1/mk-ca-bundle.1%{ext_man} +%{_mandir}/man3/* %doc docs/libcurl/symbols-in-versions %changelog ++ libcurl-ocloexec.patch ++ --- /var/tmp/diff_new_pack.Wg1byC/_old 2012-07-30 20:15:29.0 +0200 +++ /var/tmp/diff_new_pack.Wg1byC/_new 2012-07-30 20:15:29.0 +0200 @@ -118,7 +118,7 @@ --- lib/netrc.c.orig +++ lib/netrc.c -@@ -110,7 +110,7 @@ int Curl_parsenetrc(const char *host, +@@ -107,7 +107,7 @@ int Curl_parsenetrc(const char *host, netrc_alloc = TRUE; } @@ -129,7 +129,7 @@ char *tok_buf; --- lib/ssluse.c.orig +++ lib/ssluse.c -@@ -436,7 +436,7 @@ int cert_stuff(struct connectdata *conn, +@@ -435,7 +435,7 @@ int cert_stuff(struct connectdata *conn, STACK_OF(X509) *ca = NULL; int i; @@ -138,7 +138,7 @@ if(!f) { failf(data, "could not open PKCS12 file '%s'", cert_file); return 0; -@@ -2316,7 +2316,7 @@ static CURLcode servercert(struct connec +@@ -2338,7 +2338,7 @@ static CURLcode servercert(struct connec /* e.g. match issuer name with provided issuer certificate */ if(data->set.str[STRING_SSL_ISSUERCERT]) { @@ -146,4 +146,44 @@ + fp=fopen(data->set.str[STRING_SSL_ISSUERCERT],"re"); if(!fp) { if(strict) - failf(data, "SSL: Unable to open issuer cert (%s)\n", + failf(data, "SSL: Unable to open issuer cert (%s)", +--- lib/connect.c.orig lib/connect.c +@@ -1236,7 +1236,7 @@ CURLcode Curl_socket(struct connectdata + (struct curl_sockaddr *)addr); + else + /* opensocket callback not set, so simply create the socket now */ +-*sockfd = socket(addr->family, addr->socktype, addr->protocol); ++*sockfd = socket(addr->family, addr->socktype | SOCK_CLOEXEC, addr->protocol); + + if(*sockfd == CURL_SOCKET_BAD) + /* no socket, no connection */ +--- configure.ac.orig configure.ac +@@ -180,6 +180,7 @@ AC_CANONICAL_HOST + dnl Get system canonical name + AC_DEFINE_UNQUOTED(OS, "${host}", [cpu-machine-OS]) + ++AC_USE_SYSTEM_EXTENSIONS + dnl Checks for programs. + CURL_CHECK_PROG_CC + +@@ -193,6 +194,7 @@ dnl Our configure and build reentrant se + CURL_CONFIGURE_THREAD_SAFE + CURL_CONFIGURE_REENTRANT + ++ + dnl check for how to do large files + AC_SYS_LARGEFILE + +--- m4/curl-compilers.m4.orig m4/curl-compilers.m4 +@@ -1272,7 +1272,7 @@ dnl CPPFLAGS from being unexpectedly cha + AC_DEFUN([CURL_CHECK_PROG_CC], [ + ac_save_CFLAGS="$CFLAGS" + ac_save_CPPFLAGS="$CPPFLAGS" +- AC_PROG_CC ++ AC_PROG_CC_STDC + CFLAGS="$ac_save_CFLAGS" + CPPFLAGS="$ac_save_C
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2012-07-12 12:11:44 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl", Maintainer is "vci...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2012-05-21 08:06:29.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2012-07-12 12:11:47.0 +0200 @@ -1,0 +2,6 @@ +Mon Jul 9 13:12:24 UTC 2012 - d...@opensuse.org + +- define _GNU_SOURCE for oS/SLES <= 11.4, as O_CLOEXEC is + defined inside a ifdef __USE_GNU + +--- Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.7bKsqq/_old 2012-07-12 12:11:48.0 +0200 +++ /var/tmp/diff_new_pack.7bKsqq/_new 2012-07-12 12:11:48.0 +0200 @@ -98,7 +98,7 @@ # (currently, libtool sets link_all_deplibs=(yes|unknown) everywhere, # will hopefully change in the future) sed -i 's/link_all_deplibs=unknown/link_all_deplibs=no/' configure -%configure \ +%configure CFLAGS="%{optflags} -D_GNU_SOURCE=1" \ --enable-ipv6 \ %if %{with openssl} --with-ssl \ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2012-05-21 08:06:28 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl", Maintainer is "vci...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2012-02-10 17:12:33.0 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2012-05-21 08:06:29.0 +0200 @@ -1,0 +2,11 @@ +Sat May 12 23:24:56 UTC 2012 - jeng...@inai.de + +- Update to new upstream release 7.25.0 +* Added CURLOPT_TCP_KEEPALIVE, CURLOPT_TCP_KEEPIDLE, + CURLOPT_TCP_KEEPINTVL +* use new library-side TCP_KEEPALIVE options +* Added a new CURLOPT_MAIL_AUTH option +* Added support for --mail-auth +* (for more see the shipped CHANGES file) + +--- Old: curl-7.24.0.tar.lzma New: curl-7.25.0.tar.lzma curl-7.25.0.tar.lzma.asc Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.wnPIPl/_old 2012-05-21 08:06:43.0 +0200 +++ /var/tmp/diff_new_pack.wnPIPl/_new 2012-05-21 08:06:43.0 +0200 @@ -21,6 +21,17 @@ %bcond_without testsuite Name: curl +Version:7.25.0 +Release:0 +Summary:A Tool for Transferring Data from URLs +License:BSD-3-Clause ; MIT +Group: Productivity/Networking/Web/Utilities +Url:http://curl.haxx.se/ +Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma +Source2:http://curl.haxx.se/download/%{name}-%{version}.tar.lzma.asc +Source3:baselibs.conf +Patch: libcurl-ocloexec.patch +Patch1: dont-mess-with-rpmoptflags.diff BuildRequires: libidn-devel BuildRequires: libtool BuildRequires: lzma @@ -34,29 +45,18 @@ BuildRequires: mozilla-nss-devel %endif BuildRequires: krb5-devel +BuildRequires: libcares-devel BuildRequires: libssh2-devel BuildRequires: openssh -BuildRequires: libcares-devel %if 0%{?_with_stunnel:1} # used by the testsuite BuildRequires: stunnel %endif -Version:7.24.0 -Release:0 +BuildRoot: %{_tmppath}/%{name}-%{version}-build # bug437293 %ifarch ppc64 Obsoletes: curl-64bit %endif -# -Summary:A Tool for Transferring Data from URLs -License:BSD-3-Clause ; MIT -Group: Productivity/Networking/Web/Utilities -Url:http://curl.haxx.se/ -Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma -Source2:baselibs.conf -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Patch: libcurl-ocloexec.patch -Patch1: dont-mess-with-rpmoptflags.diff %description Curl is a client to get documents and files from or send documents to a @@ -75,7 +75,8 @@ %package -n libcurl-devel Summary:A Tool for Transferring Data from URLs Group: Development/Libraries/C and C++ -Requires: libcurl4 = %{version} glibc-devel +Requires: glibc-devel +Requires: libcurl4 = %{version} # curl-devel (v 7.15.5) was last used in 10.2 Provides: curl-devel <= 7.15.5 Obsoletes: curl-devel < 7.16.2 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2012-02-10 17:12:22 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl", Maintainer is "vci...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2012-02-03 10:22:12.0 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2012-02-10 17:12:33.0 +0100 @@ -1,0 +2,5 @@ +Wed Feb 8 00:45:18 UTC 2012 - crrodrig...@opensuse.org + +- Problem with the c-ares backend, workaround for [bnc#745534] + +--- Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.YY5S2P/_old 2012-02-10 17:12:36.0 +0100 +++ /var/tmp/diff_new_pack.YY5S2P/_new 2012-02-10 17:12:36.0 +0100 @@ -112,7 +112,7 @@ --with-libssh2\ --enable-hidden-symbols \ --disable-static \ ---enable-ares +--enable-threaded-resolver : if this fails, the above sed hack did not work ./libtool --config | grep -q link_all_deplibs=no -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2012-02-03 10:22:09 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl", Maintainer is "vci...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2011-12-31 17:19:19.0 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2012-02-03 10:22:12.0 +0100 @@ -1,0 +2,12 @@ +Thu Feb 2 18:47:10 UTC 2012 - crrodrig...@opensuse.org + +- Update to version curl 7.24.0 +- refresh patches to fix broken build + +--- +Wed Jan 18 13:49:56 CET 2012 - dmuel...@suse.de + +- use the rpmoptflags unconditionally, don't do own compiler flag + magic. Fixes debuginfo package built + +--- Old: curl-7.23.1.tar.lzma New: curl-7.24.0.tar.lzma dont-mess-with-rpmoptflags.diff Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.qOjO8o/_old 2012-02-03 10:22:14.0 +0100 +++ /var/tmp/diff_new_pack.qOjO8o/_new 2012-02-03 10:22:14.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package curl # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,12 @@ %bcond_without testsuite Name: curl -BuildRequires: libidn-devel lzma openldap2-devel pkg-config zlib-devel +BuildRequires: libidn-devel +BuildRequires: libtool +BuildRequires: lzma +BuildRequires: openldap2-devel +BuildRequires: pkg-config +BuildRequires: zlib-devel %if %{with openssl} BuildRequires: openssl-devel %endif @@ -29,27 +34,29 @@ BuildRequires: mozilla-nss-devel %endif BuildRequires: krb5-devel -BuildRequires: libssh2-devel openssh +BuildRequires: libssh2-devel +BuildRequires: openssh BuildRequires: libcares-devel %if 0%{?_with_stunnel:1} # used by the testsuite BuildRequires: stunnel %endif -Version:7.23.1 -Release:1 +Version:7.24.0 +Release:0 # bug437293 %ifarch ppc64 Obsoletes: curl-64bit %endif # +Summary:A Tool for Transferring Data from URLs License:BSD-3-Clause ; MIT Group: Productivity/Networking/Web/Utilities -Summary:A Tool for Transferring Data from URLs Url:http://curl.haxx.se/ Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma Source2:baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch: libcurl-ocloexec.patch +Patch1: dont-mess-with-rpmoptflags.diff %description Curl is a client to get documents and files from or send documents to a @@ -81,9 +88,11 @@ %prep %setup -q -%patch -p1 +%patch +%patch1 %build +autoreconf -fi # local hack to make curl-config --libs stop printing libraries it depends on # (currently, libtool sets link_all_deplibs=(yes|unknown) everywhere, # will hopefully change in the future) ++ dont-mess-with-rpmoptflags.diff ++ --- configure.ac.orig +++ configure.ac @@ -279,10 +279,6 @@ dnl platform/compiler/architecture speci dnl ** CURL_CHECK_COMPILER -CURL_SET_COMPILER_BASIC_OPTS -CURL_SET_COMPILER_DEBUG_OPTS -CURL_SET_COMPILER_OPTIMIZE_OPTS -CURL_SET_COMPILER_WARNING_OPTS if test "$compiler_id" = "INTEL_UNIX_C"; then # ++ libcurl-ocloexec.patch ++ --- /var/tmp/diff_new_pack.qOjO8o/_old 2012-02-03 10:22:14.0 +0100 +++ /var/tmp/diff_new_pack.qOjO8o/_new 2012-02-03 10:22:14.0 +0100 @@ -7,24 +7,9 @@ compile time is not enough. -diff --git a/lib/connect.c b/lib/connect.c -index 2a1876e..4a72f6a 100644 a/lib/connect.c -+++ b/lib/connect.c -@@ -881,7 +881,7 @@ singleipconnect(struct connectdata *conn, -(struct curl_sockaddr *)&addr); - else - /* opensocket callback not set, so simply create the socket now */ --sockfd = socket(addr.family, addr.socktype, addr.protocol); -+sockfd = socket(addr.family, addr.socktype | SOCK_CLOEXEC, addr.protocol); - - if(sockfd == CURL_SOCKET_BAD) - /* no socket, no connection */ -diff --git a/lib/cookie.c b/lib/cookie.c -index 41ccdbe..35cfca3 100644 a/lib/cookie.c -+++ b/lib/cookie.c -@@ -736,7 +736,7 @@ struct CookieInfo *Curl_cookie_init(struct SessionHandle *data, +--- lib/cookie.c.orig lib/cookie.c +@@ -736,7 +736,7 @@ struct CookieInfo *Curl_cooki
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2011-12-31 17:19:17 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl", Maintainer is "mma...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2011-12-02 09:26:23.0 +0100 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2011-12-31 17:19:19.0 +0100 @@ -1,0 +2,5 @@ +Wed Dec 28 10:30:28 UTC 2011 - mma...@suse.cz + +- Package /usr/share/aclocal to avoid build dependency on automake. + +--- Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.r9q86w/_old 2011-12-31 17:19:20.0 +0100 +++ /var/tmp/diff_new_pack.r9q86w/_new 2011-12-31 17:19:20.0 +0100 @@ -158,6 +158,7 @@ %defattr(-,root,root) %{_prefix}/bin/curl-config %{_prefix}/include/curl +%dir %{_prefix}/share/aclocal %{_prefix}/share/aclocal/libcurl.m4 %{_libdir}/libcurl.so %{_libdir}/pkgconfig/libcurl.pc -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2011-12-06 18:05:04 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl", Maintainer is "mma...@suse.com" Changes: Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.x3iDuE/_old 2011-12-06 18:08:00.0 +0100 +++ /var/tmp/diff_new_pack.x3iDuE/_new 2011-12-06 18:08:00.0 +0100 @@ -42,7 +42,7 @@ Obsoletes: curl-64bit %endif # -License:BSD3c(or similar) ; MIT License (or similar) +License:BSD-3-Clause ; MIT Group: Productivity/Networking/Web/Utilities Summary:A Tool for Transferring Data from URLs Url:http://curl.haxx.se/ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2011-12-02 09:26:20 Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) Package is "curl", Maintainer is "mma...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/curl/curl.changes2011-10-05 01:45:19.0 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes 2011-12-02 09:26:23.0 +0100 @@ -1,0 +2,25 @@ +Wed Nov 30 22:39:35 UTC 2011 - crrodrig...@opensuse.org + +- Use O_CLOEXEC in library code. + +--- +Tue Nov 29 11:51:38 UTC 2011 - jeng...@medozas.de + +- Remove redundant/unwanted tags/section (cf. specfile guidelines) + +--- +Tue Nov 29 08:20:23 UTC 2011 - idoen...@suse.de + +- Use original source tarball + +--- +Mon Nov 28 12:00:00 UTC 2011 - opens...@dstoecker.de + +- Update to version 7.23.1: + + Empty headers can be sent in HTTP requests by terminating with a semicolon + + SSL session sharing support added to curl_share_setopt() + + Added support to MAIL FROM for the optional SIZE parameter + + smtp: Added support for NTLM authentication + + curl tool: code split into tool_*.[ch] files + + lots of bugfixes +--- Old: curl-7.22.0.tar.lzma curl-fix-m4.patch New: curl-7.23.1.tar.lzma libcurl-ocloexec.patch Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.vBcuqe/_old 2011-12-02 09:26:24.0 +0100 +++ /var/tmp/diff_new_pack.vBcuqe/_new 2011-12-02 09:26:24.0 +0100 @@ -35,8 +35,7 @@ # used by the testsuite BuildRequires: stunnel %endif -#define cvs_suffix -20090302 -Version:7.22.0 +Version:7.23.1 Release:1 # bug437293 %ifarch ppc64 @@ -47,11 +46,10 @@ Group: Productivity/Networking/Web/Utilities Summary:A Tool for Transferring Data from URLs Url:http://curl.haxx.se/ -Source: curl-%version%{?cvs_suffix}.tar.lzma +Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma Source2:baselibs.conf -# PATCH-FIX-UPSTREAM curl-fix-m4.patch dims...@opensuse.org -- Fix m4 to work with -Werror -Wall configure scripts. Simply 'use' x. Patch sent upstream. -Patch0: curl-fix-m4.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +Patch: libcurl-ocloexec.patch %description Curl is a client to get documents and files from or send documents to a @@ -60,15 +58,14 @@ without user interaction or any kind of interactivity. %package -n libcurl4 -License:BSD3c(or similar) ; MIT License (or similar) -Summary:cURL shared library version 4 +Summary:Version 4 of cURL shared library Group: Productivity/Networking/Web/Utilities %description -n libcurl4 -cURL shared library version 4. +The cURL shared library version 4 for accessing data using different +network protocols. %package -n libcurl-devel -License:BSD3c(or similar) ; MIT License (or similar) Summary:A Tool for Transferring Data from URLs Group: Development/Libraries/C and C++ Requires: libcurl4 = %{version} glibc-devel @@ -83,17 +80,15 @@ user interaction or any kind of interactivity. %prep -%setup -q -n curl-%version%{?cvs_suffix} -%patch0 -p1 +%setup -q +%patch -p1 %build # local hack to make curl-config --libs stop printing libraries it depends on # (currently, libtool sets link_all_deplibs=(yes|unknown) everywhere, # will hopefully change in the future) sed -i 's/link_all_deplibs=unknown/link_all_deplibs=no/' configure -export CFLAGS="%{optflags}" -./configure \ - --prefix=%{_prefix} \ +%configure \ --enable-ipv6 \ %if %{with openssl} --with-ssl \ @@ -106,7 +101,6 @@ %endif --with-gssapi=/usr/lib/mit \ --with-libssh2\ - --libdir=%{_libdir} \ --enable-hidden-symbols \ --disable-static \ --enable-ares ++ libcurl-ocloexec.patch ++ Open library file descriptors with O_CLOEXEC This patch is non-portable, it needs linux 2.6.23 and glibc 2.7 or later, different combinations (old linux, new glibc and vice-versa) will result in a crash. To make it portable you have to test O_CLOEXEC support at *runtime* compile time is not enough. diff --git a/lib/connect.c b/lib/connect.c index 2a1876e..4a72f6a 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -881,7 +881,7 @@ singleipconnect(struct connectdata *conn, (struct curl_sockaddr
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at Wed Oct 5 01:45:20 CEST 2011. --- openSUSE:Factory/curl/curl.changes 2011-09-23 01:54:44.0 +0200 +++ /mounts/work_src_done/STABLE/curl/curl.changes 2011-10-03 18:15:12.0 +0200 @@ -1,0 +2,19 @@ +Mon Oct 3 15:44:17 UTC 2011 - dims...@opensuse.org + +- Update to version 7.22.0: + + Added CURLOPT_GSSAPI_DELEGATION + + Added support for NTLM delegation to Samba's winbind daemon +helper ntlm_auth + + Display notes from setup file in testcurl.pl + + BSD-style lwIP TCP/IP stack experimental support on Windows + + OpenSSL: Use SSL_MODE_RELEASE_BUFFERS if available + + --delegation was added to set CURLOPT_GSSAPI_DELEGATION + + nss: start with no database if the selected database is broken + + telnet: allow programatic use on Windows + + for a list of bugfixes, see +http://curl.haxx.se/changes.html#7_22_0 +- Drop curl-openssl-release-buffers.patch: fixed upstream. +- Add curl-fix-m4.patch: Use 'x' in configure scripts. Fixes issues + when configure is run with -Werror -Wall. + +--- calling whatdependson for head-i586 Old: curl-7.21.7.tar.lzma curl-openssl-release-buffers.patch New: curl-7.22.0.tar.lzma curl-fix-m4.patch Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.zi4W4M/_old 2011-10-05 01:45:16.0 +0200 +++ /var/tmp/diff_new_pack.zi4W4M/_new 2011-10-05 01:45:16.0 +0200 @@ -36,8 +36,8 @@ BuildRequires: stunnel %endif #define cvs_suffix -20090302 -Version:7.21.7 -Release:4 +Version:7.22.0 +Release:1 # bug437293 %ifarch ppc64 Obsoletes: curl-64bit @@ -49,8 +49,9 @@ Url:http://curl.haxx.se/ Source: curl-%version%{?cvs_suffix}.tar.lzma Source2:baselibs.conf +# PATCH-FIX-UPSTREAM curl-fix-m4.patch dims...@opensuse.org -- Fix m4 to work with -Werror -Wall configure scripts. Simply 'use' x. Patch sent upstream. +Patch0: curl-fix-m4.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -Patch: curl-openssl-release-buffers.patch %description Curl is a client to get documents and files from or send documents to a @@ -83,7 +84,7 @@ %prep %setup -q -n curl-%version%{?cvs_suffix} -%patch +%patch0 -p1 %build # local hack to make curl-config --libs stop printing libraries it depends on ++ curl-fix-m4.patch ++ >From 0a8361df11617fe0a59687b00f020a8e9f15e83f Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 3 Oct 2011 17:53:43 +0200 Subject: [PATCH] m4: Use x in order to avoid variable 'x' set but not used [-Werror=unused-but-set-variable] This error could be caused by configure scripts being run with -Werror -Wall, which would lead to libcurl being detected as unusable. --- docs/libcurl/libcurl.m4 |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/docs/libcurl/libcurl.m4 b/docs/libcurl/libcurl.m4 index 01a0575..8cada05 100644 --- a/docs/libcurl/libcurl.m4 +++ b/docs/libcurl/libcurl.m4 @@ -157,6 +157,7 @@ x=CURLOPT_FILE; x=CURLOPT_ERRORBUFFER; x=CURLOPT_STDERR; x=CURLOPT_VERBOSE; +if (x) ; ])],libcurl_cv_lib_curl_usable=yes,libcurl_cv_lib_curl_usable=no) CPPFLAGS=$_libcurl_save_cppflags -- 1.7.6.4 continue with "q"... Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at Mon Sep 19 15:58:26 CEST 2011. --- curl/curl.changes 2011-08-15 07:06:17.0 +0200 +++ /mounts/work_src_done/STABLE/curl/curl.changes 2011-09-18 02:10:50.0 +0200 @@ -1,0 +2,11 @@ +Sun Sep 18 00:10:42 UTC 2011 - jeng...@medozas.de + +- Remove redundant tags/sections from specfile +- Use %_smp_mflags for parallel build + +--- +Fri Sep 16 17:22:44 UTC 2011 - jeng...@medozas.de + +- Add curl-devel to baselibs + +--- calling whatdependson for head-i586 Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.jLH6yQ/_old 2011-09-19 15:58:22.0 +0200 +++ /var/tmp/diff_new_pack.jLH6yQ/_new 2011-09-19 15:58:22.0 +0200 @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild %bcond_without openssl %bcond_with mozilla_nss @@ -39,7 +38,6 @@ #define cvs_suffix -20090302 Version:7.21.7 Release:4 -AutoReqProv:on # bug437293 %ifarch ppc64 Obsoletes: curl-64bit @@ -115,7 +113,7 @@ : if this fails, the above sed hack did not work ./libtool --config | grep -q link_all_deplibs=no # enable-hidden-symbols needs gcc4 and causes that curl exports only its API -make %{?jobs:-j%jobs} +make %{?_smp_mflags} %if %{with testsuite} @@ -145,9 +143,6 @@ install -d $RPM_BUILD_ROOT/usr/share/aclocal install -m 644 docs/libcurl/libcurl.m4 $RPM_BUILD_ROOT/usr/share/aclocal/ -%clean -rm -rf $RPM_BUILD_ROOT - %post -n libcurl4 -p /sbin/ldconfig %postun -n libcurl4 -p /sbin/ldconfig ++ baselibs.conf ++ --- /var/tmp/diff_new_pack.jLH6yQ/_old 2011-09-19 15:58:22.0 +0200 +++ /var/tmp/diff_new_pack.jLH6yQ/_new 2011-09-19 15:58:22.0 +0200 @@ -1,4 +1,6 @@ libcurl4 obsoletes "curl- <= " provides "curl- = " - +curl-devel + requires -curl- + requires "libcurl4- = " Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at Mon Aug 15 14:06:39 CEST 2011. --- curl/curl.changes 2011-08-03 11:41:39.0 +0200 +++ /mounts/work_src_done/STABLE/curl/curl.changes 2011-08-15 07:06:17.0 +0200 @@ -1,0 +2,6 @@ +Mon Aug 15 05:05:01 UTC 2011 - crrodrig...@opensuse.org + +- Use SSL_MODE_RELEASE_BUFFERS if available, accepted + in upstream as commit 3d919440c80333c496fb + +--- calling whatdependson for head-i586 New: curl-openssl-release-buffers.patch Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.WKaFgG/_old 2011-08-15 14:00:47.0 +0200 +++ /var/tmp/diff_new_pack.WKaFgG/_new 2011-08-15 14:00:47.0 +0200 @@ -38,7 +38,7 @@ %endif #define cvs_suffix -20090302 Version:7.21.7 -Release:1 +Release:4 AutoReqProv:on # bug437293 %ifarch ppc64 @@ -52,6 +52,7 @@ Source: curl-%version%{?cvs_suffix}.tar.lzma Source2:baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build +Patch: curl-openssl-release-buffers.patch %description Curl is a client to get documents and files from or send documents to a @@ -84,6 +85,7 @@ %prep %setup -q -n curl-%version%{?cvs_suffix} +%patch %build # local hack to make curl-config --libs stop printing libraries it depends on ++ curl-openssl-release-buffers.patch ++ --- lib/ssluse.c.orig +++ lib/ssluse.c @@ -1492,6 +1492,10 @@ ossl_connect_step1(struct connectdata *c return CURLE_OUT_OF_MEMORY; } +#ifdef SSL_MODE_RELEASE_BUFFERS + SSL_CTX_set_mode(connssl->ctx, SSL_MODE_RELEASE_BUFFERS); +#endif + #ifdef SSL_CTRL_SET_MSG_CALLBACK if(data->set.fdebug && data->set.verbose) { /* the SSL trace callback is only used for verbose logging so we only Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit curl for openSUSE:Factory
Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at Wed Aug 3 16:03:38 CEST 2011. --- curl/curl.changes 2010-10-22 18:41:27.0 +0200 +++ /mounts/work_src_done/STABLE/curl/curl.changes 2011-08-03 11:41:39.0 +0200 @@ -1,0 +2,53 @@ +Tue Jul 12 06:46:02 UTC 2011 - co...@novell.com + +- remove support for old suse_versions + +--- +Mon Jul 11 11:40:17 CEST 2011 - p...@suse.de + +- Update to 7.21.7: + - Fix libcurl inappropriate GSSAPI delegation. Full details at +http://curl.haxx.se/docs/adv_20110623.html + - Some other minor fixes. + +- Use the lzma compressed tarball provided upstreams. + +--- +Fri May 20 16:25:34 UTC 2011 - crrodrig...@opensuse.org + +- remove unintented LDFLAGS from the spec file + +--- +Fri May 20 15:37:54 UTC 2011 - crrodrig...@opensuse.org + +- Update to 7.21.6 +* curl-config: fix --version +* use HTTPS properly after CONNECT +* SFTP: close file before post quote operations + +--- +Thu Apr 14 17:02:19 UTC 2011 - crrodrig...@opensuse.org + +- bnc#598574 has been fixed in upstream commit 8ab137b2bc9630ce20f4 + already, so enable c-ares support again. + +--- +Sat Apr 9 20:42:27 UTC 2011 - crrodrig...@opensuse.org + +- Support openSSL compiled without SSLv2 support +- Update to version 7.21.4 + * SMTP: add brackets for MAIL FROM + * multi: connect fail => use next IP address + * pubkey_show: allocate buffer to fit any-size result + * Curl_do: avoid using stale conn pointer + * tftpd test server: avoid buffer overflow report from glibc + * OpenSSL get_cert_chain: support larger data sets + * SCP/SFTP transfers: acknowledge speedcheck + * connect problem: use UDP correctly + * OpenSSL: improved error message on SSL_CTX_new failures + * HTTP: memory leak on multiple Location: + * curl.1: typo in -v description + * CURLOPT_SOCKOPTFUNCTION: return proper error code --keepalive-time + * file: add support for CURLOPT_TIMECONDITION + * multi: fix CURLM_STATE_TOOFAST for multi_socket +--- calling whatdependson for head-i586 Old: _service _service:download_url:curl-7.21.2.tar.bz2 New: curl-7.21.7.tar.lzma Other differences: -- ++ curl.spec ++ --- /var/tmp/diff_new_pack.Kzvwsv/_old 2011-08-03 16:01:49.0 +0200 +++ /var/tmp/diff_new_pack.Kzvwsv/_new 2011-08-03 16:01:49.0 +0200 @@ -1,7 +1,7 @@ # -# spec file for package curl (Version 7.21.2) +# spec file for package curl # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,26 +22,23 @@ %bcond_without testsuite Name: curl -BuildRequires: libidn-devel openldap2-devel pkg-config zlib-devel +BuildRequires: libidn-devel lzma openldap2-devel pkg-config zlib-devel %if %{with openssl} BuildRequires: openssl-devel %endif %if %{with mozilla_nss} BuildRequires: mozilla-nss-devel %endif -%if 0%{suse_version} > 930 BuildRequires: krb5-devel -%else -BuildRequires: heimdal-devel -%endif BuildRequires: libssh2-devel openssh +BuildRequires: libcares-devel %if 0%{?_with_stunnel:1} # used by the testsuite BuildRequires: stunnel %endif #define cvs_suffix -20090302 -Version:7.21.2 -Release:2 +Version:7.21.7 +Release:1 AutoReqProv:on # bug437293 %ifarch ppc64 @@ -52,7 +49,7 @@ Group: Productivity/Networking/Web/Utilities Summary:A Tool for Transferring Data from URLs Url:http://curl.haxx.se/ -Source: curl-%version%{?cvs_suffix}.tar.bz2 +Source: curl-%version%{?cvs_suffix}.tar.lzma Source2:baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -93,7 +90,7 @@ # (currently, libtool sets link_all_deplibs=(yes|unknown) everywhere, # will hopefully change in the future) sed -i 's/link_all_deplibs=unknown/link_all_deplibs=no/' configure -export CFLAGS="$RPM_OPT_FLAGS" +export CFLAGS="%{optflags}" ./configure \ --prefix=%{_prefix} \ --enable-ipv6 \ @@ -106,15 +103,13 @@ --with-nss \ %endif %endif -%if %suse_version > 930 --with-gssapi=/usr/lib/mit \ -%else - --with-gssapi=/usr/lib/heimdal \ -%endif --with-libssh2\ --libdir=%{_libdir} \ --enable-hidden-symbols \ - --disable-static + --disable-static \