public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/ulm:master commit in: app-crypt/ifdokccid/files/, app-crypt/ifdokccid/
@ 2014-01-29 20:45 Ulrich Müller
  0 siblings, 0 replies; only message in thread
From: Ulrich Müller @ 2014-01-29 20:45 UTC (permalink / raw
  To: gentoo-commits

commit:     3334648269d2261f3dd3a7c68133e88d34e9ee83
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 29 20:48:55 2014 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Jan 29 20:48:55 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/ulm.git;a=commit;h=33346482

Initial import. Ebuild contributed by me.

Package-Manager: portage-2.2.8-r1

---
 app-crypt/ifdokccid/ChangeLog                     | 10 +++++
 app-crypt/ifdokccid/Manifest                      |  2 +
 app-crypt/ifdokccid/files/92-pcsc-ifdokccid.rules | 47 +++++++++++++++++++++++
 app-crypt/ifdokccid/ifdokccid-3.9.0.ebuild        | 40 +++++++++++++++++++
 app-crypt/ifdokccid/metadata.xml                  |  7 ++++
 5 files changed, 106 insertions(+)

diff --git a/app-crypt/ifdokccid/ChangeLog b/app-crypt/ifdokccid/ChangeLog
new file mode 100644
index 0000000..f85aa5a
--- /dev/null
+++ b/app-crypt/ifdokccid/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-crypt/ifdokccid
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*ifdokccid-3.9.0 (29 Jan 2014)
+
+  29 Jan 2014; Ulrich Müller <ulm@gentoo.org> +ifdokccid-3.9.0.ebuild,
+  +files/92-pcsc-ifdokccid.rules, +metadata.xml:
+  Initial import. Ebuild contributed by me.
+

diff --git a/app-crypt/ifdokccid/Manifest b/app-crypt/ifdokccid/Manifest
new file mode 100644
index 0000000..25276e0
--- /dev/null
+++ b/app-crypt/ifdokccid/Manifest
@@ -0,0 +1,2 @@
+DIST ifdokccid_lnx_i686-3.9.0.tar.gz 146422 SHA256 387f5780d58c7b019f5c8b10708896ebb94d0f64e2f07a0a740eab54b69f2c52 SHA512 bad3b9dfb170966e0a078fa8ef718d790143d4afd49bc19955e30a24058ee95cd8e77ddead70e3241c831acb71ba3b6ad1230be79b05ba72a12d825795b91448 WHIRLPOOL 1df07b71360f1bb4965dbc3375c09f11451bcf09fcdc6fb2615a19c633c62254800b4fdb211170ba1cdfb5c645aff730086fe15ec2747edebcf558d045ba19fe
+DIST ifdokccid_lnx_x64-3.9.0.tar.gz 148131 SHA256 ff40443fc746832d37893773c4f16622f857da1629d5ec83a862d2f999b180e1 SHA512 ff213b1118bae5329e2702d3ac329f264203d1bcf8488dcb720ecc7d67363224513d89dd864c3d06e053f8d05e3e6b4c4f7717ce3e8a1ba59f81e35ec8a4ae34 WHIRLPOOL 51c9db71762a173f5b7d89a7d3e93bacb909d302b9421cdc4b9c1f5b134f425a68cafe35265e38ad131c4bc7799cc6e81b7dc892b9804a51435014330cd534c3

diff --git a/app-crypt/ifdokccid/files/92-pcsc-ifdokccid.rules b/app-crypt/ifdokccid/files/92-pcsc-ifdokccid.rules
new file mode 100644
index 0000000..769aa0d
--- /dev/null
+++ b/app-crypt/ifdokccid/files/92-pcsc-ifdokccid.rules
@@ -0,0 +1,47 @@
+# udev rules to set the access rights of Omnikey smart card readers
+# so they can be used by pcscd
+
+ACTION!="add", GOTO="pcsc_ifdokccid_rules_end"
+SUBSYSTEM!="usb", GOTO="pcsc_ifdokccid_rules_end"
+ENV{DEVTYPE}!="usb_device", GOTO="pcsc_ifdokccid_rules_end"
+
+ATTRS{idVendor}=="046a", ATTRS{idProduct}=="0010", ENV{PCSCD}="1"
+ATTRS{idVendor}=="046a", ATTRS{idProduct}=="002d", ENV{PCSCD}="1"
+ATTRS{idVendor}=="046a", ATTRS{idProduct}=="007b", ENV{PCSCD}="1"
+ATTRS{idVendor}=="046a", ATTRS{idProduct}=="0090", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="0596", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="1021", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="1784", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="1bd0", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="1bd1", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="3020", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="3021", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="3022", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="3620", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="3621", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="3623", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="3821", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="3822", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="3823", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="4321", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="6622", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="6623", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="7021", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="8630", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="9621", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="a011", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="a012", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="a021", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="a022", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="a023", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="a024", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="a111", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="a112", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="a721", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="c000", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="c200", ENV{PCSCD}="1"
+ATTRS{idVendor}=="076b", ATTRS{idProduct}=="c300", ENV{PCSCD}="1"
+ATTRS{idVendor}=="0bf8", ATTRS{idProduct}=="1005", ENV{PCSCD}="1"
+ATTRS{idVendor}=="0bf8", ATTRS{idProduct}=="1006", ENV{PCSCD}="1"
+
+LABEL="pcsc_ifdokccid_rules_end"

diff --git a/app-crypt/ifdokccid/ifdokccid-3.9.0.ebuild b/app-crypt/ifdokccid/ifdokccid-3.9.0.ebuild
new file mode 100644
index 0000000..b93b30f
--- /dev/null
+++ b/app-crypt/ifdokccid/ifdokccid-3.9.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit toolchain-funcs udev
+
+DESCRIPTION="Omnikey CardMan 3x21 PC/SC CCID driver"
+HOMEPAGE="http://www.hidglobal.com/drivers"
+SRC_URI="amd64? ( ${PN}_lnx_x64-${PV}.tar.gz )
+	x86? ( ${PN}_lnx_i686-${PV}.tar.gz )"
+
+LICENSE="HID_OK_Drivers_EULA"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="fetch bindist"
+
+RDEPEND="sys-apps/pcsc-lite
+	virtual/libusb:1"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+pkg_nofetch() {
+	einfo "Please download ${A}"
+	einfo "from ${HOMEPAGE}"
+	einfo "and place it in ${DISTDIR}"
+}
+
+pkg_setup() {
+	MY_P="${PN}_lnx_$(usex amd64 x64 i686)-${PV}"
+	S="${WORKDIR}/${MY_P}"
+}
+
+src_install () {
+	insinto "$("$(tc-getPKG_CONFIG)" --variable=usbdropdir libpcsclite)"
+	doins -r "${MY_P}.bundle"
+	udev_dorules "${FILESDIR}"/92-pcsc-${PN}.rules
+	dodoc README
+}

diff --git a/app-crypt/ifdokccid/metadata.xml b/app-crypt/ifdokccid/metadata.xml
new file mode 100644
index 0000000..e153d85
--- /dev/null
+++ b/app-crypt/ifdokccid/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+  <email>ulm@gentoo.org</email>
+</maintainer>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-01-29 20:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-29 20:45 [gentoo-commits] dev/ulm:master commit in: app-crypt/ifdokccid/files/, app-crypt/ifdokccid/ Ulrich Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox