diff options
Diffstat (limited to 'meta/recipes-support/curl')
-rw-r--r-- | meta/recipes-support/curl/curl/721941aadf4adf4f6aeb3f4c0ab489bb89610c36.patch | 64 | ||||
-rw-r--r-- | meta/recipes-support/curl/curl/disable-tests | 41 | ||||
-rw-r--r-- | meta/recipes-support/curl/curl/environment.d-curl.sh | 19 | ||||
-rw-r--r-- | meta/recipes-support/curl/curl/no-test-timeout.patch | 2 | ||||
-rw-r--r-- | meta/recipes-support/curl/curl/run-ptest | 8 | ||||
-rw-r--r-- | meta/recipes-support/curl/curl_8.14.1.bb (renamed from meta/recipes-support/curl/curl_8.7.1.bb) | 71 |
6 files changed, 73 insertions, 132 deletions
diff --git a/meta/recipes-support/curl/curl/721941aadf4adf4f6aeb3f4c0ab489bb89610c36.patch b/meta/recipes-support/curl/curl/721941aadf4adf4f6aeb3f4c0ab489bb89610c36.patch deleted file mode 100644 index 98f7db93e8..0000000000 --- a/meta/recipes-support/curl/curl/721941aadf4adf4f6aeb3f4c0ab489bb89610c36.patch +++ /dev/null | |||
@@ -1,64 +0,0 @@ | |||
1 | From 721941aadf4adf4f6aeb3f4c0ab489bb89610c36 Mon Sep 17 00:00:00 2001 | ||
2 | From: Stefan Eissing <stefan@eissing.org> | ||
3 | Date: Mon, 1 Apr 2024 15:41:18 +0200 | ||
4 | Subject: [PATCH] http: with chunked POST forced, disable length check on read | ||
5 | callback | ||
6 | |||
7 | - when an application forces HTTP/1.1 chunked transfer encoding | ||
8 | by setting the corresponding header and instructs curl to use | ||
9 | the CURLOPT_READFUNCTION, disregard any POST length information. | ||
10 | - this establishes backward compatibility with previous curl versions | ||
11 | |||
12 | Applications are encouraged to not force "chunked", but rather | ||
13 | set length information for a POST. By setting -1, curl will | ||
14 | auto-select chunked on HTTP/1.1 and work properly on other HTTP | ||
15 | versions. | ||
16 | |||
17 | Reported-by: Jeff King | ||
18 | Fixes #13229 | ||
19 | Closes #13257 | ||
20 | Upstream-Status: Backport | ||
21 | --- | ||
22 | lib/http.c | 22 ++++++++++++++++++++-- | ||
23 | 1 file changed, 20 insertions(+), 2 deletions(-) | ||
24 | |||
25 | diff --git a/lib/http.c b/lib/http.c | ||
26 | index 92c04e69cd8373..a764d3c4403c39 100644 | ||
27 | --- a/lib/http.c | ||
28 | +++ b/lib/http.c | ||
29 | @@ -2046,8 +2046,19 @@ static CURLcode set_reader(struct Curl_easy *data, Curl_HttpReq httpreq) | ||
30 | else | ||
31 | result = Curl_creader_set_null(data); | ||
32 | } | ||
33 | - else { /* we read the bytes from the callback */ | ||
34 | - result = Curl_creader_set_fread(data, postsize); | ||
35 | + else { | ||
36 | + /* we read the bytes from the callback. In case "chunked" encoding | ||
37 | + * is forced by the application, we disregard `postsize`. This is | ||
38 | + * a backward compatibility decision to earlier versions where | ||
39 | + * chunking disregarded this. See issue #13229. */ | ||
40 | + bool chunked = FALSE; | ||
41 | + char *ptr = Curl_checkheaders(data, STRCONST("Transfer-Encoding")); | ||
42 | + if(ptr) { | ||
43 | + /* Some kind of TE is requested, check if 'chunked' is chosen */ | ||
44 | + chunked = Curl_compareheader(ptr, STRCONST("Transfer-Encoding:"), | ||
45 | + STRCONST("chunked")); | ||
46 | + } | ||
47 | + result = Curl_creader_set_fread(data, chunked? -1 : postsize); | ||
48 | } | ||
49 | return result; | ||
50 | |||
51 | @@ -2115,6 +2126,13 @@ CURLcode Curl_http_req_set_reader(struct Curl_easy *data, | ||
52 | data->req.upload_chunky = | ||
53 | Curl_compareheader(ptr, | ||
54 | STRCONST("Transfer-Encoding:"), STRCONST("chunked")); | ||
55 | + if(data->req.upload_chunky && | ||
56 | + Curl_use_http_1_1plus(data, data->conn) && | ||
57 | + (data->conn->httpversion >= 20)) { | ||
58 | + infof(data, "suppressing chunked transfer encoding on connection " | ||
59 | + "using HTTP version 2 or higher"); | ||
60 | + data->req.upload_chunky = FALSE; | ||
61 | + } | ||
62 | } | ||
63 | else { | ||
64 | curl_off_t req_clen = Curl_creader_total_length(data); | ||
diff --git a/meta/recipes-support/curl/curl/disable-tests b/meta/recipes-support/curl/curl/disable-tests index 259576fd01..e69de29bb2 100644 --- a/meta/recipes-support/curl/curl/disable-tests +++ b/meta/recipes-support/curl/curl/disable-tests | |||
@@ -1,41 +0,0 @@ | |||
1 | # Intermittently fails e.g. https://autobuilder.yocto.io/pub/non-release/20231220-28/testresults/qemux86-64-ptest/curl.log | ||
2 | # https://autobuilder.yocto.io/pub/non-release/20231220-27/testresults/qemux86-64-ptest/curl.log | ||
3 | 337 | ||
4 | # These CRL test (alt-avc) are failing | ||
5 | 356 | ||
6 | 412 | ||
7 | 413 | ||
8 | # These CRL tests are scanning docs | ||
9 | 971 | ||
10 | # Intermittently hangs e.g http://autobuilder.yocto.io/pub/non-release/20231228-18/testresults/qemux86-64-ptest/curl.log | ||
11 | 1091 | ||
12 | # Intermittently hangs e.g https://autobuilder.yocto.io/pub/non-release/20231220-27/testresults/qemux86-64-ptest/curl.log | ||
13 | 1096 | ||
14 | # These CRL tests are scanning docs | ||
15 | 1119 | ||
16 | 1132 | ||
17 | 1135 | ||
18 | 1478 | ||
19 | # These CRL tests are scanning headers | ||
20 | 1167 | ||
21 | 1477 | ||
22 | # These CRL tests are scanning man pages | ||
23 | 1139 | ||
24 | 1140 | ||
25 | 1173 | ||
26 | 1177 | ||
27 | # This CRL test is looking for m4 files | ||
28 | 1165 | ||
29 | # This CRL test is looking for src files | ||
30 | 1185 | ||
31 | # This test is scanning the source tree | ||
32 | 1222 | ||
33 | # These CRL tests need --libcurl option to be enabled | ||
34 | 1279 | ||
35 | 1400 | ||
36 | 1401 | ||
37 | 1402 | ||
38 | 1403 | ||
39 | 1404 | ||
40 | 1405 | ||
41 | 1465 | ||
diff --git a/meta/recipes-support/curl/curl/environment.d-curl.sh b/meta/recipes-support/curl/curl/environment.d-curl.sh new file mode 100644 index 0000000000..7c2971b3da --- /dev/null +++ b/meta/recipes-support/curl/curl/environment.d-curl.sh | |||
@@ -0,0 +1,19 @@ | |||
1 | # Respect host env CURL_CA_BUNDLE/CURL_CA_PATH first, then auto-detected host cert, then cert in buildtools | ||
2 | # CAFILE/CAPATH is auto-deteced when source buildtools | ||
3 | if [ -z "$CURL_CA_PATH" ]; then | ||
4 | if [ -n "$CAFILE" ];then | ||
5 | export CURL_CA_BUNDLE="$CAFILE" | ||
6 | elif [ -e "${OECORE_NATIVE_SYSROOT}/etc/ssl/certs/ca-certificates.crt" ];then | ||
7 | export CURL_CA_BUNDLE="${OECORE_NATIVE_SYSROOT}/etc/ssl/certs/ca-certificates.crt" | ||
8 | fi | ||
9 | fi | ||
10 | |||
11 | if [ -z "$CURL_CA_PATH" ]; then | ||
12 | if [ -n "$CAPATH" ];then | ||
13 | export CURL_CA_PATH="$CAPATH" | ||
14 | elif [ -e "${OECORE_NATIVE_SYSROOT}/etc/ssl/certs/ca-certificates.crt" ];then | ||
15 | export CURL_CA_PATH="${OECORE_NATIVE_SYSROOT}/etc/ssl/certs" | ||
16 | fi | ||
17 | fi | ||
18 | |||
19 | export BB_ENV_PASSTHROUGH_ADDITIONS="${BB_ENV_PASSTHROUGH_ADDITIONS:-} CURL_CA_BUNDLE CURL_CA_PATH" | ||
diff --git a/meta/recipes-support/curl/curl/no-test-timeout.patch b/meta/recipes-support/curl/curl/no-test-timeout.patch index 7122b6f043..5b901a6fe9 100644 --- a/meta/recipes-support/curl/curl/no-test-timeout.patch +++ b/meta/recipes-support/curl/curl/no-test-timeout.patch | |||
@@ -14,7 +14,7 @@ diff --git a/tests/servers.pm b/tests/servers.pm | |||
14 | index d4472d5..9999938 100644 | 14 | index d4472d5..9999938 100644 |
15 | --- a/tests/servers.pm | 15 | --- a/tests/servers.pm |
16 | +++ b/tests/servers.pm | 16 | +++ b/tests/servers.pm |
17 | @@ -120,7 +120,7 @@ my $sshdverstr; # for socks server, ssh daemon version string | 17 | @@ -124,7 +124,7 @@ my $sshdverstr; # for socks server, ssh daemon version string |
18 | my $sshderror; # for socks server, ssh daemon version error | 18 | my $sshderror; # for socks server, ssh daemon version error |
19 | my %doesntrun; # servers that don't work, identified by pidfile | 19 | my %doesntrun; # servers that don't work, identified by pidfile |
20 | my %PORT = (nolisten => 47); # port we use for a local non-listening service | 20 | my %PORT = (nolisten => 47); # port we use for a local non-listening service |
diff --git a/meta/recipes-support/curl/curl/run-ptest b/meta/recipes-support/curl/curl/run-ptest index 579b3f4587..597cf92dbb 100644 --- a/meta/recipes-support/curl/curl/run-ptest +++ b/meta/recipes-support/curl/curl/run-ptest | |||
@@ -10,4 +10,10 @@ cd tests | |||
10 | 10 | ||
11 | # Don't run the flaky or timing dependent tests | 11 | # Don't run the flaky or timing dependent tests |
12 | # Until https://github.com/curl/curl/issues/13350 is resolved, don't run FTP tests | 12 | # Until https://github.com/curl/curl/issues/13350 is resolved, don't run FTP tests |
13 | ./runtests.pl -a -n -am -j4 -p !flaky !timing-dependent !FTP | 13 | # We don't enable --libcurl |
14 | # Don't assume curl-config exists | ||
15 | # We don't have the source tree | ||
16 | ./runtests.pl \ | ||
17 | -a -c curl -vc curl -n -am -j4 -p \ | ||
18 | !flaky !timing-dependent !FTP \ | ||
19 | !--libcurl !curl-config !source\ analysis !checksrc !documentation | ||
diff --git a/meta/recipes-support/curl/curl_8.7.1.bb b/meta/recipes-support/curl/curl_8.14.1.bb index 23b7c50a86..08ad9cdb17 100644 --- a/meta/recipes-support/curl/curl_8.7.1.bb +++ b/meta/recipes-support/curl/curl_8.14.1.bb | |||
@@ -7,28 +7,31 @@ HOMEPAGE = "https://curl.se/" | |||
7 | BUGTRACKER = "https://github.com/curl/curl/issues" | 7 | BUGTRACKER = "https://github.com/curl/curl/issues" |
8 | SECTION = "console/network" | 8 | SECTION = "console/network" |
9 | LICENSE = "curl" | 9 | LICENSE = "curl" |
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=eed2e5088e1ac619c9a1c747da291d75" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=72f4e9890e99e68d77b7e40703d789b8" |
11 | 11 | ||
12 | SRC_URI = " \ | 12 | SRC_URI = " \ |
13 | https://curl.se/download/${BP}.tar.xz \ | 13 | https://curl.se/download/${BP}.tar.xz \ |
14 | file://721941aadf4adf4f6aeb3f4c0ab489bb89610c36.patch \ | ||
15 | file://run-ptest \ | 14 | file://run-ptest \ |
16 | file://disable-tests \ | 15 | file://disable-tests \ |
17 | file://no-test-timeout.patch \ | 16 | file://no-test-timeout.patch \ |
18 | " | 17 | " |
19 | SRC_URI[sha256sum] = "6fea2aac6a4610fbd0400afb0bcddbe7258a64c63f1f68e5855ebc0c659710cd" | 18 | |
19 | SRC_URI:append:class-nativesdk = " \ | ||
20 | file://environment.d-curl.sh \ | ||
21 | " | ||
22 | |||
23 | SRC_URI[sha256sum] = "f4619a1e2474c4bbfedc88a7c2191209c8334b48fa1f4e53fd584cc12e9120dd" | ||
20 | 24 | ||
21 | # Curl has used many names over the years... | 25 | # Curl has used many names over the years... |
22 | CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl daniel_stenberg:curl" | 26 | CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl daniel_stenberg:curl" |
27 | CVE_STATUS[CVE-2024-32928] = "ignored: CURLOPT_SSL_VERIFYPEER was disabled on google cloud services causing a potential man in the middle attack" | ||
23 | 28 | ||
24 | inherit autotools pkgconfig binconfig multilib_header ptest | 29 | inherit autotools pkgconfig binconfig multilib_header ptest |
25 | 30 | ||
26 | # Entropy source for random PACKAGECONFIG option | 31 | COMMON_PACKAGECONFIG = "basic-auth bearer-auth digest-auth ipfs negotiate-auth openssl proxy threaded-resolver verbose zlib" |
27 | RANDOM ?= "/dev/urandom" | 32 | PACKAGECONFIG ??= "${COMMON_PACKAGECONFIG} ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} aws libidn" |
28 | 33 | PACKAGECONFIG:class-native = "${COMMON_PACKAGECONFIG} ipv6" | |
29 | 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" | 34 | PACKAGECONFIG:class-nativesdk = "${COMMON_PACKAGECONFIG} ipv6" |
30 | PACKAGECONFIG:class-native = "ipv6 openssl proxy random threaded-resolver verbose zlib" | ||
31 | PACKAGECONFIG:class-nativesdk = "ipv6 openssl proxy random threaded-resolver verbose zlib" | ||
32 | 35 | ||
33 | # 'ares' and 'threaded-resolver' are mutually exclusive | 36 | # 'ares' and 'threaded-resolver' are mutually exclusive |
34 | PACKAGECONFIG[ares] = "--enable-ares,--disable-ares,c-ares,,,threaded-resolver" | 37 | PACKAGECONFIG[ares] = "--enable-ares,--disable-ares,c-ares,,,threaded-resolver" |
@@ -45,6 +48,7 @@ PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls" | |||
45 | PACKAGECONFIG[gopher] = "--enable-gopher,--disable-gopher," | 48 | PACKAGECONFIG[gopher] = "--enable-gopher,--disable-gopher," |
46 | PACKAGECONFIG[imap] = "--enable-imap,--disable-imap," | 49 | PACKAGECONFIG[imap] = "--enable-imap,--disable-imap," |
47 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | 50 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," |
51 | PACKAGECONFIG[ipfs] = "--enable-ipfs,--disable-ipfs," | ||
48 | PACKAGECONFIG[kerberos-auth] = "--enable-kerberos-auth,--disable-kerberos-auth" | 52 | PACKAGECONFIG[kerberos-auth] = "--enable-kerberos-auth,--disable-kerberos-auth" |
49 | PACKAGECONFIG[krb5] = "--with-gssapi,--without-gssapi,krb5" | 53 | PACKAGECONFIG[krb5] = "--with-gssapi,--without-gssapi,krb5" |
50 | PACKAGECONFIG[ldap] = "--enable-ldap,--disable-ldap,openldap" | 54 | PACKAGECONFIG[ldap] = "--enable-ldap,--disable-ldap,openldap" |
@@ -59,7 +63,6 @@ PACKAGECONFIG[nghttp2] = "--with-nghttp2,--without-nghttp2,nghttp2" | |||
59 | PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl" | 63 | PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl" |
60 | PACKAGECONFIG[pop3] = "--enable-pop3,--disable-pop3," | 64 | PACKAGECONFIG[pop3] = "--enable-pop3,--disable-pop3," |
61 | PACKAGECONFIG[proxy] = "--enable-proxy,--disable-proxy," | 65 | PACKAGECONFIG[proxy] = "--enable-proxy,--disable-proxy," |
62 | PACKAGECONFIG[random] = "--with-random=${RANDOM},--without-random" | ||
63 | PACKAGECONFIG[rtmpdump] = "--with-librtmp,--without-librtmp,rtmpdump" | 66 | PACKAGECONFIG[rtmpdump] = "--with-librtmp,--without-librtmp,rtmpdump" |
64 | PACKAGECONFIG[rtsp] = "--enable-rtsp,--disable-rtsp," | 67 | PACKAGECONFIG[rtsp] = "--enable-rtsp,--disable-rtsp," |
65 | PACKAGECONFIG[smb] = "--enable-smb,--disable-smb," | 68 | PACKAGECONFIG[smb] = "--enable-smb,--disable-smb," |
@@ -68,16 +71,19 @@ PACKAGECONFIG[telnet] = "--enable-telnet,--disable-telnet," | |||
68 | PACKAGECONFIG[tftp] = "--enable-tftp,--disable-tftp," | 71 | PACKAGECONFIG[tftp] = "--enable-tftp,--disable-tftp," |
69 | PACKAGECONFIG[threaded-resolver] = "--enable-threaded-resolver,--disable-threaded-resolver,,,,ares" | 72 | PACKAGECONFIG[threaded-resolver] = "--enable-threaded-resolver,--disable-threaded-resolver,,,,ares" |
70 | PACKAGECONFIG[verbose] = "--enable-verbose,--disable-verbose" | 73 | PACKAGECONFIG[verbose] = "--enable-verbose,--disable-verbose" |
74 | PACKAGECONFIG[websockets] = "--enable-websockets,--disable-websockets" | ||
71 | PACKAGECONFIG[zlib] = "--with-zlib=${STAGING_LIBDIR}/../,--without-zlib,zlib" | 75 | PACKAGECONFIG[zlib] = "--with-zlib=${STAGING_LIBDIR}/../,--without-zlib,zlib" |
72 | PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd" | 76 | PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd" |
73 | 77 | ||
74 | EXTRA_OECONF = " \ | 78 | EXTRA_OECONF = " \ |
75 | --disable-libcurl-option \ | 79 | --disable-libcurl-option \ |
76 | --disable-ntlm-wb \ | ||
77 | --with-ca-bundle=${sysconfdir}/ssl/certs/ca-certificates.crt \ | ||
78 | --without-libpsl \ | 80 | --without-libpsl \ |
79 | --enable-optimize \ | 81 | --enable-optimize \ |
80 | ${@'--without-ssl' if (bb.utils.filter('PACKAGECONFIG', 'gnutls mbedtls openssl', d) == '') else ''} \ | 82 | ${@'--without-ssl' if (bb.utils.filter('PACKAGECONFIG', 'gnutls mbedtls openssl', d) == '') else ''} \ |
83 | WATT_ROOT=${STAGING_DIR_TARGET}${prefix} \ | ||
84 | " | ||
85 | EXTRA_OECONF:append:class-target = " \ | ||
86 | --with-ca-bundle=${sysconfdir}/ssl/certs/ca-certificates.crt \ | ||
81 | " | 87 | " |
82 | 88 | ||
83 | fix_absolute_paths () { | 89 | fix_absolute_paths () { |
@@ -96,6 +102,9 @@ do_install:append:class-target() { | |||
96 | 102 | ||
97 | do_install:append:class-nativesdk() { | 103 | do_install:append:class-nativesdk() { |
98 | fix_absolute_paths | 104 | fix_absolute_paths |
105 | |||
106 | mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d | ||
107 | install -m 644 ${UNPACKDIR}/environment.d-curl.sh ${D}${SDKPATHNATIVE}/environment-setup.d/curl.sh | ||
99 | } | 108 | } |
100 | 109 | ||
101 | do_compile_ptest() { | 110 | do_compile_ptest() { |
@@ -103,32 +112,43 @@ do_compile_ptest() { | |||
103 | } | 112 | } |
104 | 113 | ||
105 | do_install_ptest() { | 114 | do_install_ptest() { |
106 | cat ${UNPACKDIR}/disable-tests >> ${S}/tests/data/DISABLED | 115 | install -d ${D}${PTEST_PATH}/tests |
107 | rm -f ${B}/tests/configurehelp.pm | 116 | cp ${S}/tests/*.p[lmy] ${D}${PTEST_PATH}/tests/ |
108 | cp -rf ${B}/tests ${D}${PTEST_PATH} | 117 | |
109 | rm -f ${D}${PTEST_PATH}/tests/libtest/.libs/libhostname.la | 118 | install -d ${D}${PTEST_PATH}/tests/libtest |
110 | rm -f ${D}${PTEST_PATH}/tests/libtest/libhostname.la | 119 | for name in $(makefile-getvar ${B}/tests/libtest/Makefile noinst_PROGRAMS noinst_LTLIBRARIES); do |
111 | mv ${D}${PTEST_PATH}/tests/libtest/.libs/* ${D}${PTEST_PATH}/tests/libtest/ | 120 | ${B}/libtool --mode=install install ${B}/tests/libtest/$name ${D}${PTEST_PATH}/tests/libtest |
112 | mv ${D}${PTEST_PATH}/tests/libtest/libhostname.so ${D}${PTEST_PATH}/tests/libtest/.libs/ | 121 | done |
113 | mv ${D}${PTEST_PATH}/tests/http/clients/.libs/* ${D}${PTEST_PATH}/tests/http/clients/ | 122 | rm -f ${D}${PTEST_PATH}/tests/libtest/libhostname.la |
114 | cp -rf ${S}/tests ${D}${PTEST_PATH} | 123 | |
115 | find ${D}${PTEST_PATH}/ -type f -name Makefile.am -o -name Makefile.in -o -name Makefile -delete | 124 | install -d ${D}${PTEST_PATH}/tests/server |
125 | for name in $(makefile-getvar ${B}/tests/server/Makefile noinst_PROGRAMS); do | ||
126 | ${B}/libtool --mode=install install ${B}/tests/server/$name ${D}${PTEST_PATH}/tests/server | ||
127 | done | ||
128 | |||
116 | install -d ${D}${PTEST_PATH}/src | 129 | install -d ${D}${PTEST_PATH}/src |
117 | ln -sf ${bindir}/curl ${D}${PTEST_PATH}/src/curl | 130 | install -m 755 ${B}/src/curlinfo ${D}${PTEST_PATH}/src |
118 | cp -rf ${D}${bindir}/curl-config ${D}${PTEST_PATH} | 131 | |
132 | cp -r ${S}/tests/data ${D}${PTEST_PATH}/tests/ | ||
133 | |||
134 | # More tests that we disable for automated QA as they're not reliable | ||
135 | cat ${UNPACKDIR}/disable-tests >>${D}${PTEST_PATH}/tests/data/DISABLED | ||
119 | } | 136 | } |
120 | 137 | ||
138 | DEPENDS:append:class-target = "${@bb.utils.contains('PTEST_ENABLED', '1', ' openssl-native', '', d)}" | ||
139 | |||
121 | RDEPENDS:${PN}-ptest += " \ | 140 | RDEPENDS:${PN}-ptest += " \ |
122 | bash \ | ||
123 | locale-base-en-us \ | 141 | locale-base-en-us \ |
124 | perl-module-b \ | 142 | perl-module-b \ |
125 | perl-module-base \ | 143 | perl-module-base \ |
126 | perl-module-cwd \ | 144 | perl-module-cwd \ |
127 | perl-module-digest \ | 145 | perl-module-digest \ |
128 | perl-module-digest-md5 \ | 146 | perl-module-digest-md5 \ |
147 | perl-module-digest-sha \ | ||
129 | perl-module-file-basename \ | 148 | perl-module-file-basename \ |
130 | perl-module-file-spec \ | 149 | perl-module-file-spec \ |
131 | perl-module-file-temp \ | 150 | perl-module-file-temp \ |
151 | perl-module-i18n-langinfo \ | ||
132 | perl-module-io-socket \ | 152 | perl-module-io-socket \ |
133 | perl-module-ipc-open2 \ | 153 | perl-module-ipc-open2 \ |
134 | perl-module-list-util \ | 154 | perl-module-list-util \ |
@@ -143,6 +163,7 @@ FILES:lib${BPN} = "${libdir}/lib*.so.*" | |||
143 | RRECOMMENDS:lib${BPN} += "ca-certificates" | 163 | RRECOMMENDS:lib${BPN} += "ca-certificates" |
144 | 164 | ||
145 | FILES:${PN} += "${datadir}/zsh" | 165 | FILES:${PN} += "${datadir}/zsh" |
166 | FILES:${PN}:append:class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/curl.sh" | ||
146 | 167 | ||
147 | inherit multilib_script | 168 | inherit multilib_script |
148 | MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/curl-config" | 169 | MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/curl-config" |