diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-10-19 17:34:17 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-23 17:42:26 +0100 |
commit | e76d5c914006964bdf8ce0ef8ee417a479510ad8 (patch) | |
tree | 642a4127e67639f4f791691352de2b0c363286e7 /meta/recipes-support/gnupg | |
parent | c3d0437b26f48ba5fa8b3f4caab3fd8369429955 (diff) | |
download | poky-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')
-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/relocate.patch | 74 | ||||
-rw-r--r-- | meta/recipes-support/gnupg/gnupg_2.3.3.bb (renamed from meta/recipes-support/gnupg/gnupg_2.3.2.bb) | 2 |
3 files changed, 43 insertions, 39 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 @@ | |||
1 | From c873c85b1ee1c35ebbba0bc80c2352c64787a5fd Mon Sep 17 00:00:00 2001 | 1 | From bdde1faa774753e29d582d79186e08a38597de9e 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 d03ea3b..a6dfa19 100644 | 17 | index 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 @@ | |||
1 | From 5a68a37ae2649e0988965cfe3a63a0142f0182a1 Mon Sep 17 00:00:00 2001 | 1 | From 766d37fe9acd9fdaaff9c094635e06b50c5902d7 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 |
@@ -7,15 +7,16 @@ Subject: [PATCH] Allow the environment to override where gnupg looks for its | |||
7 | Upstream-Status: Inappropriate [OE-specific] | 7 | Upstream-Status: Inappropriate [OE-specific] |
8 | Signed-off-by: Ross Burton <ross.burton@intel.com> | 8 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
9 | 9 | ||
10 | Signed-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 | ||
14 | diff --git a/common/homedir.c b/common/homedir.c | 15 | diff --git a/common/homedir.c b/common/homedir.c |
15 | index 7969a2c..06b8016 100644 | 16 | index 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 | -- | ||
83 | 2.20.1 | ||
84 | |||
diff --git a/meta/recipes-support/gnupg/gnupg_2.3.2.bb b/meta/recipes-support/gnupg/gnupg_2.3.3.bb index f3b277b0a8..5614ac6473 100644 --- a/meta/recipes-support/gnupg/gnupg_2.3.2.bb +++ b/meta/recipes-support/gnupg/gnupg_2.3.3.bb | |||
@@ -24,7 +24,7 @@ SRC_URI:append:class-native = " file://0001-configure.ac-use-a-custom-value-for- | |||
24 | file://relocate.patch" | 24 | file://relocate.patch" |
25 | SRC_URI:append:class-nativesdk = " file://relocate.patch" | 25 | SRC_URI:append:class-nativesdk = " file://relocate.patch" |
26 | 26 | ||
27 | SRC_URI[sha256sum] = "e1d953e0e296072fca284215103ef168885eaac596c4660c5039a36a83e3041b" | 27 | SRC_URI[sha256sum] = "5789b86da6a1a6752efb38598f16a77af51170a8494039c3842b085032e8e937" |
28 | 28 | ||
29 | EXTRA_OECONF = "--disable-ldap \ | 29 | EXTRA_OECONF = "--disable-ldap \ |
30 | --disable-ccid-driver \ | 30 | --disable-ccid-driver \ |