summaryrefslogtreecommitdiff
path: root/www/curl
AgeCommit message (Collapse)AuthorFilesLines
2020-03-11curl: updated to 7.69.1adam2-8/+7
curl and libcurl 7.69.1 This release includes the following 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 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
2020-03-08*: recursive bump for libffiwiz2-3/+4
2020-03-04curl: updated to 7.69.0adam3-9/+9
This release includes the following changes: o polarssl: removed o smtp: add CURLOPT_MAIL_RCPT_ALLLOWFAILS and --mail-rcpt-allowfails o wolfSSH: new SSH backend This release includes the following bugfixes: o altsvc: improved header parser o altsvc: keep a copy of the file name to survive handle reset o altsvc: make saving the cache an atomic operation o altsvc: use h3-27 o azure: disable brotli on the macos debug-builds o build: remove all HAVE_OPENSSL_ENGINE_H defines o checksrc.bat: Fix not being able to run script from the main curl dir o cleanup: fix several comment typos o cleanup: fix typos and wording in docs and comments o cmake: add support for CMAKE_LTO option o cmake: clean up and improve build procedures o cmake: enable SMB for Windows builds o cmake: improve libssh2 check on Windows o cmake: Show HTTPS-proxy in the features output o cmake: support specifying the target Windows version o cmake: use check_symbol_exists also for inet_pton o configure.ac: fix comments about --with-quiche o configure: disable metalink if mbedTLS is specified o configure: disable metalink support for incompatible SSL/TLS o conn: do not reuse connection if SOCKS proxy credentials differ o conncache: removed unused Curl_conncache_bundle_size() o connect: remove some spurious infof() calls o connection reuse: respect the max_concurrent_streams limits o contributors: also include people who contributed to curl-www o contrithanks: use the most recent tag by default o cookie: check __Secure- and __Host- case sensitively o cookies: make saving atomic with a rename o create-dirs.d: mention the mode o curl: avoid using strlen for testing if a string is empty o curl: error on --alt-svc use w/o support o curl: let -D merge headers in one file again o curl: make #0 not output the full URL o curl: make the -# spaceship bar not wrap the line o curl: remove 'config' field from OutStruct o curl:progressbarinit: ignore column width from terminals < 20 o curl_escape.3: add a link to curl_free o curl_getenv.3: fix the memory handling description o curl_global_init: assume the EINTR bit by default o curl_global_init: move the IPv6 works status bool to multi handle o CURLINFO_COOKIELIST.3: Fix example o CURLOPT_ALTSVC_CTRL.3: fix the DEFAULT wording o CURLOPT_PROXY_SSL_OPTIONS.3: Sync with CURLOPT_SSL_OPTIONS.3 o CURLOPT_REDIR_PROTOCOLS.3: update the DEFAULT section o data.d: remove "Multiple files can also be specified" o digest: do not quote algorithm in HTTP authorisation o docs/HTTP3: add --enable-alt-svc to curl's configure o docs/HTTP3: update the OpenSSL branch to use for ngtcp2 o docs: fix typo on CURLINFO_RETRY_AFTER o easy: remove dead code o form.d: fix two minor typos o ftp: convert 'sock_accepted' to a plain boolean o ftp: remove superfluous checking for crlf in user or pwd o ftp: shrink temp buffers used for PORT o github action: add CIFuzz o github: Instructions to post "uname -a" on Unix systems in issues o GnuTLS: always send client cert o gtls: fixed compilation when using GnuTLS < 3.5.0 o hostip: move code to resolve IP address literals to `Curl_resolv` o HTTP-COOKIES: describe the cookie file format o HTTP-COOKIES: mention that a trailing newline is required o http2: make pausing/unpausing set/clear local stream window o http2: now requires nghttp2 >= 1.12.0 o http: added 417 response treatment o http: increase EXPECT_100_THRESHOLD to 1Mb o http: mark POSTs with no body as "upload done" from the start o http: move "oauth_bearer" from connectdata to Curl_easy o include: remove non-curl prefixed defines o KNOWN_BUGS: Multiple methods in a single WWW-Authenticate: header o libssh2: add support for forcing a hostkey type o libssh2: fix variable type o libssh: improve known hosts handling o llist: removed unused Curl_llist_move() o location.d: the method change is from POST to GET only o md4: fixed compilation issues when using GNU TLS gcrypt o md4: use init/update/final functions in Secure Transport o md5: added implementation for mbedTLS o mk-ca-bundle: add support for CKA_NSS_SERVER_DISTRUST_AFTER o multi: change curl_multi_wait/poll to error on negative timeout o multi: fix outdated comment o multi: if Curl_readwrite sets 'comeback' use expire, not loop o multi_done: if multiplexed, make conn->data point to another transfer o multi_wait: stop loop when sread() returns zero o ngtcp2: add error code for QUIC connection errors o ngtcp2: fixed to only use AF_INET6 when ENABLE_IPV6 o ngtcp2: update to git master and its draft-25 support o ntlm: move the winbind data into the NTLM data structure o ntlm: pass the Curl_easy structure to the private winbind functions o ntlm: removed the dependency on the TLS libaries when using MD5 o ntlm_wb: use Curl_socketpair() for greater portability o oauth2-bearer.d: works for HTTP too o openssl: make CURLINFO_CERTINFO not truncate x509v3 fields o openssl: remove redundant assignment o os400: fixed the build o pause: force-drain the transfer on unpause o quiche: update to draft-25 o README: mention that the docs is in docs/ o RELEASE-PROCEDURE: feature win is closed post-release a few days o runtests: make random seed fixed for a month o runtests: restore the command log o schannel: make CURLOPT_CAINFO work better on Windows 7 o schannel_verify: Fix alt names manual verify for UNICODE builds o sha256: use crypto implementations when available o singleuse.pl: support new API functions, fix curl_dbg_ handling o smtp: support the SMTPUTF8 extension o smtp: support UTF-8 based host names in MAIL FROM o SOCKS: make the connect phase non-blocking o strcase: turn Curl_raw_tolower into static o strerror: increase STRERROR_LEN 128 -> 256 o test1323: added missing 'unit test' feature requirement o tests: add a unit test for MD4 digest generation o tests: add a unit test for SHA256 digest generation o tests: add a unit test for the HMAC hash generation o tests: deduce the tool name from the test case for unit tests o tests: fix Python 3 compatibility of smbserver.py o tool_dirhie: allow directory traversal during creation o tool_homedir: change GetEnv() to use libcurl's curl_getenv() o tool_util: improve Windows version of tvnow() o travis: update non-OpenSSL Linux jobs to Bionic o url: include the failure reason when curl_win32_idn_to_ascii() fails o urlapi: guess scheme properly with credentials given o urldata: do string enums without #ifdefs for build scripts o vtls: refactor Curl_multissl_version to make the code clearer o win32: USE_WIN32_CRYPTO to enable Win32 based MD4, MD5 and SHA256
2020-01-18*: Recursive revision bump for openssl 1.1.1.jperkin2-4/+4
2020-01-12*: Recursive revbump from devel/boost-libsryoon2-3/+4
2020-01-08curl: Update to 7.68.0leot4-29/+11
pkgsrc changes: - Removes patch-configure hunks applied upstream Changes: 7.68.0 ------ This release includes the following changes: o TLS: add BearSSL vtls implementation o XFERINFOFUNCTION: support CURL_PROGRESSFUNC_CONTINUE o curl: add --etag-compare and --etag-save o curl: add --parallel-immediate o multi: add curl_multi_wakeup() o openssl: CURLSSLOPT_NO_PARTIALCHAIN can disable partial cert chains This release includes the following bugfixes: o CVE-2019-15601: file: on Windows, refuse paths that start with \\ o Azure Pipelines: add several builds o CMake: add support for building with the NSS vtls backend o CURL-DISABLE: initial docs for the CURL_DISABLE_* defines o CURLOPT_HEADERFUNCTION.3: Document that size is always 1 o CURLOPT_QUOTE.3: fix typos o CURLOPT_READFUNCTION.3: fix the example o CURLOPT_URL.3: "curl supports SMB version 1 (only)" o CURLOPT_VERBOSE.3: see also ERRORBUFFER o HISTORY: added cmake, HTTP/3 and parallel downloads with curl o HISTORY: the SMB(S) support landed in 2014 o INSTALL.md: provide Android build instructions o KNOWN_BUGS: Connection information when using TCP Fast Open o KNOWN_BUGS: LDAP on Windows doesn't work correctly o KNOWN_BUGS: TLS session cache doesn't work with TFO o OPENSOCKETFUNCTION.3: correct the purpose description o TrackMemory tests: always remove CR before LF o altsvc: bump to h3-24 o altsvc: make the save function ignore NULL filenames o build: Disable Visual Studio warning "conditional expression is constant" o build: fix for CURL_DISABLE_DOH o checksrc.bat: Add a check for vquic and vssh directories o checksrc: repair the copyrightyear check o cirrus-ci: enable clang sanitizers on freebsd 13 o cirrus: Drop the FreeBSD 10.4 build o config-win32: cpu-machine-OS for Windows on ARM o configure: avoid unportable `==' test(1) operator o configure: enable IPv6 support without `getaddrinfo` o configure: fix typo in help text o conncache: CONNECT_ONLY connections assumed always in-use o conncache: fix multi-thread use of shared connection cache o copyrights: fix copyright year range o create_conn: prefer multiplexing to using new connections o curl -w: handle a blank input file correctly o curl.h: add two missing defines for "pre ISO C" compilers o curl/parseconfig: fix mem-leak o curl/parseconfig: use curl_free() to free memory allocated by libcurl o curl: cleanup multi handle on failure o curl: fix --upload-file . hangs if delay in STDIN o curl: fix -T globbing o curl: improved cleanup in upload error path o curl: make a few char pointers point to const char instead o curl: properly free mimepost data o curl: show better error message when no homedir is found o curl: show error for --http3 if libcurl lacks support o curl_setup_once: consistently use WHILE_FALSE in macros o define: remove HAVE_ENGINE_LOAD_BUILTIN_ENGINES, not used anymore o docs: Change 'experiemental' to 'experimental' o docs: TLS SRP doesn't work with TLS 1.3 o docs: fix several typos o docs: mention CURL_MAX_INPUT_LENGTH restrictions o doh: improved both encoding and decoding o doh: make it behave when built without proxy support o examples/postinmemory.c: Call curl_global_cleanup always o examples/url2file.c: corrected erroneous comment o examples: add multi-poll.c o global_init: undo the "intialized" bump in case of failure o hostip: suppress compiler warning o http_ntlm: Remove duplicate NSS initialisation o lib: Move lib/ssh.h -> lib/vssh/ssh.h o lib: fix compiler warnings with `CURL_DISABLE_VERBOSE_STRINGS` o lib: fix warnings found when porting to NuttX o lib: remove ASSIGNWITHINCONDITION exceptions, use our code style o lib: remove erroneous +x file permission on some c files o libssh2: add support for ECDSA and ed25519 knownhost keys o multi.h: remove INITIAL_MAX_CONCURRENT_STREAMS from public header o multi: free sockhash on OOM o multi_poll: avoid busy-loop when called without easy handles attached o ngtcp2: Support the latest update key callback type o ngtcp2: fix thread-safety bug in error-handling o ngtcp2: free used resources on disconnect o ngtcp2: handle key updates as ngtcp2 master branch tells us o ngtcp2: increase QUIC window size when data is consumed o ngtcp2: use overflow buffer for extra HTTP/3 data o ntlm: USE_WIN32_CRYPTO check removed to get USE_NTLM2SESSION set o ntlm_wb: fix double-free in OOM o openssl: Revert to less sensitivity for SYSCALL errors o openssl: improve error message for SYSCALL during connect o openssl: prevent recursive function calls from ctx callbacks o openssl: retrieve reported LibreSSL version at runtime o openssl: set X509_V_FLAG_PARTIAL_CHAIN by default o parsedate: offer a getdate_capped() alternative o pause: avoid updating socket if done was already called o projects: Fix Visual Studio projects SSH builds o projects: Fix Visual Studio wolfSSL configurations o quiche: reject HTTP/3 headers in the wrong order o remove_handle: clear expire timers after multi_done() o runtests: --repeat=[num] to repeat tests o runtests: introduce --shallow to reduce huge torture tests o schannel: fix --tls-max for when min is --tlsv1 or default o setopt: Fix ALPN / NPN user option when built without HTTP2 o strerror: Add Curl_winapi_strerror for Win API specific errors o strerror: Fix an error looking up some Windows error strings o strerror: Fix compiler warning "empty expression" o system.h: fix for MCST lcc compiler o test/sws: search for "Testno:" header unconditionally if no testno o test1175: verify symbols-in-versions and libcurl-errors.3 in sync o test1270: a basic -w redirect_url test o test1456: remove the use of a fixed local port number o test1558: use double slash after file: o test1560: require IPv6 for IPv6 aware URL parsing o tests/lib1557: fix mem-leak in OOM o tests/lib1559: fix mem-leak in OOM o tests/lib1591: free memory properly on OOM, in the trailers callback o tests/unit1607: fix mem-leak in OOM o tests/unit1609: fix mem-leak in OOM o tests/unit1620: fix bad free in OOM o tests: Change NTLM tests to require SSL o tests: Fix bounce requests with truncated writes o tests: fix build with `CURL_DISABLE_DOH` o tests: fix permissions of ssh keys in WSL o tests: make it possible to set executable extensions o tests: make sure checksrc runs on header files too o tests: set LC_ALL=en_US.UTF-8 instead of blank in several tests o tests: use DoH feature for DoH tests o tests: use \r\n for log messages in WSL o tool_operate: fix mem leak when failed config parse o travis: Fix error detection o travis: abandon coveralls, it is not reliable o travis: build ngtcp2 with --enable-lib-only o travis: export the CC/CXX variables when set o vtls: make BearSSL possible to set with CURL_SSL_BACKEND o winbuild: Define CARES_STATICLIB when WITH_CARES=static o winbuild: Document CURL_STATICLIB requirement for static libcurl This release includes the following known bugs: o see docs/KNOWN_BUGS (https://curl.haxx.se/docs/knownbugs.html)
2019-11-06curl: Update to 7.67.0leot4-23/+42
Changes: 7.67.0 ------ This release includes the following changes: o curl: added --no-progress-meter o setopt: CURLMOPT_MAX_CONCURRENT_STREAMS is new o urlapi: CURLU_NO_AUTHORITY allows empty authority/host part This release includes the following bugfixes: o BINDINGS: five new bindings addded o CURLOPT_TIMEOUT.3: Clarify transfer timeout time includes queue time o CURLOPT_TIMEOUT.3: remove the mention of "minutes" o ESNI: initial build/setup support o FTP: FTPFILE_NOCWD: avoid redundant CWDs o FTP: allow "rubbish" prepended to the SIZE response o FTP: remove trailing slash from path for LIST/MLSD o FTP: skip CWD to entry dir when target is absolute o FTP: url-decode path before evaluation o HTTP3.md: move -p for mkdir, remove -j for make o HTTP3: fix invalid use of sendto for connected UDP socket o HTTP3: fix ngtcp2 Windows build o HTTP3: fix prefix parameter for ngtcp2 build o HTTP3: fix typo somehere1 > somewhere1 o HTTP3: show an --alt-svc using example too o INSTALL: add missing space for configure commands o INSTALL: add vcpkg installation instructions o README: minor grammar fix o altsvc: accept quoted ma and persist values o altsvc: both backends run h3-23 now o appveyor: Add MSVC ARM64 build o appveyor: Use two parallel compilation on appveyor with CMake o appveyor: add --disable-proxy autotools build o appveyor: add 32-bit MinGW-w64 build o appveyor: add a winbuild o appveyor: add a winbuild that uses VS2017 o appveyor: make winbuilds with DEBUG=no/yes and VS 2015/2017 o appveyor: publish artifacts on appveyor o appveyor: upgrade VS2017 to VS2019 o asyn-thread: make use of Curl_socketpair() where available o asyn-thread: s/AF_LOCAL/AF_UNIX for Solaris o build: Remove unused HAVE_LIBSSL and HAVE_LIBCRYPTO defines o checksrc: fix uninitialized variable warning o chunked-encoding: stop hiding the CURLE_BAD_CONTENT_ENCODING error o cirrus: Increase the git clone depth o cirrus: Switch the FreeBSD 11.x build to 11.3 and add a 13.0 build o cirrus: switch off blackhole status on the freebsd CI machines o cleanups: 21 various PVS-Studio warnings o configure: only say ipv6 enabled when the variable is set o configure: remove all cyassl references o conn-reuse: requests wanting NTLM can reuse non-NTLM connections o connect: return CURLE_OPERATION_TIMEDOUT for errno == ETIMEDOUT o connect: silence sign-compare warning o cookie: avoid harmless use after free o cookie: pass in the correct cookie amount to qsort() o cookies: change argument type for Curl_flush_cookies o cookies: using a share with cookies shouldn't enable the cookie engine o copyrights: update copyright notices to 2019 o curl: create easy handles on-demand and not ahead of time o curl: ensure HTTP 429 triggers --retry o curl: exit the create_transfers loop on errors o curl: fix memory leaked by parse_metalink() o curl: load large files with -d @ much faster o docs/HTTP3: fix `--with-ssl` ngtcp2 configure flag o docs: added multi-event.c example o docs: disambiguate CURLUPART_HOST is for host name (ie no port) o docs: note on failed handles not being counted by curl_multi_perform o doh: allow only http and https in debug mode o doh: avoid truncating DNS QTYPE to lower octet o doh: clean up dangling DOH memory on easy close o doh: fix (harmless) buffer overrun o doh: fix undefined behaviour and open up for gcc and clang optimization o doh: return early if there is no time left o examples/sslbackend: fix -Wchar-subscripts warning o examples: remove the "this exact code has not been verified" o git: add tests/server/disabled to .gitignore o gnutls: make gnutls_bye() not wait for response on shutdown o http2: expire a timeout at end of stream o http2: prevent dup'ed handles to send dummy PRIORITY frames o http2: relax verification of :authority in push promise requests o http2_recv: a closed stream trumps pause state o http: lowercase headernames for HTTP/2 and HTTP/3 o ldap: Stop using wide char version of ldapp_err2string o ldap: fix OOM error on missing query string o mbedtls: add error message for cert validity starting in the future o mime: when disabled, avoid C99 macro o ngtcp2: adapt to API change o ngtcp2: compile with latest ngtcp2 + nghttp3 draft-23 o ngtcp2: remove fprintf() calls o openssl: close_notify on the FTP data connection doesn't mean closure o openssl: fix compiler warning with LibreSSL o openssl: use strerror on SSL_ERROR_SYSCALL o os400: getpeername() and getsockname() return ebcdic AF_UNIX sockaddr o parsedate: fix date parsing disabled builds o quiche: don't close connection at end of stream o quiche: persist connection details (fixes -I with --http3) o quiche: set 'drain' when returning without having drained the queues o quiche: update HTTP/3 config creation to new API o redirect: handle redirects to absolute URLs containing spaces o runtests: get textaware info from curl instead of perl o schannel: reverse the order of certinfo insertions o schannel_verify: Fix concurrent openings of CA file o security: silence conversion warning o setopt: handle ALTSVC set to NULL o setopt: make it easier to add new enum values o setopt: store CURLOPT_RTSP_SERVER_CSEQ correctly o smb: check for full size message before reading message details o smbserver: fix Python 3 compatibility o socks: Fix destination host shown on SOCKS5 error o test1162: disable MSYS2's POSIX path conversion o test1591: fix spelling of http feature o tests: add `connect to non-listen` keywords o tests: fix narrowing conversion warnings o tests: fix the test 3001 cert failures o tests: makes tests succeed when using --disable-proxy o tests: use %FILE_PWD for file:// URLs o tests: use port 2 instead of 60000 for a safer non-listening port o tool_operate: Fix retry sleep time shown to user when Retry-After o travis: Add an ARM64 build o url: Curl_free_request_state() should also free doh handles o url: don't set appconnect time for non-ssl/non-ssh connections o url: fix the NULL hostname compiler warning o url: normalize CURLINFO_EFFECTIVE_URL o url: only reuse TLS connections with matching pinning o urlapi: avoid index underflow for short ipv6 hostnames o urlapi: fix URL encoding when setting a full URL o urlapi: fix unused variable warning o urlapi: question mark within fragment is still fragment o urldata: use 'bool' for the bit type on MSVC compilers o vtls: Fix comment typo about macosx-version-min compiler flag o vtls: fix narrowing conversion warnings o winbuild/MakefileBuild.vc: Add vssh o winbuild/MakefileBuild.vc: Fix line endings o winbuild: Add manifest to curl.exe for proper OS version detection o winbuild: add ENABLE_UNICODE option
2019-09-18curl: http2 is now a suggested option; bump revisionadam2-3/+4
2019-09-11curl: Update to 7.66.0leot3-9/+11
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
2019-08-22Recursive revbump from boost-1.71.0ryoon2-4/+4
2019-08-11Bump PKGREVISIONs for perl 5.30.0wiz1-2/+2
2019-07-20*: recursive bump for nettle 3.5.1wiz2-3/+4
2019-07-19curl: Update to 7.65.3leot2-7/+7
Changes: 7.65.3 ------ This release includes the following bugfixes: o progress: make the progress meter appear again
2019-07-17curl: Update to 7.65.2leot2-8/+7
Changes: 7.65.2 ------ This release includes the following bugfixes: o CIPHERS.md: Explain Schannel error SEC_E_ALGORITHM_MISMATCH o CMake: Convert errant elseif() to else() o CMake: Fix finding Brotli on case-sensitive file systems o CURLMOPT_SOCKETFUNCTION.3: clarified o CURLMOPT_SOCKETFUNCTION.3: fix typo o CURLOPT_CAINFO.3: polished wording o CURLOPT_HEADEROPT.3: Fix example o CURLOPT_RANGE.3: Caution against using it for HTTP PUT o CURLOPT_SEEKDATA.3: fix variable name o DEPRECATE: fixup versions and spelling o bindlocal: detect and avoid IP version mismatches in bind() o build: fix Codacy warnings o buildconf.bat: fix header filename o c-ares: honor port numbers in CURLOPT_DNS_SERVERS o config-os400: add getpeername and getsockname defines o configure: --disable-progress-meter o configure: fix --disable-code-coverage o configure: fix typo '--disable-http-uath' o configure: more --disable switches to toggle off individual features o configure: remove CURL_DISABLE_TLS_SRP o conn_maxage: move the check to prune_dead_connections() o curl: skip CURLOPT_PROXY_CAPATH for disabled-proxy builds o curl_multi_wait.3: escape backslash in example o docs: Explain behavior change in --tlsv1. options since 7.54 o docs: Fix links to OpenSSL docs o docs: fix string suggesting HTTP/2 is not the default o examples/fopen: fix comparison o examples/htmltitle: use C++ casts between pointer types o headers: Remove no longer exported functions o http2: call done_sending on end of upload o http2: don't call stream-close on already closed streams o http2: remove CURL_DISABLE_TYPECHECK define o http: allow overriding timecond with custom header o http: clarify header buffer size calculation o krb5: fix compiler warning o lib: Use UTF-8 encoding in comments o libcurl-tutorial.3: Fix small typo (mutipart -> multipart) o libcurl: Restrict redirect schemes to HTTP, HTTPS, FTP and FTPS o multi: enable multiplexing by default (again) o multi: fix the transfer hashes in the socket hash entries o multi: make sure 'data' can present in several sockhash entries o netrc: Return the correct error code when out of memory o nss: don't set unused parameter o nss: inspect returnvalue of token check o nss: only cache valid CRL entries o nss: support using libnss on macOS o openssl: define HAVE_SSL_GET_SHUTDOWN based on version number o openssl: disable engine if OPENSSL_NO_UI_CONSOLE is defined o openssl: fix pubkey/signature algorithm detection in certinfo o openssl: remove outdated comment o os400: make vsetopt() non-static as Curl_vsetopt() for os400 support o quote.d: asterisk prefix works for SFTP as well o runtests: keep logfiles around by default o runtests: report single test time + total duration o smb: Use the correct error code for access denied on file open o sws: remove unused variables o system_win32: fix clang warning o system_win32: fix typo o test1165: verify that CURL_DISABLE_ symbols are in sync o test1521: adapt to SLISTPOINT o test1523: test CURLOPT_LOW_SPEED_LIMIT o test153: fix content-length to avoid occasional hang o test188/189: fix Content-Length o tests: have runtests figure out disabled features o tests: support non-localhost HOSTIP for dict/smb servers o tests: update fixed IP for hostip/clientip split o tool_cb_prg: Fix integer overflow in progress bar o travis: disable threaded resolver for coverage build o travis: enable alt-svc for coverage build o travis: enable brotli for all xenial jobs o travis: enable libssh2 for coverage build o travis: enable warnings-as-errors for coverage build o travis: update scan-build job to xenial o typecheck: CURLOPT_CONNECT_TO takes an slist too o typecheck: add 3 missing strings and a callback data pointer o unit1654: cleanup on memory failure o unpause: trigger a timeout for event-based transfers o url: Fix CURLOPT_MAXAGE_CONN time comparison o win32: make DLL loading a no-op for UWP o winbuild: Change Makefile to honor ENABLE_OPENSSL_AUTO_LOAD_CONFIG o winbuild: use WITH_PREFIX if given o wolfssl: refer to it as wolfSSL only
2019-07-01Recursive revbump from boost-1.70.0ryoon2-3/+4
2019-06-05curl: Update to 7.65.1leot2-7/+7
Changes: 7.65.1 ------ This release includes the following bugfixes: o CURLOPT_LOW_SPEED_* repaired o NTLM: reset proxy "multipass" state when CONNECT request is done o PolarSSL: deprecate support step 1. Removed from configure o appveyor: add Visual Studio solution build o cmake: check for if_nametoindex() o cmake: support CMAKE_OSX_ARCHITECTURES when detecting SIZEOF variables o config-win32: add support for if_nametoindex and getsockname o conncache: Remove the DEBUGASSERT on length check o conncache: make "bundles" per host name when doing proxy tunnels o curl-win32.h: Enable Unix Domain Sockets based on the Windows SDK version o curl_share_setopt.3: improve wording o dump-header.d: spell out that no headers == empty file o example/http2-download: fix format specifier o examples: cleanups and compiler warning fixes o http2: Stop drain from being permanently set o http: don't parse body-related headers in bodyless responses o md4: build correctly with openssl without MD4 o md4: include the mbedtls config.h to get the MD4 info o multi: track users of a socket better o nss: allow to specify TLS 1.3 ciphers if supported by NSS o parse_proxy: make sure portptr is initialized o parse_proxy: use the IPv6 zone id if given o sectransp: handle errSSLPeerAuthCompleted from SSLRead() o singlesocket: use separate variable for inner loop o ssl: Update outdated "openssl-only" comments for supported backends o tests: add HAProxy keywords o tests: add support to test against OpenSSH for Windows o tests: make test 1420 and 1406 work with rtsp-disabled libcurl o tls13-docs: mention it is only for OpenSSL >= 1.1.1 o tool_parse_cfg: Avoid 2 fopen() for WIN32 o tool_setopt: for builds with disabled-proxy, skip all proxy setopts() o url: Load if_nametoindex() dynamically from iphlpapi.dll on Windows o url: fix bad feature-disable #ifdef o url: use correct port in ConnectionExists() o winbuild: Use two space indentation
2019-05-22curl: Update patch-configure comment to reflect current statusleot2-5/+3
(Should be part of previous commit, sorry.)
2019-05-22curl: Update to 7.65.0leot4-19/+11
pkgsrc changes: - Remove patch-configure test(1) `==' -> `=' hunk applied upstream Changes: 7.65.0 ------ This release includes the following changes: o CURLOPT_DNS_USE_GLOBAL_CACHE: removed o CURLOPT_MAXAGE_CONN: set the maximum allowed age for conn reuse o pipelining: removed This release includes the following bugfixes: o CVE-2019-5435: Integer overflows in curl_url_set o CVE-2019-5436: tftp: use the current blksize for recvfrom() o --config: clarify that initial : and = might need quoting o AppVeyor: enable testing for WinSSL build o CURLMOPT_TIMERFUNCTION.3: warn about the recursive risk o CURLOPT_ADDRESS_SCOPE: fix range check and more o CURLOPT_CAINFO.3: with Schannel, you want Windows 8 or later o CURLOPT_CHUNK_BGN_FUNCTION.3: document the struct and time value o CURLOPT_READFUNCTION.3: see also CURLOPT_UPLOAD_BUFFERSIZE o CURL_MAX_INPUT_LENGTH: largest acceptable string input size o Curl_disconnect: treat all CONNECT_ONLY connections as "dead" o INTERNALS: Add code highlighting o OS400/ccsidcurl: replace use of Curl_vsetopt o OpenSSL: Report -fips in version if OpenSSL is built with FIPS o README.md: fix no-consecutive-blank-lines Codacy warning o VC15 project: remove MinimalRebuild o VS projects: use Unicode for VC10+ o WRITEFUNCTION: add missing set_in_callback around callback o altsvc: Fix building with cookies disabled o auth: Rename the various authentication clean up functions o base64: build conditionally if there are users o build-openssl.bat: Fixed support for OpenSSL v1.1.0+ o build: fix "clarify calculation precedence" warnings o checksrc.bat: ignore snprintf warnings in docs/examples o cirrus: Customize the disabled tests per FreeBSD version o cleanup: remove FIXME and TODO comments o cmake: avoid linking executable for some tests with cmake 3.6+ o cmake: clear CMAKE_REQUIRED_LIBRARIES after each use o cmake: rename CMAKE_USE_DARWINSSL to CMAKE_USE_SECTRANSP o cmake: set SSL_BACKENDS o configure: avoid unportable `==' test(1) operator o configure: error out if OpenSSL wasn't detected when asked for o configure: fix default location for fish completions o cookie: Guard against possible NULL ptr deref o curl: make code work with protocol-disabled libcurl o curl: report error for "--no-" on non-boolean options o curl_easy_getinfo.3: fix minor formatting mistake o curlver.h: use parenthesis in CURL_VERSION_BITS macro o docs/BUG-BOUNTY: bug bounty time o docs/INSTALL: fix broken link o docs/RELEASE-PROCEDURE: link to live iCalendar o documentation: Fix several typos o doh: acknowledge CURL_DISABLE_DOH o doh: disable DOH for the cases it doesn't work o examples: remove unused variables o ftplistparser: fix LGTM alert "Empty block without comment" o hostip: acknowledge CURL_DISABLE_SHUFFLE_DNS o http: Ignore HTTP/2 prior knowledge setting for HTTP proxies o http: acknowledge CURL_DISABLE_HTTP_AUTH o http: mark bundle as not for multiuse on < HTTP/2 response o http_digest: Don't expose functions when HTTP and Crypto Auth are disabled o http_negotiate: do not treat failure of gss_init_sec_context() as fatal o http_ntlm: Corrected the name of the include guard o http_ntlm_wb: Handle auth for only a single request o http_ntlm_wb: Return the correct error on receiving an empty auth message o lib509: add missing include for strdup o lib557: initialize variables o makedebug: Fix ERRORLEVEL detection after running where.exe o mbedtls: enable use of EC keys o mime: acknowledge CURL_DISABLE_MIME o multi: improved HTTP_1_1_REQUIRED handling o netrc: acknowledge CURL_DISABLE_NETRC o nss: allow fifos and character devices for certificates o nss: provide more specific error messages on failed init o ntlm: Fix misaligned function comments for Curl_auth_ntlm_cleanup o ntlm: Support the NT response in the type-3 when OpenSSL doesn't include MD4 o openssl: mark connection for close on TLS close_notify o openvms: Remove pre-processor for SecureTransport o openvms: Remove pre-processors for Windows o parse_proxy: use the URL parser API o parsedate: disabled on CURL_DISABLE_PARSEDATE o pingpong: disable more when no pingpong protocols are enabled o polarssl_threadlock: remove conditionally unused code o progress: acknowledge CURL_DISABLE_PROGRESS_METER o proxy: acknowledge DISABLE_PROXY more o resolve: apply Happy Eyeballs philosophy to parallel c-ares queries o revert "multi: support verbose conncache closure handle" o sasl: Don't send authcid as authzid for the PLAIN mechanism as per RFC 4616 o sasl: only enable if there's a protocol enabled using it o scripts: fix typos o singleipconnect: show port in the verbose "Trying ..." message o smtp: fix compiler warning o socks5: user name and passwords must be shorter than 256 o socks: fix error message o socksd: new SOCKS 4+5 server for tests o spnego_gssapi: fix return code on gss_init_sec_context() failure o ssh-libssh: remove unused variable o ssh: define USE_SSH if SSH is enabled (any backend) o ssh: move variable declaration to where it's used o test1002: correct the name o test2100: Fix typos in test description o tests/server/util: fix Windows Unicode build o tests: Run global cleanup at end of tests o tests: make Impacket (SMB server) Python 3 compatible o tool_cb_wrt: fix bad-function-cast warning o tool_formparse: remove redundant assignment o tool_help: Warn if curl and libcurl versions do not match o tool_help: include <strings.h> for strcasecmp o transfer: fix LGTM alert "Comparison is always true" o travis: add an osx http-only build o travis: allow builds on branches named "ci" o travis: install dependencies only when needed o travis: update some builds do Xenial o travis: updated mesalink builds o url: always clone the CUROPT_CURLU handle o url: convert the zone id from a IPv6 URL to correct scope id o urlapi: add CURLUPART_ZONEID to set and get o urlapi: increase supported scheme length to 40 bytes o urlapi: require a non-zero host name length when parsing URL o urlapi: stricter CURLUPART_PORT parsing o urlapi: strip off zone id from numerical IPv6 addresses o urlapi: urlencode characters above 0x7f correctly o vauth/cleartext: update the PLAIN login to match RFC 4616 o vauth/oauth2: Fix OAUTHBEARER token generation o vauth: Fix incorrect function description for Curl_auth_user_contains_domain o vtls: fix potential ssl_buffer stack overflow o wildcard: disable from build when FTP isn't present o winbuild: Support MultiSSL builds o xattr: skip unittest on unsupported platforms
2019-05-22curl: adjust indentation (NFC)leot1-5/+5
2019-03-31curl: Update to 7.64.1leot5-55/+42
pkgsrc changes: - No longer install MANUAL, it is no longer available - Remove patch-lib_hostcheck.c, <netinet/in.h> is already included few lines before - Take MAINTAINERSHIP Changes: 7.64.1 ====== This release includes the following changes: o alt-svc: experiemental support added [74] o configure: add --with-amissl [84] This release includes the following bugfixes: o AppVeyor: add MinGW-w64 and classic Mingw builds [55] o AppVeyor: switch VS 2015 builds to VS 2017 image [49] o CURLU: fix NULL dereference when used over proxy [73] o Curl_easy: remove req.maxfd - never used! [58] o Curl_now: figure out windows version in win32_init: [11] o Curl_resolv: fix a gcc -Werror=maybe-uninitialized warning [20] o DoH: inherit some SSL options from user's easy handle [80] o Secure Transport: no more "darwinssl" [56] o Secure Transport: tvOS 11 is required for ALPN support [94] o cirrus: Added FreeBSD builds using Cirrus CI o cleanup: make local functions static [5] o cli tool: do not use mime.h private structures [27] o cmdline-opts/proxytunnel.d: the option tunnnels all protocols [83] o configure: add additional libraries to check for LDAP support [45] o configure: remove the unused fdopen macro [40] o configure: show features as well in the final summary [15] o conncache: use conn->data to know if a transfer owns it [95] o connection: never reuse CONNECT_ONLY connections [35] o connection_check: restore original conn->data after the check [14] o connection_check: set ->data to the transfer doing the check [3] o cookie: Add support for cookie prefixes [29] o cookies: dotless names can set cookies again [81] o cookies: fix NULL dereference if flushing cookies with no CookieInfo set [47] o curl.1: --user and --proxy-user are hidden from ps output [86] o curl.1: mark the argument to --cookie as <data|filename> [87] o curl.h: use __has_declspec_attribute for shared builds [52] o curl: display --version features sorted alphabetically [51] o curl: fix FreeBSD compiler warning in the --xattr code [2] o curl: remove MANUAL from -M output [38] o curl_easy_duphandle.3: clarify that a duped handle has no shares [64] o curl_multi_remove_handle.3: use at any time, just not from within callbacks o curl_url.3: this API is not experimental anymore o dns: release sharelock as soon as possible [1] o docs: update max-redirs.d phrasing [59] o easy: fix win32 init to work without CURL_GLOBAL_WIN32 [30] o examples/10-at-a-time.c: improve readability and simplify o examples/cacertinmem.c: use multiple certificates for loading CA-chain [54] o examples/crawler: Fix the Accept-Encoding setting o examples/ephiperfifo.c: various fixes [63] o examples/externalsocket: add missing close socket calls [78] o examples/http2-download: cleaned up o examples/http2-serverpush: add some sensible error checks [31] o examples/http2-upload: cleaned up o examples/httpcustomheader: Value stored to 'res' is never read o examples/postinmemory: Potential leak of memory pointed to by 'chunk.memory' o examples/sftpuploadresume: Value stored to 'result' is never read o examples: only include <curl/curl.h> [70] o examples: remove recursive calls to curl_multi_socket_action [42] o examples: remove superfluous null-pointer checks o file: fix "Checking if unsigned variable 'readcount' is less than zero." [90] o fnmatch: disable if FTP is disabled [25] o gnutls: remove call to deprecated gnutls_compression_get_name [66] o gopher: remove check for path == NULL [69] o gssapi: fix deprecated header warnings [16] o hostip: make create_hostcache_id avoid alloc + free [4] o http2: multi_connchanged() moved from multi.c, only used for h2 [21] o http2: verify :athority in push promise requests [37] o http: make adding a blank header thread-safe [33] o http: send payload when (proxy) authentication is done [89] o http: set state.infilesize when sending multipart formposts [57] o makefile: make checksrc and hugefile commands "silent" [85] o mbedtls: make it build even if MBEDTLS_VERSION_C isn't set [24] o mbedtls: release sessionid resources on error [28] o memdebug: log pointer before freeing its data [91] o memdebug: make debug-specific functions use curl_dbg_ prefix [82] o mime: put the boundary buffer into the curl_mime struct [18] o multi: call multi_done on connect timeouts, fixes CURLINFO_TOTAL_TIME [43] o multi: remove verbose "Expire in" ... messages [23] o multi: removed unused code for request retries [79] o multi: support verbose conncache closure handle [72] o negotiate: fix for HTTP POST with Negotiate [88] o openssl: add support for TLS ASYNC state [46] o openssl: if cert type is ENG and no key specified, key is ENG too [93] o pretransfer: don't strlen() POSTFIELDS set for GET requests [22] o rand: Fix a mismatch between comments in source and header [32] o runtests: detect "schannel" as an alias for "winssl" [50] o schannel: be quiet - remove verbose output [19] o schannel: close TLS before removing conn from cache [10] o schannel: support CALG_ECDH_EPHEM algorithm [44] o scripts/completion.pl: also generate fish completion file [67] o singlesocket: fix the 'sincebefore' placement [36] o source: fix two 'nread' may be used uninitialized warnings [68] o ssh: fix Condition '!status' is always true [60] o ssh: loop the state machine if not done and not blocking [71] o strerror: make the strerror function use local buffers [48] o system_win32: move win32_init here from easy.c [65] o test578: make it read data from the correct test o tests: Fixed XML validation errors in some test files o tests: add stderr comparison to the test suite [26] o tests: fix multiple may be used uninitialized warnings o threaded-resolver: shutdown the resolver thread without error message [61] o tool_cb_wrt: fix writing to Windows null device NUL [96] o tool_getpass: termios.h is present on AmigaOS 3, but no tcgetattr/tcsetattr [84] o tool_operate: build on AmigaOS [84] o tool_operate: fix typecheck warning [9] o transfer.c: do not compute length of undefined hex buffer o travis: add build using gnutls [75] o travis: add scan-build [13] o travis: bump the used wolfSSL version to 4.0.0 [92] o travis: enable valgrind for the iconv tests [12] o travis: use updated compiler versions: clang 7 and gcc 8 [77] o unit1307: require FTP support [17] o unit1651: survive curl_easy_init() fails o url/idnconvert: remove scan for <= 32 ascii values [6] o url: change conn shutdown order to ensure SOCKETFUNCTION callbacks [39] o urlapi: reduce variable scope, remove unreachable 'break' [7] o urldata: convert bools to bitfields and move to end [53] o urldata: simplify bytecounters [62] o urlglob: Argument with 'nonnull' attribute passed null o version.c: silent scan-build even when librtmp is not enabled o vtls: rename some of the SSL functions [84] o wolfssl: stop custom-adding curves [41] o x509asn1: "Dereference of null pointer" o x509asn1: cleanup and unify code layout [34] o zsh.pl: escape ':' character [8] o zsh.pl: update regex to better match curl -h output [8]
2019-02-06curl: updated to 7.64.0adam3-15/+14
curl and libcurl 7.64.0 This release includes the following 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 This release includes the following 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 * timeval: Disable MSVC Analyzer GetTickCount warning * tool_cb_prg: avoid integer overflow * travis: added cmake build for osx * urlapi: Fix port parsing of eol colon * urlapi: distinguish possibly empty query * urlapi: fix parsing ipv6 with zone index * urldata: rename easy_conn to just conn * winbuild: conditionally use /DZLIB_WINAPI * wolfssl: fix memory-leak in threaded use * spnego_sspi: add support for channel binding
2019-02-01curl: Drop redundant commentgdt1-2/+1
2018-12-13revbump for boost 1.69.0adam2-3/+4
2018-12-12curl: Update www/curl to 7.63.0leot4-24/+9
pkgsrc changes: - Remove no longer needed patch-lib_connect.c: imported upstream Changes: 7.63.0 ------ This release includes the following changes: o curl: add %{stderr} and %{stdout} for --write-out o curl: add undocumented option --dump-module-paths for win32 o setopt: add CURLOPT_CURLU This release includes the following bugfixes: o (lib)curl.rc: fixup for minor bugs o CURLINFO_REDIRECT_URL: extract the Location: header field unvalidated o CURLOPT_HEADERFUNCTION.3: match 'nitems' name in synopsis and description o CURLOPT_WRITEFUNCTION.3: spell out that it gets called many times o Curl_follow: accept non-supported schemes for "fake" redirects o KNOWN_BUGS: add --proxy-any connection issue o NTLM: Remove redundant ifdef USE_OPENSSL o NTLM: force the connection to HTTP/1.1 o OS400: add URL API ccsid wrappers and sync ILE/RPG bindings o SECURITY-PROCESS: bountygraph shuts down again o TODO: Have the URL API offer IDN decoding o ares: remove fd from multi fd set when ares is about to close the fd o axtls: removed o checksrc: add COPYRIGHTYEAR check o cmake: fix MIT/Heimdal Kerberos detection o configure: include all libraries in ssl-libs fetch o configure: show CFLAGS, LDFLAGS etc in summary o connect: fix building for recent versions of Minix o cookies: create the cookiejar even if no cookies to save o cookies: expire "Max-Age=0" immediately o curl: --local-port range was not "including" o curl: fix --local-port integer overflow o curl: fix memory leak reading --writeout from file o curl: fixed UTF-8 in current console code page (Windows) o curl_easy_perform: fix timeout handling o curl_global_sslset(): id == -1 is not necessarily an error o curl_multibyte: fix a malloc overcalculation o curle: move deprecated error code to ifndef block o docs: curl_formadd field and file names are now escaped o docs: escape "\n" codes o doh: fix memory leak in OOM situation o doh: make it work for h2-disabled builds too o examples/ephiperfifo: report error when epoll_ctl fails o ftp: avoid two unsigned int overflows in FTP listing parser o host names: allow trailing dot in name resolve, then strip it o http2: Upon HTTP_1_1_REQUIRED, retry the request with HTTP/1.1 o http: don't set CURLINFO_CONDITION_UNMET for http status code 204 o http: fix HTTP Digest auth to include query in URI o http_negotiate: do not close connection until negotiation is completed o impacket: add LICENSE o infof: clearly indicate truncation o ldap: fix LDAP URL parsing regressions o libcurl: stop reading from paused transfers o mprintf: avoid unsigned integer overflow warning o netrc: don't ignore the login name specified with "--user" o nss: Fall back to latest supported SSL version o nss: Fix compatibility with nss versions 3.14 to 3.15 o nss: fix fallthrough comment to fix picky compiler warning o nss: remove version selecting dead code o nss: set default max-tls to 1.3/1.2 o openssl: Remove SSLEAY leftovers o openssl: do not log excess "TLS app data" lines for TLS 1.3 o openssl: do not use file BIOs if not requested o openssl: fix unused variable compiler warning with old openssl o openssl: support session resume with TLS 1.3 o openvms: fix example name o os400: Add curl_easy_conn_upkeep() to ILE/RPG binding o os400: add CURLOPT_CURLU to ILE/RPG binding o os400: fix return type of curl_easy_pause() in ILE/RPG binding o packages: remove old leftover files and dirs o pop3: only do APOP with a valid timestamp o runtests: use the local curl for verifying o schannel: be consistent in Schannel capitalization o schannel: better CURLOPT_CERTINFO support o schannel: use Curl_ prefix for global private symbols o snprintf: renamed and we now only use msnprintf() o ssl: fix compilation with OpenSSL 0.9.7 o ssl: replace all internal uses of CURLE_SSL_CACERT o symbols-in-versions: add missing CURLU_ symbols o test328: verify Content-Encoding: none o tests: disable SO_EXCLUSIVEADDRUSE for stunnel on Windows o tests: drop http_pipe.py script no longer used o tool_cb_wrt: Silence function cast compiler warning o tool_doswin: Fix uninitialized field warning o travis: build with clang sanitizers o travis: remove curl before a normal build o url: a short host name + port is not a scheme o url: fix IPv6 numeral address parser o urlapi: only skip encoding the first '=' with APPENDQUERY set This release includes the following known bugs: o see docs/KNOWN_BUGS (https://curl.haxx.se/docs/knownbugs.html) This release would not have looked like this without help, code, reports and advice from friends like these: Alessandro Ghedini, Alexey Melnichuk, Antoni Villalonga, Ben Greear, bobmitchell1956 on github, Brad King, Brian Carpenter, daboul on github, Daniel Gustafsson, Daniel Stenberg, Dave Reisner, David Benjamin, Dheeraj Sangamkar, dtmsecurity on github, Elia Tufarolo, Frank Gevaerts, Gergely Nagy, Gisle Vanem, Hagai Auro, Han Han, infinnovation-dev on github, James Knight, Jérémy Rocher, Jeroen Ooms, Jim Fuller, Johannes Schindelin, Kamil Dudka, Konstantin Kushnir, Marcel Raad, Marc Hörsken, Marcos Diazr, Michael Kaufmann, NTMan on Github, Patrick Monnerat, Paul Howarth, Pavel Pavlov, Peter Wu, Ray Satiro, Rod Widdowson, Romain Fliedel, Samuel Surtees, Sevan Janiyan, Stefan Kanthak, Sven Blumenstein, Tim Rühsen, Tobias Hintze, Tomas Hoger, tonystz on Github, tpaukrt on github, Viktor Szakats, Yasuhiro Matsumoto, (51 contributors) Thanks! (and sorry if I forgot to mention someone)
2018-11-28Need pthread support, make sure a substitue is present if OS lacks supportsevan1-1/+2
natively, e.g Minix at present.
2018-11-28Support Minixsevan3-10/+114
2018-10-31curl: Update www/curl to 7.62.0leot3-8/+19
Changes: 7.62.0 ------ This release includes the following changes: o multiplex: enable by default o url: default to CURL_HTTP_VERSION_2TLS if built h2-enabled o setopt: add CURLOPT_DOH_URL o curl: --doh-url added o setopt: add CURLOPT_UPLOAD_BUFFERSIZE: set upload buffer size o imap: change from "FETCH" to "UID FETCH" o configure: add option to disable automatic OpenSSL config loading o upkeep: add a connection upkeep API: curl_easy_upkeep() o URL-API: added five new functions o vtls: MesaLink is a new TLS backend This release includes the following bugfixes: o CVE-2018-16839: SASL password overflow via integer overflow o CVE-2018-16840: use-after-free in handle close o CVE-2018-16842: warning message out-of-buffer read o CURLOPT_DNS_USE_GLOBAL_CACHE: deprecated o Curl_dedotdotify(): always nul terminate returned string o Curl_follow: Always free the passed new URL o Curl_http2_done: fix memleak in error path o Curl_retry_request: fix memory leak o Curl_saferealloc: Fixed typo in docblock o FILE: fix CURLOPT_NOBODY and CURLOPT_HEADER output o GnutTLS: TLS 1.3 support o SECURITY-PROCESS: mention the bountygraph program o VS projects: add USE_IPV6: o Windows: fixes for MinGW targeting Windows Vista o anyauthput: fix compiler warning on 64-bit Windows o appveyor: add WinSSL builds o appveyor: run test suite (on Windows!) o certs: generate tests certs with sha256 digest algorithm o checksrc: enable strict mode and warnings o checksrc: handle zero scoped ignore commands o cmake: Backport to work with CMake 3.0 again o cmake: Improve config installation o cmake: add support for transitive ZLIB target o cmake: disable -Wpedantic-ms-format o cmake: don't require OpenSSL if USE_OPENSSL=OFF o cmake: fixed path used in generation of docs/tests o cmake: remove unused *SOCKLEN_T variables o cmake: suppress MSVC warning C4127 for libtest o cmake: test and set missed defines during configuration o comment: Fix multiple typos in function parameters o config: Remove unused SIZEOF_VOIDP o config_win32: enable LDAPS o configure: force-use -lpthreads on HPUX o configure: remove CURL_CONFIGURE_CURL_SOCKLEN_T o configure: s/AC_RUN_IFELSE/CURL_RUN_IFELSE o cookies: Remove redundant expired check o cookies: fix leak when writing cookies to file o curl-config.in: remove dependency on bc o curl.1: --ipv6 mutexes ipv4 (fixed typo) o curl: enabled Windows VT Support and UTF-8 output o curl: update the documentation of --tlsv1.0 o curl_multi_wait: call getsock before figuring out timeout o curl_ntlm_wb: check aprintf() return codes o curl_threads: fix classic MinGW compile break o darwinssl: Fix realloc memleak o darwinssl: more specific and unified error codes o data-binary.d: clarify default content-type is x-www-form-urlencoded o docs/BUG-BOUNTY: explain the bounty program o docs/CIPHERS: Mention the options used to set TLS 1.3 ciphers o docs/CIPHERS: fix the TLS 1.3 cipher names o docs/CIPHERS: mention the colon separation for OpenSSL o docs/examples: URL updates o docs: add "see also" links for SSL options o example/asiohiper: insert warning comment about its status o example/htmltidy: fix include paths of tidy libraries o examples/Makefile.m32: sync with core o examples/http2-pushinmemory: receive HTTP/2 pushed files in memory o examples/parseurl.c: show off the URL API o examples: Fix memory leaks from realloc errors o examples: do not wait when no transfers are running o ftp: include command in Curl_ftpsend sendbuffer o gskit: make sure to terminate version string o gtls: Values stored to but never read o hostip: fix check on Curl_shuffle_addr return value o http2: fix memory leaks on error-path o http: fix memleak in rewind error path o krb5: fix memory leak in krb_auth o ldap: show precise LDAP call in error message on Windows o lib: fix gcc8 warning on Windows o memory: add missing curl_printf header o memory: ensure to check allocation results o multi: Fix error handling in the SENDPROTOCONNECT state o multi: fix memory leak in content encoding related error path o multi: make the closure handle "inherit" CURLOPT_NOSIGNAL o netrc: free temporary strings if memory allocation fails o nss: fix nssckbi module loading on Windows o nss: try to connect even if libnssckbi.so fails to load o ntlm_wb: Fix memory leaks in ntlm_wb_response o ntlm_wb: bail out if the response gets overly large o openssl: assume engine support in 0.9.8 or later o openssl: enable TLS 1.3 post-handshake auth o openssl: fix gcc8 warning o openssl: load built-in engines too o openssl: make 'done' a proper boolean o openssl: output the correct cipher list on TLS 1.3 error o openssl: return CURLE_PEER_FAILED_VERIFICATION on failure to parse issuer o openssl: show "proper" version number for libressl builds o pipelining: deprecated o rand: add comment to skip a clang-tidy false positive o rtmp: fix for compiling with lwIP o runtests: ignore disabled even when ranges are given o runtests: skip ld_preload tests on macOS o runtests: use Windows paths for Windows curl o schannel: unified error code handling o sendf: Fix whitespace in infof/failf concatenation o ssh: free the session on init failures o ssl: deprecate CURLE_SSL_CACERT in favour of a unified error code o system.h: use proper setting with Sun C++ as well o test1299: use single quotes around asterisk o test1452: mark as flaky o test1651: unit test Curl_extract_certinfo() o test320: strip out more HTML when comparing o tests/negtelnetserver.py: fix Python2-ism in neg TELNET server o tests: add unit tests for url.c o timeval: fix use of weak symbol clock_gettime() on Apple platforms o tool_cb_hdr: handle failure of rename() o travis: add a "make tidy" build that runs clang-tidy o travis: add build for "configure --disable-verbose" o travis: bump the Secure Transport build to use xcode o travis: make distcheck scan for BOM markers o unit1300: fix stack-use-after-scope AddressSanitizer warning o urldata: Fix "connecting" comment o urlglob: improve error message on bad globs o vtls: fix ssl version "or later" behavior change for many backends o x509asn1: Fix SAN IP address verification o x509asn1: always check return code from getASN1Element() o x509asn1: return CURLE_PEER_FAILED_VERIFICATION on failure to parse cert o x509asn1: suppress left shift on signed value
2018-09-05curl: update to 7.61.1.wiz3-38/+7
This release includes the following bugfixes: o security advisory (CVE-2018-14618): NTLM password overflow via integer overflow [73] o CURLINFO_SIZE_UPLOAD: fix missing counter update [46] o CURLOPT_ACCEPT_ENCODING.3: list them comma-separated o CURLOPT_SSL_CTX_FUNCTION.3: might cause accidental connection reuse [72] o Curl_getoff_all_pipelines: improved for multiplexed [3] o DEPRECATE: remove release date from 7.62.0 o HTTP: Don't attempt to needlessly decompress redirect body [30] o INTERNALS: require GnuTLS >= 2.11.3 [62] o README.md: add LGTM.com code quality grade for C/C++ [42] o SSLCERTS: improve the openssl command line o Silence GCC 8 cast-function-type warnings [47] o ares: check for NULL in completed-callback [3] o asyn-thread: Remove unused macro [40] o auth: only pick CURLAUTH_BEARER if we *have* a Bearer token [15] o auth: pick Bearer authentication whenever a token is available [15] o cmake: CMake config files are defining CURL_STATICLIB for static builds [54] o cmake: Respect BUILD_SHARED_LIBS [35] o cmake: Update scripts to use consistent style [9] o cmake: bumped minimum version to 3.4 [34] o cmake: link curl to the OpenSSL targets instead of lib absolute paths [34] o configure: conditionally enable pedantic-errors [64] o configure: fix for -lpthread detection with OpenSSL and pkg-config [38] o conn: remove the boolean 'inuse' field [3] o content_encoding: accept up to 4 unknown trailer bytes after raw deflate data [5] o cookie tests: treat files as text o cookies: support creation-time attribute for cookies [75] o curl: Fix segfault when -H @headerfile is empty [23] o curl: add http code 408 to transient list for --retry [78] o curl: fix time-of-check, time-of-use race in dir creation [71] o curl: use Content-Disposition before the "URL end" for -OJ [29] o curl: warn the user if a given file name looks like an option [56] o curl_threads: silence bad-function-cast warning [69] o darwinssl: add support for ALPN negotiation [7] o docs/CURLOPT_URL: fix indentation [20] o docs/CURLOPT_WRITEFUNCTION: size is always 1 [19] o docs/SECURITY-PROCESS: mention bounty, drop pre-notify o docs/examples: add hiperfifo example using linux epoll/timerfd [21] o docs: add disallow-username-in-url.d and haproxy-protocol.d to dist [50] o docs: clarify NO_PROXY env variable functionality [70] o docs: improved the manual pages of some callbacks [48] o docs: mention NULL is fine input to several functions [43] o formdata: Remove unused macro HTTPPOST_CONTENTTYPE_DEFAULT [40] o gopher: Do not translate `?' to `%09' [67] o header output: switch off all styles, not just unbold [8] o hostip: fix unused variable warning o http2: Use correct format identifier for stream_id [77] o http2: abort the send_callback if not setup yet [63] o http2: avoid set_stream_user_data() before stream is assigned [61] o http2: check nghttp2_session_set_stream_user_data return code [55] o http2: clear the drain counter in Curl_http2_done [27] o http2: make sure to send after RST_STREAM [58] o http2: separate easy handle from connections better [12] o http: fix for tiny "HTTP/0.9" response [51] o http_proxy: Remove unused macro SELECT_TIMEOUT [40] o lib/Makefile: only do symbol hiding if told to [32] o lib1502: fix memory leak in torture test [44] o lib1522: fix curl_easy_setopt argument type o libcurl-thread.3: expand somewhat on the NO_SIGNAL motivation [66] o mime: check Curl_rand_hex's return code [22] o multi: always do the COMPLETED procedure/state [3] o openssl: assume engine support in 1.0.0 or later [2] o openssl: fix debug messages [39] o projects: Improve Windows perl detection in batch scripts [49] o retry: return error if rewind was necessary but didn't happen [28] o reuse_conn(): memory leak - free old_conn->options [17] o schannel: client certificate store opening fix [68] o schannel: enable CALG_TLS1PRF for w32api >= 5.1 o schannel: fix MinGW compile break [1] o sftp: don't send post-qoute sequence when retrying a connection [79] o smb: fix memory leak on early failure [26] o smb: fix memory-leak in URL parse error path [4] o smb_getsock: always wait for write socket too [11] o ssh-libssh: fix infinite connect loop on invalid private key [53] o ssh-libssh: reduce excessive verbose output about pubkey auth [53] o ssh-libssh: use FALLTHROUGH to silence gcc8 [76] o ssl: set engine implicitly when a PKCS#11 URI is provided [36] o sws: handle EINTR when calling select() [24] o system_win32: fix version checking [16] o telnet: Remove unused macros TELOPTS and TELCMDS [40] o test1143: disable MSYS2's POSIX path conversion [10] o test1148: disable if decimal separator is not point [65] o test1307: (fnmatch testing) disabled [31] o test1422: add required file feature [6] o test1531: Add timeout [41] o test1540: Remove unused macro TEST_HANG_TIMEOUT [40] o test214: disable MSYS2's POSIX path conversion for URL o test320: treat curl320.out file as binary [14] o tests/http_pipe.py: Use /usr/bin/env to find python o tests: Don't use Windows path %PWD for SSH tests [74] o tests: fixes for Windows line endlings [13] o tool_operate: Fix setting proxy TLS 1.3 ciphers o travis: build darwinssl on macos 10.12 to fix linker errors [33] o travis: execute "set -eo pipefail" for coverage build [45] o travis: run a 'make checksrc' too [25] o travis: update to GCC-8 [52] o travis: verify that man pages can be regenerated [50] o upload: allocate upload buffer on-demand [60] o upload: change default UPLOAD_BUFSIZE to 64KB [60] o urldata: remove unused pipe_broke struct field [57] o vtls: reinstantiate engine on duplicated handles [59] o windows: implement send buffer tuning [37] o wolfSSL/CyaSSL: Fix memory leak in Curl_cyassl_random [18]
2018-08-22Recursive bump for perl5-5.28.0wiz1-2/+2
2018-08-16revbump after boost-libs updateadam2-4/+4
2018-07-31curl: fix a regression with -O -J in 7.61.0 using upstream patch.wiz3-2/+33
Bump PKGREVISION.
2018-07-11curl: updated to 7.61.0adam3-8/+18
Curl and libcurl 7.61.0 This release includes the following 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 This release includes the following 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 set when "taking" a connection * multi: fix crash due to dangling entry in connect-pending list * CURLOPT_SSL_VERIFYPEER.3: Add performance note * netrc: use a larger buffer to support longer passwords * url: check Curl_conncache_add_conn return code * configure: Add dependent libraries after crypto * easy_perform: faster local name resolves by using *multi_timeout() * getnameinfo: not used, removed all configure checks * travis: add a build using the synchronous name resolver * CURLINFO_TLS_SSL_PTR.3: improve the example * openssl: allow TLS 1.3 by default * openssl: make the requested TLS version the *minimum* wanted * openssl: Remove some dead code * telnet: fix clang warnings * DEPRECATE: new doc describing planned item removals * example/crawler.c: simple crawler based on libxml2 * libssh: goto DISCONNECT state on error, not SESSION_FREE * CMake: Remove unused functions * darwinssl: allow High Sierra users to build the code using GCC * scripts: include _curl as part of CLEANFILES * examples: fix -Wformat warnings * curl_setup: include <winerror.h> before <windows.h> * schannel: make more cipher options conditional * CMake: remove redundant and old end-of-block syntax * post303.d: clarify that this is an RFC violation
2018-05-17curl: Update www/curl to 7.60.0leot3-9/+10
Changes: 7.60.0 ------ This release includes the following changes: o Add CURLOPT_HAPROXYPROTOCOL, support for the HAProxy PROXY protocol o Add --haproxy-protocol for the command line tool o Add CURLOPT_DNS_SHUFFLE_ADDRESSES, shuffle returned IP addresses This release includes the following bugfixes: o FTP: shutdown response buffer overflow CVE-2018-1000300 o RTSP: bad headers buffer over-read CVE-2018-1000301 o FTP: fix typo in recursive callback detection for seeking o test1208: marked flaky o HTTP: make header-less responses still count correct body size o user-agent.d:: mention --proxy-header as well o http2: fixes typo o cleanup: misc typos in strings and comments o rate-limit: use three second window to better handle high speeds o examples/hiperfifo.c: improved o pause: when changing pause state, update socket state o multi: improved pending transfers handling => improved performance o curl_version_info.3: fix ssl_version description o add_handle/easy_perform: clear errorbuffer on start if set o darwinssl: fix iOS build o cmake: add support for brotli o parsedate: support UT timezone o vauth/ntlm.h: fix the #ifdef header guard o lib/curl_path.h: added #ifdef header guard o vauth/cleartext: fix integer overflow check o CURLINFO_COOKIELIST.3: made the example not leak memory o cookie.d: mention that "-" as filename means stdin o CURLINFO_SSL_VERIFYRESULT.3: fixed the example o http2: read pending frames (including GOAWAY) in connection-check o timeval: remove compilation warning by casting o cmake: avoid warn-as-error during config checks o travis-ci: enable -Werror for CMake builds o openldap: fix for NULL return from ldap_get_attribute_ber() o threaded resolver: track resolver time and set suitable timeout values o cmake: Add advapi32 as explicit link library for win32 o docs: fix CURLINFO_*_T examples use of CURL_FORMAT_CURL_OFF_T o test1148: set a fixed locale for the test o cookies: when reading from a file, only remove_expired once o cookie: store cookies per top-level-domain-specific hash table o openssl: fix build with LibreSSL 2.7 o tls: fix mbedTLS 2.7.0 build + handle sha256 failures o openssl: RESTORED verify locations when verifypeer==0 o file: restore old behavior for file:////foo/bar URLs o FTP: allow PASV on IPv6 connections when a proxy is being used o build-openssl.bat: allow custom paths for VS and perl o winbuild: make the clean target work without build-type o build-openssl.bat: Refer to VS2017 as VC14.1 instead of VC15 o curl: retry on FTP 4xx, ignore other protocols o configure: detect (and use) sa_family_t o examples/sftpuploadresume: Fix Windows large file seek o build: cleanup to fix clang warnings/errors o winbuild: updated the documentation o lib: silence null-dereference warnings o travis: bump to clang 6 and gcc 7 o travis: build libpsl and make builds use it o proxy: show getenv proxy use in verbose output o duphandle: make sure CURLOPT_RESOLVE is duplicated o all: Refactor malloc+memset to use calloc o checksrc: Fix typo o system.h: Add sparcv8plus to oracle/sunpro 32-bit detection o vauth: Fix typo o ssh: show libSSH2 error code when closing fails o test1148: tolerate progress updates better o urldata: make service names unconditional o configure: keep LD_LIBRARY_PATH changes local o ntlm_sspi: fix authentication using Credential Manager o schannel: add client certificate authentication o winbuild: Support custom devel paths for each dependency o schannel: add support for CURLOPT_CAINFO o http2: handle on_begin_headers() called more than once o openssl: support OpenSSL 1.1.1 verbose-mode trace messages o openssl: fix subjectAltName check on non-ASCII platforms o http2: avoid strstr() on data not zero terminated o http2: clear the "drain counter" when a stream is closed o http2: handle GOAWAY properly o tool_help: clarify --max-time unit of time is seconds o curl.1: clarify that options and URLs can be mixed o http2: convert an assert to run-time check o curl_global_sslset: always provide available backends o ftplistparser: keep state between invokes o Curl_memchr: zero length input can't match o examples/sftpuploadresume: typecast fseek argument to long o examples/http2-upload: expand buffer to avoid silly warning o ctype: restore character classification for non-ASCII platforms o mime: avoid NULL pointer dereference risk o cookies: ensure that we have cookies before writing jar o os400.c: fix checksrc warnings o configure: provide --with-wolfssl as an alias for --with-cyassl o cyassl: adapt to libraries without TLS 1.0 support built-in o http2: get rid of another strstr o checksrc: force indentation of lines after an else o cookies: remove unused macro o CURLINFO_PROTOCOL.3: mention the existing defined names o tests: provide 'manual' as a feature to optionally require o travis: enable libssh2 on both macos and Linux o CURLOPT_URL.3: added ENCODING section o wolfssl: Fix non-blocking connect o vtls: don't define MD5_DIGEST_LENGTH for wolfssl o docs: remove extraneous commas in man pages o URL: fix ASCII dependency in strcpy_url and strlen_url o ssh-libssh.c: fix left shift compiler warning o configure: only check for CA bundle for file-using SSL backends o travis: add an mbedtls build o http: don't set the "rewind" flag when not uploading anything o configure: put CURLDEBUG and DEBUGBUILD in lib/curl_config.h o transfer: don't unset writesockfd on setup of multiplexed conns o vtls: use unified "supports" bitfield member in backends o URLs: fix one more http url o travis: add a build using WolfSSL o openssl: change FILE ops to BIO ops o travis: add build using NSS o smb: reject negative file sizes o cookies: accept parameter names as cookie name o http2: getsock fix for uploads o all over: fixed format specifiers o http2: use the correct function pointer typedef This release would not have looked like this without help, code, reports and advice from friends like these: Adam Brown, Alex Baines, Anders Bakken, Anders Roxell, anshnd on github, Bas van Schaik, Bernard Spil, Chris Araman, Christian Schmitz, Cyril B, Dagobert Michelsen, Dan Fandrich, Daniel Gustafsson, Daniel Stenberg, Dan McNulty, Dario Weisser, dasimx on github, David Garske, David L., Denis Ollier, Dmitry Mikhirev, Dongliang Mu, Don J Olmstead, Eric Gallager, Ernst Sjöstrand, Frank Gevaerts, Gaurav Malhotra, Geeknik Labs, Howard Chu, iz8mbw on github, Jakub Wilk, Jon DeVree, Kees Dekker, Kobi Gurkan, Laurie Clark-Michalek, Lauri Kasanen, Lawrence Matthews, Luz Paz, Marcel Raad, Max Dymond, Michael Kaufmann, Michael Kilburn, Michał Janiszewski, Michal Trybus, Muz Dima, Nikos Tsipinakis, Ori Avtalion, Oumph on github, patelvivekv1993 on github, Patrick Monnerat, Philip Prindeville, Ray Satiro, Rick Deist, Rikard Falkeborn, Sergei Nikulov, Stefan Agner, steini2000 on github, Stephan Mühlstrasser, Sunny Purushe, Terry Wu, Vincas Razma, wncboy on github, Wyatt O'Day, 刘佩东, (64 contributors) Thanks! (and sorry if I forgot to mention someone)
2018-04-29revbump for boost-libs updateadam1-1/+2
2018-03-14curl: update to 7.59.0.wiz3-8/+14
Curl and libcurl 7.59.0 This release includes the following changes: o curl: add --proxy-pinnedpubkey [10] o added: CURLOPT_TIMEVALUE_LARGE and CURLINFO_FILETIME_T [13] o CURLOPT_RESOLVE: Add support for multiple IP addresses per entry [37] o Add option CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS [37] o Add new tool option --happy-eyeballs-timeout-ms [37] o Add CURLOPT_RESOLVER_START_FUNCTION and CURLOPT_RESOLVER_START_DATA [39] This release includes the following bugfixes: o openldap: check ldap_get_attribute_ber() results for NULL before using [50] o FTP: reject path components with control codes [51] o readwrite: make sure excess reads don't go beyond buffer end [52] o lib555: drop text conversion and encode data as ascii codes [1] o lib517: make variable static to avoid compiler warning o lib544: sync ascii code data with textual data [1] o GSKit: restore pinnedpubkey functionality [2] o darwinssl: Don't import client certificates into Keychain on macOS [3] o parsedate: fix date parsing for systems with 32 bit long [4] o openssl: fix pinned public key build error in FIPS mode [5] o SChannel/WinSSL: Implement public key pinning [6] o cookies: remove verbose "cookie size:" output o progress-bar: don't use stderr explicitly, use bar->out [7] o Fixes for MSDOS o build: open VC15 projects with VS 2017 o curl_ctype: private is*() type macros and functions [8] o configure: set PATH_SEPARATOR to colon for PATH w/o separator [9] o winbuild: make linker generate proper PDB [11] o curl_easy_reset: clear digest auth state [12] o curl/curl.h: fix comment typo for CURLOPT_DNS_LOCAL_IP6 [14] o range: commonize FTP and FILE range handling [15] o progress-bar docs: update to match implementation [16] o fnmatch: do not match the empty string with a character set o fnmatch: accept an alphanum to be followed by a non-alphanum in char set [17] o build: fix termios issue on android cross-compile [18] o getdate: return -1 for out of range [19] o formdata: use the mime-content type function [20] o time-cond: fix reading the file modification time on Windows [21] o build-openssl.bat: Extend VC15 support to include Enterprise and Professional o build-wolfssl.bat: Extend VC15 support to include Enterprise and Professional o openssl: Don't add verify locations when verifypeer==0 o fnmatch: optimize processing of consecutive *s and ?s pattern characters [22] o schannel: fix compiler warnings [23] o content_encoding: Add "none" alias to "identity" [24] o get_posix_time: only check for overflows if they can happen o http_chunks: don't write chunks twice with CURLOPT_HTTP_TRANSFER_DECODING [25] o README: language fix [26] o sha256: build with OpenSSL < 0.9.8 [27] o smtp: fix processing of initial dot in data [28] o --tlsauthtype: works only if libcurl is built with TLS-SRP support [29] o tests: new tests for http raw mode [30] o libcurl-security.3: man page discussion security concerns when using libcurl o curl_gssapi: make sure this file too uses our *printf() o BINDINGS: fix curb link (and remove ruby-curl-multi) o nss: use PK11_CreateManagedGenericObject() if available [31] o travis: add build with iconv enabled [32] o ssh: add two missing state names [33] o CURLOPT_HEADERFUNCTION.3: mention folded headers o http: fix the max header length detection logic [34] o header callback: don't chop headers into smaller pieces [35] o CURLOPT_HEADER.3: clarify problems with different data sizes o curl --version: show PSL if the run-time lib has it enabled o examples/sftpuploadresume: resume upload via CURLOPT_APPEND [36] o Return error if called recursively from within callbacks [38] o sasl: prefer PLAIN mechanism over LOGIN o winbuild: Use CALL to run batch scripts [40] o curl_share_setopt.3: connection cache is shared within multi handles o winbuild: Use macros for the names of some build utilities [41] o projects/README: remove reference to dead IDN link/package [42] o lib655: silence compiler warning [43] o configure: Fix version check for OpenSSL 1.1.1 o docs/MANUAL: formfind.pl is not accessible on the site anymore [44] o unit1309: fix warning on Windows x64 [45] o unit1307: proper cleanup on OOM to fix torture tests o curl_ctype: fix macro redefinition warnings o build: get CFLAGS (including -werror) used for examples and tests [46] o NO_PROXY: fix for IPv6 numericals in the URL [47] o krb5: use nondeprecated functions [48] o winbuild: prefer documented zlib library names [49] o http2: mark the connection for close on GOAWAY [53] o limit-rate: kick in even before "limit" data has been received [54] o HTTP: allow "header;" to replace an internal header with a blank one [55] o http2: verbose output new MAX_CONCURRENT_STREAMS values o SECURITY: distros' max embargo time is 14 days o curl tool: accept --compressed also if Brotli is enabled and zlib is not o WolfSSL: adding TLSv1.3 [56] o checksrc.pl: add -i and -m options o CURLOPT_COOKIEFILE.3: "-" as file name means stdin
2018-01-24curl: Delete if-def block regarding TEST_TARGET and test dependenciesleot1-4/+1
Define TEST_TARGET unconditionally and do not add `perl' to USE_TOOLS, `perl' is already needed as tool.
2018-01-24curl: update to 7.58.0.wiz4-14/+14
This release includes the following changes: o new libssh-powered SSH SCP/SFTP back-end o curl-config: add --ssl-backends [10] This release includes the following bugfixes: o http2: fix incorrect trailer buffer size [40] o http: prevent custom Authorization headers in redirects [55] o travis: add boringssl build [1] o examples/xmlstream.c: don't switch off CURL_GLOBAL_SSL [2] o SSL: Avoid magic allocation of SSL backend specific data [3] o lib: don't export all symbols, just everything curl_* [4] o libssh2: send the correct CURLE error code on scp file not found o libssh2: return CURLE_UPLOAD_FAILED on failure to upload o openssl: enable pkcs12 in boringssl builds [5] o libssh2: remove dead code from SSH_SFTP_QUOTE [6] o sasl_getmesssage: make sure we have a long enough string to pass [7] o conncache: fix several lock issues [8] o threaded-shared-conn.c: new example o conncache: only allow multiplexing within same multi handle [9] o configure: check for netinet/in6.h [11] o URL: tolerate backslash after drive letter for FILE: [12] o openldap: add commented out debug possibilities [13] o include: get netinet/in.h before linux/tcp.h [14] o CONNECT: keep close connection flag in http_connect_state struct [15] o BINDINGS: another PostgreSQL client o curl: limit -# update frequency for unknown total size [16] o configure: add AX_CODE_COVERAGE only if using gcc [17] o curl.h: remove incorrect comment about ERRORBUFFER o openssl: improve data-pending check for https proxy [18] o curl: remove __EMX__ #ifdefs [19] o CURLOPT_PRIVATE.3: fix grammar [20] o sftp: allow quoted commands to use relative paths [21] o CURLOPT_DNS_CACHE_TIMEOUT.3: see also CURLOPT_RESOLVE o RESOLVE: output verbose text when trying to set a duplicate name o openssl: Disable file buffering for Win32 SSLKEYLOGFILE [22] o multi_done: prune DNS cache [23] o tests: update .gitignore for libtests o tests: mark data files as non-executable in git o CURLOPT_DNS_LOCAL_IP4.3: fixed the "SEE ALSO" to not self-reference o curl.1: documented two missing valid exit codes o curl.1: mention http:// and https:// as valid proxy prefixes o vtls: replaced getenv() with curl_getenv() [24] o setopt: less *or equal* than INT_MAX/1000 should be fine [25] o examples/smtp-mail.c: use separate defines for options and mail o curl: support >256 bytes warning messsages [26] o conncache: fix a return code o krb5: fix a potential access of uninitialized memory o rand: add a clang-analyzer work-around o CURLOPT_READFUNCTION.3: refer to argument with correct name [27] o brotli: allow compiling with version 0.6.0 o content_encoding: rework zlib_inflate [28] o curl_easy_reset: release mime-related data [29] o examples/rtsp: fix error handling macros [30] o build-openssl.bat: Added support for VC15 o build-wolfssl.bat: Added support for VC15 o build: Added Visual Studio 2017 project files o winbuild: Added support for VC15 o curl: Support size modifiers for --max-filesize [32] o examples/cacertinmem: ignore cert-already-exists error [33] o brotli: data at the end of content can be lost [34] o curl_version_info.3: call the argument 'age' [35] o openssl: fix memory leak of SSLKEYLOGFILE filename o build: remove HAVE_LIMITS_H check [36] o --mail-rcpt: fix short-text description o scripts: allow all perl scripts to be run directly [37] o progress: calculate transfer speed on milliseconds if possible [38] o system.h: check __LONG_MAX__ for defining curl_off_t [31] o easy: fix connection ownership in curl_easy_pause [39] o setopt: reintroduce non-static Curl_vsetopt() for OS400 support [41] o setopt: fix SSLVERSION to allow CURL_SSLVERSION_MAX_ values [42] o configure.ac: append extra linker flags instead of prepending them [43] o HTTP: bail out on negative Content-Length: values [44] o docs: comment about CURLE_READ_ERROR returned by curl_mime_filedata o mime: clone mime tree upon easy handle duplication [45] o openssl: enable SSLKEYLOGFILE support by default [46] o smtp/pop3/imap_get_message: decrease the data length too... [47] o CURLOPT_TCP_NODELAY.3: fix typo [48] o SMB: fix numeric constant suffix and variable types [49] o ftp-wildcard: fix matching an empty string with "*[^a]" [50] o curl_fnmatch: only allow 5 '*' sections in a single pattern o openssl: fix potential memory leak in SSLKEYLOGFILE logic o SSH: Fix state machine for ssh-agent authentication [51] o examples/url2file.c: add missing curl_global_cleanup() call [52] o http2: don't close connection when single transfer is stopped [53] o libcurl-env.3: first version o curl: progress bar refresh, get width using ioctl() [54] o CONNECT_TO: fail attempt to set an IPv6 numerical without IPv6 support [56]
2018-01-01Revbump after boost updateadam2-3/+4
2017-11-29curl: update to 7.57.0.wiz2-7/+7
Curl and libcurl 7.57.0 o auth: add support for RFC7616 - HTTP Digest access authentication [12] o share: add support for sharing the connection cache [31] o HTTP: implement Brotli content encoding [28] This release includes the following bugfixes: o CVE-2017-8816: NTLM buffer overflow via integer overflow [47] o CVE-2017-8817: FTP wildcard out of bounds read [48] o CVE-2017-8818: SSL out of buffer access [49] o curl_mime_filedata.3: fix typos [1] o libtest: Add required test libraries for lib1552 and lib1553 [2] o fix time diffs for systems using unsigned time_t [3] o ftplistparser: memory leak fix: free temporary memory always [4] o multi: allow table handle sizes to be overridden [5] o wildcards: don't use with non-supported protocols [6] o curl_fnmatch: return error on illegal wildcard pattern [7] o transfer: Fix chunked-encoding upload too early exit [8] o curl_setup: Improve detection of CURL_WINDOWS_APP [9] o resolvers: only include anything if needed [10] o setopt: fix CURLOPT_SSH_AUTH_TYPES option read o appveyor: add a win32 build o Curl_timeleft: change return type to timediff_t [11] o cmake: Export libcurl and curl targets to use by other cmake projects [13] o curl: in -F option arg, comma is a delimiter for files only [14] o curl: improved ";type=" handling in -F option arguments o timeval: use mach_absolute_time() on MacOS [15] o curlx: the timeval functions are no longer provided as curlx_* [16] o mkhelp.pl: do not generate comment with current date [17] o memdebug: use send/recv signature for curl_dosend/curl_dorecv [18] o cookie: avoid NULL dereference [19] o url: fix CURLOPT_POSTFIELDSIZE arg value check to allow -1 [20] o include: remove conncache.h inclusion from where its not needed o CURLOPT_MAXREDIRS: allow -1 as a value [21] o tests: Fixed torture tests on tests 556 and 650 o http2: Fixed OOM handling in upgrade request o url: fix CURLOPT_DNS_CACHE_TIMEOUT arg value check to allow -1 o CURLOPT_INFILESIZE: accept -1 [22] o curl: pass through [] in URLs instead of calling globbing error [23] o curl: speed up handling of many URLs [24] o ntlm: avoid malloc(0) for zero length passwords [25] o url: remove faulty arg value check from CURLOPT_SSH_AUTH_TYPES [26] o HTTP: support multiple Content-Encodings [27] o travis: add a job with brotli enabled o url: remove unncessary NULL-check o fnmatch: remove dead code o connect: store IPv6 connection status after valid connection [29] o imap: deal with commands case insensitively [30] o --interface: add support for Linux VRF [32] o content_encoding: fix inflate_stream for no bytes available [33] o cmake: Correctly include curl.rc in Windows builds [34] o cmake: Add missing setmode check [35] o connect.c: remove executable bit on file [36] o SMB: fix uninitialized local variable o zlib/brotli: only include header files in modules needing them [37] o URL: return error on malformed URLs with junk after IPv6 bracket [38] o openssl: fix too broad use of HAVE_OPAQUE_EVP_PKEY [39] o macOS: Fix missing connectx function with Xcode version older than 9.0 [40] o --resolve: allow IP address within [] brackets [41] o examples/curlx: Fix code style [42] o ntlm: remove unnecessary NULL-check to please scan-build [43] o Curl_llist_remove: fix potential NULL pointer deref [43] o mime: fix "Value stored to 'sz' is never read" scan-build error [43] o openssl: fix "Value stored to 'rc' is never read" scan-build error [43] o http2: fix "Value stored to 'hdbuf' is never read" scan-build error [43] o http2: fix "Value stored to 'end' is never read" scan-build error [43] o Curl_open: fix OOM return error correctly [43] o url: reject ASCII control characters and space in host names [44] o examples/rtsp: clear RANGE again after use [45] o connect: improve the bind error message [46] o make: fix "make distclean" [50] o connect: add support for new TCP Fast Open API on Linux [51] o metalink: fix memory-leak and NULL pointer dereference [52] o URL: update "file:" URL handling [53] o ssh: remove check for a NULL pointer [54] o global_init: ignore CURL_GLOBAL_SSL's absense [55]
2017-11-03curl: Don't strip out user-supplied debug flags.jperkin2-9/+25
2017-10-23curl: update to 7.56.1adam2-7/+7
Curl and libcurl 7.56.1 This release includes the following bugfixes: o imap: if a FETCH response has no size, don't call write callback o ftp: UBsan fixup 'pointer index expression overflowed o failf: skip the sprintf() if there are no consumers o fuzzer: move to using external curl-fuzzer o lib/Makefile.m32: allow customizing dll suffixes o docs: fix typo in curl_mime_data_cb man page o darwinssl: add support for TLSv1.3 o build: fix --disable-crypto-auth o lib/config-win32.h: let SMB/SMBS be enabled with OpenSSL/NSS o openssl: fix build without HAVE_OPAQUE_EVP_PKEY o strtoofft: Remove extraneous null check o multi_cleanup: call DONE on handles that never got that o tests: added flaky keyword to tests 587 and 644 o pingpong: return error when trying to send without connection o remove_handle: call multi_done() first, then clear dns cache pointer o mime: be tolerant about setting twice the same header list in a part. o mime: improve unbinding top multipart from easy handle. o mime: avoid resetting a part's encoder when part's contents change. o mime: refuse to add subparts to one of their own descendants o RTSP: avoid integer overflow on funny RTSP responses o curl: don't pass semicolons when parsing Content-Disposition o openssl: enable PKCS12 support for !BoringSSL o FAQ: s/CURLOPT_PROGRESSFUNCTION/CURLOPT_XFERINFOFUNCTION o CURLOPT_NOPROGRESS.3: also refer to xferinfofunction o CURLOPT_XFERINFODATA.3: fix duplicate see also o test298: verify --ftp-method nowcwd with URL encoded path o FTP: URL decode path for dir listing in nocwd mode o smtp_done: fix memory leak on send failure o ftpserver: support case insensitive commands o test950; verify SMTP with custom request o openssl: don't use old BORINGSSL_YYYYMM macros o setopt: update current connection SSL verify params o winbuild/BUILD.WINDOWS.txt: mention WITH_NGHTTP2 o curl: reimplement stdin buffering in -F option o mime: keep "text/plain" content type if user-specified o mime: fix the content reader to handle >16K data properly o configure: remove the C++ compiler check o memdebug: trace send, recv and socket o runtests: use valgrind for torture as well o ldap: silence clang warning o makefile.m32: allow to override gcc, ar and ranlib o setopt: avoid integer overflows when setting millsecond values o setopt: range check most long options o ftp: reject illegal IP/port in PASV 227 response o mime: do not reuse previously computed multipart size o vtls: change struct Curl_ssl `close' field name to `close_one' o os400: add missing symbols in config file o mime: limit bas64-encoded lines length to 76 characters o mk-ca-bundle: Remove URL for aurora o mk-ca-bundle: Fix URL for NSS
2017-10-04curl: update to 7.56.0.wiz3-9/+23
Curl and libcurl 7.56.0 This release includes the following changes: o curl: enable compression for SCP/SFTP with --compressed-ssh [11] o libcurl: enable compression for SCP/SFTP with CURLOPT_SSH_COMPRESSION [11] o vtls: added dynamic changing SSL backend with curl_global_sslset() [28] o new MIME API, curl_mime_init() and friends [32] o openssl: initial SSLKEYLOGFILE implementation [36] This release includes the following bugfixes: o FTP: zero terminate the entry path even on bad input [67] o examples/ftpuploadresume.c: use portable code o runtests: match keywords case insensitively o travis: build the examples too [1] o strtoofft: reduce integer overflow risks globally [2] o zsh.pl: produce a working completion script again [3] o cmake: remove dead code for CURL_DISABLE_RTMP [4] o progress: Track total times following redirects [5] o configure: fix --disable-threaded-resolver [6] o cmake: remove dead code for DISABLED_THREADSAFE [7] o configure: fix clang version detection o darwinssi: fix error: variable length array used o travis: add metalink to some osx builds [8] o configure: check for __builtin_available() availability [9] o http_proxy: fix build error for CURL_DOES_CONVERSIONS [10] o examples/ftpuploadresume: checksrc compliance o ftp: fix CWD when doing multicwd then nocwd on same connection [12] o system.h: remove all CURL_SIZEOF_* defines [13] o http: Don't wait on CONNECT when there is no proxy [14] o system.h: check for __ppc__ as well [15] o http2_recv: return error better on fatal h2 errors [16] o scripts/contri*sh: use "git log --use-mailmap" o tftp: fix memory leak on too long filename [17] o system.h: fix build for hppa [18] o cmake: enable picky compiler options with clang and gcc [19] o makefile.m32: add support for libidn2 [20] o curl: turn off MinGW CRT's globbing [21] o request-target.d: mention added in 7.55.0 o curl: shorten and clean up CA cert verification error message [22] o imap: support PREAUTH [23] o CURLOPT_USERPWD.3: see also CURLOPT_PROXYUSERPWD o examples/threaded-ssl: mention that this is for openssl before 1.1 o winbuild: fix embedded manifest option [24] o tests: Make sure libtests & unittests call curl_global_cleanup() o system.h: include sys/poll.h for AIX [25] o darwinssl: handle long strings in TLS certs [26] o strtooff: fix build for systems with long long but no strtoll [27] o asyn-thread: Improved cleanup after OOM situations o HELP-US.md: "How to get started helping out in the curl project" [29] o curl.h: CURLSSLBACKEND_WOLFSSL used wrong value [30] o unit1301: fix error message on first test o ossfuzz: moving towards the ideal integration [31] o http: fix a memory leakage in checkrtspprefix() o examples/post-callback: stop returning one byte at a time o schannel: return CURLE_SSL_CACERT on failed verification [33] o MAIL-ETIQUETTE: added "1.9 Your emails are public" o http-proxy: treat all 2xx as CONNECT success [34] o openssl: use OpenSSL's default ciphers by default [35] o runtests.pl: support attribute "nonewline" in part verify/upload o configure: remove --enable-soname-bump and SONAME_BUMP [37] o travis: add c-ares enabled builds linux + osx [38] o vtls: fix WolfSSL 3.12 build problems [39] o http-proxy: when not doing CONNECT, that phase is done immediately [40] o configure: fix curl_off_t check's include order [41] o configure: use -Wno-varargs on clang 3.9[.X] debug builds o rtsp: do not call fwrite() with NULL pointer FILE * [42] o mbedtls: enable CA path processing [43] o travis: add build without HTTP/SMTP/IMAP o checksrc: verify more code style rules [44] o HTTP proxy: on connection re-use, still use the new remote port [45] o tests: add initial gssapi test using stub implementation [46] o rtsp: Segfault when using WRITEDATA [47] o docs: clarify the CURLOPT_INTERLEAVE* options behavior o non-ascii: use iconv() with 'char **' argument [48] o server/getpart: provide dummy function to build conversion enabled o conversions: fix several compiler warnings o openssl: add missing includes [49] o schannel: Support partial send for when data is too large [50] o socks: fix incorrect port number in SOCKS4 error message [51] o curl: fix integer overflow in timeout options [52] o travis: on mac, don't install openssl or libidn [53] o cookies: reject oversized cookies instead of truncating [54] o cookies: use lock when using CURLINFO_COOKIELIST [55] o curl: check fseek() return code and bail on error o examples/post-callback: use long for CURLOPT_POSTFIELDSIZE o openssl: only verify RSA private key if supported [56] o tests: make the imap server not verify user+password [57] o imap: quote atoms properly when escaping characters [58] o tests: fix a compiler warning in test 643 o file_range: avoid integer overflow when figuring out byte range [59] o curl.h: include <sys/select.h> on cygwin too [60] o reuse_conn: don't copy flags that are known to be equal [61] o http: fix adding custom empty headers to repeated requests [62] o docs: clarify the use of environment variables for proxy [63] o docs: link CURLOPT_CONNECTTIMEOUT and CURLOPT_CONNECTTIMEOUT_MS [64] o connect: fix race condition with happy eyeballs timeout [65] o cookie: fix memory leak if path was set twice in header [66] o vtls: compare and clone ssl configs properly [68] o proxy: read the "no_proxy" variable only if necessary [69]
2017-08-29Remove superfluous automake dependency (after update).wiz1-6/+1
Fixes PR 52513 by David H. Gutteridge.
2017-08-24Revbump for boost updateadam2-3/+4
2017-08-18Requires devel/gettext-libadam2-2/+4
2017-08-17If libcurl was built with "idn", buildlink in libidn2.schmonz1-3/+3
2017-08-17Somewhere around 7.53.0, curl's IDN support switched to libidn2. Updateschmonz1-7/+8
CONFIGURE_ARGS and the included buildlink3.mk, and rename the "libidn" option to "idn" using PKG_OPTIONS_LEGACY_OPTS.
2017-08-15Curl and libcurl 7.55.1adam4-30/+16
This release includes the following bugfixes: o build: fix 'make install' with configure, install docs/libcurl/* too o make install: add 8 missing man pages to the installation o curl: do bounds check using a double comparison [1] o dist: Add dictserver.py/negtelnetserver.py to release [2] o digest_sspi: Don't reuse context if the user/passwd has changed [3] o gitignore: ignore top-level .vs folder [4] o build: check out *.sln files with Windows line endings [5] o travis: verify "make install" [6] o dist: fix the cmake build by shipping cmake_uninstall.cmake.in too [7] o metalink: fix error: ‘*’ in boolean context, suggest ‘&&’ instead o configure: use the threaded resolver backend by default if possible [8] o mkhelp.pl: allow executing this script directly [9] o maketgz: remove old *.dist files before making the tarball [10] o openssl: remove CONST_ASN1_BIT_STRING [11] o openssl: fix "error: this statement may fall through" o proxy: fix memory leak in case of invalid proxy server name [12] o curl/system.h: support more architectures (OpenRISC, ARC) [13] o docs: fix typos [14] o curl/system.h: add Oracle Solaris Studio [15] o CURLINFO_TOTAL_TIME: could wrongly return 4200 seconds [16] o docs: --connect-to clarified o cmake: allow user to override CMAKE_DEBUG_POSTFIX [17] o travis: test cmake build on tarball too o redirect: make it handle absolute redirects to IDN names [18] o curl/system.h: fix for gcc on PowerPC [19] o curl --interface: fixed for IPV6 unique local addresses [20] o cmake: threads detection improvements [21]
2017-08-09Updated curl to 7.55.0.wiz4-10/+36
Curl and libcurl 7.55.0 Public curl releases: 167 Command line options: 210 curl_easy_setopt() options: 247 Public functions in libcurl: 61 Contributors: 1571 This release includes the following changes: o curl: allow --header and --proxy-header read from file [7] o getinfo: provide sizes as curl_off_t [6] o curl: prevent binary output spewed to terminal [16] o curl: added --request-target [22] o libcurl: added CURLOPT_REQUEST_TARGET [22] o curl: added --socks5-{basic,gssapi}: control socks5 auth [30] o libcurl: added CURLOPT_SOCKS5_AUTH [30] This release includes the following bugfixes: o glob: do not parse after a strtoul() overflow range (CVE-2017-1000101) [85] o tftp: reject file name lengths that don't fit (CVE-2017-1000100) [84] o file: output the correct buffer to the user (CVE-2017-1000099) [83] o includes: remove curl/curlbuild.h and curl/curlrules.h [1] o dist: make the hugehelp.c not get regenerated unnecessarily [2] o timers: store internal time stamps as time_t instead of doubles [3] o progress: let "current speed" be UL + DL speeds combined [4] o http-proxy: do the HTTP CONNECT process entirely non-blocking [5] o lib/curl_setup.h: remove CURL_WANTS_CA_BUNDLE_ENV [8] o fuzz: bring oss-fuzz initial code converted to C89 [10] o configure: disable nghttp2 too if HTTP has been disabled o mk-ca-bundle.pl: Check curl's exit code after certdata download [11] o test1148: verify the -# progressbar [12] o tests: stabilize test 2032 and 2033 [13] o HTTPS-Proxy: don't offer h2 for https proxy connections [14] o http-proxy: only attempt FTP over HTTP proxy [9] o curl-compilers.m4: enable vla warning for clang [15] o curl-compilers.m4: enable double-promotion warning [15] o curl-compilers.m4: enable missing-variable-declarations clang warning [15] o curl-compilers.m4: enable comma clang warning [15] o Makefile.m32: enable -W for MinGW32 build [15] o CURLOPT_PREQUOTE: not supported for SFTP [17] o http2: fix OOM crash o PIPELINING_SERVER_BL: cleanup the internal list use [18] o mkhelp.pl: fix script name in usage text o lib1521: add curl_easy_getinfo calls to the test set o travis: do the distcheck test build out-of-tree as well o if2ip: fix compiler warning in ISO C90 mode o lib: fix the djgpp build [19] o typecheck-gcc: add support for CURLINFO_OFF_T [20] o travis: enable typecheck-gcc warnings [21] o maketgz: switch to xz instead of lzma [23] o CURLINFO_REDIRECT_URL.3: mention the CURLOPT_MAXREDIRS case o curl-compilers.m4: fix unknown-warning-option on Apple clang [24] o winbuild: fix boringssl build [25] o curl/system.h: add check for XTENSA for 32bit gcc [26] o test1537: fixed memory leak on OOM o test1521: fix compiler warnings [27] o curl: fix memory leak on test 1147 OOM [28] o libtest/make: generate lib1521.c dynamically at build-time [29] o curl_strequal.3: fix typo in SYNOPSIS [31] o progress: prevent resetting t_starttransfer [32] o openssl: improve fallback seed of PRNG with a time based hash [33] o http2: improved PING frame handling [34] o test1450: add simple testing for DICT [35] o make: build the docs subdir only from within src [36] o cmake: Added compatibility options for older Windows versions [37] o gtls: fix build when sizeof(long) < sizeof(void *) [38] o url: make the original string get used on subsequent transfers [39] o timeval.c: Use long long constant type for timeval assignment [40] o tool_sleep: typecast to avoid macos compiler warning o travis.yml: use --enable-werror on debug builds [41] o test1451: add SMB support to the testbed [42] o configure: remove checks for 5 functions never used [43] o configure: try ldap/lber in reversed order first [44] o smb: fix build for djgpp/MSDOS [45] o travis: install nghttp2 on linux builds [46] o smb: add support for CURLOPT_FILETIME [47] o cmake: fix send/recv argument scanner for windows [48] o inet_pton: fix include on windows to get prototype [49] o select.h: avoid macro redefinition harder o cmake: if inet_pton is used, bump _WIN32_WINNT o asyn-thread.c: fix unused variable warnings on macOS o runtests: support "threaded-resolver" as a feature o test506: skip if threaded-resolver o cmake: remove spurious "-l" from linker flags [50] o cmake: add CURL_WERROR for enabling "warning as errors" o memdebug: don't setbuf() if the file open failed [51] o curl_easy_escape.3: mention the (lack of) encoding [52] o test1452: add telnet negotiation [53] o CURLOPT_POSTFIELDS.3: explain the 100-continue magic better o cmake: offer CMAKE_DEBUG_POSTFIX when building with MSVC [54] o tests/valgrind.supp: supress OpenSSL false positive seen on travis [55] o curl_setup_once: Remove ERRNO/SET_ERRNO macros [56] o curl-compilers.m4: disable warning spam with Cygwin's clang [57] o ldap: fix MinGW compiler warning [58] o make: fix docs build on OpenBSD [59] o curl_setup: always define WIN32_LEAN_AND_MEAN on Windows [60] o system.h: include winsock2.h before windows.h o winbuild: build with warning level 4 [61] o rtspd: fix MSVC level 4 warning o sockfilt: suppress conversion warning with explicit cast o libtest: fix MSVC warning C4706 o darwinssl: fix pinnedpubkey build error [62] o tests/server/resolve.c: fix deprecation warning [63] o nss: fix a possible use-after-free in SelectClientCert() [64] o checksrc: escape open brace in regex o multi: mention integer overflow risk if using > 500 million sockets [65] o darwinssl: fix --tlsv1.2 regression [66] o timeval: struct curltime is a struct timeval replacement [67] o curl_rtmp: fix a compiler warning [68] o include.d: clarify that it concerns the response headers [69] o cmake: support make uninstall [70] o include.d: clarify --include is only for response headers [71] o libcurl: Stop using error codes defined under CURL_NO_OLDIES [72] o http: fix response code parser to avoid integer overflow [73] o configure: fix the check for IdnToUnicode [74] o multi: fix request timer management [75] o curl_threads: fix MSVC compiler warning [76] o travis: build on osx with openssl o travis: build on osx with libressl o CURLOPT_NETRC.3: mention the file name on windows o cmake: set MSVC warning level to 4 [77] o netrc: skip lines starting with '#' [78] o darwinssl: fix curlssl_sha256sum() compiler warnings on first argument o BUILD.WINDOWS: mention buildconf.bat for builds off git o darwinssl: silence compiler warnings [79] o travis: build on osx with darwinssl o FTP: skip unnecessary CWD when in nocwd mode [80] o gssapi: fix memory leak of output token in multi round context [81] o getparameter: avoid returning uninitialized 'usedarg' [82] o curl (debug build) easy_events: make event data static o curl: detect and bail out early on parameter integer overflows [86] o configure: fix recv/send/select detection on Android [87]
2017-07-05On Darwin, do not add special compiler flags; fixes building on High Sierraadam2-8/+19