summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gnupg
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-01-04 12:04:41 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-06 12:03:47 +0000
commit994ff2643e85bba7dceaf3c629bf40d21e2158ca (patch)
tree60a82785397c01f027192646698d5f6842ffa660 /meta/recipes-support/gnupg
parentbef7fc3b69d0b854fbb4aa352d3580f1c413e234 (diff)
downloadpoky-994ff2643e85bba7dceaf3c629bf40d21e2158ca.tar.gz
gnupg: update 2.3.8 -> 2.4.0
(From OE-Core rev: 4708a92dd77f4fba213a68e16442d2fe4ab2665d) 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>
Diffstat (limited to 'meta/recipes-support/gnupg')
-rw-r--r--meta/recipes-support/gnupg/gnupg/0001-configure.ac-use-a-custom-value-for-the-location-of-.patch6
-rw-r--r--meta/recipes-support/gnupg/gnupg/0002-use-pkgconfig-instead-of-npth-config.patch6
-rw-r--r--meta/recipes-support/gnupg/gnupg/fix-ldap.patch35
-rw-r--r--meta/recipes-support/gnupg/gnupg/relocate.patch2
-rw-r--r--meta/recipes-support/gnupg/gnupg_2.4.0.bb (renamed from meta/recipes-support/gnupg/gnupg_2.3.8.bb)3
5 files changed, 8 insertions, 44 deletions
diff --git a/meta/recipes-support/gnupg/gnupg/0001-configure.ac-use-a-custom-value-for-the-location-of-.patch b/meta/recipes-support/gnupg/gnupg/0001-configure.ac-use-a-custom-value-for-the-location-of-.patch
index eb2e47f035..0cd4c45907 100644
--- a/meta/recipes-support/gnupg/gnupg/0001-configure.ac-use-a-custom-value-for-the-location-of-.patch
+++ b/meta/recipes-support/gnupg/gnupg/0001-configure.ac-use-a-custom-value-for-the-location-of-.patch
@@ -1,4 +1,4 @@
1From b0c42c8273c5fa1e31094567122be24ba28a965d Mon Sep 17 00:00:00 2001 1From 346a6b17a07b658954db65f814461b59824d9fcd Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 22 Jan 2018 18:00:21 +0200 3Date: Mon, 22 Jan 2018 18:00:21 +0200
4Subject: [PATCH] configure.ac: use a custom value for the location of 4Subject: [PATCH] configure.ac: use a custom value for the location of
@@ -14,10 +14,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
14 1 file changed, 1 insertion(+), 1 deletion(-) 14 1 file changed, 1 insertion(+), 1 deletion(-)
15 15
16diff --git a/configure.ac b/configure.ac 16diff --git a/configure.ac b/configure.ac
17index b043386..dd839d0 100644 17index 099c6a8..e8cf408 100644
18--- a/configure.ac 18--- a/configure.ac
19+++ b/configure.ac 19+++ b/configure.ac
20@@ -1955,7 +1955,7 @@ AC_DEFINE_UNQUOTED(GPGCONF_DISP_NAME, "GPGConf", 20@@ -1935,7 +1935,7 @@ AC_DEFINE_UNQUOTED(GPGCONF_DISP_NAME, "GPGConf",
21 21
22 AC_DEFINE_UNQUOTED(GPGTAR_NAME, "gpgtar", [The name of the gpgtar tool]) 22 AC_DEFINE_UNQUOTED(GPGTAR_NAME, "gpgtar", [The name of the gpgtar tool])
23 23
diff --git a/meta/recipes-support/gnupg/gnupg/0002-use-pkgconfig-instead-of-npth-config.patch b/meta/recipes-support/gnupg/gnupg/0002-use-pkgconfig-instead-of-npth-config.patch
index d3790ac782..0e58fd4c4d 100644
--- a/meta/recipes-support/gnupg/gnupg/0002-use-pkgconfig-instead-of-npth-config.patch
+++ b/meta/recipes-support/gnupg/gnupg/0002-use-pkgconfig-instead-of-npth-config.patch
@@ -1,4 +1,4 @@
1From 15668161c351aee5f29152db2972b1648da11210 Mon Sep 17 00:00:00 2001 1From d9048788d906774b1475c3bb1b17e22455c2add4 Mon Sep 17 00:00:00 2001
2From: Saul Wold <sgw@linux.intel.com> 2From: Saul Wold <sgw@linux.intel.com>
3Date: Wed, 16 Aug 2017 11:16:30 +0800 3Date: Wed, 16 Aug 2017 11:16:30 +0800
4Subject: [PATCH] use pkgconfig instead of npth config 4Subject: [PATCH] use pkgconfig instead of npth config
@@ -15,7 +15,7 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
15 1 file changed, 8 insertions(+), 45 deletions(-) 15 1 file changed, 8 insertions(+), 45 deletions(-)
16 16
17diff --git a/m4/npth.m4 b/m4/npth.m4 17diff --git a/m4/npth.m4 b/m4/npth.m4
18index 06cdaee..4adda01 100644 18index 619ed89..0cb354d 100644
19--- a/m4/npth.m4 19--- a/m4/npth.m4
20+++ b/m4/npth.m4 20+++ b/m4/npth.m4
21@@ -19,25 +19,10 @@ AC_DEFUN([_AM_PATH_NPTH_CONFIG], 21@@ -19,25 +19,10 @@ AC_DEFUN([_AM_PATH_NPTH_CONFIG],
@@ -25,7 +25,7 @@ index 06cdaee..4adda01 100644
25+ AC_PATH_PROG(PKGCONFIG, pkg-config, no) 25+ AC_PATH_PROG(PKGCONFIG, pkg-config, no)
26 26
27- use_gpgrt_config="" 27- use_gpgrt_config=""
28- if test x"$NPTH_CONFIG" = x -a x"$GPGRT_CONFIG" != x -a "$GPGRT_CONFIG" != "no"; then 28- if test x"$GPGRT_CONFIG" != x -a "$GPGRT_CONFIG" != "no"; then
29- if $GPGRT_CONFIG npth --exists; then 29- if $GPGRT_CONFIG npth --exists; then
30- NPTH_CONFIG="$GPGRT_CONFIG npth" 30- NPTH_CONFIG="$GPGRT_CONFIG npth"
31- AC_MSG_NOTICE([Use gpgrt-config as npth-config]) 31- AC_MSG_NOTICE([Use gpgrt-config as npth-config])
diff --git a/meta/recipes-support/gnupg/gnupg/fix-ldap.patch b/meta/recipes-support/gnupg/gnupg/fix-ldap.patch
deleted file mode 100644
index 24299e16fb..0000000000
--- a/meta/recipes-support/gnupg/gnupg/fix-ldap.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1From 7011286ce6e1fb56c2989fdafbd11b931c489faa Mon Sep 17 00:00:00 2001
2From: NIIBE Yutaka <gniibe@fsij.org>
3Date: Fri, 14 Oct 2022 09:58:41 +0900
4Subject: [PATCH] dirmngr: Fix build with no LDAP support.
5
6* dirmngr/server.c [USE_LDAP] (start_command_handler): Conditionalize.
7
8--
9
10GnuPG-bug-id: 6239
11Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
12Upstream-Status: Backport [https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=patch;h=7011286ce6e1fb56c2989fdafbd11b931c489faa]
13Signed-off-by: Alexander Kanavin <alex@linutronix.de>
14---
15 dirmngr/server.c | 2 ++
16 1 file changed, 2 insertions(+)
17
18diff --git a/dirmngr/server.c b/dirmngr/server.c
19index 04ebfd317..98f354300 100644
20--- a/dirmngr/server.c
21+++ b/dirmngr/server.c
22@@ -3137,8 +3137,10 @@ start_command_handler (assuan_fd_t fd, unsigned int session_id)
23 ctrl->refcount);
24 else
25 {
26+#if USE_LDAP
27 ks_ldap_free_state (ctrl->ks_get_state);
28 ctrl->ks_get_state = NULL;
29+#endif
30 release_ctrl_ocsp_certs (ctrl);
31 xfree (ctrl->server_local);
32 dirmngr_deinit_default_ctrl (ctrl);
33--
342.11.0
35
diff --git a/meta/recipes-support/gnupg/gnupg/relocate.patch b/meta/recipes-support/gnupg/gnupg/relocate.patch
index ca0e46141d..071dd93ff5 100644
--- a/meta/recipes-support/gnupg/gnupg/relocate.patch
+++ b/meta/recipes-support/gnupg/gnupg/relocate.patch
@@ -1,4 +1,4 @@
1From 7c6f9724f53ed2c5237dad4e3f4ec44091ac683d Mon Sep 17 00:00:00 2001 1From b1117adeb476304ce2792814516a5b7cd44d0d38 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@intel.com> 2From: Ross Burton <ross.burton@intel.com>
3Date: Wed, 19 Sep 2018 14:44:40 +0100 3Date: Wed, 19 Sep 2018 14:44:40 +0100
4Subject: [PATCH] Allow the environment to override where gnupg looks for its 4Subject: [PATCH] Allow the environment to override where gnupg looks for its
diff --git a/meta/recipes-support/gnupg/gnupg_2.3.8.bb b/meta/recipes-support/gnupg/gnupg_2.4.0.bb
index aaa8d8fe99..900aa8ad73 100644
--- a/meta/recipes-support/gnupg/gnupg_2.3.8.bb
+++ b/meta/recipes-support/gnupg/gnupg_2.4.0.bb
@@ -18,13 +18,12 @@ SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
18 file://0002-use-pkgconfig-instead-of-npth-config.patch \ 18 file://0002-use-pkgconfig-instead-of-npth-config.patch \
19 file://0004-autogen.sh-fix-find-version-for-beta-checking.patch \ 19 file://0004-autogen.sh-fix-find-version-for-beta-checking.patch \
20 file://0001-Woverride-init-is-not-needed-with-gcc-9.patch \ 20 file://0001-Woverride-init-is-not-needed-with-gcc-9.patch \
21 file://fix-ldap.patch \
22 " 21 "
23SRC_URI:append:class-native = " file://0001-configure.ac-use-a-custom-value-for-the-location-of-.patch \ 22SRC_URI:append:class-native = " file://0001-configure.ac-use-a-custom-value-for-the-location-of-.patch \
24 file://relocate.patch" 23 file://relocate.patch"
25SRC_URI:append:class-nativesdk = " file://relocate.patch" 24SRC_URI:append:class-nativesdk = " file://relocate.patch"
26 25
27SRC_URI[sha256sum] = "540b7a40e57da261fb10ef521a282e0021532a80fd023e75fb71757e8a4969ed" 26SRC_URI[sha256sum] = "1d79158dd01d992431dd2e3facb89fdac97127f89784ea2cb610c600fb0c1483"
28 27
29EXTRA_OECONF = "--disable-ldap \ 28EXTRA_OECONF = "--disable-ldap \
30 --disable-ccid-driver \ 29 --disable-ccid-driver \