diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2016-08-15 03:35:58 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-17 10:35:43 +0100 |
commit | 205418f28ee9f4e7291862ab007224786a19d54c (patch) | |
tree | b1490b1e9ce22f4069783cb7c9449463d7410ee0 /meta/recipes-support/gnupg/gnupg_2.1.14.bb | |
parent | 8ce7bc30dccff6f11e141530e1845ebba4a1b6f2 (diff) | |
download | poky-205418f28ee9f4e7291862ab007224786a19d54c.tar.gz |
gnupg: upgrade to 2.1.14
(From OE-Core rev: 4ae0ebfae05e2b3c78146f606eaa12b2e42cd07d)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gnupg/gnupg_2.1.14.bb')
-rw-r--r-- | meta/recipes-support/gnupg/gnupg_2.1.14.bb | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/recipes-support/gnupg/gnupg_2.1.14.bb b/meta/recipes-support/gnupg/gnupg_2.1.14.bb new file mode 100644 index 0000000000..5ea9b962e8 --- /dev/null +++ b/meta/recipes-support/gnupg/gnupg_2.1.14.bb | |||
@@ -0,0 +1,46 @@ | |||
1 | SUMMARY = "GNU Privacy Guard - encryption and signing tools (2.x)" | ||
2 | HOMEPAGE = "http://www.gnupg.org/" | ||
3 | LICENSE = "GPLv3 & LGPLv3" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \ | ||
5 | file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6" | ||
6 | |||
7 | DEPENDS = "npth libassuan libksba zlib bzip2 readline libgcrypt" | ||
8 | |||
9 | inherit autotools gettext texinfo pkgconfig | ||
10 | |||
11 | UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" | ||
12 | SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ | ||
13 | file://pkgconfig.patch \ | ||
14 | file://use-pkgconfig-instead-of-npth-config.patch \ | ||
15 | file://dirmngr-uses-libgpg-error.patch \ | ||
16 | file://autogen.sh-fix-find-version-for-beta-checking.patch \ | ||
17 | " | ||
18 | |||
19 | SRC_URI[md5sum] = "46cf0a42ffad6c2615cafd633580b2de" | ||
20 | SRC_URI[sha256sum] = "9450dee9693b6a12bf0c374dae77b66c30f69ff8f35fc9266ab8dd76998eba42" | ||
21 | |||
22 | EXTRA_OECONF = "--disable-ldap \ | ||
23 | --disable-ccid-driver \ | ||
24 | --with-zlib=${STAGING_LIBDIR}/.. \ | ||
25 | --with-bzip2=${STAGING_LIBDIR}/.. \ | ||
26 | --with-readline=${STAGING_LIBDIR}/.. \ | ||
27 | " | ||
28 | RRECOMMENDS_${PN} = "pinentry" | ||
29 | |||
30 | do_configure_prepend () { | ||
31 | # Else these could be used in prefernce to those in aclocal-copy | ||
32 | rm -f ${S}/m4/gpg-error.m4 | ||
33 | rm -f ${S}/m4/libassuan.m4 | ||
34 | rm -f ${S}/m4/ksba.m4 | ||
35 | rm -f ${S}/m4/libgcrypt.m4 | ||
36 | } | ||
37 | |||
38 | do_install_append() { | ||
39 | ln -sf gpg2 ${D}${bindir}/gpg | ||
40 | ln -sf gpgv2 ${D}${bindir}/gpgv | ||
41 | } | ||
42 | |||
43 | RDEPENDS_${PN} = "gnutls" | ||
44 | |||
45 | PACKAGECONFIG ??= "" | ||
46 | PACKAGECONFIG[sqlite3] = "--enable-sqlite, --disable-sqlite, sqlite3" | ||