diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-04-15 17:39:40 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-04-15 17:39:40 +0000 |
commit | bf3f5378c68f9013929d4c4e877440fa2899275d (patch) | |
tree | 56ea0b7fb7d6222b6ff030f2c21bf5c36a5269dc /app-crypt/scl011-bin | |
parent | Add SCM-MICRO license to the EULA group. (diff) | |
download | historical-bf3f5378c68f9013929d4c4e877440fa2899275d.tar.gz historical-bf3f5378c68f9013929d4c4e877440fa2899275d.tar.bz2 historical-bf3f5378c68f9013929d4c4e877440fa2899275d.zip |
Import of SCM Micro scl011-bin driver, ebuild proxy-maintained by Christoph Brill in bug #358119.
Package-Manager: portage-2.2.0_alpha30/cvs/Linux x86_64
Diffstat (limited to 'app-crypt/scl011-bin')
-rw-r--r-- | app-crypt/scl011-bin/ChangeLog | 11 | ||||
-rw-r--r-- | app-crypt/scl011-bin/Manifest | 16 | ||||
-rw-r--r-- | app-crypt/scl011-bin/files/92_pcscd_scl011-bin.rules | 10 | ||||
-rw-r--r-- | app-crypt/scl011-bin/metadata.xml | 13 | ||||
-rw-r--r-- | app-crypt/scl011-bin/scl011-bin-2.06.ebuild | 42 |
5 files changed, 92 insertions, 0 deletions
diff --git a/app-crypt/scl011-bin/ChangeLog b/app-crypt/scl011-bin/ChangeLog new file mode 100644 index 000000000000..1f3d69fcea4a --- /dev/null +++ b/app-crypt/scl011-bin/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for app-crypt/scl011-bin +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/scl011-bin/ChangeLog,v 1.1 2011/04/15 17:39:40 flameeyes Exp $ + +*scl011-bin-2.06 (15 Apr 2011) + + 15 Apr 2011; Diego E. Pettenò <flameeyes@gentoo.org> + +files/92_pcscd_scl011-bin.rules, +scl011-bin-2.06.ebuild, +metadata.xml: + Import of SCM Micro scl011-bin driver, ebuild proxy-maintained by Christoph + Brill in bug #358119. + diff --git a/app-crypt/scl011-bin/Manifest b/app-crypt/scl011-bin/Manifest new file mode 100644 index 000000000000..344043acdf7c --- /dev/null +++ b/app-crypt/scl011-bin/Manifest @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX 92_pcscd_scl011-bin.rules 332 RMD160 760d4ed70fafd279bc4e2b140a2d98d139c1dcda SHA1 0d2c37016a76a868481ddbe1d32f757e164487a2 SHA256 80946abc0a162eb2ac65499738efceeafe8e45353f8320b612203e4b1ec5dc6d +DIST scl011_2.06_linux_32bit.tar.gz 603947 RMD160 51db0c5d73e14a5ab83a034004a5ee136a820b39 SHA1 b610d92efd224df18c5858e567c8e4583dacbdf3 SHA256 136be4d6871320f8fe38e8a8c854f4246c00042fed3951fc776a32541cbaf24d +DIST scl011_2.06_linux_64bit.tar.gz 604105 RMD160 bfb0283dc179c8907634732847ab6d4a28cc8af7 SHA1 db2386b87268f5cc21b65e505559defc8d9ac7e5 SHA256 45e81a507ee0d5dfdb8df4bb20341398aaad2d1c8b52765367dd04661dac92f6 +EBUILD scl011-bin-2.06.ebuild 1413 RMD160 53e91a6a784c4b947baa3901edfe443146486969 SHA1 30181c1582202db693508ecb821f70e791926c95 SHA256 e991c1c3724e05768a463e5c0df499793259df7f40cf9fa48413d6a37e2b84ad +MISC ChangeLog 483 RMD160 e35b057d20e32727f32cac5d32b1fcad568da2ae SHA1 529857d6f174786df60e58f076c9da7c2cb77e12 SHA256 23faea427269b987776a661beef5047bade66588ce8fdc1ff0a374083fc1b75a +MISC metadata.xml 429 RMD160 b324e05c94cb3cf17403fcab44f60cdab37a32b3 SHA1 222cc891ac37dd0cbe18d0639882b23c16a63b80 SHA256 f742db167a8a6cd2eea5fe5b62067141418a06c5b25515667f7361048b9e5f3b +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iEYEARECAAYFAk2ogsoACgkQAiZjviIA2XjI/wCgp+Kp60dEIjq435lltH7Ymhq8 +X+sAmwaaqoZO+9LB9cLOBzeZPl6Mr6eB +=vcKO +-----END PGP SIGNATURE----- diff --git a/app-crypt/scl011-bin/files/92_pcscd_scl011-bin.rules b/app-crypt/scl011-bin/files/92_pcscd_scl011-bin.rules new file mode 100644 index 000000000000..dda4dc2afdbf --- /dev/null +++ b/app-crypt/scl011-bin/files/92_pcscd_scl011-bin.rules @@ -0,0 +1,10 @@ +# If not adding the device, go away +ACTION!="add", GOTO="pcscd_scl011-bin_rules_end" +SUBSYSTEM!="usb", GOTO="pcscd_scl011-bin_rules_end" +ENV{DEVTYPE}!="usb_device", GOTO="pcscd_scl011-bin_rules_end" + +# Tested on scl011 +ATTRS{idVendor}=="04e6", ATTRS{idProduct}=="5292", ENV{PCSCD}="1" + +# All done +LABEL="pcscd_scl011-bin_rules_end" diff --git a/app-crypt/scl011-bin/metadata.xml b/app-crypt/scl011-bin/metadata.xml new file mode 100644 index 000000000000..638c694b00fa --- /dev/null +++ b/app-crypt/scl011-bin/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>crypto</herd> + <maintainer> + <email>egore@gmx.de</email> + <description>Proxied maintainer, assign bugs to him</description> + </maintainer> + <maintainer> + <email>flameeyes@gentoo.org</email> + <description>Proxy-maintainer, CC him on bugs</description> + </maintainer> +</pkgmetadata> diff --git a/app-crypt/scl011-bin/scl011-bin-2.06.ebuild b/app-crypt/scl011-bin/scl011-bin-2.06.ebuild new file mode 100644 index 000000000000..9a8dcf2131c4 --- /dev/null +++ b/app-crypt/scl011-bin/scl011-bin-2.06.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/scl011-bin/scl011-bin-2.06.ebuild,v 1.1 2011/04/15 17:39:40 flameeyes Exp $ + +EAPI=4 + +inherit multilib toolchain-funcs + +DESCRIPTION="pcsc-lite driver for the German identification card (nPA)" +HOMEPAGE="http://www.scmmicro.com/de/products-services/chipkartenleser-terminals/kontaktlos-dual-interface/it-sicherheitskit-basisleser/treiber.html" +SRC_URI="x86? ( http://www.scmmicro.com/npa/files/scl011_${PV}_linux_32bit.tar.gz ) + amd64? ( http://www.scmmicro.com/npa/files/scl011_${PV}_linux_64bit.tar.gz )" + +LICENSE="SCM-MICRO" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +RDEPEND="sys-apps/pcsc-lite" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S="${WORKDIR}" + +RESTRICT="mirror bindist" + +src_install() { + local INSTALL_DIR=`$(tc-getPKG_CONFIG) libpcsclite --variable=usbdropdir` + local BASEPATH + case $(tc-arch) in + amd64) BASEPATH="${S}/scl011_${PV}_linux_64bit" ;; + x86) BASEPATH="${S}/scl011_${PV}_linux_32bit" ;; + esac + + insinto "${INSTALL_DIR}"/SCL011.bundle/Contents + doins "${BASEPATH}"/proprietary/SCL011.bundle/Contents/Info.plist + exeinto "${INSTALL_DIR}"/SCL011.bundle/Contents/Linux + doexe "${BASEPATH}"/proprietary/SCL011.bundle/Contents/Linux/libSCL011.so.${PV} + + insinto /$(get_libdir)/udev/rules.d + doins "${FILESDIR}"/92_pcscd_scl011-bin.rules +} |