diff options
author | Wang Mingyu <wangmy@cn.fujitsu.com> | 2021-01-07 17:04:21 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-10 12:34:40 +0000 |
commit | ced238d8428da973473e805fd3d665dc626d9382 (patch) | |
tree | 166f12001dc499ea045a14baeb5ded2c9e4804c7 /meta/recipes-support/nettle/nettle_3.7.bb | |
parent | a018d62503b94f18b9a889b134ad46e6fecd116e (diff) | |
download | poky-ced238d8428da973473e805fd3d665dc626d9382.tar.gz |
nettle: upgrade 3.6 ->3.7
(From OE-Core rev: 83e2617fd693d3c8eb96622980cb229e64b01711)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/nettle/nettle_3.7.bb')
-rw-r--r-- | meta/recipes-support/nettle/nettle_3.7.bb | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/meta/recipes-support/nettle/nettle_3.7.bb b/meta/recipes-support/nettle/nettle_3.7.bb new file mode 100644 index 0000000000..2c219c2a12 --- /dev/null +++ b/meta/recipes-support/nettle/nettle_3.7.bb | |||
@@ -0,0 +1,56 @@ | |||
1 | SUMMARY = "A low level cryptographic library" | ||
2 | HOMEPAGE = "http://www.lysator.liu.se/~nisse/nettle/" | ||
3 | DESCRIPTION = "It tries to solve a problem of providing a common set of \ | ||
4 | cryptographic algorithms for higher-level applications by implementing a \ | ||
5 | context-independent set of cryptographic algorithms" | ||
6 | SECTION = "libs" | ||
7 | LICENSE = "LGPLv3+ | GPLv2+" | ||
8 | |||
9 | LIC_FILES_CHKSUM = "file://COPYING.LESSERv3;md5=6a6a8e020838b23406c81b19c1d46df6 \ | ||
10 | file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
11 | file://serpent-decrypt.c;beginline=14;endline=36;md5=ca0d220bc413e1842ecc507690ce416e \ | ||
12 | file://serpent-set-key.c;beginline=14;endline=36;md5=ca0d220bc413e1842ecc507690ce416e" | ||
13 | |||
14 | DEPENDS += "gmp" | ||
15 | |||
16 | SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \ | ||
17 | file://Add-target-to-only-build-tests-not-run-them.patch \ | ||
18 | file://run-ptest \ | ||
19 | file://check-header-files-of-openssl-only-if-enable_.patch \ | ||
20 | " | ||
21 | |||
22 | SRC_URI_append_class-target = "\ | ||
23 | file://dlopen-test.patch \ | ||
24 | " | ||
25 | |||
26 | SRC_URI[sha256sum] = "f001f64eb444bf13dd91bceccbc20acbc60c4311d6e2b20878452eb9a9cec75a" | ||
27 | |||
28 | UPSTREAM_CHECK_REGEX = "nettle-(?P<pver>\d+(\.\d+)+)\.tar" | ||
29 | |||
30 | inherit autotools ptest multilib_header | ||
31 | |||
32 | EXTRA_AUTORECONF += "--exclude=aclocal" | ||
33 | |||
34 | EXTRA_OECONF = "--disable-openssl" | ||
35 | |||
36 | do_compile_ptest() { | ||
37 | oe_runmake buildtest | ||
38 | } | ||
39 | |||
40 | do_install_append() { | ||
41 | oe_multilib_header nettle/version.h | ||
42 | } | ||
43 | |||
44 | do_install_ptest() { | ||
45 | install -d ${D}${PTEST_PATH}/testsuite/ | ||
46 | install ${S}/testsuite/gold-bug.txt ${D}${PTEST_PATH}/testsuite/ | ||
47 | install ${S}/testsuite/*-test ${D}${PTEST_PATH}/testsuite/ | ||
48 | # tools can be found in PATH, not in ../tools/ | ||
49 | sed -i -e 's|../tools/||' ${D}${PTEST_PATH}/testsuite/*-test | ||
50 | install ${B}/testsuite/*-test ${D}${PTEST_PATH}/testsuite/ | ||
51 | } | ||
52 | |||
53 | RDEPENDS_${PN}-ptest += "${PN}-dev" | ||
54 | INSANE_SKIP_${PN}-ptest += "dev-deps" | ||
55 | |||
56 | BBCLASSEXTEND = "native nativesdk" | ||