summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gpgme
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2013-12-12 13:38:32 +0100
committerAdrian Dudau <adrian.dudau@enea.com>2013-12-12 13:50:20 +0100
commite2e6f6fe07049f33cb6348780fa975162752e421 (patch)
treeb1813295411235d1297a0ed642b1346b24fdfb12 /meta/recipes-support/gpgme
downloadpoky-e2e6f6fe07049f33cb6348780fa975162752e421.tar.gz
initial commit of Enea Linux 3.1
Migrated from the internal git server on the dora-enea branch Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/recipes-support/gpgme')
-rw-r--r--meta/recipes-support/gpgme/gpgme-1.4.3/disable_gpgconf_check.patch39
-rw-r--r--meta/recipes-support/gpgme/gpgme_1.4.3.bb30
2 files changed, 69 insertions, 0 deletions
diff --git a/meta/recipes-support/gpgme/gpgme-1.4.3/disable_gpgconf_check.patch b/meta/recipes-support/gpgme/gpgme-1.4.3/disable_gpgconf_check.patch
new file mode 100644
index 0000000000..df0953069c
--- /dev/null
+++ b/meta/recipes-support/gpgme/gpgme-1.4.3/disable_gpgconf_check.patch
@@ -0,0 +1,39 @@
1From 1.2.0, gpgme will check if gpgconf & g13(from 1.3.0) exist, and cause
2configure failure if not founding them in cross-compile environment. We can
3add the gnupg-native to get them, but still have some issues:
4
51. need add new package: libksba, update libassuan(not in sato), and extend
6 native support in some other packages(libgcrypt, libgpg-error, pth...)
72. Even we have gnupg, the g13 only exist in development branch, so that we
8 still have the g13 check failure in configure.
9
10I have searched the compile log, and found gpgconf/g13 are not used. So use a
11simple method here, throw a warning mesg rather than an error here just like in
12non-cross-compile environment.
13
14Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
15
16Upstream-Status: Inappropriate [embedded specific]
17
18Index: gpgme-1.3.0/configure.ac
19===================================================================
20--- gpgme-1.3.0.orig/configure.ac 2010-07-21 09:38:09.000000000 +0800
21+++ gpgme-1.3.0/configure.ac 2010-07-21 09:39:19.000000000 +0800
22@@ -574,7 +574,7 @@
23 *** Could not find gpgconf, install gpgconf or use --with-gpgconf=PATH to enable it
24 ***])
25 else
26- AC_MSG_ERROR([
27+ AC_MSG_WARN([
28 ***
29 *** Can not determine path to gpgconf when cross-compiling, use --with-gpgconf=PATH
30 ***])
31@@ -670,7 +670,7 @@
32 *** Could not find g13, install g13 or use --with-g13=PATH to enable it
33 ***])
34 else
35- AC_MSG_ERROR([
36+ AC_MSG_WARN([
37 ***
38 *** Can not determine path to g13 when cross-compiling, use --with-g13=PATH
39 ***])
diff --git a/meta/recipes-support/gpgme/gpgme_1.4.3.bb b/meta/recipes-support/gpgme/gpgme_1.4.3.bb
new file mode 100644
index 0000000000..aacd92383c
--- /dev/null
+++ b/meta/recipes-support/gpgme/gpgme_1.4.3.bb
@@ -0,0 +1,30 @@
1SUMMARY = "High-level GnuPG encryption/signing API"
2DESCRIPTION = "GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for applications. It provides a High-Level Crypto API for encryption, decryption, signing, signature verification and key management"
3HOMEPAGE = "http://www.gnupg.org/gpgme.html"
4BUGTRACKER = "https://bugs.g10code.com/gnupg/index"
5
6LICENSE = "GPLv2+ & LGPLv2.1+"
7LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
8 file://COPYING.LESSER;md5=bbb461211a33b134d42ed5ee802b37ff \
9 file://src/gpgme.h.in;endline=23;md5=dccb4bb624011e36513c61ef0422d054 \
10 file://src/engine.h;endline=22;md5=4b6d8ba313d9b564cc4d4cfb1640af9d"
11
12SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-${PV}.tar.bz2 \
13 file://disable_gpgconf_check.patch"
14
15SRC_URI[md5sum] = "334e524cffa8af4e2f43ae8afe585672"
16SRC_URI[sha256sum] = "2d1cc12411753752d9c5b9037e6fd3fd363517af720154768cc7b46b60120496"
17
18DEPENDS = "libgpg-error libassuan ${PTH}"
19PTH_libc-uclibc = "npth"
20PTH = "pth"
21
22EXTRA_OECONF = "--with-pth=${STAGING_DIR_HOST} --without-pth-test \
23 --with-gpg=${bindir}/gpg --without-gpgsm"
24
25inherit autotools binconfig
26
27PACKAGES =+ "${PN}-pth ${PN}-pthread"
28FILES_${PN}-pth = "${libdir}/libgpgme-pth.so.*"
29FILES_${PN}-pthread = "${libdir}/libgpgme-pthread.so.*"
30FILES_${PN}-dev += "${datadir}/common-lisp/source/gpgme/*"