public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Diego Elio Pettenò" <flameeyes@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/flameeyes:master commit in: sys-apps/pcsc-lite/, sys-apps/pcsc-lite/files/
Date: Fri, 18 Feb 2011 00:49:49 +0000 (UTC)	[thread overview]
Message-ID: <59e1b5a78b55d166ce47f20731e06351738a9df2.flameeyes@gentoo> (raw)

commit:     59e1b5a78b55d166ce47f20731e06351738a9df2
Author:     Diego Elio Pettenò <flameeyes <AT> gmail <DOT> com>
AuthorDate: Fri Feb 18 00:50:15 2011 +0000
Commit:     Diego Elio Pettenò <flameeyes <AT> gentoo <DOT> org>
CommitDate: Fri Feb 18 00:50:15 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/flameeyes.git;a=commit;h=59e1b5a7

Try my personal libusb/libhal patch.

(Portage version: 2.2.0_alpha24/git/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 2200D978)

---
 sys-apps/pcsc-lite/ChangeLog                       |  425 ++++++++++++++++++++
 sys-apps/pcsc-lite/Manifest                        |   17 +
 sys-apps/pcsc-lite/files/99-pcscd-hotplug.rules    |    7 +
 .../files/pcsc-lite-1.6.6-libusb-libhal.patch      |   95 +++++
 sys-apps/pcsc-lite/files/pcscd-init.3              |   33 ++
 sys-apps/pcsc-lite/metadata.xml                    |    8 +
 sys-apps/pcsc-lite/pcsc-lite-1.6.6.ebuild          |   79 ++++
 7 files changed, 664 insertions(+), 0 deletions(-)

diff --git a/sys-apps/pcsc-lite/ChangeLog b/sys-apps/pcsc-lite/ChangeLog
new file mode 100644
index 0000000..85f89bd
--- /dev/null
+++ b/sys-apps/pcsc-lite/ChangeLog
@@ -0,0 +1,425 @@
+# ChangeLog for sys-apps/pcsc-lite
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.103 2011/01/10 18:51:08 flameeyes Exp $
+
+  18 Feb 2011; Diego E. Pettenò <flameeyes@gentoo.org>
+  +files/99-pcscd-hotplug.rules, +pcsc-lite-1.6.6.ebuild,
+  +files/pcsc-lite-1.6.6-libusb-libhal.patch, +files/pcscd-init.3,
+  +metadata.xml:
+  Try my personal libusb/libhal patch.
+
+  10 Jan 2011; Diego E. Pettenò <flameeyes@gentoo.org>
+  -pcsc-lite-1.6.1.ebuild, -files/pcscd-confd, -files/pcscd-init,
+  -files/pcscd-init.2:
+  Remove old version.
+
+  10 Jan 2011; Kacper Kowalik <xarthisius@gentoo.org>
+  pcsc-lite-1.6.6.ebuild:
+  ppc64 stable wrt #349561
+
+  01 Jan 2011; Raúl Porcel <armin76@gentoo.org> pcsc-lite-1.6.6.ebuild:
+  ia64/m68k/s390/sh/sparc stable wrt #349561
+
+  31 Dec 2010; Markus Meier <maekke@gentoo.org> pcsc-lite-1.6.6.ebuild:
+  arm stable, bug #349561
+
+  29 Dec 2010; Thomas Kahle <tomka@gentoo.org> pcsc-lite-1.6.6.ebuild:
+  x86 stable per bug 349561
+
+  29 Dec 2010; Jeroen Roovers <jer@gentoo.org> pcsc-lite-1.6.6.ebuild:
+  Stable for HPPA PPC (bug #349561).
+
+  29 Dec 2010; Markos Chandras <hwoarang@gentoo.org> pcsc-lite-1.6.6.ebuild:
+  Stable on amd64 wrt bug #349561
+
+  26 Dec 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+  -pcsc-lite-1.5.5.ebuild, -pcsc-lite-1.6.4.ebuild:
+  Remove 1.6.4 since 1.6.6 is going stable instead. Remove 1.5.5 even if that
+  will make a few minor arch users unable to get a stable-only combination
+  between ccid and pcsc-lite (their stable tree was broken already and has been
+  for a long time, will be fixed once new pcsc-lite and ccid will go stable
+  _together_).
+
+  17 Dec 2010; Diego E. Pettenò <flameeyes@gentoo.org> pcsc-lite-1.6.6.ebuild:
+  Block old ccid versions, forcing update to latest.
+
+*pcsc-lite-1.6.6 (12 Dec 2010)
+
+  12 Dec 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+  -pcsc-lite-1.6.5-r1.ebuild, +pcsc-lite-1.6.6.ebuild:
+  Version bump, with 64-bit fixes.
+
+*pcsc-lite-1.6.5-r1 (05 Dec 2010)
+
+  05 Dec 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+  files/99-pcscd-hotplug.rules, -pcsc-lite-1.6.5.ebuild,
+  +pcsc-lite-1.6.5-r1.ebuild:
+  Fix udev rules as per bug #347728.
+
+*pcsc-lite-1.6.5 (04 Dec 2010)
+
+  04 Dec 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+  +files/99-pcscd-hotplug.rules, +pcsc-lite-1.6.5.ebuild, +files/pcscd-init.3:
+  Version bump; since upstream is working around init script craziness over
+  Ubuntu and other binary distributions, we apply our own workaround by running
+  pcscd as nobody:pcscd and hotplug it via udev. This version also drops HAL
+  support entirely.
+
+  24 Oct 2010; Dane Smith <c1pher@gentoo.org> pcsc-lite-1.5.5.ebuild,
+  pcsc-lite-1.6.1.ebuild:
+  Updated homepage for 1.5.5 and 1.6.1 wrt bug 333689.
+
+  14 Oct 2010; Brent Baude <ranger@gentoo.org> pcsc-lite-1.6.1.ebuild:
+  stable ppc, bug 330601
+
+  30 Sep 2010; Brent Baude <ranger@gentoo.org> pcsc-lite-1.6.1.ebuild:
+  stable ppc64, bug 330601
+
+  29 Sep 2010; Jeroen Roovers <jer@gentoo.org> pcsc-lite-1.6.1.ebuild:
+  Stable for HPPA (bug #330601).
+
+*pcsc-lite-1.6.4 (28 Sep 2010)
+
+  28 Sep 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+  +pcsc-lite-1.6.4.ebuild, +files/pcscd-init.2:
+  Version bump; the new version has an improved init script that takes less
+  time to start (no process creation for depend calculation), and properly
+  uses s-s-d to respect system limits; also upstream moved to libusb-1
+  rather than the previous libusb-0.
+
+  05 Sep 2010; Raúl Porcel <armin76@gentoo.org> pcsc-lite-1.6.1.ebuild:
+  ia64/m68k/s390/sh/sparc stable wrt #330601
+
+  22 Aug 2010; Markus Meier <maekke@gentoo.org> pcsc-lite-1.6.1.ebuild:
+  arm stable, bug #330601
+
+  12 Aug 2010; Christian Faulhammer <fauli@gentoo.org>
+  pcsc-lite-1.6.1.ebuild:
+  stable x86, bug 330601
+
+  31 Jul 2010; Markos Chandras <hwoarang@gentoo.org> pcsc-lite-1.6.1.ebuild:
+  Stable on amd64 wrt bug #330601
+
+*pcsc-lite-1.6.1 (28 Jun 2010)
+
+  28 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  -pcsc-lite-1.5.3.ebuild, -pcsc-lite-1.5.4.ebuild, +pcsc-lite-1.6.1.ebuild:
+  Version bump (bug #325863).
+
+  05 Oct 2009; Raúl Porcel <armin76@gentoo.org> pcsc-lite-1.5.5.ebuild:
+  arm/ia64/m68k/s390/sh/sparc stable wrt #283378
+
+  27 Sep 2009; nixnut <nixnut@gentoo.org> pcsc-lite-1.5.5.ebuild:
+  ppc stable #283378
+
+  23 Sep 2009; Jeroen Roovers <jer@gentoo.org> pcsc-lite-1.5.4.ebuild,
+  pcsc-lite-1.5.5.ebuild:
+  Stable for HPPA (bug #283378).
+
+  09 Sep 2009; Markus Meier <maekke@gentoo.org> pcsc-lite-1.5.5.ebuild:
+  amd64/x86 stable, bug #283378
+
+  05 Sep 2009; Brent Baude <ranger@gentoo.org> pcsc-lite-1.5.5.ebuild:
+  Marking pcsc-lite-1.5.5 ppc64 for bug 283378
+
+  31 Aug 2009; Brent Baude <ranger@gentoo.org> pcsc-lite-1.5.4.ebuild:
+  stable ppc64, bug 279399
+
+  25 Aug 2009; Raúl Porcel <armin76@gentoo.org> pcsc-lite-1.5.4.ebuild:
+  arm/ia64/m68k/s390/sh/sparc stable wrt #279399
+
+  09 Aug 2009; nixnut <nixnut@gentoo.org> pcsc-lite-1.5.4.ebuild:
+  ppc stable #279399
+
+  05 Aug 2009; Markus Meier <maekke@gentoo.org> pcsc-lite-1.5.4.ebuild:
+  x86 stable, bug #279399
+
+*pcsc-lite-1.5.5 (02 Aug 2009)
+
+  02 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +pcsc-lite-1.5.5.ebuild:
+  Version bump.
+
+  31 Jul 2009; <chainsaw@gentoo.org> pcsc-lite-1.5.4.ebuild:
+  Marked stable on AMD64 as requested by Arfrever Frehtes Taifersar Arahesis
+  <arfrever@gentoo.org>. Compile-tested on a Core2 Duo with USE="hal usb
+  -static".
+
+*pcsc-lite-1.5.4 (28 Jun 2009)
+
+  28 Jun 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  -pcsc-lite-1.4.2.ebuild, -pcsc-lite-1.4.4.ebuild,
+  -pcsc-lite-1.4.99.ebuild, -pcsc-lite-1.4.102.ebuild,
+  -pcsc-lite-1.5.2.ebuild, +pcsc-lite-1.5.4.ebuild:
+  Version bump.
+
+  15 Jun 2009; Jeroen Roovers <jer@gentoo.org> pcsc-lite-1.5.3.ebuild:
+  Stable for HPPA (bug #271911).
+
+  13 Jun 2009; Raúl Porcel <armin76@gentoo.org> pcsc-lite-1.5.3.ebuild:
+  arm/ia64/m68k/s390/sh/sparc stable wrt #271911
+
+  31 May 2009; Markus Meier <maekke@gentoo.org> pcsc-lite-1.5.3.ebuild:
+  amd64/x86 stable, bug #271911
+
+  31 May 2009; Brent Baude <ranger@gentoo.org> pcsc-lite-1.5.3.ebuild:
+  Marking pcsc-lite-1.5.3 ppc64 for bug 271911
+
+  31 May 2009; nixnut <nixnut@gentoo.org> pcsc-lite-1.5.3.ebuild:
+  ppc stable #271911
+
+  16 May 2009; Robin H. Johnson <robbat2@gentoo.org> pcsc-lite-1.4.2.ebuild,
+  pcsc-lite-1.4.4.ebuild, pcsc-lite-1.4.99.ebuild, pcsc-lite-1.4.102.ebuild,
+  pcsc-lite-1.5.2.ebuild, pcsc-lite-1.5.3.ebuild:
+  Migration to virtual/libusb. Verified by code inspection.
+
+  10 May 2009; Raúl Porcel <armin76@gentoo.org> pcsc-lite-1.5.3.ebuild:
+  Re-add ~m68k/~s390 wrt #268152
+
+*pcsc-lite-1.5.3 (01 May 2009)
+
+  01 May 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +pcsc-lite-1.5.3.ebuild:
+  Version bump.
+
+  10 Apr 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  files/pcscd-init:
+  Update init script (bug #236928).
+
+*pcsc-lite-1.5.2 (09 Apr 2009)
+
+  09 Apr 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +pcsc-lite-1.5.2.ebuild:
+  Version bump (bug #262058).
+
+  30 Aug 2008; Daniel Black <dragonheart@gentoo.org>
+  pcsc-lite-1.4.102.ebuild:
+  workaround conflict of USE=hal and usb. As per bug #236209 thanks to Sander
+  Sweers and Alon.
+
+*pcsc-lite-1.4.102 (30 Aug 2008)
+
+  30 Aug 2008; Daniel Black <dragonheart@gentoo.org>
+  +pcsc-lite-1.4.102.ebuild:
+  version bump as per bug #231856 thanks to Francisco and Alon.
+
+*pcsc-lite-1.4.99 (09 Jan 2008)
+
+  09 Jan 2008; Alon Bar-Lev <alonbl@gentoo.org> +pcsc-lite-1.4.99.ebuild:
+  Version bump
+
+  13 Oct 2007; Alon Bar-Lev <alonbl@gentoo.org> pcsc-lite-1.4.4.ebuild:
+  Modify docs installed, bug#195712, requested by Mart Raudsepp
+
+*pcsc-lite-1.4.4 (14 Aug 2007)
+
+  14 Aug 2007; Alon Bar-Lev <alonbl@gentoo.org> +pcsc-lite-1.4.4.ebuild:
+  Version bump
+
+  25 Jul 2007; Alon Bar-Lev <alonbl@gentoo.org> -pcsc-lite-1.3.1-r1.ebuild:
+  Finally removing 1.3.X series
+
+  25 Jul 2007; Guy Martin <gmsoft@gentoo.org> pcsc-lite-1.4.2.ebuild:
+  Stable on hppa
+
+  19 Jul 2007; Alon Bar-Lev <alonbl@gentoo.org> Manifest:
+  Fix manifest (again), bug#185818
+
+  07 Jul 2007; Alon Bar-Lev <alonbl@gentoo.org> Manifest:
+  Fix Manifest
+
+  02 Jul 2007; Alon Bar-Lev <alonbl@gentoo.org> +pcsc-lite-1.3.1-r1.ebuild:
+  Revert 1.3.1-r1 for hppa
+
+  01 Jul 2007; Raúl Porcel <armin76@gentoo.org> pcsc-lite-1.4.2.ebuild:
+  ia64 stable
+
+  30 Jun 2007; Alon Bar-Lev <alonbl@gentoo.org> -pcsc-lite-1.2.0.ebuild,
+  -pcsc-lite-1.3.0.ebuild, -pcsc-lite-1.3.1.ebuild,
+  -pcsc-lite-1.3.1-r1.ebuild, -pcsc-lite-1.3.2.ebuild,
+  -pcsc-lite-1.3.3.ebuild, -pcsc-lite-1.4.0.ebuild, -pcsc-lite-1.4.1.ebuild:
+  Cleanup
+
+  30 Jun 2007; Alon Bar-Lev <alonbl@gentoo.org> pcsc-lite-1.2.0.ebuild:
+  Remove alpha keyword, bug#133107
+
+  30 Jun 2007; Joshua Kinard <kumba@gentoo.org> pcsc-lite-1.2.0.ebuild:
+  Removed mips keyword, as we don't use smartcards.
+
+*pcsc-lite-1.4.3 (22 Jun 2007)
+
+  22 Jun 2007; Alon Bar-Lev <alonbl@gentoo.org> +pcsc-lite-1.4.3.ebuild:
+  Version bump
+
+  20 Jun 2007; Chris Gianelloni <wolf31o2@gentoo.org>
+  pcsc-lite-1.4.2.ebuild:
+  Stable on amd64 wrt bug #181512.
+
+  19 Jun 2007; Christian Faulhammer <opfer@gentoo.org>
+  pcsc-lite-1.4.2.ebuild:
+  stable x86, bug 181512
+
+  14 Jun 2007; Tobias Scherbaum <dertobi123@gentoo.org>
+  pcsc-lite-1.4.2.ebuild:
+  ppc stable, bug #181512
+
+  12 Jun 2007; Gustavo Zacarias <gustavoz@gentoo.org>
+  pcsc-lite-1.4.2.ebuild:
+  Stable on sparc wrt #181512
+
+  10 Jun 2007; Markus Rothe <corsair@gentoo.org> pcsc-lite-1.4.2.ebuild:
+  Stable on ppc64; bug #181512
+
+  10 Jun 2007; Tobias Scherbaum <dertobi123@gentoo.org>
+  pcsc-lite-1.3.2.ebuild:
+  ppc stable, bug #181512
+
+*pcsc-lite-1.4.2 (23 May 2007)
+
+  23 May 2007; Alon Bar-Lev <alonbl@gentoo.org> +pcsc-lite-1.4.2.ebuild:
+  Vrsion bump
+
+*pcsc-lite-1.4.1 (17 May 2007)
+
+  17 May 2007; Alon Bar-Lev <alonbl@gentoo.org> +pcsc-lite-1.4.1.ebuild:
+  Version bump
+
+  28 Apr 2007; Sven Wegener <swegener@gentoo.org> pcsc-lite-1.2.0.ebuild:
+  Fix *initd, *confd and *envd calls (#173884, #174266)
+
+*pcsc-lite-1.4.0 (14 Feb 2007)
+
+  14 Feb 2007; Alon Bar-Lev <alonbl@gentoo.org> +pcsc-lite-1.4.0.ebuild:
+  Version bump
+
+*pcsc-lite-1.3.3 (19 Jan 2007)
+
+  19 Jan 2007; Alon Bar-Lev <alonbl@gentoo.org> +pcsc-lite-1.3.3.ebuild:
+  Version bump
+
+  18 Dec 2006; Gustavo Zacarias <gustavoz@gentoo.org>
+  pcsc-lite-1.3.2.ebuild:
+  Stable on sparc
+
+  14 Oct 2006; Aron Griffis <agriffis@gentoo.org> pcsc-lite-1.3.1-r1.ebuild:
+  Mark 1.3.1-r1 stable on ia64
+
+  07 Oct 2006; Alon Bar-Lev <alonbl@gentoo.org> metadata.xml:
+  Reassigning to crypto herd, approved by vapier
+
+  03 Oct 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+  pcsc-lite-1.3.1-r1.ebuild:
+  Stable on x86 wrt bug #145145.
+
+  03 Oct 2006; Simon Stelling <blubb@gentoo.org> pcsc-lite-1.3.1-r1.ebuild:
+  stable on amd64
+
+  01 Oct 2006; Tobias Scherbaum <dertobi123@gentoo.org>
+  pcsc-lite-1.3.1-r1.ebuild:
+  hppa stable, bug #145145
+
+  25 Sep 2006; Jason Wever <weeve@gentoo.org> pcsc-lite-1.3.2.ebuild:
+  Added ~sparc keyword wrt bug #148402.
+
+  29 Aug 2006; Tobias Scherbaum <dertobi123@gentoo.org>
+  pcsc-lite-1.3.1-r1.ebuild:
+  ppc stable, bug #145145
+
+  27 Aug 2006; Brent Baude <ranger@gentoo.org> pcsc-lite-1.3.1-r1.ebuild:
+  Marking pcsc-lite-1.3.1-r1 ppc64 stable wrt bug #145145
+
+*pcsc-lite-1.3.2 (26 Aug 2006)
+
+  26 Aug 2006; Mike Frysinger <vapier@gentoo.org> +pcsc-lite-1.3.2.ebuild:
+  Version bump #145108 by Alon Bar-Lev.
+
+*pcsc-lite-1.3.1-r1 (08 Jun 2006)
+
+  08 Jun 2006; Mike Frysinger <vapier@gentoo.org> +pcsc-lite-1.3.1-r1.ebuild:
+  Use a multilib dir path for usb readers.
+
+  27 Apr 2006; Alec Warner <antarus@gentoo.org> Manifest:
+  Fixing SHA256 digest, pass four
+
+*pcsc-lite-1.3.1 (23 Apr 2006)
+
+  23 Apr 2006; Mike Frysinger <vapier@gentoo.org> +pcsc-lite-1.3.1.ebuild:
+  Version bump #130879 by Alon Bar-Lev.
+
+  09 Mar 2006; Mike Frysinger <vapier@gentoo.org>
+  pcsc-lite-1.2.9_beta8.ebuild, pcsc-lite-1.2.9_beta9.ebuild,
+  pcsc-lite-1.2.9_beta10.ebuild, pcsc-lite-1.3.0.ebuild:
+  Use revdep-rebuild --library instead of revdep-rebuild --soname #125506 by
+  Carsten Lohrke.
+
+*pcsc-lite-1.3.0 (04 Mar 2006)
+
+  04 Mar 2006; Mike Frysinger <vapier@gentoo.org> +pcsc-lite-1.3.0.ebuild:
+  Version bump #124867 by Alon Bar-Lev.
+
+*pcsc-lite-1.2.9_beta10 (10 Feb 2006)
+
+  10 Feb 2006; Mike Frysinger <vapier@gentoo.org>
+  +pcsc-lite-1.2.9_beta10.ebuild:
+  Version bump which fixes #108219 by Morten Cools / Pierre Cassimans.
+
+*pcsc-lite-1.2.9_beta9 (27 Nov 2005)
+
+  27 Nov 2005; Mike Frysinger <vapier@gentoo.org>
+  +pcsc-lite-1.2.9_beta9.ebuild:
+  Version bump #113718 by Alon Bar-Lev.
+
+*pcsc-lite-1.2.9_beta8 (04 Oct 2005)
+
+  04 Oct 2005; Mike Frysinger <vapier@gentoo.org>
+  +pcsc-lite-1.2.9_beta8.ebuild:
+  Version bump #108051 by Alon Bar-Lev.
+
+*pcsc-lite-1.2.9_beta7 (20 Jul 2005)
+
+  20 Jul 2005; Mike Frysinger <vapier@gentoo.org>
+  +pcsc-lite-1.2.9_beta7.ebuild:
+  Version bump #95951 by Alon Bar-Lev.
+
+  20 Jul 2005; Mike Frysinger <vapier@gentoo.org> +files/pcscd-confd,
+  files/pcscd-init, pcsc-lite-1.2.9_beta6.ebuild:
+  Make sure we remove run files before trying to start or pcscd will abort
+  #99505 by Alon Bar-Lev.
+
+  23 Jan 2005; Markus Rothe <corsair@gentoo.org> pcsc-lite-1.2.0.ebuild,
+  pcsc-lite-1.2.9_beta6.ebuild:
+  added ~ppc64 to KEYWORDS
+
+*pcsc-lite-1.2.9_beta6 (30 Oct 2004)
+
+  30 Oct 2004; Mike Frysinger <vapier@gentoo.org> +pcsc-lite-1.2.9_beta6.ebuild:
+  Version bump #69419 by Sebastian Spaeth.
+
+  01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
+  pcsc-lite-1.2.0.ebuild:
+  virtual/glibc -> virtual/libc
+
+  27 Jun 2004; David Holm <dholm@gentoo.org> pcsc-lite-1.2.0.ebuild:
+  Added to ~ppc.
+
+  24 Mar 2004; Daniel Black <dragonheart@gentoo.org> pcsc-lite-1.2.0.ebuild:
+  Changed driver directory to /usr/lib/readers to be consistant with
+  pcsc-slb-rf72-drv
+
+*pcsc-lite-1.2.0 (22 Mar 2004)
+
+  22 Mar 2004; Daniel Black <dragonheart@gentoo.org> pcsc-lite-1.1.1.ebuild,
+  pcsc-lite-1.2.0.ebuild:
+  Version bump - 1.2.0. Thanks to Cicero (Robert Thomas) <rwt@cc.gatech.edu> bug
+  #45166 for pointing it out
+
+  02 Aug 2003; <iggy@gentoo.org> pcsc-lite-1.1.1.ebuild, files/pcscd-init:
+  Gentoo style init script fixes bug # 15524 thanks to Alberto Ornaghi <alor@antifork.org> 
+
+*pcsc-lite-1.1.1 (16 Nov 2002)
+
+  16 Nov 2002; Zach Welch <zwelch@gentoo.org> :
+  Mask for testing, combine patches, commit to portage
+ 
+  27 Sep 2002; Juan Salaverria <rael@vectorstar.net> ChangeLog :
+  User submitted ebuild in bug 8447

diff --git a/sys-apps/pcsc-lite/Manifest b/sys-apps/pcsc-lite/Manifest
new file mode 100644
index 0000000..86f1f65
--- /dev/null
+++ b/sys-apps/pcsc-lite/Manifest
@@ -0,0 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX 99-pcscd-hotplug.rules 483 RMD160 6a747495f425ae83a55b6be632818e00f82a47b3 SHA1 07c8112839b66b1e856c052ebddb9f867f5b55f7 SHA256 9c33ca952c9bf119329ac5d7083176540803901200032a6d2f5231196ee2314a
+AUX pcsc-lite-1.6.6-libusb-libhal.patch 3130 RMD160 ed42fa2559dacb79a1d56fed6b784e301a3e9bcf SHA1 9c4ed77a0eab98fb6883da311a7ba220ee2ea5b2 SHA256 409b577de823ba4b776b0e4942afbfa30f96818c68ddd54ecd7d09402d51536f
+AUX pcscd-init.3 740 RMD160 38da0cecdc5a99d0af17a66a840e045b4bc0ebec SHA1 39f478f4e3e0c4f4f1a4624136872c97bcf65510 SHA256 98e6573b2917d442220a2afd3429ad70684eed0369204e84dabea150478356e9
+DIST pcsc-lite-1.6.6.tar.bz2 480232 RMD160 e4041b846d34cf94069b6ed71e1892af34d92acd SHA1 bdd4b2f87955e2719be9b4f5da253904c721fdec SHA256 7a94c27ae687619435b29ad63e0561aca20413333187b4301c75d1a1547ceea8
+EBUILD pcsc-lite-1.6.6.ebuild 2264 RMD160 32f24e2aafae00788c11926b9deb551c5965d8bf SHA1 2ef0b8bda1971b004bfab70b643177e49718eff4 SHA256 5433a4dd18114c096e52584596702573b66001e86983d6c968ed3cd479d1eb00
+MISC ChangeLog 14503 RMD160 1715cae07a0669a0f3dda56bf0693a6273a221f3 SHA1 a12d60ac04a6a97fe802eb7b2b81ccbb135c6fb3 SHA256 2779cf10d592232c46bb56b1fd8e919b8c27ead9c69e27d3a756395a3a45538b
+MISC metadata.xml 244 RMD160 9a9367ba3a24404b82d10ffe6493dbe43dfcb718 SHA1 b609f191e50f68af8331dfd824a8d72d48fd3ac0 SHA256 b93928eec206138ccf14d2c0dd1ebd2bbbf1cda0b8b69f540eb7f17e729cb5bf
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk1dwkcACgkQAiZjviIA2XhlBACgh31AgiP2C1MxNNeodkJL29AP
+mK4AnjEEjMPi0xUDH5S0UTuWLnxuowWy
+=6R7f
+-----END PGP SIGNATURE-----

diff --git a/sys-apps/pcsc-lite/files/99-pcscd-hotplug.rules b/sys-apps/pcsc-lite/files/99-pcscd-hotplug.rules
new file mode 100644
index 0000000..6333acc
--- /dev/null
+++ b/sys-apps/pcsc-lite/files/99-pcscd-hotplug.rules
@@ -0,0 +1,7 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/files/99-pcscd-hotplug.rules,v 1.2 2010/12/05 18:45:32 flameeyes Exp $
+
+# We add this here so that it runs after ccid's and ifd-gempc's rules;
+# if we just added a pcscd-owned device, we hotplug the pcscd service.
+ACTION=="add", ENV{PCSCD}=="1", GROUP="pcscd", RUN+="/bin/env IN_HOTPLUG=1 /etc/init.d/pcscd --quiet start"

diff --git a/sys-apps/pcsc-lite/files/pcsc-lite-1.6.6-libusb-libhal.patch b/sys-apps/pcsc-lite/files/pcsc-lite-1.6.6-libusb-libhal.patch
new file mode 100644
index 0000000..2ae854f
--- /dev/null
+++ b/sys-apps/pcsc-lite/files/pcsc-lite-1.6.6-libusb-libhal.patch
@@ -0,0 +1,95 @@
+--- .pc/pcsc-lite-1.6.6-libusb-libhal.patch/src/hotplug_libusb.c	2010-09-03 13:55:29.000000000 +0200
++++ src/hotplug_libusb.c	2011-02-18 01:41:25.957193002 +0100
+@@ -47,8 +47,8 @@
+ #undef DEBUG_HOTPLUG
+ #define ADD_SERIAL_NUMBER
+ 
+-/* format is "%d:%d", bus_number, device_address */
+-#define BUS_DEVICE_STRSIZE	10+1+10+1
++/* format is "%d:%d:%d", bus_number, device_address, interface */
++#define BUS_DEVICE_STRSIZE	10+1+10+1+10+1
+ 
+ #define READER_ABSENT		0
+ #define READER_PRESENT		1
+@@ -98,7 +98,8 @@
+ 
+ static LONG HPAddHotPluggable(struct libusb_device *dev,
+ 	struct libusb_device_descriptor desc,
+-	const char bus_device[], struct _driverTracker *driver);
++	const char bus_device[], int interface,
++	struct _driverTracker *driver);
+ static LONG HPRemoveHotPluggable(int reader_index);
+ 
+ static LONG HPReadBundleValues(void)
+@@ -294,16 +295,31 @@
+ 				desc.idVendor == driverTracker[i].manuID &&
+ 				desc.idProduct == driverTracker[i].productID)
+ 			{
+-				int newreader;
++				struct libusb_config_descriptor *config_desc;
++				const struct libusb_interface *usb_interface = NULL;
++				int interface;
+ 
+-				/* A known device has been found */
+-				snprintf(bus_device, BUS_DEVICE_STRSIZE, "%d:%d",
++				r = libusb_get_active_config_descriptor(dev, &config_desc);
++				if (r < 0)
++				{
++					Log3(PCSC_LOG_ERROR, "failed to get device config for %d/%d",
+ 					bus_number, device_address);
+-				bus_device[BUS_DEVICE_STRSIZE - 1] = '\0';
++					goto next_device;
++				}
++
+ #ifdef DEBUG_HOTPLUG
+-				Log2(PCSC_LOG_DEBUG, "Found matching USB device: %s",
+-					bus_device);
++				Log3(PCSC_LOG_DEBUG, "Found matching USB device: %d:%d",
++				     bus_number, device_address);
+ #endif
++
++				for (interface = 0; interface < config_desc->bNumInterfaces; interface++)
++				{
++					int newreader;
++
++					/* A known device has been found */
++					snprintf(bus_device, BUS_DEVICE_STRSIZE, "%d:%d:%d",
++						 bus_number, device_address, interface);
++					bus_device[BUS_DEVICE_STRSIZE - 1] = '\0';
+ 				newreader = TRUE;
+ 
+ 				/* Check if the reader is a new one */
+@@ -325,9 +341,12 @@
+ 
+ 				/* New reader found */
+ 				if (newreader)
+-					HPAddHotPluggable(dev, desc, bus_device, &driverTracker[i]);
++						HPAddHotPluggable(dev, desc, bus_device,
++								  interface, &driverTracker[i]);
++				}
+ 			}
+ 		}
++		next_device:
+ 	}
+ 
+ 	/*
+@@ -470,15 +489,16 @@
+ 
+ static LONG HPAddHotPluggable(struct libusb_device *dev,
+ 	struct libusb_device_descriptor desc,
+-	const char bus_device[], struct _driverTracker *driver)
++	const char bus_device[], int interface,
++	struct _driverTracker *driver)
+ {
+ 	int i;
+ 	char deviceName[MAX_DEVICENAME];
+ 
+ 	Log2(PCSC_LOG_INFO, "Adding USB device: %s", bus_device);
+ 
+-	snprintf(deviceName, sizeof(deviceName), "usb:%04x/%04x:libusb-1.0:%s",
+-		desc.idVendor, desc.idProduct, bus_device);
++	snprintf(deviceName, sizeof(deviceName), "usb:%04x/%04x:libhal:/org/freedesktop/Hal/devices/usb_device_%04x_%04x_serialnotneeded_if%d",
++		 desc.idVendor, desc.idProduct, desc.idvendor, desc.idProduct, interface);
+ 	deviceName[sizeof(deviceName) -1] = '\0';
+ 
+ 	pthread_mutex_lock(&usbNotifierMutex);

diff --git a/sys-apps/pcsc-lite/files/pcscd-init.3 b/sys-apps/pcsc-lite/files/pcscd-init.3
new file mode 100644
index 0000000..0002295
--- /dev/null
+++ b/sys-apps/pcsc-lite/files/pcscd-init.3
@@ -0,0 +1,33 @@
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/files/pcscd-init.3,v 1.1 2010/12/04 02:08:39 flameeyes Exp $
+
+depend() {
+	need localmount
+}
+
+start() {
+	if ! [ -d /var/run/pcscd ]; then
+		mkdir -p /var/run/pcscd
+	fi
+
+	chgrp pcscd /var/run/pcscd
+	chmod 0775 /var/run/pcscd
+
+	ebegin "Starting pcscd"
+	start-stop-daemon --start \
+        --exec /usr/sbin/pcscd \
+        --pidfile /var/run/pcscd/pcscd.pid \
+		--chuid nobody:pcscd \
+		-- ${EXTRA_OPTS}
+	eend $?
+}
+
+stop() {
+	ebegin "Stopping pcscd"
+	start-stop-daemon --stop \
+        --exec /usr/sbin/pcscd \
+        --pidfile /var/run/pcscd/pcscd.pid
+	eend $?
+}

diff --git a/sys-apps/pcsc-lite/metadata.xml b/sys-apps/pcsc-lite/metadata.xml
new file mode 100644
index 0000000..88daeb8
--- /dev/null
+++ b/sys-apps/pcsc-lite/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>crypto</herd>
+<longdescription>
+PC/SC Architecture smartcard middleware library
+</longdescription>
+</pkgmetadata>

diff --git a/sys-apps/pcsc-lite/pcsc-lite-1.6.6.ebuild b/sys-apps/pcsc-lite/pcsc-lite-1.6.6.ebuild
new file mode 100644
index 0000000..59a97e8
--- /dev/null
+++ b/sys-apps/pcsc-lite/pcsc-lite-1.6.6.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.6.6.ebuild,v 1.8 2011/01/10 11:09:39 xarthisius Exp $
+
+EAPI="3"
+
+inherit multilib eutils
+
+DESCRIPTION="PC/SC Architecture smartcard middleware library"
+HOMEPAGE="http://pcsclite.alioth.debian.org/"
+
+STUPID_NUM="3479"
+MY_P="${PN}-${PV/_/-}"
+SRC_URI="http://alioth.debian.org/download.php/${STUPID_NUM}/${MY_P}.tar.bz2"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86"
+IUSE="usb kernel_linux"
+
+RDEPEND="usb? ( virtual/libusb:1 )"
+DEPEND="${RDEPEND}
+	dev-util/pkgconfig"
+RDEPEND="${RDEPEND}
+	!<app-crypt/ccid-1.4.1-r1
+	kernel_linux? ( sys-fs/udev )"
+
+pkg_setup() {
+	enewgroup pcscd
+}
+
+src_prepare() {
+	epatch "${FILESDIR}/${P}-libusb-libhal.patch"
+}
+
+src_configure() {
+	econf \
+		--disable-maintainer-mode \
+		--disable-dependency-tracking \
+		--docdir="/usr/share/doc/${PF}" \
+		--enable-usbdropdir="/usr/$(get_libdir)/readers/usb" \
+		$(use_enable usb libusb) \
+		--disable-libhal
+}
+
+src_install() {
+	emake DESTDIR="${D}" install || die "emake install failed"
+	dodoc AUTHORS DRIVERS HELP README SECURITY ChangeLog || die
+
+	newinitd "${FILESDIR}/pcscd-init.3" pcscd || die
+
+	if use kernel_linux; then
+		insinto /lib/udev/rules.d
+		doins "${FILESDIR}"/99-pcscd-hotplug.rules || die
+	fi
+}
+
+pkg_postinst() {
+	elog "Starting from version 1.6.5, pcsc-lite will start as user nobody in"
+	elog "the pcscd group, to avoid running as root."
+	elog ""
+	elog "This also means you need the newest drivers available so that the"
+	elog "devices get the proper owner."
+	elog ""
+	elog "Furthermore, a conf.d file is no longer installed by default, as"
+	elog "the default configuration does not require one. If you need to"
+	elog "pass further options to pcscd, create a file and set the"
+	elog "EXTRA_OPTS variable."
+	elog ""
+	if use kernel_linux; then
+		elog "HAL support has been dropped by the ebuild; if you want hotplug"
+		elog "support, that's provided already by UDEV rules; you only need to"
+		elog "tell the init system to hotplug it, by setting this variable in"
+		elog "/etc/rc.conf:"
+		elog ""
+		elog "    rc_hotplug=\"pcscd\""
+	fi
+}



             reply	other threads:[~2011-02-18  0:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-18  0:49 Diego Elio Pettenò [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-02-18  0:56 [gentoo-commits] dev/flameeyes:master commit in: sys-apps/pcsc-lite/, sys-apps/pcsc-lite/files/ Diego Elio Pettenò
2011-02-18  0:58 Diego Elio Pettenò
2011-03-08 19:06 Diego Elio Pettenò

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=59e1b5a78b55d166ce47f20731e06351738a9df2.flameeyes@gentoo \
    --to=flameeyes@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox