Wed Sep 11 08:32:03 2019 UTC ()
curl: Update to 7.66.0

Changes:
7.66.0
------
This release includes the following changes:

 o CURLINFO_RETRY_AFTER: parse the Retry-After header value
 o HTTP3: initial (experimental still not working) support
 o curl: --sasl-authzid added to support CURLOPT_SASL_AUTHZID from the tool
 o curl: support parallel transfers with -Z
 o curl_multi_poll: a sister to curl_multi_wait() that waits more
 o sasl: Implement SASL authorisation identity via CURLOPT_SASL_AUTHZID

This release includes the following bugfixes:

 o CVE-2019-5481: FTP-KRB double-free
 o CVE-2019-5482: TFTP small blocksize heap buffer overflow
 o CI: remove duplicate configure flag for LGTM.com
 o CMake: remove needless newlines at end of gss variables
 o CMake: use platform dependent name for dlopen() library
 o CURLINFO docs: mention that in redirects times are added
 o CURLOPT_ALTSVC.3: use a "" file name to not load from a file
 o CURLOPT_ALTSVC_CTRL.3: remove CURLALTSVC_ALTUSED
 o CURLOPT_HEADERFUNCTION.3: clarify
 o CURLOPT_HTTP_VERSION: seting this to 3 forces HTTP/3 use directly
 o CURLOPT_READFUNCTION.3: provide inline example
 o CURLOPT_SSL_VERIFYHOST: treat the value 1 as 2
 o Curl_addr2string: take an addrlen argument too
 o Curl_fillreadbuffer: avoid double-free trailer buf on error
 o HTTP: use chunked Transfer-Encoding for HTTP_POST if size unknown
 o alt-svc: add protocol version selection masking
 o alt-svc: fix removal of expired cache entry
 o alt-svc: make it use h3-22 with ngtcp2 as well
 o alt-svc: more liberal ALPN name parsing
 o alt-svc: send Alt-Used: in redirected requests
 o alt-svc: with quiche, use the quiche h3 alpn string
 o appveyor: pass on -k to make
 o asyn-thread: create a socketpair to wait on
 o build-openssl: fix build with Visual Studio 2019
 o cleanup: move functions out of url.c and make them static
 o cleanup: remove the 'numsocks' argument used in many places
 o configure: avoid undefined check_for_ca_bundle
 o curl.h: add CURL_HTTP_VERSION_3 to the version enum
 o curl.h: fix outdated comment
 o curl: cap the maximum allowed values for retry time arguments
 o curl: handle a libcurl build without netrc support
 o curl: make use of CURLINFO_RETRY_AFTER when retrying
 o curl: remove outdated comment
 o curl: use .curlrc (with a dot) on Windows
 o curl: use CURLINFO_PROTOCOL to check for HTTP(s)
 o curl_global_init_mem.3: mention it was added in 7.12.0
 o curl_version: bump string buffer size to 250
 o curl_version_info.3: mentioned ALTSVC and HTTP3
 o curl_version_info: offer quic (and h3) library info
 o curl_version_info: provide nghttp2 details
 o defines: avoid underscore-prefixed defines
 o docs/ALTSVC: remove what works and the experimental explanation
 o docs/EXPERIMENTAL: explain what it means and what's experimental now
 o docs/MANUAL.md: converted to markdown from plain text
 o docs/examples/curlx: fix errors
 o docs: s/curl_debug/curl_dbg_debug in comments and docs
 o easy: resize receive buffer on easy handle reset
 o examples: Avoid reserved names in hiperfifo examples
 o examples: add http3.c, altsvc.c and http3-present.c
 o getenv: support up to 4K environment variable contents on windows
 o http09: disable HTTP/0.9 by default in both tool and library
 o http2: when marked for closure and wanted to close == OK
 o http2_recv: trigger another read when the last data is returned
 o http: fix use of credentials from URL when using HTTP proxy
 o http_negotiate: improve handling of gss_init_sec_context() failures
 o md4: Use our own MD4 when no crypto libraries are available
 o multi: call detach_connection before Curl_disconnect
 o netrc: make the code try ".netrc" on Windows
 o nss: use TLSv1.3 as default if supported
 o openssl: build warning free with boringssl
 o openssl: use SSL_CTX_set_<min|max>_proto_version() when available
 o plan9: add support for running on Plan 9
 o progress: reset download/uploaded counter between transfers
 o readwrite_data: repair setting the TIMER_STARTTRANSFER stamp
 o scp: fix directory name length used in memcpy
 o smb: init *msg to NULL in smb_send_and_recv()
 o smtp: check for and bail out on too short EHLO response
 o source: remove names from source comments
 o spnego_sspi: add typecast to fix build warning
 o src/makefile: fix uncompressed hugehelp.c generation
 o ssh-libssh: do not specify O_APPEND when not in append mode
 o ssh: move code into vssh for SSH backends
 o sspi: fix memory leaks
 o tests: Replace outdated test case numbering documentation
 o tftp: return error when packet is too small for options
 o timediff: make it 64 bit (if possible) even with 32 bit time_t
 o travis: reduce number of torture tests in 'coverage'
 o url: make use of new HTTP version if alt-svc has one
 o urlapi: verify the IPv6 numerical address
 o urldata: avoid 'generic', use dedicated pointers
 o vauth: Use CURLE_AUTH_ERROR for auth function errors


(leot)
diff -r1.216 -r1.217 pkgsrc/www/curl/Makefile
diff -r1.75 -r1.76 pkgsrc/www/curl/PLIST
diff -r1.156 -r1.157 pkgsrc/www/curl/distinfo

cvs diff -r1.216 -r1.217 pkgsrc/www/curl/Makefile (expand / switch to unified diff)

--- pkgsrc/www/curl/Makefile 2019/08/22 12:23:52 1.216
+++ pkgsrc/www/curl/Makefile 2019/09/11 08:32:03 1.217
@@ -1,17 +1,16 @@ @@ -1,17 +1,16 @@
1# $NetBSD: Makefile,v 1.216 2019/08/22 12:23:52 ryoon Exp $ 1# $NetBSD: Makefile,v 1.217 2019/09/11 08:32:03 leot Exp $
2 2
3DISTNAME= curl-7.65.3 3DISTNAME= curl-7.66.0
4PKGREVISION= 3 
5CATEGORIES= www 4CATEGORIES= www
6MASTER_SITES= https://curl.haxx.se/download/ 5MASTER_SITES= https://curl.haxx.se/download/
7EXTRACT_SUFX= .tar.xz 6EXTRACT_SUFX= .tar.xz
8 7
9MAINTAINER= leot@NetBSD.org 8MAINTAINER= leot@NetBSD.org
10HOMEPAGE= https://curl.haxx.se/ 9HOMEPAGE= https://curl.haxx.se/
11COMMENT= Client that groks URLs 10COMMENT= Client that groks URLs
12# not completely, but near enough 11# not completely, but near enough
13LICENSE= mit 12LICENSE= mit
14 13
15BUILD_DEFS+= IPV6_READY 14BUILD_DEFS+= IPV6_READY
16 15
17USE_TOOLS+= nroff perl 16USE_TOOLS+= nroff perl

cvs diff -r1.75 -r1.76 pkgsrc/www/curl/PLIST (expand / switch to unified diff)

--- pkgsrc/www/curl/PLIST 2019/05/22 08:57:58 1.75
+++ pkgsrc/www/curl/PLIST 2019/09/11 08:32:03 1.76
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.75 2019/05/22 08:57:58 leot Exp $ 1@comment $NetBSD: PLIST,v 1.76 2019/09/11 08:32:03 leot Exp $
2bin/curl 2bin/curl
3bin/curl-config 3bin/curl-config
4include/curl/curl.h 4include/curl/curl.h
5include/curl/curlver.h 5include/curl/curlver.h
6include/curl/easy.h 6include/curl/easy.h
7include/curl/mprintf.h 7include/curl/mprintf.h
8include/curl/multi.h 8include/curl/multi.h
9include/curl/stdcheaders.h 9include/curl/stdcheaders.h
10include/curl/system.h 10include/curl/system.h
11include/curl/typecheck-gcc.h 11include/curl/typecheck-gcc.h
12include/curl/urlapi.h 12include/curl/urlapi.h
13lib/libcurl.la 13lib/libcurl.la
14lib/pkgconfig/libcurl.pc 14lib/pkgconfig/libcurl.pc
@@ -46,26 +46,27 @@ man/man3/CURLINFO_PRETRANSFER_TIME.3 @@ -46,26 +46,27 @@ man/man3/CURLINFO_PRETRANSFER_TIME.3
46man/man3/CURLINFO_PRETRANSFER_TIME_T.3 46man/man3/CURLINFO_PRETRANSFER_TIME_T.3
47man/man3/CURLINFO_PRIMARY_IP.3 47man/man3/CURLINFO_PRIMARY_IP.3
48man/man3/CURLINFO_PRIMARY_PORT.3 48man/man3/CURLINFO_PRIMARY_PORT.3
49man/man3/CURLINFO_PRIVATE.3 49man/man3/CURLINFO_PRIVATE.3
50man/man3/CURLINFO_PROTOCOL.3 50man/man3/CURLINFO_PROTOCOL.3
51man/man3/CURLINFO_PROXYAUTH_AVAIL.3 51man/man3/CURLINFO_PROXYAUTH_AVAIL.3
52man/man3/CURLINFO_PROXY_SSL_VERIFYRESULT.3 52man/man3/CURLINFO_PROXY_SSL_VERIFYRESULT.3
53man/man3/CURLINFO_REDIRECT_COUNT.3 53man/man3/CURLINFO_REDIRECT_COUNT.3
54man/man3/CURLINFO_REDIRECT_TIME.3 54man/man3/CURLINFO_REDIRECT_TIME.3
55man/man3/CURLINFO_REDIRECT_TIME_T.3 55man/man3/CURLINFO_REDIRECT_TIME_T.3
56man/man3/CURLINFO_REDIRECT_URL.3 56man/man3/CURLINFO_REDIRECT_URL.3
57man/man3/CURLINFO_REQUEST_SIZE.3 57man/man3/CURLINFO_REQUEST_SIZE.3
58man/man3/CURLINFO_RESPONSE_CODE.3 58man/man3/CURLINFO_RESPONSE_CODE.3
 59man/man3/CURLINFO_RETRY_AFTER.3
59man/man3/CURLINFO_RTSP_CLIENT_CSEQ.3 60man/man3/CURLINFO_RTSP_CLIENT_CSEQ.3
60man/man3/CURLINFO_RTSP_CSEQ_RECV.3 61man/man3/CURLINFO_RTSP_CSEQ_RECV.3
61man/man3/CURLINFO_RTSP_SERVER_CSEQ.3 62man/man3/CURLINFO_RTSP_SERVER_CSEQ.3
62man/man3/CURLINFO_RTSP_SESSION_ID.3 63man/man3/CURLINFO_RTSP_SESSION_ID.3
63man/man3/CURLINFO_SCHEME.3 64man/man3/CURLINFO_SCHEME.3
64man/man3/CURLINFO_SIZE_DOWNLOAD.3 65man/man3/CURLINFO_SIZE_DOWNLOAD.3
65man/man3/CURLINFO_SIZE_DOWNLOAD_T.3 66man/man3/CURLINFO_SIZE_DOWNLOAD_T.3
66man/man3/CURLINFO_SIZE_UPLOAD.3 67man/man3/CURLINFO_SIZE_UPLOAD.3
67man/man3/CURLINFO_SIZE_UPLOAD_T.3 68man/man3/CURLINFO_SIZE_UPLOAD_T.3
68man/man3/CURLINFO_SPEED_DOWNLOAD.3 69man/man3/CURLINFO_SPEED_DOWNLOAD.3
69man/man3/CURLINFO_SPEED_DOWNLOAD_T.3 70man/man3/CURLINFO_SPEED_DOWNLOAD_T.3
70man/man3/CURLINFO_SPEED_UPLOAD.3 71man/man3/CURLINFO_SPEED_UPLOAD.3
71man/man3/CURLINFO_SPEED_UPLOAD_T.3 72man/man3/CURLINFO_SPEED_UPLOAD_T.3
@@ -272,26 +273,27 @@ man/man3/CURLOPT_REDIR_PROTOCOLS.3 @@ -272,26 +273,27 @@ man/man3/CURLOPT_REDIR_PROTOCOLS.3
272man/man3/CURLOPT_REFERER.3 273man/man3/CURLOPT_REFERER.3
273man/man3/CURLOPT_REQUEST_TARGET.3 274man/man3/CURLOPT_REQUEST_TARGET.3
274man/man3/CURLOPT_RESOLVE.3 275man/man3/CURLOPT_RESOLVE.3
275man/man3/CURLOPT_RESOLVER_START_DATA.3 276man/man3/CURLOPT_RESOLVER_START_DATA.3
276man/man3/CURLOPT_RESOLVER_START_FUNCTION.3 277man/man3/CURLOPT_RESOLVER_START_FUNCTION.3
277man/man3/CURLOPT_RESUME_FROM.3 278man/man3/CURLOPT_RESUME_FROM.3
278man/man3/CURLOPT_RESUME_FROM_LARGE.3 279man/man3/CURLOPT_RESUME_FROM_LARGE.3
279man/man3/CURLOPT_RTSP_CLIENT_CSEQ.3 280man/man3/CURLOPT_RTSP_CLIENT_CSEQ.3
280man/man3/CURLOPT_RTSP_REQUEST.3 281man/man3/CURLOPT_RTSP_REQUEST.3
281man/man3/CURLOPT_RTSP_SERVER_CSEQ.3 282man/man3/CURLOPT_RTSP_SERVER_CSEQ.3
282man/man3/CURLOPT_RTSP_SESSION_ID.3 283man/man3/CURLOPT_RTSP_SESSION_ID.3
283man/man3/CURLOPT_RTSP_STREAM_URI.3 284man/man3/CURLOPT_RTSP_STREAM_URI.3
284man/man3/CURLOPT_RTSP_TRANSPORT.3 285man/man3/CURLOPT_RTSP_TRANSPORT.3
 286man/man3/CURLOPT_SASL_AUTHZID.3
285man/man3/CURLOPT_SASL_IR.3 287man/man3/CURLOPT_SASL_IR.3
286man/man3/CURLOPT_SEEKDATA.3 288man/man3/CURLOPT_SEEKDATA.3
287man/man3/CURLOPT_SEEKFUNCTION.3 289man/man3/CURLOPT_SEEKFUNCTION.3
288man/man3/CURLOPT_SERVICE_NAME.3 290man/man3/CURLOPT_SERVICE_NAME.3
289man/man3/CURLOPT_SHARE.3 291man/man3/CURLOPT_SHARE.3
290man/man3/CURLOPT_SOCKOPTDATA.3 292man/man3/CURLOPT_SOCKOPTDATA.3
291man/man3/CURLOPT_SOCKOPTFUNCTION.3 293man/man3/CURLOPT_SOCKOPTFUNCTION.3
292man/man3/CURLOPT_SOCKS5_AUTH.3 294man/man3/CURLOPT_SOCKS5_AUTH.3
293man/man3/CURLOPT_SOCKS5_GSSAPI_NEC.3 295man/man3/CURLOPT_SOCKS5_GSSAPI_NEC.3
294man/man3/CURLOPT_SOCKS5_GSSAPI_SERVICE.3 296man/man3/CURLOPT_SOCKS5_GSSAPI_SERVICE.3
295man/man3/CURLOPT_SSH_AUTH_TYPES.3 297man/man3/CURLOPT_SSH_AUTH_TYPES.3
296man/man3/CURLOPT_SSH_COMPRESSION.3 298man/man3/CURLOPT_SSH_COMPRESSION.3
297man/man3/CURLOPT_SSH_HOST_PUBLIC_KEY_MD5.3 299man/man3/CURLOPT_SSH_HOST_PUBLIC_KEY_MD5.3
@@ -396,26 +398,27 @@ man/man3/curl_mime_free.3 @@ -396,26 +398,27 @@ man/man3/curl_mime_free.3
396man/man3/curl_mime_headers.3 398man/man3/curl_mime_headers.3
397man/man3/curl_mime_init.3 399man/man3/curl_mime_init.3
398man/man3/curl_mime_name.3 400man/man3/curl_mime_name.3
399man/man3/curl_mime_subparts.3 401man/man3/curl_mime_subparts.3
400man/man3/curl_mime_type.3 402man/man3/curl_mime_type.3
401man/man3/curl_mprintf.3 403man/man3/curl_mprintf.3
402man/man3/curl_multi_add_handle.3 404man/man3/curl_multi_add_handle.3
403man/man3/curl_multi_assign.3 405man/man3/curl_multi_assign.3
404man/man3/curl_multi_cleanup.3 406man/man3/curl_multi_cleanup.3
405man/man3/curl_multi_fdset.3 407man/man3/curl_multi_fdset.3
406man/man3/curl_multi_info_read.3 408man/man3/curl_multi_info_read.3
407man/man3/curl_multi_init.3 409man/man3/curl_multi_init.3
408man/man3/curl_multi_perform.3 410man/man3/curl_multi_perform.3
 411man/man3/curl_multi_poll.3
409man/man3/curl_multi_remove_handle.3 412man/man3/curl_multi_remove_handle.3
410man/man3/curl_multi_setopt.3 413man/man3/curl_multi_setopt.3
411man/man3/curl_multi_socket.3 414man/man3/curl_multi_socket.3
412man/man3/curl_multi_socket_action.3 415man/man3/curl_multi_socket_action.3
413man/man3/curl_multi_socket_all.3 416man/man3/curl_multi_socket_all.3
414man/man3/curl_multi_strerror.3 417man/man3/curl_multi_strerror.3
415man/man3/curl_multi_timeout.3 418man/man3/curl_multi_timeout.3
416man/man3/curl_multi_wait.3 419man/man3/curl_multi_wait.3
417man/man3/curl_share_cleanup.3 420man/man3/curl_share_cleanup.3
418man/man3/curl_share_init.3 421man/man3/curl_share_init.3
419man/man3/curl_share_setopt.3 422man/man3/curl_share_setopt.3
420man/man3/curl_share_strerror.3 423man/man3/curl_share_strerror.3
421man/man3/curl_slist_append.3 424man/man3/curl_slist_append.3

cvs diff -r1.156 -r1.157 pkgsrc/www/curl/distinfo (expand / switch to unified diff)

--- pkgsrc/www/curl/distinfo 2019/07/19 17:22:48 1.156
+++ pkgsrc/www/curl/distinfo 2019/09/11 08:32:03 1.157
@@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
1$NetBSD: distinfo,v 1.156 2019/07/19 17:22:48 leot Exp $ 1$NetBSD: distinfo,v 1.157 2019/09/11 08:32:03 leot Exp $
2 2
3SHA1 (curl-7.65.3.tar.xz) = 49e8ffc2601cc204f4544087a8e2da9e01313d29 3SHA1 (curl-7.66.0.tar.xz) = c4b5137302c74839bfa2211da72d960d0d5fedba
4RMD160 (curl-7.65.3.tar.xz) = 20861c6d94be47e2228b67433ede00d02b106a0a 4RMD160 (curl-7.66.0.tar.xz) = 24b4a7432d117efcca0c1de95fb4797dcf186216
5SHA512 (curl-7.65.3.tar.xz) = fc4f041d3d6682378ce9eef2c6081e6ad83bb2502ea4c992c760266584c09e9ebca7c6d35958bd32a888702d9308cbce7aef69c431f97994107d7ff6b953941b 5SHA512 (curl-7.66.0.tar.xz) = 81170e7e4fa9d99ee2038d96d7f2ab10dcf52435331c818c7565c1a733891720f845a08029915e52ba532c6a344c346e1678474624aac1cc333aea6d1eacde35
6Size (curl-7.65.3.tar.xz) = 2392472 bytes 6Size (curl-7.66.0.tar.xz) = 2414840 bytes
7SHA1 (patch-configure) = 9131ad23999f3987b7b67a59191aa6998bd370d0 7SHA1 (patch-configure) = 9131ad23999f3987b7b67a59191aa6998bd370d0
8SHA1 (patch-curl-config.in) = 363359665985cc14f36ddf47fc3480f1200e3533 8SHA1 (patch-curl-config.in) = 363359665985cc14f36ddf47fc3480f1200e3533