diff options
author | Wang Mingyu <wangmy@fujitsu.com> | 2024-02-01 13:07:28 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-03 22:08:26 +0000 |
commit | b0d34bdd61aa16780004a00887e888c0b1543e45 (patch) | |
tree | 4a7f44b56e12aa2042fb15196ef7a711b2996ad5 /meta/recipes-support | |
parent | 6eb40b1bafeb9db5af24e9ceaf0d93ef5fc067ee (diff) | |
download | poky-b0d34bdd61aa16780004a00887e888c0b1543e45.tar.gz |
gnupg: upgrade 2.4.3 -> 2.4.4
fix-ldap.patch
removed since it's included in 2.4.4.
0001-configure.ac-use-a-custom-value-for-the-location-of-.patch
0004-autogen.sh-fix-find-version-for-beta-checking.patch
relocate.patch
refreshed for 2.4.4
Changelog:
https://dev.gnupg.org/T6578
(From OE-Core rev: 35ad01e17e3ba01f87902ab121247bfa600db225)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/gnupg/gnupg/0001-configure.ac-use-a-custom-value-for-the-location-of-.patch | 6 | ||||
-rw-r--r-- | meta/recipes-support/gnupg/gnupg/0004-autogen.sh-fix-find-version-for-beta-checking.patch | 12 | ||||
-rw-r--r-- | meta/recipes-support/gnupg/gnupg/fix-ldap.patch | 34 | ||||
-rw-r--r-- | meta/recipes-support/gnupg/gnupg/relocate.patch | 18 | ||||
-rw-r--r-- | meta/recipes-support/gnupg/gnupg_2.4.4.bb (renamed from meta/recipes-support/gnupg/gnupg_2.4.3.bb) | 3 |
5 files changed, 18 insertions, 55 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 561616584c..f957f6b55e 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 @@ | |||
1 | From acdb7e1d2844cd4088f099617e25352b3dc5b075 Mon Sep 17 00:00:00 2001 | 1 | From 6b581c43bd01f815db78a410fd3814fc5994171e Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Mon, 22 Jan 2018 18:00:21 +0200 | 3 | Date: Mon, 22 Jan 2018 18:00:21 +0200 |
4 | Subject: [PATCH] configure.ac: use a custom value for the location of | 4 | Subject: [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 | ||
16 | diff --git a/configure.ac b/configure.ac | 16 | diff --git a/configure.ac b/configure.ac |
17 | index e68b779..eec9f89 100644 | 17 | index 26d7f7b..e953c2e 100644 |
18 | --- a/configure.ac | 18 | --- a/configure.ac |
19 | +++ b/configure.ac | 19 | +++ b/configure.ac |
20 | @@ -1922,7 +1922,7 @@ AC_DEFINE_UNQUOTED(GPGCONF_DISP_NAME, "GPGConf", | 20 | @@ -1921,7 +1921,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/0004-autogen.sh-fix-find-version-for-beta-checking.patch b/meta/recipes-support/gnupg/gnupg/0004-autogen.sh-fix-find-version-for-beta-checking.patch index dcd8582ca6..d664c36a1b 100644 --- a/meta/recipes-support/gnupg/gnupg/0004-autogen.sh-fix-find-version-for-beta-checking.patch +++ b/meta/recipes-support/gnupg/gnupg/0004-autogen.sh-fix-find-version-for-beta-checking.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 914ae4a3f7529fb069467bf0ded57dd24ee2e763 Mon Sep 17 00:00:00 2001 | 1 | From 6a7f9b71d936847dcaeeac7d1b69d8299be4dd85 Mon Sep 17 00:00:00 2001 |
2 | From: Wenzong Fan <wenzong.fan@windriver.com> | 2 | From: Wenzong Fan <wenzong.fan@windriver.com> |
3 | Date: Wed, 16 Aug 2017 11:23:22 +0800 | 3 | Date: Wed, 16 Aug 2017 11:23:22 +0800 |
4 | Subject: [PATCH 4/4] autogen.sh: fix find-version for beta checking | 4 | Subject: [PATCH] autogen.sh: fix find-version for beta checking |
5 | 5 | ||
6 | find-version always assumes that gnupg is beta if autogen.sh is run | 6 | find-version always assumes that gnupg is beta if autogen.sh is run |
7 | out of git-repo. This doesn't work for users whom just take release | 7 | out of git-repo. This doesn't work for users whom just take release |
@@ -13,15 +13,16 @@ Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> | |||
13 | 13 | ||
14 | Rebase to 2.1.23 | 14 | Rebase to 2.1.23 |
15 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 15 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
16 | |||
16 | --- | 17 | --- |
17 | autogen.sh | 1 - | 18 | autogen.sh | 1 - |
18 | 1 file changed, 1 deletion(-) | 19 | 1 file changed, 1 deletion(-) |
19 | 20 | ||
20 | diff --git a/autogen.sh b/autogen.sh | 21 | diff --git a/autogen.sh b/autogen.sh |
21 | index e5ba5bf..05e0e11 100755 | 22 | index 0abf103..78753b5 100755 |
22 | --- a/autogen.sh | 23 | --- a/autogen.sh |
23 | +++ b/autogen.sh | 24 | +++ b/autogen.sh |
24 | @@ -245,7 +245,6 @@ if [ "$myhost" = "find-version" ]; then | 25 | @@ -237,7 +237,6 @@ if [ "$myhost" = "find-version" ]; then |
25 | rvd=$((0x$(echo ${rev} | dd bs=1 count=4 2>/dev/null))) | 26 | rvd=$((0x$(echo ${rev} | dd bs=1 count=4 2>/dev/null))) |
26 | else | 27 | else |
27 | ingit=no | 28 | ingit=no |
@@ -29,6 +30,3 @@ index e5ba5bf..05e0e11 100755 | |||
29 | tmp="-unknown" | 30 | tmp="-unknown" |
30 | rev="0000000" | 31 | rev="0000000" |
31 | rvd="0" | 32 | rvd="0" |
32 | -- | ||
33 | 1.8.3.1 | ||
34 | |||
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 4754781565..0000000000 --- a/meta/recipes-support/gnupg/gnupg/fix-ldap.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | From dc13361524c1477b2106c7385f2059f9ea111b84 Mon Sep 17 00:00:00 2001 | ||
2 | From: NIIBE Yutaka <gniibe@fsij.org> | ||
3 | Date: Wed, 5 Jul 2023 09:29:54 +0900 | ||
4 | Subject: [PATCH] dirmngr: Enable the call of ks_ldap_help_variables when | ||
5 | USE_LDAP. | ||
6 | |||
7 | * dirmngr/server.c [USE_LDAP] (cmd_ad_query): Conditionalize. | ||
8 | |||
9 | -- | ||
10 | |||
11 | Upstream-Status: Backport | ||
12 | Signed-off-by: NIIBE Yutaka <gniibe@fsij.org> | ||
13 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
14 | --- | ||
15 | dirmngr/server.c | 2 ++ | ||
16 | 1 file changed, 2 insertions(+) | ||
17 | |||
18 | diff --git a/dirmngr/server.c b/dirmngr/server.c | ||
19 | index 51a149cb2..ee61f63d6 100644 | ||
20 | --- a/dirmngr/server.c | ||
21 | +++ b/dirmngr/server.c | ||
22 | @@ -2776,7 +2776,9 @@ cmd_ad_query (assuan_context_t ctx, char *line) | ||
23 | |||
24 | if (opt_help) | ||
25 | { | ||
26 | +#if USE_LDAP | ||
27 | ks_ldap_help_variables (ctrl); | ||
28 | +#endif | ||
29 | err = 0; | ||
30 | goto leave; | ||
31 | } | ||
32 | -- | ||
33 | 2.11.0 | ||
34 | |||
diff --git a/meta/recipes-support/gnupg/gnupg/relocate.patch b/meta/recipes-support/gnupg/gnupg/relocate.patch index d540e9edbb..ea0252026a 100644 --- a/meta/recipes-support/gnupg/gnupg/relocate.patch +++ b/meta/recipes-support/gnupg/gnupg/relocate.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 0e4b325c199354ce54cc4687532cced1440fd496 Mon Sep 17 00:00:00 2001 | 1 | From c50d0a95fcf8f96c272fadd4ba85f3eeac39fcaf Mon Sep 17 00:00:00 2001 |
2 | From: Ross Burton <ross.burton@intel.com> | 2 | From: Ross Burton <ross.burton@intel.com> |
3 | Date: Wed, 19 Sep 2018 14:44:40 +0100 | 3 | Date: Wed, 19 Sep 2018 14:44:40 +0100 |
4 | Subject: [PATCH] Allow the environment to override where gnupg looks for its | 4 | Subject: [PATCH] Allow the environment to override where gnupg looks for its |
@@ -14,10 +14,10 @@ Signed-off-by: Alexander Kanavin <alex@linutronix.de> | |||
14 | 1 file changed, 7 insertions(+), 7 deletions(-) | 14 | 1 file changed, 7 insertions(+), 7 deletions(-) |
15 | 15 | ||
16 | diff --git a/common/homedir.c b/common/homedir.c | 16 | diff --git a/common/homedir.c b/common/homedir.c |
17 | index 286685f..212a945 100644 | 17 | index 6f99f3e..f22aa9e 100644 |
18 | --- a/common/homedir.c | 18 | --- a/common/homedir.c |
19 | +++ b/common/homedir.c | 19 | +++ b/common/homedir.c |
20 | @@ -1213,7 +1213,7 @@ gnupg_socketdir (void) | 20 | @@ -1284,7 +1284,7 @@ gnupg_socketdir (void) |
21 | if (!name) | 21 | if (!name) |
22 | { | 22 | { |
23 | unsigned int dummy; | 23 | unsigned int dummy; |
@@ -26,7 +26,7 @@ index 286685f..212a945 100644 | |||
26 | gpgrt_annotate_leaked_object (name); | 26 | gpgrt_annotate_leaked_object (name); |
27 | } | 27 | } |
28 | 28 | ||
29 | @@ -1245,7 +1245,7 @@ gnupg_sysconfdir (void) | 29 | @@ -1316,7 +1316,7 @@ gnupg_sysconfdir (void) |
30 | if (dir) | 30 | if (dir) |
31 | return dir; | 31 | return dir; |
32 | else | 32 | else |
@@ -35,7 +35,7 @@ index 286685f..212a945 100644 | |||
35 | #endif /*!HAVE_W32_SYSTEM*/ | 35 | #endif /*!HAVE_W32_SYSTEM*/ |
36 | } | 36 | } |
37 | 37 | ||
38 | @@ -1281,7 +1281,7 @@ gnupg_bindir (void) | 38 | @@ -1352,7 +1352,7 @@ gnupg_bindir (void) |
39 | return name; | 39 | return name; |
40 | } | 40 | } |
41 | else | 41 | else |
@@ -44,7 +44,7 @@ index 286685f..212a945 100644 | |||
44 | #endif /*!HAVE_W32_SYSTEM*/ | 44 | #endif /*!HAVE_W32_SYSTEM*/ |
45 | } | 45 | } |
46 | 46 | ||
47 | @@ -1308,7 +1308,7 @@ gnupg_libexecdir (void) | 47 | @@ -1379,7 +1379,7 @@ gnupg_libexecdir (void) |
48 | return name; | 48 | return name; |
49 | } | 49 | } |
50 | else | 50 | else |
@@ -53,7 +53,7 @@ index 286685f..212a945 100644 | |||
53 | #endif /*!HAVE_W32_SYSTEM*/ | 53 | #endif /*!HAVE_W32_SYSTEM*/ |
54 | } | 54 | } |
55 | 55 | ||
56 | @@ -1338,7 +1338,7 @@ gnupg_libdir (void) | 56 | @@ -1409,7 +1409,7 @@ gnupg_libdir (void) |
57 | return name; | 57 | return name; |
58 | } | 58 | } |
59 | else | 59 | else |
@@ -62,7 +62,7 @@ index 286685f..212a945 100644 | |||
62 | #endif /*!HAVE_W32_SYSTEM*/ | 62 | #endif /*!HAVE_W32_SYSTEM*/ |
63 | } | 63 | } |
64 | 64 | ||
65 | @@ -1369,7 +1369,7 @@ gnupg_datadir (void) | 65 | @@ -1440,7 +1440,7 @@ gnupg_datadir (void) |
66 | return name; | 66 | return name; |
67 | } | 67 | } |
68 | else | 68 | else |
@@ -71,7 +71,7 @@ index 286685f..212a945 100644 | |||
71 | #endif /*!HAVE_W32_SYSTEM*/ | 71 | #endif /*!HAVE_W32_SYSTEM*/ |
72 | } | 72 | } |
73 | 73 | ||
74 | @@ -1401,7 +1401,7 @@ gnupg_localedir (void) | 74 | @@ -1472,7 +1472,7 @@ gnupg_localedir (void) |
75 | return name; | 75 | return name; |
76 | } | 76 | } |
77 | else | 77 | else |
diff --git a/meta/recipes-support/gnupg/gnupg_2.4.3.bb b/meta/recipes-support/gnupg/gnupg_2.4.4.bb index e91ef34b7d..5b9869b4f3 100644 --- a/meta/recipes-support/gnupg/gnupg_2.4.3.bb +++ b/meta/recipes-support/gnupg/gnupg_2.4.4.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 | " |
23 | SRC_URI:append:class-native = " file://0001-configure.ac-use-a-custom-value-for-the-location-of-.patch \ | 22 | SRC_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" |
25 | SRC_URI:append:class-nativesdk = " file://relocate.patch" | 24 | SRC_URI:append:class-nativesdk = " file://relocate.patch" |
26 | 25 | ||
27 | SRC_URI[sha256sum] = "a271ae6d732f6f4d80c258ad9ee88dd9c94c8fdc33c3e45328c4d7c126bd219d" | 26 | SRC_URI[sha256sum] = "67ebe016ca90fa7688ce67a387ebd82c6261e95897db7b23df24ff335be85bc6" |
28 | 27 | ||
29 | EXTRA_OECONF = "--disable-ldap \ | 28 | EXTRA_OECONF = "--disable-ldap \ |
30 | --disable-ccid-driver \ | 29 | --disable-ccid-driver \ |