Patchwork [109/131] libgcrypt: Version 1.5.3

login
register
mail settings
Submitter christian.braunersorensen@prevas.dk
Date Jan. 14, 2014, 12:34 p.m.
Message ID <c0a32774ac6884e9f1cf46c809280762fd9bd033.1389702652.git.christian.braunersorensen@prevas.dk>
Download mbox | patch
Permalink /patch/310706/
State Accepted
Delegated to: Esben Haabendal
Headers show

Comments

christian.braunersorensen@prevas.dk - Jan. 14, 2014, 12:34 p.m.
From: Kim B√łndergaard <kibo@prevas.dk>

(cherry picked from commit 22916a8927d4afb685943d10bd473cd94ca8ed78)
---
 recipes/libgcrypt/libgcrypt.inc          | 10 ++++++++--
 recipes/libgcrypt/libgcrypt_1.5.3.oe     |  6 ++++++
 recipes/libgcrypt/libgcrypt_1.5.3.oe.sig |  1 +
 3 files changed, 15 insertions(+), 2 deletions(-)
 create mode 100644 recipes/libgcrypt/libgcrypt_1.5.3.oe
 create mode 100644 recipes/libgcrypt/libgcrypt_1.5.3.oe.sig

Patch

diff --git a/recipes/libgcrypt/libgcrypt.inc b/recipes/libgcrypt/libgcrypt.inc
index 7a48cf7..d29b00b 100644
--- a/recipes/libgcrypt/libgcrypt.inc
+++ b/recipes/libgcrypt/libgcrypt.inc
@@ -3,8 +3,9 @@  HOMEPAGE = "http://directory.fsf.org/project/libgcrypt/"
 
 inherit autotools-autoreconf binconfig pkgconfig library
 
-DEPENDS = "libgpg-error libcap2"
-DEPENDS_${PN} += "libgpg-error libcap2"
+DEPENDS = "libgpg-error libcap"
+DEPENDS_${PN} += "libgpg-error libcap libcap"
+RDEPENDS_${PN} += "libgpg-error libc libcap"
 
 SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${PV}.tar.gz"
 
@@ -26,3 +27,8 @@  FILES_${PN}-dev += "${bindir}/dumpsexp ${bindir}/hmac256"
 
 inherit auto-package-utils
 AUTO_PACKAGE_UTILS = "dumpsexp hmac256"
+
+DEPENDS_${PN}-dumpsexp += "libc libcap"
+RDEPENDS_${PN}-dumpsexp += "libc libcap"
+DEPENDS_${PN}-hmac256 += "libc libcap"
+RDEPENDS_${PN}-hmac256 += "libc libcap"
diff --git a/recipes/libgcrypt/libgcrypt_1.5.3.oe b/recipes/libgcrypt/libgcrypt_1.5.3.oe
new file mode 100644
index 0000000..abd3eec
--- /dev/null
+++ b/recipes/libgcrypt/libgcrypt_1.5.3.oe
@@ -0,0 +1,6 @@ 
+require libgcrypt.inc
+
+# helper program gcryptrnd and getrandom are under GPL, rest LGPL
+LICENSE = "GPLv2+ & LGPLv2.1+"
+
+SRC_URI += "file://add-pkgconfig-support.patch"
diff --git a/recipes/libgcrypt/libgcrypt_1.5.3.oe.sig b/recipes/libgcrypt/libgcrypt_1.5.3.oe.sig
new file mode 100644
index 0000000..3cc4885
--- /dev/null
+++ b/recipes/libgcrypt/libgcrypt_1.5.3.oe.sig
@@ -0,0 +1 @@ 
+184405c91d1ab4877caefb1a6458767e5f0b639e  libgcrypt-1.5.3.tar.gz