[oe-commits] Qian Lei : engine-pkcs11: Add new recipe

git at git.openembedded.org git at git.openembedded.org
Wed Dec 17 12:16:26 UTC 2014


Module: meta-openembedded.git
Branch: master-next
Commit: fa517b4f56e062e828ec0e9282f402214bd31c99
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=fa517b4f56e062e828ec0e9282f402214bd31c99

Author: Qian Lei <qianl.fnst at cn.fujitsu.com>
Date:   Wed Dec 17 11:32:13 2014 +0800

engine-pkcs11: Add new recipe

Engine_pkcs11 is an implementation of an engine for OpenSSL. It can be
loaded using code, config file or command line and will pass any function
call by openssl to a PKCS cards and software for using smart cards in PKCS

Signed-off-by: Qian Lei <qianl.fnst at cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../engine-pkcs11/engine-pkcs11_0.1.8.bb           | 29 ++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/meta-oe/recipes-support/engine-pkcs11/engine-pkcs11_0.1.8.bb b/meta-oe/recipes-support/engine-pkcs11/engine-pkcs11_0.1.8.bb
new file mode 100644
index 0000000..d665242
--- /dev/null
+++ b/meta-oe/recipes-support/engine-pkcs11/engine-pkcs11_0.1.8.bb
@@ -0,0 +1,29 @@
+SUMMARY = "A PKCS"
+DESCRIPTION = "\
+Engine_pkcs11 is an implementation of an engine for OpenSSL. It can be \
+loaded using code, config file or command line and will pass any function \
+call by openssl to a PKCS cards and software for using smart cards in PKCS"
+HOMEPAGE = "https://github.com/OpenSC/engine_pkcs11"
+SECTION = "Development/Libraries"
+LICENSE = "LGPLv2.1+"
+LIC_FILES_CHKSUM = "file://doc/README;md5=d2ab6bf8854463fa6bf98f5bb6dfc47c"
+DEPENDS = "openssl libp11"
+
+SRC_URI = "git://github.com/OpenSC/engine_pkcs11.git"
+SRCREV = "bb775c32dba8cc4b4381a53da7ab5d7b22b7921d"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "\
+    --disable-static \
+    --libdir ${libdir}/openssl \
+"
+
+do_install_append () {
+    rm -f ${D}${libdir}/openssl/engines/engine_pkcs11.la
+}
+
+FILES_${PN} += "/usr/lib/openssl/engines/engine_pkcs11.so*"
+FILES_${PN}-dbg += "/usr/lib/openssl/engines/.debug/*"



More information about the Openembedded-commits mailing list