diff --git a/bitbake/libnfc/libnfc.bb b/bitbake/libnfc/libnfc.bb new file mode 100644 index 0000000..c624282 --- /dev/null +++ b/bitbake/libnfc/libnfc.bb @@ -0,0 +1,16 @@ +SUMMARY = "Public platform independent Near Field Communication (NFC) library" +DESCRIPTION = "libnfc is a library which allows userspace application access to NFC devices." +HOMEPAGE = "http://www.libnfc.org/" +BUGTRACKER = "http://code.google.com/p/libnfc/issues/list" + +LICENSE = "LGPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=b52f2d57d10c4f7ee67a7eb9615d5d24" + +SRC_URI = "svn://libnfc.googlecode.com/svn/tags/;module=libnfc-1.5.1;proto=http" +SRCREV = "1326" +PV = "1.5.1+svnr${SRCPV}" +PR = "r0" + +S = "${WORKDIR}/libnfc-1.5.1" + +inherit autotools pkgconfig diff --git a/bitbake/opensc/opensc.bb b/bitbake/opensc/opensc.bb index 391354b..6ae5353 100644 --- a/bitbake/opensc/opensc.bb +++ b/bitbake/opensc/opensc.bb @@ -1,5 +1,6 @@ DESCRIPTION = "A set of libraries and utilities to work with smart cards" HOMEPAGE = "http://www.opensc-project.org/opensc" + LICENSE = "LGPL-2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" @@ -7,7 +8,9 @@ DEPENDS = "pcsc-lite openssl" SRC_URI = "git://github.com/frankmorgner/OpenSC.git;" SRCREV = "d818628bf9c62c750710649b0b234bc71eec4ee9" -PV = "0.12+gitr${SRCPV}" +PV = "0.12.3+gitr${SRCPV}" +PR = "r0" + S = "${WORKDIR}/git" inherit autotools pkgconfig @@ -23,6 +26,3 @@ FILES_${PN}-dev += "${libdir}/pkcs11-spy.so \ ${libdir}/pkcs11/onepin-opensc-pkcs11.so \ " FILES_${PN}-dbg += "${libdir}/pkcs11/.debug" - -SRC_URI[md5sum] = "62fe8d3ed1864556c1970d7c23d8d58e" -SRC_URI[sha256sum] = "e9b5812dd8024484c6bb7400fb3e638aca2e9b112a7ffb161c300fe2260b28c8" diff --git a/bitbake/python/python-pycrypto_2.0.1.bb b/bitbake/python/python-pycrypto_2.0.1.bb index f1c94f4..99e0c09 100644 --- a/bitbake/python/python-pycrypto_2.0.1.bb +++ b/bitbake/python/python-pycrypto_2.0.1.bb @@ -13,3 +13,6 @@ inherit distutils SRC_URI[md5sum] = "4d5674f3898a573691ffb335e8d749cd" SRC_URI[sha256sum] = "b08d4ed54c9403c77778a3803e53a4f33f359b42d94f6f3e14abb1bf4941e6ea" + +LICENSE = "PyCrypto" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5f6acd2e613d7d23fc7e76d9aed7dceb" diff --git a/bitbake/vsmartcard/ccid-emulator.bb b/bitbake/vsmartcard/ccid-emulator.bb index d80d849..9b40394 100644 --- a/bitbake/vsmartcard/ccid-emulator.bb +++ b/bitbake/vsmartcard/ccid-emulator.bb @@ -1,17 +1,21 @@ -DESCRIPTION = "Virtual Smartcard with PCSC Driver and CCID to PCSC Gadget" -LICENSE = "GPL" +SUMMARY = "CCID Emulator" +DESCRIPTION = "Forward a PC/SC smartcard reader as a standard USB CCID reader" +HOMEPAGE = "http://vsmartcard.sourceforge.net" +BUGTRACKER = "http://sourceforge.net/projects/vsmartcard/support" -DEPENDS = "pcsc-lite linux-libc-headers openssl opensc" -RDEPENDS = "pcsc-lite kernel-module-gadgetfs libcrypto opensc" +LICENSE = "GPL-3" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" -SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard;module=ccid;proto=https;rev=417" +DEPENDS = "pcsc-lite linux-libc-headers openssl npa" +RDEPENDS += "kernel-module-gadgetfs" -S = "${WORKDIR}/ccid" +SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot;module=vsmartcard;proto=https" +SRCREV = "719" +PV = "0.6+svnr${SRCPV}" +PR = "r0" + +S = "${WORKDIR}/vsmartcard/ccid" inherit autotools pkgconfig -EXTRA_OECONF = "--enable-pace" - -FILES_${PN} += "\ - ${bindir}/* \ -" +EXTRA_OECONF = 'OPENSSL_LIBS="${STAGING_DIR_TARGET}/lib/libcrypto.a -ldl" --enable-pace' diff --git a/bitbake/vsmartcard/npa.bb b/bitbake/vsmartcard/npa.bb index b0f7db5..fc2e2b5 100644 --- a/bitbake/vsmartcard/npa.bb +++ b/bitbake/vsmartcard/npa.bb @@ -1,18 +1,21 @@ -DESCRIPTION = "API and Tools for the new German identity card (neuer Personalausweis, nPA)" -LICENSE = "GPL" +SUMMARY = "nPA Smart Card Library" +DESCRIPTION = "API and Tool for the new German identity card (neuer Personalausweis, nPA)" +HOMEPAGE = "http://vsmartcard.sourceforge.net" +BUGTRACKER = "http://sourceforge.net/projects/vsmartcard/support" -DEPENDS = "openssl opensc" -RDEPENDS = "libcrypto opensc" +LICENSE = "GPL-3" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" -SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot;module=vsmartcard;proto=https;rev=417" +DEPENDS = "opensc openssl" + +SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot;module=vsmartcard;proto=https" +SRCREV = "719" +PV = "0.4+svnr${SRCPV}" +PR = "r2" + +# statically link to openssl +EXTRA_OECONF += 'OPENSSL_LIBS="${STAGING_DIR_TARGET}/lib/libcrypto.a -ldl"' S = "${WORKDIR}/vsmartcard/npa" inherit autotools pkgconfig - -EXTRA_OECONF = "" - -FILES_${PN} += "\ - ${bindir}/* \ - ${libdir}/* \ -" diff --git a/bitbake/vsmartcard/pcsc-relay.bb b/bitbake/vsmartcard/pcsc-relay.bb new file mode 100644 index 0000000..6ea97fa --- /dev/null +++ b/bitbake/vsmartcard/pcsc-relay.bb @@ -0,0 +1,18 @@ +SUMMARY = "Relay a smart card via NFC" +DESCRIPTION = "Forward APDUs from the OpenPICC or from a libnfc device to a smart card via the PC/SC middleware." +HOMEPAGE = "http://vsmartcard.sourceforge.net" +BUGTRACKER = "http://sourceforge.net/projects/vsmartcard/support" + +LICENSE = "GPL-3" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" + +DEPENDS = "libnfc pcsc-lite" + +SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot;module=vsmartcard;proto=https" +SRCREV = "719" +PV = "0.4+svnr${SRCPV}" +PR = "r0" + +S = "${WORKDIR}/vsmartcard/pcsc-relay" + +inherit autotools pkgconfig diff --git a/bitbake/vsmartcard/picctopcsc.bb b/bitbake/vsmartcard/picctopcsc.bb deleted file mode 100644 index 0b0f42a..0000000 --- a/bitbake/vsmartcard/picctopcsc.bb +++ /dev/null @@ -1,15 +0,0 @@ -DESCRIPTION = "Virtual Smartcard with PCSC Driver and CCID to PCSC Gadget" -LICENSE = "GPL" - -DEPENDS = "pcsc-lite" -RDEPENDS = "pcsc-lite" - -SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard;module=picc_to_pcsc;proto=https;rev=417" - -S = "${WORKDIR}/picc_to_pcsc" - -inherit autotools pkgconfig - -FILES_${PN} += "\ - ${bindir}/* \ -" diff --git a/bitbake/vsmartcard/virtualsmartcard.bb b/bitbake/vsmartcard/virtualsmartcard.bb index f48b68d..30fb12a 100644 --- a/bitbake/vsmartcard/virtualsmartcard.bb +++ b/bitbake/vsmartcard/virtualsmartcard.bb @@ -1,19 +1,28 @@ -DESCRIPTION = "Virtual Smartcard with PCSC Driver and CCID to PCSC Gadget" -LICENSE = "GPL" +SUMMARY = "Virtual Smart Card" +DESCRIPTION = "Virtual smart card with PC/SC Driver" +HOMEPAGE = "http://vsmartcard.sourceforge.net" +BUGTRACKER = "http://sourceforge.net/projects/vsmartcard/support" + +LICENSE = "GPL-3" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" DEPENDS = "pcsc-lite" -RDEPENDS = "pcsc-lite python-pycrypto python-crypt python-textutils python-imaging python-pickle" +RDEPENDS += "python-pycrypto python-crypt python-textutils python-imaging python-pickle" -SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard;module=virtualsmartcard;proto=https;rev=417" +SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot;module=vsmartcard;proto=https" +SRCREV = "719" +PV = "0.6+svnr${SRCPV}" +PR = "r0" -S = "${WORKDIR}/virtualsmartcard" +S = "${WORKDIR}/vsmartcard/virtualsmartcard" -EXTRA_OECONF = " --enable-serialdropdir=${libdir}/pcsc/drivers/serial" +EXTRA_OECONF = "--enable-serialdropdir=${libdir}/pcsc/drivers/serial" inherit autotools pkgconfig FILES_${PN} += "\ - ${bindir}/* \ - ${sysconfdir}/* \ - ${libdir}/* \ + ${libdir}/python2.7 \ + ${libdir}/pcsc/drivers/serial/libvpcd.so.0.5 \ " +FILES_${PN}-dbg += "${libdir}/pcsc/drivers/serial/.debug" +FILES_${PN}-dev += "${libdir}/pcsc/drivers/serial/libvpcd.so"