diff options
author | Changqing Li <changqing.li@windriver.com> | 2024-08-06 13:16:22 +0800 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-08-10 06:34:25 -0700 |
commit | ca13c64766c17fbc3d1b4dd28ac7e8b761d9f9d9 (patch) | |
tree | 52274765a289e4cc4333da14c191379e6080c4dd | |
parent | 3e9bb9cdfbea03965a27fb1c0615062153f7f421 (diff) | |
download | poky-ca13c64766c17fbc3d1b4dd28ac7e8b761d9f9d9.tar.gz |
curl: correct the PACKAGECONFIG for native/nativesdk
Since commit 148de08220 [ curl: Update from 8.2.1 to 8.3.0 ],
--enable-crypto-auth option was removed and split into separate options
for basic-auth, bearer-auth, digest-auth, kerberos-auth negotiate-auth,
and aws. In this commit, --enable-crypto-auth is removed from
EXTRA_OECONF, and the separate options is added into PACKAGECONFIG for
target. But not added into PACKAGECONFIG for native/nativesdk, this make
curl/git in buildtools not works well to connect basic auth https
server.
Failed commands:
git ls-remote https://xxx(input username/passwd)
curl -u name:passwd https://xxx
Error:
Authentication failed xxx
HTTP/1.1 401 Unauthorized
(From OE-Core rev: 67b98253ea70a1e2850a78bb101c934093d30937)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | meta/recipes-support/curl/curl_8.7.1.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-support/curl/curl_8.7.1.bb b/meta/recipes-support/curl/curl_8.7.1.bb index 136782ffec..6d2886f70c 100644 --- a/meta/recipes-support/curl/curl_8.7.1.bb +++ b/meta/recipes-support/curl/curl_8.7.1.bb | |||
@@ -28,8 +28,8 @@ inherit autotools pkgconfig binconfig multilib_header ptest | |||
28 | RANDOM ?= "/dev/urandom" | 28 | RANDOM ?= "/dev/urandom" |
29 | 29 | ||
30 | 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" | 30 | 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" |
31 | PACKAGECONFIG:class-native = "ipv6 openssl proxy random threaded-resolver verbose zlib" | 31 | PACKAGECONFIG:class-native = "ipv6 openssl proxy random threaded-resolver verbose zlib aws basic-auth bearer-auth digest-auth negotiate-auth" |
32 | PACKAGECONFIG:class-nativesdk = "ipv6 openssl proxy random threaded-resolver verbose zlib" | 32 | PACKAGECONFIG:class-nativesdk = "ipv6 openssl proxy random threaded-resolver verbose zlib aws basic-auth bearer-auth digest-auth negotiate-auth" |
33 | 33 | ||
34 | # 'ares' and 'threaded-resolver' are mutually exclusive | 34 | # 'ares' and 'threaded-resolver' are mutually exclusive |
35 | PACKAGECONFIG[ares] = "--enable-ares,--disable-ares,c-ares,,,threaded-resolver" | 35 | PACKAGECONFIG[ares] = "--enable-ares,--disable-ares,c-ares,,,threaded-resolver" |