summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-05-09 19:23:39 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-05-22 10:53:47 +0100
commitee552b2829d1ea2e60d8512438fcc604f6d82d73 (patch)
tree803108f0336c77024b475a671bc04e8562cf9f9e
parent850fc2b915ecacf50e411ab32d04ca8ee7187e5f (diff)
downloadpoky-ee552b2829d1ea2e60d8512438fcc604f6d82d73.tar.gz
libgcrypt: update 1.10.1 -> 1.10.2
(From OE-Core rev: fc7a39d1a16b424ab80f7463c2e1258e6ea3ab38) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/libgcrypt/files/0001-libgcrypt-fix-m4-file-for-oe-core.patch6
-rw-r--r--meta/recipes-support/libgcrypt/files/0002-libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch10
-rw-r--r--meta/recipes-support/libgcrypt/libgcrypt_1.10.2.bb (renamed from meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb)2
3 files changed, 9 insertions, 9 deletions
diff --git a/meta/recipes-support/libgcrypt/files/0001-libgcrypt-fix-m4-file-for-oe-core.patch b/meta/recipes-support/libgcrypt/files/0001-libgcrypt-fix-m4-file-for-oe-core.patch
index c873e24ed5..cbfa30f0ad 100644
--- a/meta/recipes-support/libgcrypt/files/0001-libgcrypt-fix-m4-file-for-oe-core.patch
+++ b/meta/recipes-support/libgcrypt/files/0001-libgcrypt-fix-m4-file-for-oe-core.patch
@@ -1,4 +1,4 @@
1From 839f38e5ecc22b7f1b837284bbbffac8cb32ab1e Mon Sep 17 00:00:00 2001 1From bcfd89abdb5110b93314297120412d4c7f2da313 Mon Sep 17 00:00:00 2001
2From: Trevor Gamblin <trevor.gamblin@windriver.com> 2From: Trevor Gamblin <trevor.gamblin@windriver.com>
3Date: Tue, 29 Oct 2019 14:08:32 -0400 3Date: Tue, 29 Oct 2019 14:08:32 -0400
4Subject: [PATCH] libgcrypt: fix m4 file for oe-core 4Subject: [PATCH] libgcrypt: fix m4 file for oe-core
@@ -17,7 +17,7 @@ Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
17 1 file changed, 4 insertions(+), 86 deletions(-) 17 1 file changed, 4 insertions(+), 86 deletions(-)
18 18
19diff --git a/src/libgcrypt.m4 b/src/libgcrypt.m4 19diff --git a/src/libgcrypt.m4 b/src/libgcrypt.m4
20index 19d514f..21125c7 100644 20index cd4249e..e53a36f 100644
21--- a/src/libgcrypt.m4 21--- a/src/libgcrypt.m4
22+++ b/src/libgcrypt.m4 22+++ b/src/libgcrypt.m4
23@@ -29,41 +29,6 @@ dnl is added to the gpg_config_script_warn variable. 23@@ -29,41 +29,6 @@ dnl is added to the gpg_config_script_warn variable.
@@ -35,7 +35,7 @@ index 19d514f..21125c7 100644
35- fi 35- fi
36- 36-
37- use_gpgrt_config="" 37- use_gpgrt_config=""
38- if test x"${LIBGCRYPT_CONFIG}" = x -a x"$GPGRT_CONFIG" != x -a "$GPGRT_CONFIG" != "no"; then 38- if test x"$GPGRT_CONFIG" != x -a "$GPGRT_CONFIG" != "no"; then
39- if $GPGRT_CONFIG libgcrypt --exists; then 39- if $GPGRT_CONFIG libgcrypt --exists; then
40- LIBGCRYPT_CONFIG="$GPGRT_CONFIG libgcrypt" 40- LIBGCRYPT_CONFIG="$GPGRT_CONFIG libgcrypt"
41- AC_MSG_NOTICE([Use gpgrt-config as libgcrypt-config]) 41- AC_MSG_NOTICE([Use gpgrt-config as libgcrypt-config])
diff --git a/meta/recipes-support/libgcrypt/files/0002-libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch b/meta/recipes-support/libgcrypt/files/0002-libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch
index f9c362431c..cf9ebfb3e6 100644
--- a/meta/recipes-support/libgcrypt/files/0002-libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch
+++ b/meta/recipes-support/libgcrypt/files/0002-libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch
@@ -1,4 +1,4 @@
1From 3c6c10eae0993c8ca60879494c6650f7b8f54ebe Mon Sep 17 00:00:00 2001 1From 0f66e796a8522e1043dda03b88d5f6feae839d16 Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com> 2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Wed, 16 Aug 2017 10:44:41 +0800 3Date: Wed, 16 Aug 2017 10:44:41 +0800
4Subject: [PATCH] libgcrypt: fix building error with '-O2' in sysroot path 4Subject: [PATCH] libgcrypt: fix building error with '-O2' in sysroot path
@@ -25,15 +25,15 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
25 1 file changed, 1 insertion(+), 1 deletion(-) 25 1 file changed, 1 insertion(+), 1 deletion(-)
26 26
27diff --git a/cipher/Makefile.am b/cipher/Makefile.am 27diff --git a/cipher/Makefile.am b/cipher/Makefile.am
28index d644005..1cf5072 100644 28index c3d642b..88c883a 100644
29--- a/cipher/Makefile.am 29--- a/cipher/Makefile.am
30+++ b/cipher/Makefile.am 30+++ b/cipher/Makefile.am
31@@ -147,7 +147,7 @@ gost-s-box: gost-s-box.c 31@@ -153,7 +153,7 @@ gost-s-box: gost-s-box.c
32 32
33 33
34 if ENABLE_O_FLAG_MUNGING 34 if ENABLE_O_FLAG_MUNGING
35-o_flag_munging = sed -e 's/-O\([2-9sg][2-9sg]*\)/-O1/' -e 's/-Ofast/-O1/g' 35-o_flag_munging = sed -e 's/-O\([2-9sgz][2-9sgz]*\)/-O1/' -e 's/-Ofast/-O1/g'
36+o_flag_munging = sed -e 's/ -O\([2-9sg][2-9sg]*\) / -O1 /' -e 's/ -Ofast / -O1 /g' 36+o_flag_munging = sed -e 's/ -O\([2-9sgz][2-9sgz]*\) / -O1 /' -e 's/ -Ofast / -O1 /g'
37 else 37 else
38 o_flag_munging = cat 38 o_flag_munging = cat
39 endif 39 endif
diff --git a/meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb b/meta/recipes-support/libgcrypt/libgcrypt_1.10.2.bb
index bf9d7cbd10..58f07a116d 100644
--- a/meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb
+++ b/meta/recipes-support/libgcrypt/libgcrypt_1.10.2.bb
@@ -27,7 +27,7 @@ SRC_URI = "${GNUPG_MIRROR}/libgcrypt/libgcrypt-${PV}.tar.bz2 \
27 file://no-bench-slope.patch \ 27 file://no-bench-slope.patch \
28 file://run-ptest \ 28 file://run-ptest \
29 " 29 "
30SRC_URI[sha256sum] = "ef14ae546b0084cd84259f61a55e07a38c3b53afc0f546bffcef2f01baffe9de" 30SRC_URI[sha256sum] = "3b9c02a004b68c256add99701de00b383accccf37177e0d6c58289664cce0c03"
31 31
32# Below whitelisted CVEs are disputed and not affecting crypto libraries for any distro. 32# Below whitelisted CVEs are disputed and not affecting crypto libraries for any distro.
33CVE_CHECK_IGNORE += "CVE-2018-12433 CVE-2018-12438" 33CVE_CHECK_IGNORE += "CVE-2018-12433 CVE-2018-12438"