summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gnupg/gnupg
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-10-19 17:34:17 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-23 17:42:26 +0100
commite76d5c914006964bdf8ce0ef8ee417a479510ad8 (patch)
tree642a4127e67639f4f791691352de2b0c363286e7 /meta/recipes-support/gnupg/gnupg
parentc3d0437b26f48ba5fa8b3f4caab3fd8369429955 (diff)
downloadpoky-e76d5c914006964bdf8ce0ef8ee417a479510ad8.tar.gz
gnupg: update 2.3.2 -> 2.3.3
(From OE-Core rev: dabf520ef0868eb5e0f97444da28ff44e9f8d0c1) 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/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/relocate.patch74
2 files changed, 42 insertions, 38 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 a66a8e62b0..b58fbfe6f5 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 c873c85b1ee1c35ebbba0bc80c2352c64787a5fd Mon Sep 17 00:00:00 2001 1From bdde1faa774753e29d582d79186e08a38597de9e 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 d03ea3b..a6dfa19 100644 17index 5cdd316..e5f2d6a 100644
18--- a/configure.ac 18--- a/configure.ac
19+++ b/configure.ac 19+++ b/configure.ac
20@@ -1958,7 +1958,7 @@ AC_DEFINE_UNQUOTED(GPGCONF_DISP_NAME, "GPGConf", 20@@ -1962,7 +1962,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/relocate.patch b/meta/recipes-support/gnupg/gnupg/relocate.patch
index f9f38c2876..53679bf1d9 100644
--- a/meta/recipes-support/gnupg/gnupg/relocate.patch
+++ b/meta/recipes-support/gnupg/gnupg/relocate.patch
@@ -1,4 +1,4 @@
1From 5a68a37ae2649e0988965cfe3a63a0142f0182a1 Mon Sep 17 00:00:00 2001 1From 766d37fe9acd9fdaaff9c094635e06b50c5902d7 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
@@ -7,15 +7,16 @@ Subject: [PATCH] Allow the environment to override where gnupg looks for its
7Upstream-Status: Inappropriate [OE-specific] 7Upstream-Status: Inappropriate [OE-specific]
8Signed-off-by: Ross Burton <ross.burton@intel.com> 8Signed-off-by: Ross Burton <ross.burton@intel.com>
9 9
10Signed-off-by: Alexander Kanavin <alex@linutronix.de>
10--- 11---
11 common/homedir.c | 14 +++++++------- 12 common/homedir.c | 14 +++++++-------
12 1 file changed, 7 insertions(+), 7 deletions(-) 13 1 file changed, 7 insertions(+), 7 deletions(-)
13 14
14diff --git a/common/homedir.c b/common/homedir.c 15diff --git a/common/homedir.c b/common/homedir.c
15index 7969a2c..06b8016 100644 16index 455c188..55049db 100644
16--- a/common/homedir.c 17--- a/common/homedir.c
17+++ b/common/homedir.c 18+++ b/common/homedir.c
18@@ -918,7 +918,7 @@ gnupg_socketdir (void) 19@@ -1155,7 +1155,7 @@ gnupg_socketdir (void)
19 if (!name) 20 if (!name)
20 { 21 {
21 unsigned int dummy; 22 unsigned int dummy;
@@ -24,57 +25,60 @@ index 7969a2c..06b8016 100644
24 gpgrt_annotate_leaked_object (name); 25 gpgrt_annotate_leaked_object (name);
25 } 26 }
26 27
27@@ -946,7 +946,7 @@ gnupg_sysconfdir (void) 28@@ -1187,7 +1187,7 @@ gnupg_sysconfdir (void)
28 } 29 if (dir)
29 return name; 30 return dir;
30 #else /*!HAVE_W32_SYSTEM*/ 31 else
31- return GNUPG_SYSCONFDIR; 32- return GNUPG_SYSCONFDIR;
32+ return getenv("GNUPG_SYSCONFDIR") ?: GNUPG_SYSCONFDIR; 33+ return getenv("GNUPG_SYSCONFDIR") ?: GNUPG_SYSCONFDIR;
33 #endif /*!HAVE_W32_SYSTEM*/ 34 #endif /*!HAVE_W32_SYSTEM*/
34 } 35 }
35 36
36@@ -978,7 +978,7 @@ gnupg_bindir (void) 37@@ -1223,7 +1223,7 @@ gnupg_bindir (void)
38 return name;
39 }
37 else 40 else
38 return rdir; 41- return GNUPG_BINDIR;
39 #else /*!HAVE_W32_SYSTEM*/ 42+ return getenv("GNUPG_BINDIR") ?: GNUPG_BINDIR;
40- return GNUPG_BINDIR;
41+ return getenv("GNUPG_BINDIR") ?: GNUPG_BINDIR;
42 #endif /*!HAVE_W32_SYSTEM*/ 43 #endif /*!HAVE_W32_SYSTEM*/
43 } 44 }
44 45
45@@ -991,7 +991,7 @@ gnupg_libexecdir (void) 46@@ -1250,7 +1250,7 @@ gnupg_libexecdir (void)
46 #ifdef HAVE_W32_SYSTEM 47 return name;
47 return gnupg_bindir (); 48 }
48 #else /*!HAVE_W32_SYSTEM*/ 49 else
49- return GNUPG_LIBEXECDIR; 50- return GNUPG_LIBEXECDIR;
50+ return getenv("GNUPG_LIBEXECDIR") ?: GNUPG_LIBEXECDIR; 51+ return getenv("GNUPG_LIBEXECDIR") ?: GNUPG_LIBEXECDIR;
51 #endif /*!HAVE_W32_SYSTEM*/ 52 #endif /*!HAVE_W32_SYSTEM*/
52 } 53 }
53 54
54@@ -1008,7 +1008,7 @@ gnupg_libdir (void) 55@@ -1280,7 +1280,7 @@ gnupg_libdir (void)
56 return name;
55 } 57 }
56 return name; 58 else
57 #else /*!HAVE_W32_SYSTEM*/ 59- return GNUPG_LIBDIR;
58- return GNUPG_LIBDIR; 60+ return getenv("GNUPG_LIBDIR") ?: GNUPG_LIBDIR;
59+ return getenv("GNUPG_LIBDIR") ?: GNUPG_LIBDIR;
60 #endif /*!HAVE_W32_SYSTEM*/ 61 #endif /*!HAVE_W32_SYSTEM*/
61 } 62 }
62 63
63@@ -1026,7 +1026,7 @@ gnupg_datadir (void) 64@@ -1311,7 +1311,7 @@ gnupg_datadir (void)
65 return name;
64 } 66 }
65 return name; 67 else
66 #else /*!HAVE_W32_SYSTEM*/ 68- return GNUPG_DATADIR;
67- return GNUPG_DATADIR; 69+ return getenv("GNUPG_DATADIR") ?: GNUPG_DATADIR;
68+ return getenv("GNUPG_DATADIR") ?: GNUPG_DATADIR;
69 #endif /*!HAVE_W32_SYSTEM*/ 70 #endif /*!HAVE_W32_SYSTEM*/
70 } 71 }
71 72
72@@ -1045,7 +1045,7 @@ gnupg_localedir (void) 73@@ -1343,7 +1343,7 @@ gnupg_localedir (void)
74 return name;
73 } 75 }
74 return name; 76 else
75 #else /*!HAVE_W32_SYSTEM*/ 77- return LOCALEDIR;
76- return LOCALEDIR; 78+ return getenv("LOCALEDIR") ?: LOCALEDIR;
77+ return getenv("LOCALEDIR") ?: LOCALEDIR;
78 #endif /*!HAVE_W32_SYSTEM*/ 79 #endif /*!HAVE_W32_SYSTEM*/
79 } 80 }
80 81
82--
832.20.1
84