summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/curl
diff options
context:
space:
mode:
authorRobert Joslyn <robert.joslyn@redrectangle.org>2023-09-23 10:17:43 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-26 10:25:42 +0100
commitc63c48b9e40f5610b805f0238893cf3f5444810f (patch)
treef810759271ebc8561edf0354b371bbbaf4997c03 /meta/recipes-support/curl
parent8a69a411c039192f81ec0ca3b57fbaeeab4f3714 (diff)
downloadpoky-c63c48b9e40f5610b805f0238893cf3f5444810f.tar.gz
curl: Update from 8.2.1 to 8.3.0
NSS support was removed, so adjust PACKAGECONFIG options. The --enable-crypto-auth option was removed and split into separate options for basic-auth, bearer-auth, digest-auth, kerberos-auth, negotiate-auth, and aws. Enable these new options since upstream enables them by default. Disable test 1279 since this requires libcurl and hangs the tests. (From OE-Core rev: 148de08220c0ad390ec533e452cbaad7a9338204) Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/curl')
-rw-r--r--meta/recipes-support/curl/curl/disable-tests1
-rw-r--r--meta/recipes-support/curl/curl_8.3.0.bb (renamed from meta/recipes-support/curl/curl_8.2.1.bb)14
2 files changed, 10 insertions, 5 deletions
diff --git a/meta/recipes-support/curl/curl/disable-tests b/meta/recipes-support/curl/curl/disable-tests
index b687b2bb76..fdac795662 100644
--- a/meta/recipes-support/curl/curl/disable-tests
+++ b/meta/recipes-support/curl/curl/disable-tests
@@ -21,6 +21,7 @@
21# This test is scanning the source tree 21# This test is scanning the source tree
221222 221222
23# These CRL tests need --libcurl option to be enabled 23# These CRL tests need --libcurl option to be enabled
241279
241400 251400
251401 261401
261402 271402
diff --git a/meta/recipes-support/curl/curl_8.2.1.bb b/meta/recipes-support/curl/curl_8.3.0.bb
index b86c6f3bba..646ac01914 100644
--- a/meta/recipes-support/curl/curl_8.2.1.bb
+++ b/meta/recipes-support/curl/curl_8.3.0.bb
@@ -14,7 +14,7 @@ SRC_URI = " \
14 file://run-ptest \ 14 file://run-ptest \
15 file://disable-tests \ 15 file://disable-tests \
16" 16"
17SRC_URI[sha256sum] = "dd322f6bd0a20e6cebdfd388f69e98c3d183bed792cf4713c8a7ef498cba4894" 17SRC_URI[sha256sum] = "376d627767d6c4f05105ab6d497b0d9aba7111770dd9d995225478209c37ea63"
18 18
19# Curl has used many names over the years... 19# Curl has used many names over the years...
20CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl daniel_stenberg:curl" 20CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl daniel_stenberg:curl"
@@ -24,21 +24,26 @@ inherit autotools pkgconfig binconfig multilib_header ptest
24# Entropy source for random PACKAGECONFIG option 24# Entropy source for random PACKAGECONFIG option
25RANDOM ?= "/dev/urandom" 25RANDOM ?= "/dev/urandom"
26 26
27PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} libidn openssl proxy random threaded-resolver verbose zlib" 27PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} aws basic-auth bearer-auth digest-auth negotiate-auth libidn openssl proxy random threaded-resolver verbose zlib"
28PACKAGECONFIG:class-native = "ipv6 openssl proxy random threaded-resolver verbose zlib" 28PACKAGECONFIG:class-native = "ipv6 openssl proxy random threaded-resolver verbose zlib"
29PACKAGECONFIG:class-nativesdk = "ipv6 openssl proxy random threaded-resolver verbose zlib" 29PACKAGECONFIG:class-nativesdk = "ipv6 openssl proxy random threaded-resolver verbose zlib"
30 30
31# 'ares' and 'threaded-resolver' are mutually exclusive 31# 'ares' and 'threaded-resolver' are mutually exclusive
32PACKAGECONFIG[ares] = "--enable-ares,--disable-ares,c-ares,,,threaded-resolver" 32PACKAGECONFIG[ares] = "--enable-ares,--disable-ares,c-ares,,,threaded-resolver"
33PACKAGECONFIG[aws] = "--enable-aws,--disable-aws"
34PACKAGECONFIG[basic-auth] = "--enable-basic-auth,--disable-basic-auth"
35PACKAGECONFIG[bearer-auth] = "--enable-bearer-auth,--disable-bearer-auth"
33PACKAGECONFIG[brotli] = "--with-brotli,--without-brotli,brotli" 36PACKAGECONFIG[brotli] = "--with-brotli,--without-brotli,brotli"
34PACKAGECONFIG[builtinmanual] = "--enable-manual,--disable-manual" 37PACKAGECONFIG[builtinmanual] = "--enable-manual,--disable-manual"
35# Don't use this in production 38# Don't use this in production
36PACKAGECONFIG[debug] = "--enable-debug,--disable-debug" 39PACKAGECONFIG[debug] = "--enable-debug,--disable-debug"
37PACKAGECONFIG[dict] = "--enable-dict,--disable-dict," 40PACKAGECONFIG[dict] = "--enable-dict,--disable-dict,"
41PACKAGECONFIG[digest-auth] = "--enable-digest-auth,--disable-digest-auth"
38PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls" 42PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls"
39PACKAGECONFIG[gopher] = "--enable-gopher,--disable-gopher," 43PACKAGECONFIG[gopher] = "--enable-gopher,--disable-gopher,"
40PACKAGECONFIG[imap] = "--enable-imap,--disable-imap," 44PACKAGECONFIG[imap] = "--enable-imap,--disable-imap,"
41PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," 45PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
46PACKAGECONFIG[kerberos-auth] = "--enable-kerberos-auth,--disable-kerberos-auth"
42PACKAGECONFIG[krb5] = "--with-gssapi,--without-gssapi,krb5" 47PACKAGECONFIG[krb5] = "--with-gssapi,--without-gssapi,krb5"
43PACKAGECONFIG[ldap] = "--enable-ldap,--disable-ldap,openldap" 48PACKAGECONFIG[ldap] = "--enable-ldap,--disable-ldap,openldap"
44PACKAGECONFIG[ldaps] = "--enable-ldaps,--disable-ldaps,openldap" 49PACKAGECONFIG[ldaps] = "--enable-ldaps,--disable-ldaps,openldap"
@@ -47,6 +52,7 @@ PACKAGECONFIG[libidn] = "--with-libidn2,--without-libidn2,libidn2"
47PACKAGECONFIG[libssh2] = "--with-libssh2,--without-libssh2,libssh2" 52PACKAGECONFIG[libssh2] = "--with-libssh2,--without-libssh2,libssh2"
48PACKAGECONFIG[mbedtls] = "--with-mbedtls=${STAGING_DIR_TARGET},--without-mbedtls,mbedtls" 53PACKAGECONFIG[mbedtls] = "--with-mbedtls=${STAGING_DIR_TARGET},--without-mbedtls,mbedtls"
49PACKAGECONFIG[mqtt] = "--enable-mqtt,--disable-mqtt," 54PACKAGECONFIG[mqtt] = "--enable-mqtt,--disable-mqtt,"
55PACKAGECONFIG[negotiate-auth] = "--enable-negotiate-auth,--disable-negotiate-auth"
50PACKAGECONFIG[nghttp2] = "--with-nghttp2,--without-nghttp2,nghttp2" 56PACKAGECONFIG[nghttp2] = "--with-nghttp2,--without-nghttp2,nghttp2"
51PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl" 57PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl"
52PACKAGECONFIG[pop3] = "--enable-pop3,--disable-pop3," 58PACKAGECONFIG[pop3] = "--enable-pop3,--disable-pop3,"
@@ -56,7 +62,6 @@ PACKAGECONFIG[rtmpdump] = "--with-librtmp,--without-librtmp,rtmpdump"
56PACKAGECONFIG[rtsp] = "--enable-rtsp,--disable-rtsp," 62PACKAGECONFIG[rtsp] = "--enable-rtsp,--disable-rtsp,"
57PACKAGECONFIG[smb] = "--enable-smb,--disable-smb," 63PACKAGECONFIG[smb] = "--enable-smb,--disable-smb,"
58PACKAGECONFIG[smtp] = "--enable-smtp,--disable-smtp," 64PACKAGECONFIG[smtp] = "--enable-smtp,--disable-smtp,"
59PACKAGECONFIG[nss] = "--with-nss,--without-nss,nss"
60PACKAGECONFIG[telnet] = "--enable-telnet,--disable-telnet," 65PACKAGECONFIG[telnet] = "--enable-telnet,--disable-telnet,"
61PACKAGECONFIG[tftp] = "--enable-tftp,--disable-tftp," 66PACKAGECONFIG[tftp] = "--enable-tftp,--disable-tftp,"
62PACKAGECONFIG[threaded-resolver] = "--enable-threaded-resolver,--disable-threaded-resolver,,,,ares" 67PACKAGECONFIG[threaded-resolver] = "--enable-threaded-resolver,--disable-threaded-resolver,,,,ares"
@@ -67,11 +72,10 @@ PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd"
67EXTRA_OECONF = " \ 72EXTRA_OECONF = " \
68 --disable-libcurl-option \ 73 --disable-libcurl-option \
69 --disable-ntlm-wb \ 74 --disable-ntlm-wb \
70 --enable-crypto-auth \
71 --with-ca-bundle=${sysconfdir}/ssl/certs/ca-certificates.crt \ 75 --with-ca-bundle=${sysconfdir}/ssl/certs/ca-certificates.crt \
72 --without-libpsl \ 76 --without-libpsl \
73 --enable-optimize \ 77 --enable-optimize \
74 ${@'--without-ssl' if (bb.utils.filter('PACKAGECONFIG', 'gnutls mbedtls nss openssl', d) == '') else ''} \ 78 ${@'--without-ssl' if (bb.utils.filter('PACKAGECONFIG', 'gnutls mbedtls openssl', d) == '') else ''} \
75" 79"
76 80
77do_install:append:class-target() { 81do_install:append:class-target() {