summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-04-07 19:00:27 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-19 14:14:10 +0100
commit3a86cdd06b02b7890aba06b004863e79aa624bd9 (patch)
treeaeff973c5a1dd02face6ea81b693908b0367aff9
parent0225e594766aa5fa42ca510f29ec46a5e1590f1c (diff)
downloadpoky-3a86cdd06b02b7890aba06b004863e79aa624bd9.tar.gz
libgcrypt: upgrade 1.9.4 -> 1.10.1
License-Update: formatting Add another chunk to pthread fixing patch. (From OE-Core rev: 6a82d326f5ebe8a7ae188a02cb440da9830d65b6) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/libgcrypt/files/0001-Makefile.am-add-a-missing-space.patch41
-rw-r--r--meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch19
-rw-r--r--meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb (renamed from meta/recipes-support/libgcrypt/libgcrypt_1.9.4.bb)5
3 files changed, 16 insertions, 49 deletions
diff --git a/meta/recipes-support/libgcrypt/files/0001-Makefile.am-add-a-missing-space.patch b/meta/recipes-support/libgcrypt/files/0001-Makefile.am-add-a-missing-space.patch
deleted file mode 100644
index 62b7484e45..0000000000
--- a/meta/recipes-support/libgcrypt/files/0001-Makefile.am-add-a-missing-space.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1From b8192ff67ed46ea2cc4282fa1856ce2868223737 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 24 Feb 2021 19:43:07 +0000
4Subject: [PATCH] Makefile.am: add a missing space
5
6Upstream-Status: Submitted [by email to gniibe@fsij.org,gcrypt-devel@gnupg.org]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8---
9 cipher/Makefile.am | 2 +-
10 doc/Makefile.am | 2 +-
11 2 files changed, 2 insertions(+), 2 deletions(-)
12
13diff --git a/cipher/Makefile.am b/cipher/Makefile.am
14index 1cf5072..b3ca225 100644
15--- a/cipher/Makefile.am
16+++ b/cipher/Makefile.am
17@@ -143,7 +143,7 @@ gost-sb.h: gost-s-box
18
19 gost-s-box: gost-s-box.c
20 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) \
21- $(CPPFLAGS_FOR_BUILD)-o $@ $(srcdir)/gost-s-box.c
22+ $(CPPFLAGS_FOR_BUILD) -o $@ $(srcdir)/gost-s-box.c
23
24
25 if ENABLE_O_FLAG_MUNGING
26diff --git a/doc/Makefile.am b/doc/Makefile.am
27index fd7aac2..1703bd9 100644
28--- a/doc/Makefile.am
29+++ b/doc/Makefile.am
30@@ -43,7 +43,7 @@ man_MANS = $(myman_pages)
31
32 yat2m: yat2m.c
33 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) \
34- $(CPPFLAGS_FOR_BUILD)-o $@ $(srcdir)/yat2m.c
35+ $(CPPFLAGS_FOR_BUILD) -o $@ $(srcdir)/yat2m.c
36
37 .fig.png:
38 fig2dev -L png `test -f '$<' || echo '$(srcdir)/'`$< $@
39--
402.17.1
41
diff --git a/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch b/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch
index 5bf0c7f8a3..4233fa7877 100644
--- a/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch
+++ b/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch
@@ -1,4 +1,4 @@
1From cb06d218ee36e303a64f27c690f30040d5d87960 Mon Sep 17 00:00:00 2001 1From 9182bc2dc676858a823c477d8f45a578b8c4f69f Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Sun, 12 Jun 2016 04:44:29 -0400 3Date: Sun, 12 Jun 2016 04:44:29 -0400
4Subject: [PATCH] tests/Makefile.am: fix undefined reference to 4Subject: [PATCH] tests/Makefile.am: fix undefined reference to
@@ -11,14 +11,14 @@ Upstream-Status: Pending
11Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 11Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
12 12
13--- 13---
14 tests/Makefile.am | 2 +- 14 tests/Makefile.am | 4 ++--
15 1 file changed, 1 insertion(+), 1 deletion(-) 15 1 file changed, 2 insertions(+), 2 deletions(-)
16 16
17diff --git a/tests/Makefile.am b/tests/Makefile.am 17diff --git a/tests/Makefile.am b/tests/Makefile.am
18index ab201f0..1cf82d0 100644 18index e6953fd..f47e1d3 100644
19--- a/tests/Makefile.am 19--- a/tests/Makefile.am
20+++ b/tests/Makefile.am 20+++ b/tests/Makefile.am
21@@ -75,7 +75,7 @@ t_mpi_bit_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@ 21@@ -76,7 +76,7 @@ t_mpi_bit_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@
22 t_secmem_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@ 22 t_secmem_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@
23 testapi_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@ 23 testapi_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@
24 t_lock_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS) @LDADD_FOR_TESTS_KLUDGE@ 24 t_lock_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS) @LDADD_FOR_TESTS_KLUDGE@
@@ -27,3 +27,12 @@ index ab201f0..1cf82d0 100644
27 testdrv_LDADD = $(LDADD_FOR_TESTS_KLUDGE) 27 testdrv_LDADD = $(LDADD_FOR_TESTS_KLUDGE)
28 28
29 # Build a version of the test driver for the build platform. 29 # Build a version of the test driver for the build platform.
30@@ -95,7 +95,7 @@ else
31 xtestsuite_libs = ../src/.libs/libgcrypt.so*
32 xtestsuite_driver = testdrv
33 t_kdf_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS) @LDADD_FOR_TESTS_KLUDGE@
34-t_kdf_CFLAGS = $(GPG_ERROR_MT_CFLAGS)
35+t_kdf_CFLAGS = $(GPG_ERROR_MT_CFLAGS) -lpthread
36 endif
37
38 # xcheck uses our new testdrv instead of the automake test runner.
diff --git a/meta/recipes-support/libgcrypt/libgcrypt_1.9.4.bb b/meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb
index 866f3932f6..251e0d0348 100644
--- a/meta/recipes-support/libgcrypt/libgcrypt_1.9.4.bb
+++ b/meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb
@@ -14,7 +14,7 @@ LICENSE:dumpsexp-dev = "GPL-3.0-or-later"
14 14
15LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ 15LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
16 file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff \ 16 file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff \
17 file://LICENSES;md5=42fa35a25e138166cc40588387f9159d \ 17 file://LICENSES;md5=ef545b6cc717747072616519a1256d69 \
18 " 18 "
19 19
20DEPENDS = "libgpg-error" 20DEPENDS = "libgpg-error"
@@ -25,9 +25,8 @@ SRC_URI = "${GNUPG_MIRROR}/libgcrypt/libgcrypt-${PV}.tar.bz2 \
25 file://0003-tests-bench-slope.c-workaround-ICE-failure-on-mips-w.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 \ 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 \ 27 file://0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch \
28 file://0001-Makefile.am-add-a-missing-space.patch \
29 " 28 "
30SRC_URI[sha256sum] = "ea849c83a72454e3ed4267697e8ca03390aee972ab421e7df69dfe42b65caaf7" 29SRC_URI[sha256sum] = "ef14ae546b0084cd84259f61a55e07a38c3b53afc0f546bffcef2f01baffe9de"
31 30
32# Below whitelisted CVEs are disputed and not affecting crypto libraries for any distro. 31# Below whitelisted CVEs are disputed and not affecting crypto libraries for any distro.
33CVE_CHECK_IGNORE += "CVE-2018-12433 CVE-2018-12438" 32CVE_CHECK_IGNORE += "CVE-2018-12433 CVE-2018-12438"