diff options
author | Wang Mingyu <wangmy@cn.fujitsu.com> | 2020-05-02 00:56:28 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-05-07 17:32:09 +0100 |
commit | 23f4a357ca0568c196e99bfe7fc79a7b673d9f42 (patch) | |
tree | bce2a6ed9a0c95b8981da8cb83ca6d35eba2d344 /meta/recipes-support/gnutls/gnutls_3.6.13.bb | |
parent | bfba596431499a92995908f00c3119e35737c6ee (diff) | |
download | poky-23f4a357ca0568c196e99bfe7fc79a7b673d9f42.tar.gz |
gnutls: upgrade 3.6.12 -> 3.6.13
(From OE-Core rev: 5cc0f0dcf1f41bc148b034b3f7abef756a328cd3)
(From OE-Core rev: 7e51108dc8d3fbb63b7da9728a3790c587ee36f8)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[ includes the fix for CVE-2020-11501 ]
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gnutls/gnutls_3.6.13.bb')
-rw-r--r-- | meta/recipes-support/gnutls/gnutls_3.6.13.bb | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/meta/recipes-support/gnutls/gnutls_3.6.13.bb b/meta/recipes-support/gnutls/gnutls_3.6.13.bb new file mode 100644 index 0000000000..f56d42a613 --- /dev/null +++ b/meta/recipes-support/gnutls/gnutls_3.6.13.bb | |||
@@ -0,0 +1,67 @@ | |||
1 | SUMMARY = "GNU Transport Layer Security Library" | ||
2 | HOMEPAGE = "http://www.gnu.org/software/gnutls/" | ||
3 | BUGTRACKER = "https://savannah.gnu.org/support/?group=gnutls" | ||
4 | |||
5 | LICENSE = "GPLv3+ & LGPLv2.1+" | ||
6 | LICENSE_${PN} = "LGPLv2.1+" | ||
7 | LICENSE_${PN}-xx = "LGPLv2.1+" | ||
8 | LICENSE_${PN}-bin = "GPLv3+" | ||
9 | LICENSE_${PN}-openssl = "GPLv3+" | ||
10 | |||
11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=71391c8e0c1cfe68077e7fce3b586283 \ | ||
12 | file://doc/COPYING;md5=c678957b0c8e964aa6c70fd77641a71e \ | ||
13 | file://doc/COPYING.LESSER;md5=a6f89e2100d9b6cdffcea4f398e37343" | ||
14 | |||
15 | DEPENDS = "nettle gmp virtual/libiconv libunistring" | ||
16 | DEPENDS_append_libc-musl = " argp-standalone" | ||
17 | |||
18 | SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}" | ||
19 | |||
20 | SRC_URI = "https://www.gnupg.org/ftp/gcrypt/gnutls/v${SHRT_VER}/gnutls-${PV}.tar.xz \ | ||
21 | file://arm_eabi.patch \ | ||
22 | " | ||
23 | |||
24 | SRC_URI[md5sum] = "bb1fe696a11543433785b4fc70ca225f" | ||
25 | SRC_URI[sha256sum] = "32041df447d9f4644570cf573c9f60358e865637d69b7e59d1159b7240b52f38" | ||
26 | |||
27 | inherit autotools texinfo pkgconfig gettext lib_package gtk-doc | ||
28 | |||
29 | PACKAGECONFIG ??= "libidn" | ||
30 | |||
31 | # You must also have CONFIG_SECCOMP enabled in the kernel for | ||
32 | # seccomp to work. | ||
33 | PACKAGECONFIG[seccomp] = "ac_cv_libseccomp=yes,ac_cv_libseccomp=no,libseccomp" | ||
34 | PACKAGECONFIG[libidn] = "--with-idn,--without-idn,libidn2" | ||
35 | PACKAGECONFIG[libtasn1] = "--with-included-libtasn1=no,--with-included-libtasn1,libtasn1" | ||
36 | PACKAGECONFIG[p11-kit] = "--with-p11-kit,--without-p11-kit,p11-kit" | ||
37 | PACKAGECONFIG[tpm] = "--with-tpm,--without-tpm,trousers" | ||
38 | |||
39 | EXTRA_OECONF = " \ | ||
40 | --enable-doc \ | ||
41 | --disable-libdane \ | ||
42 | --disable-guile \ | ||
43 | --disable-rpath \ | ||
44 | --enable-local-libopts \ | ||
45 | --enable-openssl-compatibility \ | ||
46 | --with-libpthread-prefix=${STAGING_DIR_HOST}${prefix} \ | ||
47 | --with-default-trust-store-file=${sysconfdir}/ssl/certs/ca-certificates.crt \ | ||
48 | " | ||
49 | |||
50 | # Otherwise the tools try and use HOSTTOOLS_DIR/bash as a shell. | ||
51 | export POSIX_SHELL="${base_bindir}/sh" | ||
52 | |||
53 | LDFLAGS_append_libc-musl = " -largp" | ||
54 | |||
55 | do_configure_prepend() { | ||
56 | for dir in . lib; do | ||
57 | rm -f ${dir}/aclocal.m4 ${dir}/m4/libtool.m4 ${dir}/m4/lt*.m4 | ||
58 | done | ||
59 | } | ||
60 | |||
61 | PACKAGES =+ "${PN}-openssl ${PN}-xx" | ||
62 | |||
63 | FILES_${PN}-dev += "${bindir}/gnutls-cli-debug" | ||
64 | FILES_${PN}-openssl = "${libdir}/libgnutls-openssl.so.*" | ||
65 | FILES_${PN}-xx = "${libdir}/libgnutlsxx.so.*" | ||
66 | |||
67 | BBCLASSEXTEND = "native nativesdk" | ||