summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/nettle/nettle_3.7.3.bb
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-08-02 16:10:11 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-14 12:01:44 +0100
commitaf322602f57164b8ccbdee8b855c30080e6fd5c8 (patch)
tree4eb94847dd31e5b620e35863b30a87d950092642 /meta/recipes-support/nettle/nettle_3.7.3.bb
parent45e06a2e02cb01540d3970bd8ab5771014a031f9 (diff)
downloadpoky-af322602f57164b8ccbdee8b855c30080e6fd5c8.tar.gz
nettle: update 3.7.2 -> 3.7.3
fix CVE-2021-3580 (From OE-Core rev: 219c89310264f99c2c43bb80e437a8a1e8e3217a) (From OE-Core rev: 49868162a1a1d088fbaabeffcc2debcbfc17b026) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/nettle/nettle_3.7.3.bb')
-rw-r--r--meta/recipes-support/nettle/nettle_3.7.3.bb57
1 files changed, 57 insertions, 0 deletions
diff --git a/meta/recipes-support/nettle/nettle_3.7.3.bb b/meta/recipes-support/nettle/nettle_3.7.3.bb
new file mode 100644
index 0000000000..031500d741
--- /dev/null
+++ b/meta/recipes-support/nettle/nettle_3.7.3.bb
@@ -0,0 +1,57 @@
1SUMMARY = "A low level cryptographic library"
2DESCRIPTION = "Nettle is a cryptographic library that is designed to fit easily in more or less any context: In crypto toolkits for object-oriented languages (C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space."
3HOMEPAGE = "http://www.lysator.liu.se/~nisse/nettle/"
4DESCRIPTION = "It tries to solve a problem of providing a common set of \
5cryptographic algorithms for higher-level applications by implementing a \
6context-independent set of cryptographic algorithms"
7SECTION = "libs"
8LICENSE = "LGPLv3+ | GPLv2+"
9
10LIC_FILES_CHKSUM = "file://COPYING.LESSERv3;md5=6a6a8e020838b23406c81b19c1d46df6 \
11 file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
12 file://serpent-decrypt.c;beginline=14;endline=36;md5=ca0d220bc413e1842ecc507690ce416e \
13 file://serpent-set-key.c;beginline=14;endline=36;md5=ca0d220bc413e1842ecc507690ce416e"
14
15DEPENDS += "gmp"
16
17SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \
18 file://Add-target-to-only-build-tests-not-run-them.patch \
19 file://run-ptest \
20 file://check-header-files-of-openssl-only-if-enable_.patch \
21 "
22
23SRC_URI_append_class-target = "\
24 file://dlopen-test.patch \
25 "
26
27SRC_URI[sha256sum] = "661f5eb03f048a3b924c3a8ad2515d4068e40f67e774e8a26827658007e3bcf0"
28
29UPSTREAM_CHECK_REGEX = "nettle-(?P<pver>\d+(\.\d+)+)\.tar"
30
31inherit autotools ptest multilib_header
32
33EXTRA_AUTORECONF += "--exclude=aclocal"
34
35EXTRA_OECONF = "--disable-openssl"
36
37do_compile_ptest() {
38 oe_runmake buildtest
39}
40
41do_install_append() {
42 oe_multilib_header nettle/version.h
43}
44
45do_install_ptest() {
46 install -d ${D}${PTEST_PATH}/testsuite/
47 install ${S}/testsuite/gold-bug.txt ${D}${PTEST_PATH}/testsuite/
48 install ${S}/testsuite/*-test ${D}${PTEST_PATH}/testsuite/
49 # tools can be found in PATH, not in ../tools/
50 sed -i -e 's|../tools/||' ${D}${PTEST_PATH}/testsuite/*-test
51 install ${B}/testsuite/*-test ${D}${PTEST_PATH}/testsuite/
52}
53
54RDEPENDS_${PN}-ptest += "${PN}-dev"
55INSANE_SKIP_${PN}-ptest += "dev-deps"
56
57BBCLASSEXTEND = "native nativesdk"