diff options
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/gnupg/gnupg/0001-Use-pkg-config-to-find-pth-instead-of-pth-config.patch | 105 | ||||
-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/0002-use-pkgconfig-instead-of-npth-config.patch | 73 | ||||
-rw-r--r-- | meta/recipes-support/gnupg/gnupg/0003-dirmngr-uses-libgpg-error.patch | 17 | ||||
-rw-r--r-- | meta/recipes-support/gnupg/gnupg/relocate.patch | 20 | ||||
-rw-r--r-- | meta/recipes-support/gnupg/gnupg_2.3.1.bb (renamed from meta/recipes-support/gnupg/gnupg_2.2.27.bb) | 3 |
6 files changed, 68 insertions, 156 deletions
diff --git a/meta/recipes-support/gnupg/gnupg/0001-Use-pkg-config-to-find-pth-instead-of-pth-config.patch b/meta/recipes-support/gnupg/gnupg/0001-Use-pkg-config-to-find-pth-instead-of-pth-config.patch deleted file mode 100644 index 5c9c022226..0000000000 --- a/meta/recipes-support/gnupg/gnupg/0001-Use-pkg-config-to-find-pth-instead-of-pth-config.patch +++ /dev/null | |||
@@ -1,105 +0,0 @@ | |||
1 | From 59a3c76d4016ffc615f1c45184f4c6820061d69c Mon Sep 17 00:00:00 2001 | ||
2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
3 | Date: Wed, 16 Aug 2017 11:14:12 +0800 | ||
4 | Subject: [PATCH 1/4] Use pkg-config to find pth instead of pth-config. | ||
5 | |||
6 | Upstream-Status: Denied | ||
7 | [not submitted but they've been clear they don't want a pkg-config | ||
8 | dependency] | ||
9 | |||
10 | RP 2014/5/22 | ||
11 | |||
12 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
13 | |||
14 | Rebase to 2.1.23 | ||
15 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
16 | --- | ||
17 | m4/gnupg-pth.m4 | 53 ++++++++--------------------------------------------- | ||
18 | 1 file changed, 8 insertions(+), 45 deletions(-) | ||
19 | |||
20 | diff --git a/m4/gnupg-pth.m4 b/m4/gnupg-pth.m4 | ||
21 | index 6dc9e0e..5892531 100644 | ||
22 | --- a/m4/gnupg-pth.m4 | ||
23 | +++ b/m4/gnupg-pth.m4 | ||
24 | @@ -17,33 +17,9 @@ dnl implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
25 | # Taken and modified from the m4 macros which come with Pth. | ||
26 | AC_DEFUN([GNUPG_PTH_VERSION_CHECK], | ||
27 | [ | ||
28 | - _pth_version=`$PTH_CONFIG --version | awk 'NR==1 {print [$]3}'` | ||
29 | _req_version="ifelse([$1],,1.2.0,$1)" | ||
30 | + PKG_CHECK_MODULES(PTH, [pth >= $_req_version], [have_pth=yes], [have_pth=no]) | ||
31 | |||
32 | - AC_MSG_CHECKING(for PTH - version >= $_req_version) | ||
33 | - for _var in _pth_version _req_version; do | ||
34 | - eval "_val=\"\$${_var}\"" | ||
35 | - _major=`echo $_val | sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\([[ab.]]\)\([[0-9]]*\)/\1/'` | ||
36 | - _minor=`echo $_val | sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\([[ab.]]\)\([[0-9]]*\)/\2/'` | ||
37 | - _rtype=`echo $_val | sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\([[ab.]]\)\([[0-9]]*\)/\3/'` | ||
38 | - _micro=`echo $_val | sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\([[ab.]]\)\([[0-9]]*\)/\4/'` | ||
39 | - case $_rtype in | ||
40 | - "a" ) _rtype=0 ;; | ||
41 | - "b" ) _rtype=1 ;; | ||
42 | - "." ) _rtype=2 ;; | ||
43 | - esac | ||
44 | - _hex=`echo dummy | awk '{ printf("%d%02d%1d%02d", major, minor, rtype, micro); }' \ | ||
45 | - "major=$_major" "minor=$_minor" "rtype=$_rtype" "micro=$_micro"` | ||
46 | - eval "${_var}_hex=\"\$_hex\"" | ||
47 | - done | ||
48 | - have_pth=no | ||
49 | - if test ".$_pth_version_hex" != .; then | ||
50 | - if test ".$_req_version_hex" != .; then | ||
51 | - if test $_pth_version_hex -ge $_req_version_hex; then | ||
52 | - have_pth=yes | ||
53 | - fi | ||
54 | - fi | ||
55 | - fi | ||
56 | if test $have_pth = yes; then | ||
57 | AC_MSG_RESULT(yes) | ||
58 | AC_MSG_CHECKING([whether PTH installation is sane]) | ||
59 | @@ -51,9 +27,9 @@ AC_DEFUN([GNUPG_PTH_VERSION_CHECK], | ||
60 | _gnupg_pth_save_cflags=$CFLAGS | ||
61 | _gnupg_pth_save_ldflags=$LDFLAGS | ||
62 | _gnupg_pth_save_libs=$LIBS | ||
63 | - CFLAGS="$CFLAGS `$PTH_CONFIG --cflags`" | ||
64 | - LDFLAGS="$LDFLAGS `$PTH_CONFIG --ldflags`" | ||
65 | - LIBS="$LIBS `$PTH_CONFIG --libs --all`" | ||
66 | + CFLAGS="$CFLAGS $PTH_CFLAGS" | ||
67 | + LDFLAGS="$LDFLAGS $PTH_LDFLAGS" | ||
68 | + LIBS="$LIBS $PTH_LIBS" | ||
69 | AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pth.h> | ||
70 | ], | ||
71 | [[ pth_init ();]])], | ||
72 | @@ -80,26 +56,13 @@ AC_DEFUN([GNUPG_PTH_VERSION_CHECK], | ||
73 | # PTH_CLFAGS and PTH_LIBS are AS_SUBST. | ||
74 | # | ||
75 | AC_DEFUN([GNUPG_PATH_PTH], | ||
76 | -[ AC_ARG_WITH(pth-prefix, | ||
77 | - AC_HELP_STRING([--with-pth-prefix=PFX], | ||
78 | - [prefix where GNU Pth is installed (optional)]), | ||
79 | - pth_config_prefix="$withval", pth_config_prefix="") | ||
80 | - if test x$pth_config_prefix != x ; then | ||
81 | - PTH_CONFIG="$pth_config_prefix/bin/pth-config" | ||
82 | - fi | ||
83 | - AC_PATH_PROG(PTH_CONFIG, pth-config, no) | ||
84 | +[ | ||
85 | tmp=ifelse([$1], ,1.3.7,$1) | ||
86 | - if test "$PTH_CONFIG" != "no"; then | ||
87 | - GNUPG_PTH_VERSION_CHECK($tmp) | ||
88 | - if test $have_pth = yes; then | ||
89 | - PTH_CFLAGS=`$PTH_CONFIG --cflags` | ||
90 | - PTH_LIBS=`$PTH_CONFIG --ldflags` | ||
91 | - PTH_LIBS="$PTH_LIBS `$PTH_CONFIG --libs --all`" | ||
92 | - AC_DEFINE(HAVE_PTH, 1, | ||
93 | + GNUPG_PTH_VERSION_CHECK($tmp) | ||
94 | + if test $have_pth = yes; then | ||
95 | + AC_DEFINE(HAVE_PTH, 1, | ||
96 | [Defined if the GNU Pth is available]) | ||
97 | - fi | ||
98 | fi | ||
99 | AC_SUBST(PTH_CFLAGS) | ||
100 | AC_SUBST(PTH_LIBS) | ||
101 | ]) | ||
102 | - | ||
103 | -- | ||
104 | 1.8.3.1 | ||
105 | |||
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 a0af2d48dc..ecd6263626 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 abc5c396aaddaef2e6811362e3e0cc0da28c2b34 Mon Sep 17 00:00:00 2001 | 1 | From 52ba9d34cd9317145ee8a93afd5d73dd0cbf3182 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 64cb8c6..3fe9027 100644 | 17 | index 7a2d410..14a7203 100644 |
18 | --- a/configure.ac | 18 | --- a/configure.ac |
19 | +++ b/configure.ac | 19 | +++ b/configure.ac |
20 | @@ -1824,7 +1824,7 @@ AC_DEFINE_UNQUOTED(GPGCONF_DISP_NAME, "GPGConf", | 20 | @@ -1841,7 +1841,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 6d86e5c99b..d3790ac782 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,7 +1,7 @@ | |||
1 | From 53c2aec2e13f4e2d09be7148869c862f07dfdd4d Mon Sep 17 00:00:00 2001 | 1 | From 15668161c351aee5f29152db2972b1648da11210 Mon Sep 17 00:00:00 2001 |
2 | From: Saul Wold <sgw@linux.intel.com> | 2 | From: Saul Wold <sgw@linux.intel.com> |
3 | Date: Wed, 16 Aug 2017 11:16:30 +0800 | 3 | Date: Wed, 16 Aug 2017 11:16:30 +0800 |
4 | Subject: [PATCH 2/4] use pkgconfig instead of npth config | 4 | Subject: [PATCH] use pkgconfig instead of npth config |
5 | 5 | ||
6 | Upstream-Status: Inappropriate [openembedded specific] | 6 | Upstream-Status: Inappropriate [openembedded specific] |
7 | 7 | ||
@@ -9,29 +9,45 @@ Signed-off-by: Saul Wold <sgw@linux.intel.com> | |||
9 | 9 | ||
10 | Rebase to 2.1.23 | 10 | Rebase to 2.1.23 |
11 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 11 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
12 | |||
12 | --- | 13 | --- |
13 | m4/npth.m4 | 34 ++++++++-------------------------- | 14 | m4/npth.m4 | 53 ++++++++--------------------------------------------- |
14 | 1 file changed, 8 insertions(+), 26 deletions(-) | 15 | 1 file changed, 8 insertions(+), 45 deletions(-) |
15 | 16 | ||
16 | diff --git a/m4/npth.m4 b/m4/npth.m4 | 17 | diff --git a/m4/npth.m4 b/m4/npth.m4 |
17 | index 17c2644..15a931b 100644 | 18 | index 06cdaee..4adda01 100644 |
18 | --- a/m4/npth.m4 | 19 | --- a/m4/npth.m4 |
19 | +++ b/m4/npth.m4 | 20 | +++ b/m4/npth.m4 |
20 | @@ -17,10 +17,10 @@ AC_DEFUN([_AM_PATH_NPTH_CONFIG], | 21 | @@ -19,25 +19,10 @@ AC_DEFUN([_AM_PATH_NPTH_CONFIG], |
21 | if test "x$npth_config_prefix" != x ; then | 22 | if test "x$npth_config_prefix" != x ; then |
22 | NPTH_CONFIG="$npth_config_prefix/bin/npth-config" | 23 | NPTH_CONFIG="$npth_config_prefix/bin/npth-config" |
23 | fi | 24 | fi |
24 | - AC_PATH_PROG(NPTH_CONFIG, npth-config, no) | ||
25 | + AC_PATH_PROG(PKGCONFIG, pkg-config, no) | 25 | + AC_PATH_PROG(PKGCONFIG, pkg-config, no) |
26 | 26 | ||
27 | - use_gpgrt_config="" | ||
28 | - if test x"$NPTH_CONFIG" = x -a x"$GPGRT_CONFIG" != x -a "$GPGRT_CONFIG" != "no"; then | ||
29 | - if $GPGRT_CONFIG npth --exists; then | ||
30 | - NPTH_CONFIG="$GPGRT_CONFIG npth" | ||
31 | - AC_MSG_NOTICE([Use gpgrt-config as npth-config]) | ||
32 | - use_gpgrt_config=yes | ||
33 | - fi | ||
34 | - fi | ||
35 | - if test -z "$use_gpgrt_config"; then | ||
36 | - AC_PATH_PROG(NPTH_CONFIG, npth-config, no) | ||
37 | - fi | ||
38 | - | ||
27 | - if test "$NPTH_CONFIG" != "no" ; then | 39 | - if test "$NPTH_CONFIG" != "no" ; then |
28 | - npth_version=`$NPTH_CONFIG --version` | 40 | - if test -z "$use_gpgrt_config"; then |
41 | - npth_version=`$NPTH_CONFIG --version` | ||
42 | - else | ||
43 | - npth_version=`$NPTH_CONFIG --modversion` | ||
44 | - fi | ||
29 | + if test "$PKGCONFIG" != "no" ; then | 45 | + if test "$PKGCONFIG" != "no" ; then |
30 | + npth_version=`$PKGCONFIG --modversion npth` | 46 | + npth_version=`$PKGCONFIG --modversion npth` |
31 | fi | 47 | fi |
32 | npth_version_major=`echo $npth_version | \ | 48 | npth_version_major=`echo $npth_version | \ |
33 | sed 's/\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'` | 49 | sed 's/\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'` |
34 | @@ -45,7 +45,7 @@ AC_DEFUN([AM_PATH_NPTH], | 50 | @@ -62,7 +47,7 @@ AC_DEFUN([AM_PATH_NPTH], |
35 | 51 | ||
36 | AC_MSG_CHECKING(for NPTH - version >= $min_npth_version) | 52 | AC_MSG_CHECKING(for NPTH - version >= $min_npth_version) |
37 | ok=no | 53 | ok=no |
@@ -40,7 +56,7 @@ index 17c2644..15a931b 100644 | |||
40 | req_major=`echo $min_npth_version | \ | 56 | req_major=`echo $min_npth_version | \ |
41 | sed 's/\([[0-9]]*\)\.\([[0-9]]*\)/\1/'` | 57 | sed 's/\([[0-9]]*\)\.\([[0-9]]*\)/\1/'` |
42 | req_minor=`echo $min_npth_version | \ | 58 | req_minor=`echo $min_npth_version | \ |
43 | @@ -66,28 +66,9 @@ AC_DEFUN([AM_PATH_NPTH], | 59 | @@ -83,32 +68,9 @@ AC_DEFUN([AM_PATH_NPTH], |
44 | fi | 60 | fi |
45 | if test $ok = yes; then | 61 | if test $ok = yes; then |
46 | AC_MSG_RESULT([yes ($npth_version)]) | 62 | AC_MSG_RESULT([yes ($npth_version)]) |
@@ -48,20 +64,24 @@ index 17c2644..15a931b 100644 | |||
48 | - AC_MSG_RESULT(no) | 64 | - AC_MSG_RESULT(no) |
49 | - fi | 65 | - fi |
50 | - if test $ok = yes; then | 66 | - if test $ok = yes; then |
51 | - # If we have a recent NPTH, we should also check that the | 67 | - # If we have a recent NPTH, we should also check that the |
52 | - # API is compatible. | 68 | - # API is compatible. |
53 | - if test "$req_npth_api" -gt 0 ; then | 69 | - if test "$req_npth_api" -gt 0 ; then |
70 | - if test -z "$use_gpgrt_config"; then | ||
54 | - tmp=`$NPTH_CONFIG --api-version 2>/dev/null || echo 0` | 71 | - tmp=`$NPTH_CONFIG --api-version 2>/dev/null || echo 0` |
55 | - if test "$tmp" -gt 0 ; then | 72 | - else |
56 | - AC_MSG_CHECKING([NPTH API version]) | 73 | - tmp=`$NPTH_CONFIG --variable=api_version 2>/dev/null || echo 0` |
57 | - if test "$req_npth_api" -eq "$tmp" ; then | 74 | - fi |
58 | - AC_MSG_RESULT([okay]) | 75 | - if test "$tmp" -gt 0 ; then |
59 | - else | 76 | - AC_MSG_CHECKING([NPTH API version]) |
60 | - ok=no | 77 | - if test "$req_npth_api" -eq "$tmp" ; then |
61 | - AC_MSG_RESULT([does not match. want=$req_npth_api got=$tmp]) | 78 | - AC_MSG_RESULT([okay]) |
62 | - fi | 79 | - else |
80 | - ok=no | ||
81 | - AC_MSG_RESULT([does not match. want=$req_npth_api got=$tmp]) | ||
63 | - fi | 82 | - fi |
64 | - fi | 83 | - fi |
84 | - fi | ||
65 | - fi | 85 | - fi |
66 | - if test $ok = yes; then | 86 | - if test $ok = yes; then |
67 | - NPTH_CFLAGS=`$NPTH_CONFIG --cflags` | 87 | - NPTH_CFLAGS=`$NPTH_CONFIG --cflags` |
@@ -70,9 +90,9 @@ index 17c2644..15a931b 100644 | |||
70 | + NPTH_LIBS=`$PKGCONFIG --libs npth` | 90 | + NPTH_LIBS=`$PKGCONFIG --libs npth` |
71 | + AC_MSG_WARN([[GOT HERE - $NPTH_LIBS ]]) | 91 | + AC_MSG_WARN([[GOT HERE - $NPTH_LIBS ]]) |
72 | ifelse([$2], , :, [$2]) | 92 | ifelse([$2], , :, [$2]) |
73 | npth_config_host=`$NPTH_CONFIG --host 2>/dev/null || echo none` | 93 | if test -z "$use_gpgrt_config"; then |
74 | if test x"$npth_config_host" != xnone ; then | 94 | npth_config_host=`$NPTH_CONFIG --host 2>/dev/null || echo none` |
75 | @@ -103,6 +84,7 @@ AC_DEFUN([AM_PATH_NPTH], | 95 | @@ -128,6 +90,7 @@ AC_DEFUN([AM_PATH_NPTH], |
76 | fi | 96 | fi |
77 | fi | 97 | fi |
78 | else | 98 | else |
@@ -80,6 +100,3 @@ index 17c2644..15a931b 100644 | |||
80 | NPTH_CFLAGS="" | 100 | NPTH_CFLAGS="" |
81 | NPTH_LIBS="" | 101 | NPTH_LIBS="" |
82 | ifelse([$3], , :, [$3]) | 102 | ifelse([$3], , :, [$3]) |
83 | -- | ||
84 | 1.8.3.1 | ||
85 | |||
diff --git a/meta/recipes-support/gnupg/gnupg/0003-dirmngr-uses-libgpg-error.patch b/meta/recipes-support/gnupg/gnupg/0003-dirmngr-uses-libgpg-error.patch index a13b4d5fb5..b4106d3620 100644 --- a/meta/recipes-support/gnupg/gnupg/0003-dirmngr-uses-libgpg-error.patch +++ b/meta/recipes-support/gnupg/gnupg/0003-dirmngr-uses-libgpg-error.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 6c75656b68cb6e38b039ae532bd39437cd6daec5 Mon Sep 17 00:00:00 2001 | 1 | From 9ace8f1b68ab708c44dce4c0152b975fbceb0398 Mon Sep 17 00:00:00 2001 |
2 | From: Saul Wold <sgw@linux.intel.com> | 2 | From: Saul Wold <sgw@linux.intel.com> |
3 | Date: Wed, 16 Aug 2017 11:18:01 +0800 | 3 | Date: Wed, 16 Aug 2017 11:18:01 +0800 |
4 | Subject: [PATCH] dirmngr uses libgpg error | 4 | Subject: [PATCH] dirmngr uses libgpg error |
@@ -11,18 +11,19 @@ Rebase to 2.1.23 | |||
11 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 11 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
12 | 12 | ||
13 | --- | 13 | --- |
14 | dirmngr/Makefile.am | 1 + | 14 | dirmngr/Makefile.am | 2 +- |
15 | 1 file changed, 1 insertion(+) | 15 | 1 file changed, 1 insertion(+), 1 deletion(-) |
16 | 16 | ||
17 | diff --git a/dirmngr/Makefile.am b/dirmngr/Makefile.am | 17 | diff --git a/dirmngr/Makefile.am b/dirmngr/Makefile.am |
18 | index 00d3c42..450d873 100644 | 18 | index 77ca3f5..1446775 100644 |
19 | --- a/dirmngr/Makefile.am | 19 | --- a/dirmngr/Makefile.am |
20 | +++ b/dirmngr/Makefile.am | 20 | +++ b/dirmngr/Makefile.am |
21 | @@ -101,6 +101,7 @@ dirmngr_LDADD = $(libcommonpth) \ | 21 | @@ -86,7 +86,7 @@ endif |
22 | dirmngr_LDADD = $(libcommonpth) \ | ||
22 | $(DNSLIBS) $(LIBASSUAN_LIBS) \ | 23 | $(DNSLIBS) $(LIBASSUAN_LIBS) \ |
23 | $(LIBGCRYPT_LIBS) $(KSBA_LIBS) $(NPTH_LIBS) \ | 24 | $(LIBGCRYPT_LIBS) $(KSBA_LIBS) $(NPTH_LIBS) \ |
24 | $(NTBTLS_LIBS) $(LIBGNUTLS_LIBS) $(LIBINTL) $(LIBICONV) $(NETLIBS) \ | 25 | - $(NTBTLS_LIBS) $(LIBGNUTLS_LIBS) $(LIBINTL) $(LIBICONV) $(NETLIBS) |
25 | + $(GPG_ERROR_LIBS) \ | 26 | + $(NTBTLS_LIBS) $(LIBGNUTLS_LIBS) $(LIBINTL) $(LIBICONV) $(NETLIBS) $(GPG_ERROR_LIBS) |
26 | $(dirmngr_robj) | ||
27 | if USE_LDAP | 27 | if USE_LDAP |
28 | dirmngr_LDADD += $(ldaplibs) | 28 | dirmngr_LDADD += $(ldaplibs) |
29 | endif | ||
diff --git a/meta/recipes-support/gnupg/gnupg/relocate.patch b/meta/recipes-support/gnupg/gnupg/relocate.patch index 7f7812cd46..9b0f0a8ce0 100644 --- a/meta/recipes-support/gnupg/gnupg/relocate.patch +++ b/meta/recipes-support/gnupg/gnupg/relocate.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From bd66af2ac7bb6d9294ac8055a55462ba7c4f9c9b Mon Sep 17 00:00:00 2001 | 1 | From d6992692d1c36983b709fe1ff049cc91ef2c408a 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 |
@@ -12,10 +12,10 @@ Signed-off-by: Ross Burton <ross.burton@intel.com> | |||
12 | 1 file changed, 8 insertions(+), 8 deletions(-) | 12 | 1 file changed, 8 insertions(+), 8 deletions(-) |
13 | 13 | ||
14 | diff --git a/common/homedir.c b/common/homedir.c | 14 | diff --git a/common/homedir.c b/common/homedir.c |
15 | index 4b6e46e..58989b4 100644 | 15 | index 85e09c4..e1410e2 100644 |
16 | --- a/common/homedir.c | 16 | --- a/common/homedir.c |
17 | +++ b/common/homedir.c | 17 | +++ b/common/homedir.c |
18 | @@ -763,7 +763,7 @@ gnupg_socketdir (void) | 18 | @@ -788,7 +788,7 @@ gnupg_socketdir (void) |
19 | if (!name) | 19 | if (!name) |
20 | { | 20 | { |
21 | unsigned int dummy; | 21 | unsigned int dummy; |
@@ -24,7 +24,7 @@ index 4b6e46e..58989b4 100644 | |||
24 | } | 24 | } |
25 | 25 | ||
26 | return name; | 26 | return name; |
27 | @@ -789,7 +789,7 @@ gnupg_sysconfdir (void) | 27 | @@ -814,7 +814,7 @@ gnupg_sysconfdir (void) |
28 | } | 28 | } |
29 | return name; | 29 | return name; |
30 | #else /*!HAVE_W32_SYSTEM*/ | 30 | #else /*!HAVE_W32_SYSTEM*/ |
@@ -33,7 +33,7 @@ index 4b6e46e..58989b4 100644 | |||
33 | #endif /*!HAVE_W32_SYSTEM*/ | 33 | #endif /*!HAVE_W32_SYSTEM*/ |
34 | } | 34 | } |
35 | 35 | ||
36 | @@ -818,7 +818,7 @@ gnupg_bindir (void) | 36 | @@ -843,7 +843,7 @@ gnupg_bindir (void) |
37 | else | 37 | else |
38 | return rdir; | 38 | return rdir; |
39 | #else /*!HAVE_W32_SYSTEM*/ | 39 | #else /*!HAVE_W32_SYSTEM*/ |
@@ -42,7 +42,7 @@ index 4b6e46e..58989b4 100644 | |||
42 | #endif /*!HAVE_W32_SYSTEM*/ | 42 | #endif /*!HAVE_W32_SYSTEM*/ |
43 | } | 43 | } |
44 | 44 | ||
45 | @@ -831,7 +831,7 @@ gnupg_libexecdir (void) | 45 | @@ -856,7 +856,7 @@ gnupg_libexecdir (void) |
46 | #ifdef HAVE_W32_SYSTEM | 46 | #ifdef HAVE_W32_SYSTEM |
47 | return gnupg_bindir (); | 47 | return gnupg_bindir (); |
48 | #else /*!HAVE_W32_SYSTEM*/ | 48 | #else /*!HAVE_W32_SYSTEM*/ |
@@ -51,7 +51,7 @@ index 4b6e46e..58989b4 100644 | |||
51 | #endif /*!HAVE_W32_SYSTEM*/ | 51 | #endif /*!HAVE_W32_SYSTEM*/ |
52 | } | 52 | } |
53 | 53 | ||
54 | @@ -845,7 +845,7 @@ gnupg_libdir (void) | 54 | @@ -870,7 +870,7 @@ gnupg_libdir (void) |
55 | name = xstrconcat (w32_rootdir (), DIRSEP_S "lib" DIRSEP_S "gnupg", NULL); | 55 | name = xstrconcat (w32_rootdir (), DIRSEP_S "lib" DIRSEP_S "gnupg", NULL); |
56 | return name; | 56 | return name; |
57 | #else /*!HAVE_W32_SYSTEM*/ | 57 | #else /*!HAVE_W32_SYSTEM*/ |
@@ -60,7 +60,7 @@ index 4b6e46e..58989b4 100644 | |||
60 | #endif /*!HAVE_W32_SYSTEM*/ | 60 | #endif /*!HAVE_W32_SYSTEM*/ |
61 | } | 61 | } |
62 | 62 | ||
63 | @@ -859,7 +859,7 @@ gnupg_datadir (void) | 63 | @@ -884,7 +884,7 @@ gnupg_datadir (void) |
64 | name = xstrconcat (w32_rootdir (), DIRSEP_S "share" DIRSEP_S "gnupg", NULL); | 64 | name = xstrconcat (w32_rootdir (), DIRSEP_S "share" DIRSEP_S "gnupg", NULL); |
65 | return name; | 65 | return name; |
66 | #else /*!HAVE_W32_SYSTEM*/ | 66 | #else /*!HAVE_W32_SYSTEM*/ |
@@ -69,7 +69,7 @@ index 4b6e46e..58989b4 100644 | |||
69 | #endif /*!HAVE_W32_SYSTEM*/ | 69 | #endif /*!HAVE_W32_SYSTEM*/ |
70 | } | 70 | } |
71 | 71 | ||
72 | @@ -875,7 +875,7 @@ gnupg_localedir (void) | 72 | @@ -900,7 +900,7 @@ gnupg_localedir (void) |
73 | NULL); | 73 | NULL); |
74 | return name; | 74 | return name; |
75 | #else /*!HAVE_W32_SYSTEM*/ | 75 | #else /*!HAVE_W32_SYSTEM*/ |
@@ -78,7 +78,7 @@ index 4b6e46e..58989b4 100644 | |||
78 | #endif /*!HAVE_W32_SYSTEM*/ | 78 | #endif /*!HAVE_W32_SYSTEM*/ |
79 | } | 79 | } |
80 | 80 | ||
81 | @@ -943,7 +943,7 @@ gnupg_cachedir (void) | 81 | @@ -971,7 +971,7 @@ gnupg_cachedir (void) |
82 | } | 82 | } |
83 | return dir; | 83 | return dir; |
84 | #else /*!HAVE_W32_SYSTEM*/ | 84 | #else /*!HAVE_W32_SYSTEM*/ |
diff --git a/meta/recipes-support/gnupg/gnupg_2.2.27.bb b/meta/recipes-support/gnupg/gnupg_2.3.1.bb index 1181c8341b..77331efc0b 100644 --- a/meta/recipes-support/gnupg/gnupg_2.2.27.bb +++ b/meta/recipes-support/gnupg/gnupg_2.3.1.bb | |||
@@ -15,7 +15,6 @@ inherit autotools gettext texinfo pkgconfig | |||
15 | 15 | ||
16 | UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" | 16 | UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" |
17 | SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ | 17 | SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ |
18 | file://0001-Use-pkg-config-to-find-pth-instead-of-pth-config.patch \ | ||
19 | file://0002-use-pkgconfig-instead-of-npth-config.patch \ | 18 | file://0002-use-pkgconfig-instead-of-npth-config.patch \ |
20 | file://0003-dirmngr-uses-libgpg-error.patch \ | 19 | file://0003-dirmngr-uses-libgpg-error.patch \ |
21 | file://0004-autogen.sh-fix-find-version-for-beta-checking.patch \ | 20 | file://0004-autogen.sh-fix-find-version-for-beta-checking.patch \ |
@@ -25,7 +24,7 @@ SRC_URI_append_class-native = " file://0001-configure.ac-use-a-custom-value-for- | |||
25 | file://relocate.patch" | 24 | file://relocate.patch" |
26 | SRC_URI_append_class-nativesdk = " file://relocate.patch" | 25 | SRC_URI_append_class-nativesdk = " file://relocate.patch" |
27 | 26 | ||
28 | SRC_URI[sha256sum] = "34e60009014ea16402069136e0a5f63d9b65f90096244975db5cea74b3d02399" | 27 | SRC_URI[sha256sum] = "c498db346a9b9a4b399e514c8f56dfc0a888ce8f327f10376ff984452cd154ec" |
29 | 28 | ||
30 | EXTRA_OECONF = "--disable-ldap \ | 29 | EXTRA_OECONF = "--disable-ldap \ |
31 | --disable-ccid-driver \ | 30 | --disable-ccid-driver \ |