summaryrefslogtreecommitdiffstats
path: root/recipes-support/gnupg/gnupg_1.4.7.bb
diff options
context:
space:
mode:
authorWenlin Kang <wenlin.kang@windriver.com>2017-09-19 13:14:49 +0800
committerRoss Burton <ross.burton@intel.com>2017-09-19 13:45:42 +0100
commit9b1d684d72f5a7d9b231cadbcaed4de7b0d73b21 (patch)
tree32beb7d2a47e9c9b87c1ad1951e60c22c000d6fc /recipes-support/gnupg/gnupg_1.4.7.bb
parentd8668018d5d795be2297f878fd871a27edf532bf (diff)
downloadmeta-gplv2-9b1d684d72f5a7d9b231cadbcaed4de7b0d73b21.tar.gz
gnupg: specify tar path explicitly
The gpg-zip script contains wrong tar binary path: "TAR=/buildarea/poky/build/tmp/hosttools/tar" Specify the correct tar path when configure. Also remove the code for ustar format detection in configure because it is not applicable for cross-compile environment. Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com> Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'recipes-support/gnupg/gnupg_1.4.7.bb')
-rw-r--r--recipes-support/gnupg/gnupg_1.4.7.bb10
1 files changed, 6 insertions, 4 deletions
diff --git a/recipes-support/gnupg/gnupg_1.4.7.bb b/recipes-support/gnupg/gnupg_1.4.7.bb
index 6ccffd5..85636ab 100644
--- a/recipes-support/gnupg/gnupg_1.4.7.bb
+++ b/recipes-support/gnupg/gnupg_1.4.7.bb
@@ -18,6 +18,7 @@ SRC_URI = "${GNUPG_MIRROR}/gnupg/gnupg-${PV}.tar.bz2 \
18 file://CVE-2013-4351.patch \ 18 file://CVE-2013-4351.patch \
19 file://CVE-2013-4576.patch \ 19 file://CVE-2013-4576.patch \
20 file://CVE-2013-4242.patch \ 20 file://CVE-2013-4242.patch \
21 file://fix-ustar-check-issue.patch \
21 " 22 "
22 23
23SRC_URI[md5sum] = "b06a141cca5cd1a55bbdd25ab833303c" 24SRC_URI[md5sum] = "b06a141cca5cd1a55bbdd25ab833303c"
@@ -74,12 +75,13 @@ inherit autotools gettext texinfo
74# --disable-regex do not handle regular expressions in trust sigs 75# --disable-regex do not handle regular expressions in trust sigs
75 76
76EXTRA_OECONF = "--disable-ldap \ 77EXTRA_OECONF = "--disable-ldap \
77 --with-zlib=${STAGING_LIBDIR}/.. \ 78 --with-zlib=${STAGING_LIBDIR}/.. \
78 --with-bzip2=${STAGING_LIBDIR}/.. \ 79 --with-bzip2=${STAGING_LIBDIR}/.. \
79 --disable-selinux-support \ 80 --disable-selinux-support \
80 --with-readline=${STAGING_LIBDIR}/.. \ 81 --with-readline=${STAGING_LIBDIR}/.. \
81 ac_cv_sys_symbol_underscore=no \ 82 ac_cv_sys_symbol_underscore=no \
82 " 83 ac_cv_path_TAR=${base_bindir}/tar \
84 "
83 85
84# Force gcc's traditional handling of inline to avoid issues with gcc 5 86# Force gcc's traditional handling of inline to avoid issues with gcc 5
85CFLAGS += "-fgnu89-inline" 87CFLAGS += "-fgnu89-inline"