summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-crypt/ccid/ChangeLog6
-rw-r--r--app-crypt/ccid/ccid-1.3.3.ebuild8
-rw-r--r--app-crypt/ccid/files/ccid-1.3.3-udev.patch12
3 files changed, 24 insertions, 2 deletions
diff --git a/app-crypt/ccid/ChangeLog b/app-crypt/ccid/ChangeLog
index 81a6ce099a50..0c16a647461f 100644
--- a/app-crypt/ccid/ChangeLog
+++ b/app-crypt/ccid/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-crypt/ccid
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/ccid/ChangeLog,v 1.26 2008/02/07 13:23:04 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/ccid/ChangeLog,v 1.27 2008/02/07 14:03:00 alonbl Exp $
+
+ 07 Feb 2008; Alon Bar-Lev <alonbl@gentoo.org>
+ +files/ccid-1.3.3-udev.patch, ccid-1.3.3.ebuild:
+ Upstream added more udev fix
*ccid-1.3.3 (07 Feb 2008)
diff --git a/app-crypt/ccid/ccid-1.3.3.ebuild b/app-crypt/ccid/ccid-1.3.3.ebuild
index 88d7cf07a19f..295cab677eaf 100644
--- a/app-crypt/ccid/ccid-1.3.3.ebuild
+++ b/app-crypt/ccid/ccid-1.3.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/ccid/ccid-1.3.3.ebuild,v 1.1 2008/02/07 13:23:04 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/ccid/ccid-1.3.3.ebuild,v 1.2 2008/02/07 14:03:00 alonbl Exp $
inherit eutils
@@ -15,6 +15,12 @@ IUSE="twinserial nousb"
RDEPEND=">=sys-apps/pcsc-lite-1.3.3
>=dev-libs/libusb-0.1.4"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-udev.patch"
+}
+
src_compile() {
local myconf
diff --git a/app-crypt/ccid/files/ccid-1.3.3-udev.patch b/app-crypt/ccid/files/ccid-1.3.3-udev.patch
new file mode 100644
index 000000000000..188b57adebf7
--- /dev/null
+++ b/app-crypt/ccid/files/ccid-1.3.3-udev.patch
@@ -0,0 +1,12 @@
+--- trunk/Drivers/ccid/src/pcscd_ccid.rules 2008/02/06 14:07:31 2795
++++ trunk/Drivers/ccid/src/pcscd_ccid.rules 2008/02/07 13:32:32 2803
+@@ -6,9 +6,6 @@
+ # If not adding the device, go away
+ ACTION!="add", GOTO="pcscd_ccid_rules_end"
+
+-# last file created by the kernel, if this is present everything should be
+-WAIT_FOR_SYSFS="bInterfaceProtocol"
+-
+ # Kobil mIDentity
+ SUBSYSTEMS=="usb", ATTRS{idVendor}=="0d46", ATTRS{idProduct}=="4081", RUN+="/usr/sbin/Kobil_mIDentity_switch"
+