diff options
author | Robert Joslyn <robert.joslyn@redrectangle.org> | 2023-09-23 10:17:43 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-26 10:25:42 +0100 |
commit | c63c48b9e40f5610b805f0238893cf3f5444810f (patch) | |
tree | f810759271ebc8561edf0354b371bbbaf4997c03 /meta/recipes-support/curl | |
parent | 8a69a411c039192f81ec0ca3b57fbaeeab4f3714 (diff) | |
download | poky-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-tests | 1 | ||||
-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 |
22 | 1222 | 22 | 1222 |
23 | # These CRL tests need --libcurl option to be enabled | 23 | # These CRL tests need --libcurl option to be enabled |
24 | 1279 | ||
24 | 1400 | 25 | 1400 |
25 | 1401 | 26 | 1401 |
26 | 1402 | 27 | 1402 |
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 | " |
17 | SRC_URI[sha256sum] = "dd322f6bd0a20e6cebdfd388f69e98c3d183bed792cf4713c8a7ef498cba4894" | 17 | SRC_URI[sha256sum] = "376d627767d6c4f05105ab6d497b0d9aba7111770dd9d995225478209c37ea63" |
18 | 18 | ||
19 | # Curl has used many names over the years... | 19 | # Curl has used many names over the years... |
20 | CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl daniel_stenberg:curl" | 20 | CVE_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 |
25 | RANDOM ?= "/dev/urandom" | 25 | RANDOM ?= "/dev/urandom" |
26 | 26 | ||
27 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} libidn openssl proxy random threaded-resolver verbose zlib" | 27 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} aws basic-auth bearer-auth digest-auth negotiate-auth libidn openssl proxy random threaded-resolver verbose zlib" |
28 | PACKAGECONFIG:class-native = "ipv6 openssl proxy random threaded-resolver verbose zlib" | 28 | PACKAGECONFIG:class-native = "ipv6 openssl proxy random threaded-resolver verbose zlib" |
29 | PACKAGECONFIG:class-nativesdk = "ipv6 openssl proxy random threaded-resolver verbose zlib" | 29 | PACKAGECONFIG: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 |
32 | PACKAGECONFIG[ares] = "--enable-ares,--disable-ares,c-ares,,,threaded-resolver" | 32 | PACKAGECONFIG[ares] = "--enable-ares,--disable-ares,c-ares,,,threaded-resolver" |
33 | PACKAGECONFIG[aws] = "--enable-aws,--disable-aws" | ||
34 | PACKAGECONFIG[basic-auth] = "--enable-basic-auth,--disable-basic-auth" | ||
35 | PACKAGECONFIG[bearer-auth] = "--enable-bearer-auth,--disable-bearer-auth" | ||
33 | PACKAGECONFIG[brotli] = "--with-brotli,--without-brotli,brotli" | 36 | PACKAGECONFIG[brotli] = "--with-brotli,--without-brotli,brotli" |
34 | PACKAGECONFIG[builtinmanual] = "--enable-manual,--disable-manual" | 37 | PACKAGECONFIG[builtinmanual] = "--enable-manual,--disable-manual" |
35 | # Don't use this in production | 38 | # Don't use this in production |
36 | PACKAGECONFIG[debug] = "--enable-debug,--disable-debug" | 39 | PACKAGECONFIG[debug] = "--enable-debug,--disable-debug" |
37 | PACKAGECONFIG[dict] = "--enable-dict,--disable-dict," | 40 | PACKAGECONFIG[dict] = "--enable-dict,--disable-dict," |
41 | PACKAGECONFIG[digest-auth] = "--enable-digest-auth,--disable-digest-auth" | ||
38 | PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls" | 42 | PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls" |
39 | PACKAGECONFIG[gopher] = "--enable-gopher,--disable-gopher," | 43 | PACKAGECONFIG[gopher] = "--enable-gopher,--disable-gopher," |
40 | PACKAGECONFIG[imap] = "--enable-imap,--disable-imap," | 44 | PACKAGECONFIG[imap] = "--enable-imap,--disable-imap," |
41 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | 45 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," |
46 | PACKAGECONFIG[kerberos-auth] = "--enable-kerberos-auth,--disable-kerberos-auth" | ||
42 | PACKAGECONFIG[krb5] = "--with-gssapi,--without-gssapi,krb5" | 47 | PACKAGECONFIG[krb5] = "--with-gssapi,--without-gssapi,krb5" |
43 | PACKAGECONFIG[ldap] = "--enable-ldap,--disable-ldap,openldap" | 48 | PACKAGECONFIG[ldap] = "--enable-ldap,--disable-ldap,openldap" |
44 | PACKAGECONFIG[ldaps] = "--enable-ldaps,--disable-ldaps,openldap" | 49 | PACKAGECONFIG[ldaps] = "--enable-ldaps,--disable-ldaps,openldap" |
@@ -47,6 +52,7 @@ PACKAGECONFIG[libidn] = "--with-libidn2,--without-libidn2,libidn2" | |||
47 | PACKAGECONFIG[libssh2] = "--with-libssh2,--without-libssh2,libssh2" | 52 | PACKAGECONFIG[libssh2] = "--with-libssh2,--without-libssh2,libssh2" |
48 | PACKAGECONFIG[mbedtls] = "--with-mbedtls=${STAGING_DIR_TARGET},--without-mbedtls,mbedtls" | 53 | PACKAGECONFIG[mbedtls] = "--with-mbedtls=${STAGING_DIR_TARGET},--without-mbedtls,mbedtls" |
49 | PACKAGECONFIG[mqtt] = "--enable-mqtt,--disable-mqtt," | 54 | PACKAGECONFIG[mqtt] = "--enable-mqtt,--disable-mqtt," |
55 | PACKAGECONFIG[negotiate-auth] = "--enable-negotiate-auth,--disable-negotiate-auth" | ||
50 | PACKAGECONFIG[nghttp2] = "--with-nghttp2,--without-nghttp2,nghttp2" | 56 | PACKAGECONFIG[nghttp2] = "--with-nghttp2,--without-nghttp2,nghttp2" |
51 | PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl" | 57 | PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl" |
52 | PACKAGECONFIG[pop3] = "--enable-pop3,--disable-pop3," | 58 | PACKAGECONFIG[pop3] = "--enable-pop3,--disable-pop3," |
@@ -56,7 +62,6 @@ PACKAGECONFIG[rtmpdump] = "--with-librtmp,--without-librtmp,rtmpdump" | |||
56 | PACKAGECONFIG[rtsp] = "--enable-rtsp,--disable-rtsp," | 62 | PACKAGECONFIG[rtsp] = "--enable-rtsp,--disable-rtsp," |
57 | PACKAGECONFIG[smb] = "--enable-smb,--disable-smb," | 63 | PACKAGECONFIG[smb] = "--enable-smb,--disable-smb," |
58 | PACKAGECONFIG[smtp] = "--enable-smtp,--disable-smtp," | 64 | PACKAGECONFIG[smtp] = "--enable-smtp,--disable-smtp," |
59 | PACKAGECONFIG[nss] = "--with-nss,--without-nss,nss" | ||
60 | PACKAGECONFIG[telnet] = "--enable-telnet,--disable-telnet," | 65 | PACKAGECONFIG[telnet] = "--enable-telnet,--disable-telnet," |
61 | PACKAGECONFIG[tftp] = "--enable-tftp,--disable-tftp," | 66 | PACKAGECONFIG[tftp] = "--enable-tftp,--disable-tftp," |
62 | PACKAGECONFIG[threaded-resolver] = "--enable-threaded-resolver,--disable-threaded-resolver,,,,ares" | 67 | PACKAGECONFIG[threaded-resolver] = "--enable-threaded-resolver,--disable-threaded-resolver,,,,ares" |
@@ -67,11 +72,10 @@ PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd" | |||
67 | EXTRA_OECONF = " \ | 72 | EXTRA_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 | ||
77 | do_install:append:class-target() { | 81 | do_install:append:class-target() { |