* [meta-oe][PATCH v2] opensc: add new recipe
@ 2015-01-23 9:46 Li xin
2015-01-28 10:54 ` Martin Jansa
0 siblings, 1 reply; 3+ messages in thread
From: Li xin @ 2015-01-23 9:46 UTC (permalink / raw)
To: openembedded-devel
OpenSC provides a set of libraries and utilities to work with smart cards.
Its main focus is on cards that support cryptographic operations,
and facilitate their use in security applications such as authentication,
mail encryption and digital signatures.
Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
---
meta-oe/recipes-support/opensc/opensc_0.14.0.bb | 42 +++++++++++++++++++++++++
1 file changed, 42 insertions(+)
create mode 100644 meta-oe/recipes-support/opensc/opensc_0.14.0.bb
diff --git a/meta-oe/recipes-support/opensc/opensc_0.14.0.bb b/meta-oe/recipes-support/opensc/opensc_0.14.0.bb
new file mode 100644
index 0000000..bdb8d23
--- /dev/null
+++ b/meta-oe/recipes-support/opensc/opensc_0.14.0.bb
@@ -0,0 +1,42 @@
+SUMMARY = "Smart card library and applications"
+DESCRIPTION = "OpenSC is a tool for accessing smart card devices. Basic \
+functionality (e.g. SELECT FILE, READ BINARY) should work on any ISO \
+7816-4 compatible smart card. Encryption and decryption using private \
+keys on the smart card is possible with PKCS \
+such as the FINEID (Finnish Electronic IDentity) card. Swedish Posten \
+eID cards have also been confirmed to work."
+
+HOMEPAGE = "https://github.com/OpenSC/OpenSC/wiki"
+
+SRC_URI = "${DEBIAN_MIRROR}/main/o/${BPN}/${BPN}_${PV}.orig.tar.gz"
+SRC_URI[md5sum] = "1ee31dc2e89860458fd984e0cac9795e"
+SRC_URI[sha256sum] = "ffe8bcc704f2ab9a05c6781bc815f00eaf75cba0a1bd21e3142b9194a7bed5c9"
+
+S = "${WORKDIR}/OpenSC-${PV}"
+LICENSE = "LGPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
+
+inherit autotools pkgconfig
+DEPENDS = "openct pcsc-lite virtual/libiconv openssl"
+
+EXTRA_OECONF = " \
+ --disable-static \
+ --enable-openct \
+ --disable-pcsc \
+ --disable-ctapi \
+ --enable-doc \
+"
+EXTRA_OEMAKE = "DESTDIR=${D}"
+
+RDEPENDS_${PN} = "readline"
+
+FILES_${PN} += "\
+ ${libdir}/opensc-pkcs11.so \
+ ${libdir}/onepin-opensc-pkcs11.so \
+ ${libdir}/pkcs11-spy.so \
+"
+FILES_${PN}-dev += "\
+ ${libdir}/pkcs11/opensc-pkcs11.so \
+ ${libdir}/pkcs11/onepin-opensc-pkcs11.so \
+ ${libdir}/pkcs11/pkcs11-spy.so \
+"
--
1.8.4.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [meta-oe][PATCH v2] opensc: add new recipe
2015-01-23 9:46 [meta-oe][PATCH v2] opensc: add new recipe Li xin
@ 2015-01-28 10:54 ` Martin Jansa
2015-02-04 10:48 ` [meta-oe][PATCH v3] " Li xin
0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2015-01-28 10:54 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 3356 bytes --]
On Fri, Jan 23, 2015 at 05:46:16PM +0800, Li xin wrote:
> OpenSC provides a set of libraries and utilities to work with smart cards.
> Its main focus is on cards that support cryptographic operations,
> and facilitate their use in security applications such as authentication,
> mail encryption and digital signatures.
>
> Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
> ---
> meta-oe/recipes-support/opensc/opensc_0.14.0.bb | 42 +++++++++++++++++++++++++
> 1 file changed, 42 insertions(+)
> create mode 100644 meta-oe/recipes-support/opensc/opensc_0.14.0.bb
>
> diff --git a/meta-oe/recipes-support/opensc/opensc_0.14.0.bb b/meta-oe/recipes-support/opensc/opensc_0.14.0.bb
> new file mode 100644
> index 0000000..bdb8d23
> --- /dev/null
> +++ b/meta-oe/recipes-support/opensc/opensc_0.14.0.bb
> @@ -0,0 +1,42 @@
> +SUMMARY = "Smart card library and applications"
> +DESCRIPTION = "OpenSC is a tool for accessing smart card devices. Basic \
> +functionality (e.g. SELECT FILE, READ BINARY) should work on any ISO \
> +7816-4 compatible smart card. Encryption and decryption using private \
> +keys on the smart card is possible with PKCS \
> +such as the FINEID (Finnish Electronic IDentity) card. Swedish Posten \
> +eID cards have also been confirmed to work."
> +
> +HOMEPAGE = "https://github.com/OpenSC/OpenSC/wiki"
> +
> +SRC_URI = "${DEBIAN_MIRROR}/main/o/${BPN}/${BPN}_${PV}.orig.tar.gz"
> +SRC_URI[md5sum] = "1ee31dc2e89860458fd984e0cac9795e"
> +SRC_URI[sha256sum] = "ffe8bcc704f2ab9a05c6781bc815f00eaf75cba0a1bd21e3142b9194a7bed5c9"
> +
> +S = "${WORKDIR}/OpenSC-${PV}"
> +LICENSE = "LGPLv2+"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
> +
> +inherit autotools pkgconfig
> +DEPENDS = "openct pcsc-lite virtual/libiconv openssl"
> +
> +EXTRA_OECONF = " \
> + --disable-static \
> + --enable-openct \
> + --disable-pcsc \
> + --disable-ctapi \
> + --enable-doc \
> +"
> +EXTRA_OEMAKE = "DESTDIR=${D}"
> +
> +RDEPENDS_${PN} = "readline"
> +
> +FILES_${PN} += "\
> + ${libdir}/opensc-pkcs11.so \
> + ${libdir}/onepin-opensc-pkcs11.so \
> + ${libdir}/pkcs11-spy.so \
> +"
> +FILES_${PN}-dev += "\
> + ${libdir}/pkcs11/opensc-pkcs11.so \
> + ${libdir}/pkcs11/onepin-opensc-pkcs11.so \
> + ${libdir}/pkcs11/pkcs11-spy.so \
> +"
Fails to build in world:
| checking for OPENCT... yes
| checking XSLTPROC requirement... configure: error: Missing xslstylesheetsdir
| Configure failed. The contents of all config.log files follows to aid debugging
| ERROR: oe_runconf failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/opensc/0.14.0-r0/temp/log.do_configure.22998)
NOTE: recipe opensc-0.14.0-r0: task do_configure: Failed
ERROR: Task 8944 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-support/opensc/opensc_0.14.0.bb, do_configure) failed with exit code '1'
> --
> 1.8.4.2
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [meta-oe][PATCH v3] opensc: add new recipe
2015-01-28 10:54 ` Martin Jansa
@ 2015-02-04 10:48 ` Li xin
0 siblings, 0 replies; 3+ messages in thread
From: Li xin @ 2015-02-04 10:48 UTC (permalink / raw)
To: openembedded-devel
OpenSC provides a set of libraries and utilities to work with smart cards.
Its main focus is on cards that support cryptographic operations, and
facilitate their use in security applications such as authentication,
mail encryption and digital signatures.
Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
---
meta-oe/recipes-support/opensc/opensc_0.14.0.bb | 45 +++++++++++++++++++++++++
1 file changed, 45 insertions(+)
create mode 100644 meta-oe/recipes-support/opensc/opensc_0.14.0.bb
diff --git a/meta-oe/recipes-support/opensc/opensc_0.14.0.bb b/meta-oe/recipes-support/opensc/opensc_0.14.0.bb
new file mode 100644
index 0000000..87ea2ad
--- /dev/null
+++ b/meta-oe/recipes-support/opensc/opensc_0.14.0.bb
@@ -0,0 +1,45 @@
+SUMMARY = "Smart card library and applications"
+DESCRIPTION = "OpenSC is a tool for accessing smart card devices. Basic\
+functionality (e.g. SELECT FILE, READ BINARY) should work on any ISO\
+7816-4 compatible smart card. Encryption and decryption using private\
+keys on the smart card is possible with PKCS\
+such as the FINEID (Finnish Electronic IDentity) card. Swedish Posten\
+eID cards have also been confirmed to work."
+
+HOMEPAGE = "http://www.opensc-project.org/opensc/"
+SECTION = "System Environment/Libraries"
+
+SRC_URI = "${DEBIAN_MIRROR}/main/o/${BPN}/${BPN}_${PV}.orig.tar.gz"
+
+SRC_URI[md5sum] = "1ee31dc2e89860458fd984e0cac9795e"
+SRC_URI[sha256sum] = "ffe8bcc704f2ab9a05c6781bc815f00eaf75cba0a1bd21e3142b9194a7bed5c9"
+
+S = "${WORKDIR}/OpenSC-${PV}"
+DEPENDS = "openct pcsc-lite virtual/libiconv openssl"
+
+LICENSE = "LGPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = " \
+ --disable-static \
+ --enable-openct \
+ --disable-pcsc \
+ --disable-ctapi \
+ --disable-doc \
+"
+EXTRA_OEMAKE = "DESTDIR=${D}"
+
+RDEPENDS_${PN} = "readline"
+
+FILES_${PN} += "\
+ ${libdir}/opensc-pkcs11.so \
+ ${libdir}/onepin-opensc-pkcs11.so \
+ ${libdir}/pkcs11-spy.so \
+"
+FILES_${PN}-dev += "\
+ ${libdir}/pkcs11/opensc-pkcs11.so \
+ ${libdir}/pkcs11/onepin-opensc-pkcs11.so \
+ ${libdir}/pkcs11/pkcs11-spy.so \
+"
--
1.8.4.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-02-04 10:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-23 9:46 [meta-oe][PATCH v2] opensc: add new recipe Li xin
2015-01-28 10:54 ` Martin Jansa
2015-02-04 10:48 ` [meta-oe][PATCH v3] " Li xin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.