Subject: CVS commit: pkgsrc/www/curl
From: Leonardo Taccari
Date: 2021-07-21 11:32:04
Message id: 20210721093204.87920FA95@cvs.NetBSD.org

Log Message:
curl: Update to 7.78.0

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

 o curl_url_set: reject spaces in URLs w/o CURLU_ALLOW_SPACE
 o CURLE_SETOPT_OPTION_SYNTAX: new error name for wrong setopt syntax
 o hostip: make 'localhost' return fixed values
 o mbedtls: add support for cert and key blob options
 o metalink: remove all support for it
 o mqtt: add support for username and password

This release includes the following bugfixes:

 o --socks4[a]: clarify where the host name is resolved
 o ares: always store IPv6 addresses first
 o asyn-ares: remove check for 'data' in Curl_resolver_cancel
 o bearssl: explicitly initialize all fields of Curl_ssl
 o bearssl: remove incorrect const on variable that is modified
 o build: fix compiler warnings when CURL_DISABLE_VERBOSE_STRINGS
 o c-hyper: abort CONNECT response reading early on non 2xx responses
 o c-hyper: add support for transfer-encoding in the request
 o c-hyper: bail on too long response headers
 o c-hyper: clear NTLM auth buffer when request is issued
 o c-hyper: convert HYPERE_INVALID_PEER_MESSAGE to CURLE_UNSUPPORTED_PROTOCOL
 o c-hyper: fix NTLM on closed connection tested with test159
 o c-hyper: fix the uploaded field in progress callbacks
 o c-hyper: handle NULL from hyper_buf_copy()
 o c-hyper: support CURLINFO_STARTTRANSFER_TIME
 o c-hyper: support CURLOPT_HEADER
 o ccsidcurl: fix the compile errors
 o CI/cirrus: install impacket from PyPI instead of FreeBSD packages
 o CI: add bearssl build
 o CI: add Circle CI
 o CI: add jobs using Zuul
 o CI: delete --enable-hsts option (it is the default now)
 o CI: remove travis details
 o cleanup: spell DoH with a lowercase o
 o cmake: add CURL_DISABLE_NTLM option
 o cmake: avoid leaking absolute paths into exported config
 o cmake: fix IoctlSocket FIONBIO check
 o cmake: fix support for UnixSockets feature on Win32
 o cmake: remove libssh2 feature checks
 o cmake: try well-known send/recv signature for Apple
 o configure.ac: make non-executable
 o configure/cmake: remove checks for many unused functions
 o configure: add --disable-ntlm option
 o configure: disable RTSP when hyper is selected
 o configure: do not strip out debug flags
 o configure: fix nghttp2 library name for static builds
 o configure: inhibit the implicit-fallthrough warning on gcc-12
 o configure: rename get-easy-option configure option to get-easy-options
 o conn_shutdown: if closed during CONNECT cleanup properly
 o conncache: lowercase the hash key for better match
 o cookies: track expiration in jar to optimize removals
 o copyright: add boiler-plate headers to CI config files
 o crustls: bump crustls version and use new URL
 o curl.h: <sys/select.h> is supported by VxWorks7
 o curl.h: include sys/select.h for NuttX RTOS
 o curl: ignore blank --output-dir
 o curl_endian: remove the unused Curl_write64_le function
 o curl_multibyte: Remove local encoding fallbacks
 o Curl_ntlm_core_mk_nt_hash: fix OOM in error path
 o Curl_ssl_getsessionid: fail if no session cache exists
 o CURLOPT_WRITEFUNCTION.3: minor update of the example
 o docs/BINDINGS: fix outdated links
 o docs/examples: use curl_multi_poll() in multi examples
 o docs/INSTALL: remove mentions of configure --with-darwin-ssl
 o docs: document missing arguments to commands
 o docs: fix inconsistencies in EGDSOCKET documentation
 o docs: fix incorrect argument name reference
 o docs: Fix typos
 o docs: make docs for --etag-save match the program behaviour
 o docs: use --max-redirs instead of --max-redir
 o doh: (void)-prefix call to curl_easy_setopt
 o doh: fix wrong DEBUGASSERT for doh private_data
 o easy: during upkeep, attach Curl_easy to connections in the cache
 o examples/multi-single: fix scan-build warning
 o examples: length-limit two sscanf() uses of %s
 o examples: safer and more proper read callback logic
 o filecheck: quietly remove test-place/*~
 o formdata: avoid "Argument cannot be negative" warning
 o formdata: correct typecast in curl_mime_data call
 o GHA: add a linux-hyper job
 o GHA: add several libcurl tests to the hyper job
 o GHA: run the newly fixed tests with hyper
 o github: timeout jobs on macOS after 90 minutes
 o glob: pass an 'int' as len when using printf's %*s
 o gnutls: set the preferred TLS versions in correct order
 o GOVERNANCE: add 'user', 'committer' and 'contributor'
 o hostip: (macOS) free returned memory of SCDynamicStoreCopyProxies
 o hostip: bad CURLOPT_RESOLVE syntax now returns error
 o hsts: ignore numberical IP address hosts
 o HSTS: not experimental anymore
 o http2: clarify 'Using HTTP2' verbose message
 o http2: init recvbuf struct for pushed streams
 o http2_connisdead: handle trailing GOAWAY better
 o http: fix crash in rate-limited upload
 o http: make the haproxy support work with unix domain sockets
 o http_proxy: deal with non-200 CONNECT response with Hyper
 o hyper: propagate errors back up from read callbacks
 o HYPER: remove mentions of deprecated development branch
 o idn: fix libidn2 with windows unicode builds
 o infof: remove newline from format strings, always append it
 o lib: don't compare fd to FD_SETSIZE when using poll
 o lib: fix compiler warnings with CURL_DISABLE_NETRC
 o lib: fix type of len passed to *printf's %*s
 o lib: more %u for port and int for %*s fixes
 o lib: use %u instead of %ld for port number printf
 o libcurl-security.3: mention file descriptors and forks
 o libssh2: limit time a disconnect can take to 1 second
 o mbedtls: make mbedtls_strerror always work
 o mbedtls: Remove unnecessary include
 o mqtt: detect illegal and too large file size
 o mqtt: extend the error message for no topic
 o msnprintf: return number of printed characters excluding null byte
 o multi: add scan-build-6 work-around in curl_multi_fdset
 o multi: alter transfer timeout ordering
 o multi: do not switch off connect_only flag when closing
 o multi: fix crash in curl_multi_wait / curl_multi_poll
 o netrc: skip 'macdef' definitions
 o ngtcp2: disable TLSv1.3 compatible mode when using GnuTLS
 o openssl: avoid static variable for seed flag
 o openssl: don't remove session id entry in disassociate
 o pinnedpubkey.d: fix formatting for version support lists
 o proto.d: fix formatting for paragraphs after margin changes
 o quiche: use send() instead of sendto() to avoid macOS issue
 o Revert "c-hyper: handle body on HYPER_TASK_EMPTY"
 o Revert "ftp: Expression 'ftpc->wait_data_conn' is always false"
 o runtests: also find the last test in Makefile.inc
 o runtests: enable 'hyper mode' only for HTTP tests
 o runtests: init $VERSION to avoid warnings when using -l
 o runtests: parse data/Makefile.inc instead of using make
 o runtests: skip disabled tests unless -f is used
 o rustls: remove native_roots fallback
 o schannel: set ALPN length correctly for HTTP/2
 o SChannel: Use '_tcsncmp()' instead
 o sectransp: check for client certs by name first, then file
 o setopt: fix incorrect comments
 o socketpair: fix potential hangs
 o socks4: scan for the IPv4 address in resolve results
 o ssl: read pending close notify alert before closing the connection
 o sws: malloc request struct instead of using stack
 o telnet: fix option parser to not send uninitialized contents
 o test1116: hyper doesn't pass through "surprise-trailers"
 o test1147: hyper doesn't allow "crazy" request headers like built-in
 o test1151: added missing CRLF to work with hyper
 o test1216: adjusted for hyper mode
 o test1218: adjusted for hyper mode
 o test1230: adjust to work in hyper mode
 o test1340/1341: adjusted for hyper mode
 o test1438/1457: add HTTP keyword to make hyper mode work
 o test1514: add a CRLF to the response to make it correct
 o test1518: adjusted to work with hyper
 o test1519: adjusted to work with hyper
 o test1594/1595/1596: fix to work in hyper mode
 o test269: disable for hyper
 o test3010: work with hyper mode
 o test328: avoid a header-looking body to make hyper mode work
 o test339: CRLFify better to work in hyper mode
 o test347: CRLFify to work in hyper mode
 o test393: make Content-Length fit within 64 bit for hyper
 o test394: hyper returns a different error
 o test395: hyper cannot work around > 64 bit content-lengths like built-in
 o test433: adjust for hyper mode
 o test434: add HTTP keyword
 o test500: adjust to work with hyper mode
 o test566: adjust to work with hyper mode
 o test599: adjusted to work in hyper mode
 o test644: remove as duplicate of test 587
 o tests: fix Accept-Encoding strips to work with Hyper builds
 o TLS: prevent shutdown loops to get stuck
 o tool: make _lseeki64() macro work with the PellesC compiler
 o tool_help: document that --tlspassword takes a password
 o tool_help: remove unused define
 o url.c: remove two variable assigns that are never read
 o url: (void)-prefix a curl_url_get() call
 o url: bad CURLOPT_CONNECT_TO syntax now returns error
 o version: turn version number functions into returning void
 o vtls: exit addsessionid if no cache is inited
 o vtls: fix connection reuse checks for issuer cert and case sensitivity
 o vtls: only store TIMER_APPCONNECT for non-proxy connect
 o vtls: use free() not curl_free()
 o warnless: simplify type size handling
 o Win32: fix build with Watt-32
 o winbuild/README: VC should be set to 6 'or larger'
 o winbuild: support alternate nghttp2 static lib name
 o wolfssl: failing to set a session id is not reason to error out
 o write-out.d: clarify urlnum is not unique for de-globbed URLs
 o zuul: use the new rustls directory name

Files:
RevisionActionfile
1.245modifypkgsrc/www/curl/Makefile
1.172modifypkgsrc/www/curl/distinfo
1.11modifypkgsrc/www/curl/patches/patch-configure