summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libgcrypt/libgcrypt_1.9.2.bb
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-06-04 11:14:56 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-06-06 23:16:51 +0100
commitecad002f358ff59c86f863ff7d8df8d6064ad33e (patch)
tree719d7a9967ed3367d5a48358059b921f3cbeb066 /meta/recipes-support/libgcrypt/libgcrypt_1.9.2.bb
parent85d71e2621d8ede3160b64f770d5b04baeba0a9e (diff)
downloadpoky-ecad002f358ff59c86f863ff7d8df8d6064ad33e.tar.gz
libgcrypt: upgrade 1.9.2 -> 1.9.3
License-Update: added terms for cipher/cipher-gcm-ppc.c, still under GPL (From OE-Core rev: d28c1f67c447f99313890e68083da61adcc66f74) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libgcrypt/libgcrypt_1.9.2.bb')
-rw-r--r--meta/recipes-support/libgcrypt/libgcrypt_1.9.2.bb61
1 files changed, 0 insertions, 61 deletions
diff --git a/meta/recipes-support/libgcrypt/libgcrypt_1.9.2.bb b/meta/recipes-support/libgcrypt/libgcrypt_1.9.2.bb
deleted file mode 100644
index 34735ea5d7..0000000000
--- a/meta/recipes-support/libgcrypt/libgcrypt_1.9.2.bb
+++ /dev/null
@@ -1,61 +0,0 @@
1SUMMARY = "General purpose cryptographic library based on the code from GnuPG"
2DESCRIPTION = "A cryptography library developed as a separated module of GnuPG. \
3It can also be used independently of GnuPG, but depends on its error-reporting \
4library Libgpg-error."
5HOMEPAGE = "http://directory.fsf.org/project/libgcrypt/"
6BUGTRACKER = "https://bugs.g10code.com/gnupg/index"
7SECTION = "libs"
8
9# helper program gcryptrnd and getrandom are under GPL, rest LGPL
10LICENSE = "GPLv2+ & LGPLv2.1+ & GPLv3+"
11LICENSE_${PN} = "LGPLv2.1+"
12LICENSE_${PN}-dev = "GPLv2+ & LGPLv2.1+"
13LICENSE_dumpsexp-dev = "GPLv3+"
14
15LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
16 file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff \
17 file://LICENSES;md5=2dae15d91a37cfde72fe9eae75f8ea14 \
18 "
19
20DEPENDS = "libgpg-error"
21
22UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
23SRC_URI = "${GNUPG_MIRROR}/libgcrypt/libgcrypt-${PV}.tar.bz2 \
24 file://0001-libgcrypt-fix-m4-file-for-oe-core.patch \
25 file://0003-tests-bench-slope.c-workaround-ICE-failure-on-mips-w.patch \
26 file://0002-libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch \
27 file://0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch \
28 file://0001-Makefile.am-add-a-missing-space.patch \
29 "
30SRC_URI[sha256sum] = "b2c10d091513b271e47177274607b1ffba3d95b188bbfa8797f948aec9053c5a"
31
32# Below whitelisted CVEs are disputed and not affecting crypto libraries for any distro.
33CVE_CHECK_WHITELIST += "CVE-2018-12433 CVE-2018-12438"
34
35BINCONFIG = "${bindir}/libgcrypt-config"
36
37inherit autotools texinfo binconfig-disabled pkgconfig
38
39EXTRA_OECONF = "--disable-asm"
40EXTRA_OEMAKE_class-target = "LIBTOOLFLAGS='--tag=CC'"
41
42PACKAGECONFIG ??= "capabilities"
43PACKAGECONFIG[capabilities] = "--with-capabilities,--without-capabilities,libcap"
44
45do_configure_prepend () {
46 # Else this could be used in preference to the one in aclocal-copy
47 rm -f ${S}/m4/gpg-error.m4
48}
49
50# libgcrypt.pc is added locally and thus installed here
51do_install_append() {
52 install -d ${D}/${libdir}/pkgconfig
53 install -m 0644 ${B}/src/libgcrypt.pc ${D}/${libdir}/pkgconfig/
54}
55
56PACKAGES =+ "dumpsexp-dev"
57
58FILES_${PN}-dev += "${bindir}/hmac256"
59FILES_dumpsexp-dev += "${bindir}/dumpsexp"
60
61BBCLASSEXTEND = "native nativesdk"