diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-11-02 17:48:03 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-11-03 08:21:11 +0000 |
commit | 3c2594f43522c267fc9f945cffe31806409f452f (patch) | |
tree | 0113a256a283849c80dd50487db1adf8b974198c /meta/recipes-support/curl/curl_7.73.0.bb | |
parent | 8e5064561f41e107ac90a3254a415b0b52c61c0f (diff) | |
download | poky-3c2594f43522c267fc9f945cffe31806409f452f.tar.gz |
curl: upgrade 7.72.0 -> 7.73.0
(From OE-Core rev: f9aa9f075674e3908d950c3107be3e6230786f0b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/curl/curl_7.73.0.bb')
-rw-r--r-- | meta/recipes-support/curl/curl_7.73.0.bb | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/meta/recipes-support/curl/curl_7.73.0.bb b/meta/recipes-support/curl/curl_7.73.0.bb new file mode 100644 index 0000000000..0f26b0f1af --- /dev/null +++ b/meta/recipes-support/curl/curl_7.73.0.bb | |||
@@ -0,0 +1,85 @@ | |||
1 | SUMMARY = "Command line tool and library for client-side URL transfers" | ||
2 | HOMEPAGE = "http://curl.haxx.se/" | ||
3 | BUGTRACKER = "http://curl.haxx.se/mail/list.cgi?list=curl-tracker" | ||
4 | SECTION = "console/network" | ||
5 | LICENSE = "MIT" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=2e9fb35867314fe31c6a4977ef7dd531" | ||
7 | |||
8 | SRC_URI = "https://curl.haxx.se/download/curl-${PV}.tar.bz2 \ | ||
9 | file://0001-replace-krb5-config-with-pkg-config.patch \ | ||
10 | " | ||
11 | |||
12 | SRC_URI[sha256sum] = "cf34fe0b07b800f1c01a499a6e8b2af548f6d0e044dca4a29d88a4bee146d131" | ||
13 | |||
14 | # Curl has used many names over the years... | ||
15 | CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl daniel_stenberg:curl" | ||
16 | |||
17 | inherit autotools pkgconfig binconfig multilib_header | ||
18 | |||
19 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} gnutls libidn proxy threaded-resolver verbose zlib" | ||
20 | PACKAGECONFIG_class-native = "ipv6 proxy ssl threaded-resolver verbose zlib" | ||
21 | PACKAGECONFIG_class-nativesdk = "ipv6 proxy ssl threaded-resolver verbose zlib" | ||
22 | |||
23 | # 'ares' and 'threaded-resolver' are mutually exclusive | ||
24 | PACKAGECONFIG[ares] = "--enable-ares,--disable-ares,c-ares,,,threaded-resolver" | ||
25 | PACKAGECONFIG[brotli] = "--with-brotli,--without-brotli,brotli" | ||
26 | PACKAGECONFIG[builtinmanual] = "--enable-manual,--disable-manual" | ||
27 | PACKAGECONFIG[dict] = "--enable-dict,--disable-dict," | ||
28 | PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls" | ||
29 | PACKAGECONFIG[gopher] = "--enable-gopher,--disable-gopher," | ||
30 | PACKAGECONFIG[imap] = "--enable-imap,--disable-imap," | ||
31 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
32 | PACKAGECONFIG[krb5] = "--with-gssapi,--without-gssapi,krb5" | ||
33 | PACKAGECONFIG[ldap] = "--enable-ldap,--disable-ldap," | ||
34 | PACKAGECONFIG[ldaps] = "--enable-ldaps,--disable-ldaps," | ||
35 | PACKAGECONFIG[libidn] = "--with-libidn2,--without-libidn2,libidn2" | ||
36 | PACKAGECONFIG[libssh2] = "--with-libssh2,--without-libssh2,libssh2" | ||
37 | PACKAGECONFIG[mbedtls] = "--with-mbedtls=${STAGING_DIR_TARGET},--without-mbedtls,mbedtls" | ||
38 | PACKAGECONFIG[mqtt] = "--enable-mqtt,--disable-mqtt," | ||
39 | PACKAGECONFIG[nghttp2] = "--with-nghttp2,--without-nghttp2,nghttp2" | ||
40 | PACKAGECONFIG[pop3] = "--enable-pop3,--disable-pop3," | ||
41 | PACKAGECONFIG[proxy] = "--enable-proxy,--disable-proxy," | ||
42 | PACKAGECONFIG[rtmpdump] = "--with-librtmp,--without-librtmp,rtmpdump" | ||
43 | PACKAGECONFIG[rtsp] = "--enable-rtsp,--disable-rtsp," | ||
44 | PACKAGECONFIG[smb] = "--enable-smb,--disable-smb," | ||
45 | PACKAGECONFIG[smtp] = "--enable-smtp,--disable-smtp," | ||
46 | PACKAGECONFIG[ssl] = "--with-ssl --with-random=/dev/urandom,--without-ssl,openssl" | ||
47 | PACKAGECONFIG[nss] = "--with-nss,--without-nss,nss" | ||
48 | PACKAGECONFIG[telnet] = "--enable-telnet,--disable-telnet," | ||
49 | PACKAGECONFIG[tftp] = "--enable-tftp,--disable-tftp," | ||
50 | PACKAGECONFIG[threaded-resolver] = "--enable-threaded-resolver,--disable-threaded-resolver,,,,ares" | ||
51 | PACKAGECONFIG[verbose] = "--enable-verbose,--disable-verbose" | ||
52 | PACKAGECONFIG[zlib] = "--with-zlib=${STAGING_LIBDIR}/../,--without-zlib,zlib" | ||
53 | |||
54 | EXTRA_OECONF = " \ | ||
55 | --disable-libcurl-option \ | ||
56 | --disable-ntlm-wb \ | ||
57 | --enable-crypto-auth \ | ||
58 | --with-ca-bundle=${sysconfdir}/ssl/certs/ca-certificates.crt \ | ||
59 | --without-libmetalink \ | ||
60 | --without-libpsl \ | ||
61 | --enable-debug \ | ||
62 | --enable-optimize \ | ||
63 | --disable-curldebug \ | ||
64 | " | ||
65 | |||
66 | do_install_append_class-target() { | ||
67 | # cleanup buildpaths from curl-config | ||
68 | sed -i \ | ||
69 | -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \ | ||
70 | -e 's,--with-libtool-sysroot=${STAGING_DIR_TARGET},,g' \ | ||
71 | -e 's|${DEBUG_PREFIX_MAP}||g' \ | ||
72 | ${D}${bindir}/curl-config | ||
73 | } | ||
74 | |||
75 | PACKAGES =+ "lib${BPN}" | ||
76 | |||
77 | FILES_lib${BPN} = "${libdir}/lib*.so.*" | ||
78 | RRECOMMENDS_lib${BPN} += "ca-certificates" | ||
79 | |||
80 | FILES_${PN} += "${datadir}/zsh" | ||
81 | |||
82 | inherit multilib_script | ||
83 | MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/curl-config" | ||
84 | |||
85 | BBCLASSEXTEND = "native nativesdk" | ||