summaryrefslogtreecommitdiff
path: root/www/curl
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-03-08 08:18:27 +0000
committerwiz <wiz@pkgsrc.org>2022-03-08 08:18:27 +0000
commit6fc16b547751bae3dc4d493bfe036118814fd991 (patch)
tree785ac76828e9ab231831f562c33393132806ee25 /www/curl
parentb0ff1de54195d1c4e5865a52b009187e43380567 (diff)
downloadpkgsrc-6fc16b547751bae3dc4d493bfe036118814fd991.tar.gz
curl: update to 7.82.0.
This release includes the following changes: o curl: add --json [67] o mesalink: remove support [23] This release includes the following bugfixes: o appveyor: update images from VS 2019 to 2022 o appveyor: use VS 2017 image for the autotools builds o azure-pipelines: add a build on Windows with libssh [154] o bearssl: fix connect error on expired cert and no verify [132] o bearssl: fix EXC_BAD_ACCESS on incomplete CA cert [131] o bearssl: fix session resumption (session id) [133] o build: enable -Warith-conversion o build: fix -Wenum-conversion handling o build: fix ngtcp2 crypto library detection [63] o checkprefix: remove strlen calls [128] o checksrc: fix typo in comment [34] o CI: move 'distcheck' job from zuul to azure pipelines [60] o CI: move scan-build job from Zuul to Azure Pipelines [59] o CI: move the NSS job from zuul to GHA [84] o ci: move the OpenSSL + c-ares job from Zuul to Circle CI [75] o CI: move the rustls CI job to GHA from Zuul [8] o CI: move two jobs from Zuul to Circle CI [73] o CI: test building wolfssl with --enable-opensslextra [42] o CI: workflows/wolfssl: install impacket [47] o circleci: add a job using libssh [121] o cirlceci: also run a c-ares job on arm with debug enabled [74] o cmake: fix iOS CMake project generation error [13] o cmdline-opts/gen.pl: fix option matching to improve references [50] o config.d: Clarify _curlrc filename is still valid on Windows [95] o configure.ac: use user-specified gssapi dir when using pkg-config [136] o configure: change output for cross-compiled alt-svc support [140] o configure: fix '--enable-code-coverage' typo [110] o configure: remove support for "embedded ares" [82] o configure: requires --with-nss-deprecated to build with NSS [114] o configure: set CURL_LIBRARY_PATH for nghttp2 [58] o configure: support specification of a nghttp2 library path [101] o configure: use correct CFLAGS for threaded resolver with xlC on AIX [54] o curl tool: erase some more sensitive command line arguments [22] o curl-functions.m4: fix LIBRARY_PATH adjustment to avoid eval [5] o curl-functions.m4: revert DYLD_LIBRARY_PATH tricks in CURL_RUN_IFELSE [9] o curl-openssl: fix SRP check for OpenSSL 3.0 [86] o curl-openssl: remove the OpenSSL headers and library versions check [35] o curl.h: fix typo [129] o curl: remove "separators" (when using globbed URLs) [32] o curl_getdate.3: remove pointless .PP line [68] o curl_multi_socket.3: remove callback and typical usage descriptions [7] o curl_url_set.3: mention when CURLU_ALLOW_SPACE was added o CURLMOPT_TIMERFUNCTION/DATA.3: fix the examples [27] o CURLOPT_PROGRESSFUNCTION.3: fix example struct assignment [147] o CURLOPT_RESOLVE.3: change example port to 443 o CURLOPT_XFERINFOFUNCTION.3: fix example struct assignment [153] o CURLOPT_XFERINFOFUNCTION.3: fix typo in example [81] o CURLSHOPT_LOCKFUNC.3: fix typo "relased" -> "released" [71] o des: fix compile break for OpenSSL without DES [141] o docs/cmdline-opts: add "mutexed" options for more http versions [25] o docs/DEPRECATE: remove NPN support in August 2022 [64] o docs: capitalize the name 'Netscape' [77] o docs: document HTTP/2 not insisting on TLS 1.2 [49] o docs: fix mandoc -T lint formatting complaints [2] o docs: update IETF links to use datatracker [41] o examples/curlx: support building with OpenSSL 1.1.0+ [148] o examples/multi-app.c: call curl_multi_remove_handle as well [19] o formdata: avoid size_t => long typecast overflows [37] o ftp: provide error message for control bytes in path [66] o gen.pl: terminate "example" sections better [4] o gha: add a macOS CI job with libssh [142] o gskit: Convert to using Curl_poll [111] o gskit: Fix errors from Curl_strerror refactor [113] o gskit: Fix initialization of Curl_ssl_gskit struct [112] o h2/h3: allow CURLOPT_HTTPHEADER change ":scheme" [88] o hostcheck: fixed to not touch used input strings [38] o hostcheck: reduce strlen calls on chained certificates [92] o hostip: avoid unused parameter error in Curl_resolv_check [144] o http2: move two infof calls to debug-h2-only [145] o http: make Curl_compareheader() take string length arguments too [87] o if2ip: make Curl_ipv6_scope a blank macro when IPv6-disabled [104] o KNOWN_BUGS: fix typo "libpsl" o ldap: return CURLE_URL_MALFORMAT for bad URL [24] o lib: remove support for CURL_DOES_CONVERSIONS [96] o libssh2: don't typecast socket to int for libssh2_session_handshake [151] o libssh: fix include files and defines use for Windows builds [156] o Makefile.am: Generate VS 2022 projects o maketgz: return error if 'make dist' fails [79] o mbedtls: enable use of mbedtls without CRL support [57] o mbedtls: enable use of mbedtls without filesystem functions support [100] o mbedtls: fix CURLOPT_SSLCERT_BLOB (again) o mbedtls: fix ssl_init error with mbedTLS 3.1.0+ [12] o mbedtls: remove #include <mbedtls/certs.h> [56] o mbedtls: return CURLcode result instead of a mbedtls error code [1] o md5: check md5_init_func return value o mime: use a define instead of the magic number 24 [89] o misc: allow curl to build with wolfssl --enable-opensslextra [43] o misc: remove BeOS code and references [30] o misc: remove the final watcom references [29] o misc: remove unused data when IPv6 is not supported [80] o mqtt: free 'sendleftovers' in disconnect [115] o mqtt: free any send leftover data when done [36] o multi: allow user callbacks to call curl_multi_assign [126] o multi: grammar fix in comment [69] o multi: remember connection_id before returning connection to pool [76] o multi: set in_callback for multi interface callbacks [28] o netware: remove support [72] o next.d. remove .fi/.nf as they are handled by gen.pl [3] o ngtcp2: adapt to changed end of headers callback proto [39] o ngtcp2: fix declaration of ‘result’ shadows a previous local [14] o ngtcp2: Reset dynbuf when it is fully drained [143] o nss: handshake callback during shutdown has no conn->bundle [55] o ntlm: remove unused feature defines [117] o openldap: fix compiler warning when built without SSL support [70] o openldap: implement SASL authentication [16] o openldap: pass string length arguments to client_write() [116] o openssl.h: avoid including OpenSSL headers here [15] o openssl: check if sessionid flag is enabled before retrieving session [125] o openssl: check SSL_get_ex_data to prevent potential NULL dereference [40] o openssl: check the return value of BIO_new_mem_buf() [18] o openssl: fix `ctx_option_t` for OpenSSL v3+ o openssl: fix build for version < 1.1.0 [134] o openssl: return error if TLS 1.3 is requested when not supported [45] o os400: Add function wrapper for system command [138] o os400: Add link to QADRT devkit to README.OS400 [137] o os400: Default build to target current release [139] o OS400: fix typos in rpg include file [149] o projects: add support for Visual Studio 17 (2022) [124] o projects: fix Visual Studio wolfSSL configurations o projects: remove support for MSVC before VC10 (Visual Studio 2010) [123] o quiche: after leaving h3_recving state, poll again [108] o quiche: change qlog file extension to `.sqlog` [44] o quiche: fix upload for bigger content-length [146] o quiche: handle stream reset [83] o quiche: remove two leftover debug infof() outputs o quiche: verify the server cert on connect [33] o quiche: when *recv_body() returns data, drain it before polling again [109] o README.md: fix links [118] o remote-header-name.d: clarify [10] o runtests.pl: disable debuginfod [51] o runtests.pl: properly print the test if it contains binary zeros o runtests.pl: support the nonewline attribute for the data part [21] o runtests.pl: tolerate test directories without Makefile.inc [98] o runtests: allow client/file to specify multiple directories o runtests: make 'rustls' a testable feature o runtests: make 'wolfssl' a testable feature [6] o runtests: set 'oldlibssh' for libssh versions before 0.9.5 [122] o rustls: add CURLOPT_CAINFO_BLOB support [26] o schannel: move the algIds array out of schannel.h [135] o scripts/cijobs.pl: output data about all currect CI jobs [78] o scripts/completion.pl: improve zsh completion [46] o scripts/copyright.pl: support many provided file names on the cmdline o scripts/delta: check the file delta for current branch o sectransp: mark a 3DES cipher as weak [130] o setopt: do bounds-check before strdup [99] o setopt: fix the TLSAUTH #ifdefs for proxy-disabled builds [53] o sha256: Fix minimum OpenSSL version [102] o smb: pass socket for writing and reading data instead of FIRSTSOCKET [90] o ssl: reduce allocated space for ssl backend when FTP is disabled [127] o test3021: disable all msys2 path transformation o test374: gif data without new line at the end [20] o tests/disable-scan.pl: properly detect multiple symbols per line [94] o tests/unit/Makefile.am: add NSS_LIBS to build with NSS fine [85] o tool_findfile: check ~/.config/curlrc too [17] o tool_getparam: DNS options that need c-ares now fail without it [31] o TPF: drop support [97] o unit1610: init SSL library before calling SHA256 functions [152] o url: exclude zonefrom_url when no ipv6 is available [103] o url: given a user in the URL, find pwd for that user in netrc [11] o url: keep trailing dot in host name [62] o url: make Curl_disconnect return void [48] o urlapi: handle "redirects" smarter [119] o urldata: CONN_IS_PROXIED replaces bits.proxy when proxy can be disabled [52] o urldata: remove conn->bits.user_passwd [105] o version_win32: fix warning for `CURL_WINDOWS_APP` [93] o vtls: fix socket check conditions [150] o vtls: pass on the right SNI name [61] o vxworks: drop support [65] o winbuild: add parameter WITH_SSH [120] o wolfssl: return CURLE_AGAIN for the SSL_ERROR_NONE case [106] o wolfssl: when SSL_read() returns zero, check the error [107] o write-out.d: Fix num_headers formatting o x509asn1: toggle off functions not needed for diff tls backends [91]
Diffstat (limited to 'www/curl')
-rw-r--r--www/curl/Makefile4
-rw-r--r--www/curl/distinfo10
-rw-r--r--www/curl/patches/patch-configure169
3 files changed, 19 insertions, 164 deletions
diff --git a/www/curl/Makefile b/www/curl/Makefile
index d7bb18ff874..e672a1ad5fb 100644
--- a/www/curl/Makefile
+++ b/www/curl/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.253 2022/01/15 15:51:29 ryoon Exp $
+# $NetBSD: Makefile,v 1.254 2022/03/08 08:18:27 wiz Exp $
-DISTNAME= curl-7.81.0
+DISTNAME= curl-7.82.0
CATEGORIES= www
MASTER_SITES= https://curl.se/download/
EXTRACT_SUFX= .tar.xz
diff --git a/www/curl/distinfo b/www/curl/distinfo
index f0b17c82819..a25a03d9b90 100644
--- a/www/curl/distinfo
+++ b/www/curl/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.179 2022/01/31 09:31:59 schmonz Exp $
+$NetBSD: distinfo,v 1.180 2022/03/08 08:18:27 wiz Exp $
-BLAKE2s (curl-7.81.0.tar.xz) = ff0f098e3baa14aad53af343bcbd53cfabcfde3950f2f54e92764fa9ce37e6fc
-SHA512 (curl-7.81.0.tar.xz) = 38355aaee38db04bb2babdc5fd7a88284580c836d15df754f42b104997dd344b7841be8e53b4fc91aea31db170a7d6967c4976833eb4bfe0d265c7275c4800df
-Size (curl-7.81.0.tar.xz) = 2486388 bytes
-SHA1 (patch-configure) = b800985acb6a1d710f9da0f3ed13d884745828d8
+BLAKE2s (curl-7.82.0.tar.xz) = def93379cffdb50e57a2e14f14bdf4c707a1e027ebb6a591b2267fc065726b27
+SHA512 (curl-7.82.0.tar.xz) = a977d69360d1793f8872096a21f5c0271e7ad145cd69ad45f4056a0657772f0f298b04bdb41aefd4ea5c4478352c60d80b5a118642280a07a7198aa80ffb1d57
+Size (curl-7.82.0.tar.xz) = 2446764 bytes
+SHA1 (patch-configure) = c2a5911c2065a870c8cbf38afbd2fd7e94909343
SHA1 (patch-curl-config.in) = a58c777fc1a0a087776e62ed2e2a1e0a339716df
diff --git a/www/curl/patches/patch-configure b/www/curl/patches/patch-configure
index 09e8ccbc477..639a744f46e 100644
--- a/www/curl/patches/patch-configure
+++ b/www/curl/patches/patch-configure
@@ -1,15 +1,14 @@
-$NetBSD: patch-configure,v 1.14 2022/01/31 09:31:59 schmonz Exp $
+$NetBSD: patch-configure,v 1.15 2022/03/08 08:18:28 wiz Exp $
- Builtin krb5-config in platforms such as solaris do not support
the gssapi option, and need an explicit -lgss
- On Darwin, do not append custom CFLAGS.
- Also do not use DYLD_LIBRARY_PATH for ordinary configure checks.
- Do not strip debug flags.
- Support Minix.
---- configure.orig 2022-01-03 21:33:05.000000000 +0000
+--- configure.orig 2022-03-01 19:38:54.000000000 +0000
+++ configure
-@@ -4243,6 +4243,7 @@ printf "%s\n" "$as_me: $xc_bad_var_msg l
+@@ -4237,6 +4237,7 @@ printf "%s\n" "$as_me: $xc_bad_var_msg l
;;
esac
done
@@ -17,7 +16,7 @@ $NetBSD: patch-configure,v 1.14 2022/01/31 09:31:59 schmonz Exp $
if test $xc_bad_var_cflags = yes; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: using CFLAGS: $CFLAGS" >&5
printf "%s\n" "$as_me: using CFLAGS: $CFLAGS" >&6;}
-@@ -8641,7 +8642,7 @@ else $as_nop
+@@ -8638,7 +8639,7 @@ else $as_nop
lt_cv_sys_max_cmd_len=8192;
;;
@@ -26,7 +25,7 @@ $NetBSD: patch-configure,v 1.14 2022/01/31 09:31:59 schmonz Exp $
# This has been around since 386BSD, at least. Likely further.
if test -x /sbin/sysctl; then
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
-@@ -9121,12 +9122,8 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu
+@@ -9118,12 +9119,8 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu
lt_cv_deplibs_check_method=pass_all
;;
@@ -41,7 +40,7 @@ $NetBSD: patch-configure,v 1.14 2022/01/31 09:31:59 schmonz Exp $
;;
newos6*)
-@@ -13392,14 +13389,13 @@ _LT_EOF
+@@ -13389,14 +13386,13 @@ _LT_EOF
fi
;;
@@ -63,7 +62,7 @@ $NetBSD: patch-configure,v 1.14 2022/01/31 09:31:59 schmonz Exp $
;;
solaris*)
-@@ -14089,15 +14085,13 @@ printf "%s\n" "$lt_cv_irix_exported_symb
+@@ -14086,15 +14082,13 @@ printf "%s\n" "$lt_cv_irix_exported_symb
esac
;;
@@ -84,7 +83,7 @@ $NetBSD: patch-configure,v 1.14 2022/01/31 09:31:59 schmonz Exp $
;;
newsos6)
-@@ -15207,6 +15201,18 @@ fi
+@@ -15204,6 +15198,18 @@ fi
dynamic_linker='GNU/Linux ld.so'
;;
@@ -103,7 +102,7 @@ $NetBSD: patch-configure,v 1.14 2022/01/31 09:31:59 schmonz Exp $
netbsdelf*-gnu)
version_type=linux
need_lib_prefix=no
-@@ -17767,7 +17773,7 @@ squeeze() {
+@@ -17650,7 +17656,7 @@ squeeze() {
#
@@ -112,16 +111,7 @@ $NetBSD: patch-configure,v 1.14 2022/01/31 09:31:59 schmonz Exp $
#
tmp_save_CPPFLAGS="$CPPFLAGS"
tmp_save_CFLAGS="$CFLAGS"
-@@ -17938,7 +17944,7 @@ rm -f core conftest.err conftest.$ac_obj
- test "$tmp_compiler_works" = "yes"; then
-
- case $host_os in
-- darwin*) library_path_var=DYLD_LIBRARY_PATH ;;
-+ darwin*) library_path_var=LD_LIBRARY_PATH ;;
- *) library_path_var=LD_LIBRARY_PATH ;;
- esac
-
-@@ -18029,13 +18035,6 @@ printf %s "checking if compiler accepts
+@@ -17943,13 +17949,6 @@ printf %s "checking if compiler accepts
tmp_options="$flags_dbg_yes"
fi
#
@@ -135,25 +125,7 @@ $NetBSD: patch-configure,v 1.14 2022/01/31 09:31:59 schmonz Exp $
squeeze CPPFLAGS
squeeze CFLAGS
fi
-@@ -18226,7 +18225,7 @@ rm -f core conftest.err conftest.$ac_obj
- test "$tmp_compiler_works" = "yes"; then
-
- case $host_os in
-- darwin*) library_path_var=DYLD_LIBRARY_PATH ;;
-+ darwin*) library_path_var=LD_LIBRARY_PATH ;;
- *) library_path_var=LD_LIBRARY_PATH ;;
- esac
-
-@@ -19672,7 +19671,7 @@ rm -f core conftest.err conftest.$ac_obj
- test "$tmp_compiler_works" = "yes"; then
-
- case $host_os in
-- darwin*) library_path_var=DYLD_LIBRARY_PATH ;;
-+ darwin*) library_path_var=LD_LIBRARY_PATH ;;
- *) library_path_var=LD_LIBRARY_PATH ;;
- esac
-
-@@ -20704,7 +20703,7 @@ printf "%s\n" "no" >&6; }
+@@ -20709,7 +20708,7 @@ printf "%s\n" "no" >&6; }
tst_cflags="no"
case $host_os in
darwin*)
@@ -162,25 +134,7 @@ $NetBSD: patch-configure,v 1.14 2022/01/31 09:31:59 schmonz Exp $
;;
esac
-@@ -22521,7 +22520,7 @@ printf "%s\n" "$curl_cv_gclk_LIBS" >&6;
- printf %s "checking if monotonic clock_gettime works... " >&6; }
-
- case $host_os in
-- darwin*) library_path_var=DYLD_LIBRARY_PATH ;;
-+ darwin*) library_path_var=LD_LIBRARY_PATH ;;
- *) library_path_var=LD_LIBRARY_PATH ;;
- esac
-
-@@ -24231,7 +24230,7 @@ fi
- printf %s "checking if argv can be written to... " >&6; }
-
- case $host_os in
-- darwin*) library_path_var=DYLD_LIBRARY_PATH ;;
-+ darwin*) library_path_var=LD_LIBRARY_PATH ;;
- *) library_path_var=LD_LIBRARY_PATH ;;
- esac
-
-@@ -24783,7 +24782,7 @@ printf "%s\n" "found" >&6; }
+@@ -25108,7 +25107,7 @@ printf "%s\n" "found" >&6; }
LIBS="-lgss $LIBS"
;;
*)
@@ -189,102 +143,3 @@ $NetBSD: patch-configure,v 1.14 2022/01/31 09:31:59 schmonz Exp $
;;
esac
fi
-@@ -33995,7 +33994,7 @@ printf "%s\n" "#define HAVE_STRUCT_TIMEV
- printf %s "checking run-time libs availability... " >&6; }
-
- case $host_os in
-- darwin*) library_path_var=DYLD_LIBRARY_PATH ;;
-+ darwin*) library_path_var=LD_LIBRARY_PATH ;;
- *) library_path_var=LD_LIBRARY_PATH ;;
- esac
-
-@@ -34459,7 +34458,7 @@ fi
- printf %s "checking if time_t is unsigned... " >&6; }
-
- case $host_os in
-- darwin*) library_path_var=DYLD_LIBRARY_PATH ;;
-+ darwin*) library_path_var=LD_LIBRARY_PATH ;;
- *) library_path_var=LD_LIBRARY_PATH ;;
- esac
-
-@@ -37487,7 +37486,7 @@ rm -f core conftest.err conftest.$ac_obj
- printf %s "checking if getaddrinfo seems to work... " >&6; }
-
- case $host_os in
-- darwin*) library_path_var=DYLD_LIBRARY_PATH ;;
-+ darwin*) library_path_var=LD_LIBRARY_PATH ;;
- *) library_path_var=LD_LIBRARY_PATH ;;
- esac
-
-@@ -38994,7 +38993,7 @@ rm -f core conftest.err conftest.$ac_obj
- printf %s "checking if getifaddrs seems to work... " >&6; }
-
- case $host_os in
-- darwin*) library_path_var=DYLD_LIBRARY_PATH ;;
-+ darwin*) library_path_var=LD_LIBRARY_PATH ;;
- *) library_path_var=LD_LIBRARY_PATH ;;
- esac
-
-@@ -39239,7 +39238,7 @@ rm -f core conftest.err conftest.$ac_obj
- printf %s "checking if gmtime_r seems to work... " >&6; }
-
- case $host_os in
-- darwin*) library_path_var=DYLD_LIBRARY_PATH ;;
-+ darwin*) library_path_var=LD_LIBRARY_PATH ;;
- *) library_path_var=LD_LIBRARY_PATH ;;
- esac
-
-@@ -39507,7 +39506,7 @@ rm -f core conftest.err conftest.$ac_obj
- printf %s "checking if inet_ntop seems to work... " >&6; }
-
- case $host_os in
-- darwin*) library_path_var=DYLD_LIBRARY_PATH ;;
-+ darwin*) library_path_var=LD_LIBRARY_PATH ;;
- *) library_path_var=LD_LIBRARY_PATH ;;
- esac
-
-@@ -39767,7 +39766,7 @@ rm -f core conftest.err conftest.$ac_obj
- printf %s "checking if inet_pton seems to work... " >&6; }
-
- case $host_os in
-- darwin*) library_path_var=DYLD_LIBRARY_PATH ;;
-+ darwin*) library_path_var=LD_LIBRARY_PATH ;;
- *) library_path_var=LD_LIBRARY_PATH ;;
- esac
-
-@@ -40813,7 +40812,7 @@ rm -f core conftest.err conftest.$ac_obj
- printf %s "checking if localtime_r seems to work... " >&6; }
-
- case $host_os in
-- darwin*) library_path_var=DYLD_LIBRARY_PATH ;;
-+ darwin*) library_path_var=LD_LIBRARY_PATH ;;
- *) library_path_var=LD_LIBRARY_PATH ;;
- esac
-
-@@ -41218,7 +41217,7 @@ rm -f core conftest.err conftest.$ac_obj
- printf %s "checking if poll seems to work... " >&6; }
-
- case $host_os in
-- darwin*) library_path_var=DYLD_LIBRARY_PATH ;;
-+ darwin*) library_path_var=LD_LIBRARY_PATH ;;
- *) library_path_var=LD_LIBRARY_PATH ;;
- esac
-
-@@ -43169,7 +43168,7 @@ printf "%s\n" "yes" >&6; }
- printf %s "checking if strerror_r seems to work... " >&6; }
-
- case $host_os in
-- darwin*) library_path_var=DYLD_LIBRARY_PATH ;;
-+ darwin*) library_path_var=LD_LIBRARY_PATH ;;
- *) library_path_var=LD_LIBRARY_PATH ;;
- esac
-
-@@ -43285,7 +43284,7 @@ printf "%s\n" "yes" >&6; }
- printf %s "checking if strerror_r seems to work... " >&6; }
-
- case $host_os in
-- darwin*) library_path_var=DYLD_LIBRARY_PATH ;;
-+ darwin*) library_path_var=LD_LIBRARY_PATH ;;
- *) library_path_var=LD_LIBRARY_PATH ;;
- esac
-