public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/flameeyes:master commit in: sys-apps/pcsc-lite/, sys-apps/pcsc-lite/files/
@ 2011-02-18  0:49 Diego Elio Pettenò
  0 siblings, 0 replies; 4+ messages in thread
From: Diego Elio Pettenò @ 2011-02-18  0:49 UTC (permalink / raw
  To: gentoo-commits

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
+}



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] dev/flameeyes:master commit in: sys-apps/pcsc-lite/, sys-apps/pcsc-lite/files/
@ 2011-02-18  0:56 Diego Elio Pettenò
  0 siblings, 0 replies; 4+ messages in thread
From: Diego Elio Pettenò @ 2011-02-18  0:56 UTC (permalink / raw
  To: gentoo-commits

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

Try two for the patch.

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

---
 sys-apps/pcsc-lite/ChangeLog                       |    4 +
 sys-apps/pcsc-lite/Manifest                        |   10 ++--
 .../files/pcsc-lite-1.6.6-libusb-libhal.patch      |   72 +++++++++++---------
 3 files changed, 50 insertions(+), 36 deletions(-)

diff --git a/sys-apps/pcsc-lite/ChangeLog b/sys-apps/pcsc-lite/ChangeLog
index 85f89bd..3458301 100644
--- a/sys-apps/pcsc-lite/ChangeLog
+++ b/sys-apps/pcsc-lite/ChangeLog
@@ -3,6 +3,10 @@
 # $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/pcsc-lite-1.6.6-libusb-libhal.patch:
+  Try two for the patch.
+
+  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:

diff --git a/sys-apps/pcsc-lite/Manifest b/sys-apps/pcsc-lite/Manifest
index 86f1f65..9813e71 100644
--- a/sys-apps/pcsc-lite/Manifest
+++ b/sys-apps/pcsc-lite/Manifest
@@ -2,16 +2,16 @@
 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 pcsc-lite-1.6.6-libusb-libhal.patch 3323 RMD160 a8b6254bddc576403f1dc5d97e9a7da5739dd44c SHA1 52ddbcfae08448e090671c31bb8e26a2dccdf686 SHA256 55959c6cc2e651aefdf1a32e32752cf23dbc035e9767116fdb738109b8ca7ac1
 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 ChangeLog 14630 RMD160 b9ca25823812d9032d821f6849610fc35c55220c SHA1 ca03b136e23cffab5fa55c8a27c316071ce462cf SHA256 1db4da50887c350cb7f91418ca0c5d5b2ba5894018b3f5fba85a93ea7e76c905
 MISC metadata.xml 244 RMD160 9a9367ba3a24404b82d10ffe6493dbe43dfcb718 SHA1 b609f191e50f68af8331dfd824a8d72d48fd3ac0 SHA256 b93928eec206138ccf14d2c0dd1ebd2bbbf1cda0b8b69f540eb7f17e729cb5bf
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.17 (GNU/Linux)
 
-iEYEARECAAYFAk1dwkcACgkQAiZjviIA2XhlBACgh31AgiP2C1MxNNeodkJL29AP
-mK4AnjEEjMPi0xUDH5S0UTuWLnxuowWy
-=6R7f
+iEYEARECAAYFAk1dw98ACgkQAiZjviIA2XgE8gCfX8PknjKQ5LkPbFK2V66eUC5x
+z/oAoIVLE4KcpQ0+cB2GzOJvPDMmbirk
+=a+xl
 -----END PGP SIGNATURE-----

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
index 2ae854f..c4b39e3 100644
--- 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
@@ -1,5 +1,5 @@
 --- .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
++++ src/hotplug_libusb.c	2011-02-18 01:55:05.193193002 +0100
 @@ -47,8 +47,8 @@
  #undef DEBUG_HOTPLUG
  #define ADD_SERIAL_NUMBER
@@ -21,59 +21,69 @@
  static LONG HPRemoveHotPluggable(int reader_index);
  
  static LONG HPReadBundleValues(void)
-@@ -294,16 +295,31 @@
+@@ -276,6 +277,7 @@
+ 	while ((dev = devs[cnt++]) != NULL)
+ 	{
+ 		struct libusb_device_descriptor desc;
++		struct libusb_config_descriptor *config_desc;
+ 		uint8_t bus_number = libusb_get_bus_number(dev);
+ 		uint8_t device_address = libusb_get_device_address(dev);
+ 
+@@ -287,6 +289,14 @@
+ 			continue;
+ 		}
+ 
++		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);
++			continue;
++		}
++
+ 		/* check if the device is supported by one driver */
+ 		for (i=0; i<driverSize; i++)
+ 		{
+@@ -294,16 +304,21 @@
  				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);
++#ifdef DEBUG_HOTPLUG
 +				Log3(PCSC_LOG_DEBUG, "Found matching USB device: %d:%d",
-+				     bus_number, device_address);
- #endif
++					bus_number, device_address);
++#endif
 +
 +				for (interface = 0; interface < config_desc->bNumInterfaces; interface++)
 +				{
-+					int newreader;
-+
-+					/* A known device has been found */
+ 				int newreader;
+ 
+ 				/* A known device has been found */
+-				snprintf(bus_device, BUS_DEVICE_STRSIZE, "%d:%d",
+-					bus_number, device_address);
 +					snprintf(bus_device, BUS_DEVICE_STRSIZE, "%d:%d:%d",
 +						 bus_number, device_address, interface);
-+					bus_device[BUS_DEVICE_STRSIZE - 1] = '\0';
+ 				bus_device[BUS_DEVICE_STRSIZE - 1] = '\0';
+-#ifdef DEBUG_HOTPLUG
+-				Log2(PCSC_LOG_DEBUG, "Found matching USB device: %s",
+-					bus_device);
+-#endif
  				newreader = TRUE;
  
  				/* Check if the reader is a new one */
-@@ -325,9 +341,12 @@
+@@ -325,7 +340,9 @@
  
  				/* New reader found */
  				if (newreader)
 -					HPAddHotPluggable(dev, desc, bus_device, &driverTracker[i]);
 +						HPAddHotPluggable(dev, desc, bus_device,
-+								  interface, &driverTracker[i]);
++							interface, &driverTracker[i]);
 +				}
  			}
  		}
-+		next_device:
  	}
- 
- 	/*
-@@ -470,15 +489,16 @@
+@@ -470,15 +487,16 @@
  
  static LONG HPAddHotPluggable(struct libusb_device *dev,
  	struct libusb_device_descriptor desc,



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] dev/flameeyes:master commit in: sys-apps/pcsc-lite/, sys-apps/pcsc-lite/files/
@ 2011-02-18  0:58 Diego Elio Pettenò
  0 siblings, 0 replies; 4+ messages in thread
From: Diego Elio Pettenò @ 2011-02-18  0:58 UTC (permalink / raw
  To: gentoo-commits

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

Try 3 for the patch.

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

---
 sys-apps/pcsc-lite/ChangeLog                       |    4 ++++
 sys-apps/pcsc-lite/Manifest                        |   10 +++++-----
 .../files/pcsc-lite-1.6.6-libusb-libhal.patch      |    4 ++--
 3 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/sys-apps/pcsc-lite/ChangeLog b/sys-apps/pcsc-lite/ChangeLog
index 3458301..4bd8dee 100644
--- a/sys-apps/pcsc-lite/ChangeLog
+++ b/sys-apps/pcsc-lite/ChangeLog
@@ -4,6 +4,10 @@
 
   18 Feb 2011; Diego E. Pettenò <flameeyes@gentoo.org>
   files/pcsc-lite-1.6.6-libusb-libhal.patch:
+  Try 3 for the patch.
+
+  18 Feb 2011; Diego E. Pettenò <flameeyes@gentoo.org>
+  files/pcsc-lite-1.6.6-libusb-libhal.patch:
   Try two for the patch.
 
   18 Feb 2011; Diego E. Pettenò <flameeyes@gentoo.org>

diff --git a/sys-apps/pcsc-lite/Manifest b/sys-apps/pcsc-lite/Manifest
index 9813e71..0cac897 100644
--- a/sys-apps/pcsc-lite/Manifest
+++ b/sys-apps/pcsc-lite/Manifest
@@ -2,16 +2,16 @@
 Hash: SHA1
 
 AUX 99-pcscd-hotplug.rules 483 RMD160 6a747495f425ae83a55b6be632818e00f82a47b3 SHA1 07c8112839b66b1e856c052ebddb9f867f5b55f7 SHA256 9c33ca952c9bf119329ac5d7083176540803901200032a6d2f5231196ee2314a
-AUX pcsc-lite-1.6.6-libusb-libhal.patch 3323 RMD160 a8b6254bddc576403f1dc5d97e9a7da5739dd44c SHA1 52ddbcfae08448e090671c31bb8e26a2dccdf686 SHA256 55959c6cc2e651aefdf1a32e32752cf23dbc035e9767116fdb738109b8ca7ac1
+AUX pcsc-lite-1.6.6-libusb-libhal.patch 3323 RMD160 c575bd1970c68694afe7542010577b0fd50815bd SHA1 50dc73e737faa095127c667e306cf57c5f7f7b95 SHA256 71cc71392fed868dec18326d3866213ab19c57bc89d6665fcee8d9b23af9acd4
 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 14630 RMD160 b9ca25823812d9032d821f6849610fc35c55220c SHA1 ca03b136e23cffab5fa55c8a27c316071ce462cf SHA256 1db4da50887c350cb7f91418ca0c5d5b2ba5894018b3f5fba85a93ea7e76c905
+MISC ChangeLog 14755 RMD160 ca7c111936d6d1287e47ab1011bc367ee4ebfce5 SHA1 839c350a2c098ab8671ae916360d003eb13f6638 SHA256 844e0edcd9baeed09581dd54fe7e2f7ace70a95af278b02f1677c4dc9a028e9b
 MISC metadata.xml 244 RMD160 9a9367ba3a24404b82d10ffe6493dbe43dfcb718 SHA1 b609f191e50f68af8331dfd824a8d72d48fd3ac0 SHA256 b93928eec206138ccf14d2c0dd1ebd2bbbf1cda0b8b69f540eb7f17e729cb5bf
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.17 (GNU/Linux)
 
-iEYEARECAAYFAk1dw98ACgkQAiZjviIA2XgE8gCfX8PknjKQ5LkPbFK2V66eUC5x
-z/oAoIVLE4KcpQ0+cB2GzOJvPDMmbirk
-=a+xl
+iEYEARECAAYFAk1dxHIACgkQAiZjviIA2XiJeQCfSYrv/1JWXzbDoS18LAUhjwjd
+W5YAn1VdhqENOf7OTPnEpG8tyFkocYJs
+=0wV7
 -----END PGP SIGNATURE-----

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
index c4b39e3..111630d 100644
--- 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
@@ -1,5 +1,5 @@
 --- .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:55:05.193193002 +0100
++++ src/hotplug_libusb.c	2011-02-18 01:59:09.171193002 +0100
 @@ -47,8 +47,8 @@
  #undef DEBUG_HOTPLUG
  #define ADD_SERIAL_NUMBER
@@ -99,7 +99,7 @@
 -	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);
++		 desc.idVendor, desc.idProduct, desc.idVendor, desc.idProduct, interface);
  	deviceName[sizeof(deviceName) -1] = '\0';
  
  	pthread_mutex_lock(&usbNotifierMutex);



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] dev/flameeyes:master commit in: sys-apps/pcsc-lite/, sys-apps/pcsc-lite/files/
@ 2011-03-08 19:06 Diego Elio Pettenò
  0 siblings, 0 replies; 4+ messages in thread
From: Diego Elio Pettenò @ 2011-03-08 19:06 UTC (permalink / raw
  To: gentoo-commits

commit:     7d32cecb7aae3308a0e5e89b92f6e8217ebe5ca6
Author:     Diego Elio Pettenò <flameeyes <AT> gmail <DOT> com>
AuthorDate: Tue Mar  8 19:07:20 2011 +0000
Commit:     Diego Elio Pettenò <flameeyes <AT> gentoo <DOT> org>
CommitDate: Tue Mar  8 19:07:20 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/flameeyes.git;a=commit;h=7d32cecb

Remove pcsc-lite since 1.6.7 includes the patch.

---
 sys-apps/pcsc-lite/ChangeLog                       |  433 --------------------
 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      |  105 -----
 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, 0 insertions(+), 682 deletions(-)

diff --git a/sys-apps/pcsc-lite/ChangeLog b/sys-apps/pcsc-lite/ChangeLog
deleted file mode 100644
index 4bd8dee..0000000
--- a/sys-apps/pcsc-lite/ChangeLog
+++ /dev/null
@@ -1,433 +0,0 @@
-# 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/pcsc-lite-1.6.6-libusb-libhal.patch:
-  Try 3 for the patch.
-
-  18 Feb 2011; Diego E. Pettenò <flameeyes@gentoo.org>
-  files/pcsc-lite-1.6.6-libusb-libhal.patch:
-  Try two for the patch.
-
-  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
deleted file mode 100644
index 0cac897..0000000
--- a/sys-apps/pcsc-lite/Manifest
+++ /dev/null
@@ -1,17 +0,0 @@
------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 3323 RMD160 c575bd1970c68694afe7542010577b0fd50815bd SHA1 50dc73e737faa095127c667e306cf57c5f7f7b95 SHA256 71cc71392fed868dec18326d3866213ab19c57bc89d6665fcee8d9b23af9acd4
-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 14755 RMD160 ca7c111936d6d1287e47ab1011bc367ee4ebfce5 SHA1 839c350a2c098ab8671ae916360d003eb13f6638 SHA256 844e0edcd9baeed09581dd54fe7e2f7ace70a95af278b02f1677c4dc9a028e9b
-MISC metadata.xml 244 RMD160 9a9367ba3a24404b82d10ffe6493dbe43dfcb718 SHA1 b609f191e50f68af8331dfd824a8d72d48fd3ac0 SHA256 b93928eec206138ccf14d2c0dd1ebd2bbbf1cda0b8b69f540eb7f17e729cb5bf
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iEYEARECAAYFAk1dxHIACgkQAiZjviIA2XiJeQCfSYrv/1JWXzbDoS18LAUhjwjd
-W5YAn1VdhqENOf7OTPnEpG8tyFkocYJs
-=0wV7
------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
deleted file mode 100644
index 6333acc..0000000
--- a/sys-apps/pcsc-lite/files/99-pcscd-hotplug.rules
+++ /dev/null
@@ -1,7 +0,0 @@
-# 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
deleted file mode 100644
index 111630d..0000000
--- a/sys-apps/pcsc-lite/files/pcsc-lite-1.6.6-libusb-libhal.patch
+++ /dev/null
@@ -1,105 +0,0 @@
---- .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:59:09.171193002 +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)
-@@ -276,6 +277,7 @@
- 	while ((dev = devs[cnt++]) != NULL)
- 	{
- 		struct libusb_device_descriptor desc;
-+		struct libusb_config_descriptor *config_desc;
- 		uint8_t bus_number = libusb_get_bus_number(dev);
- 		uint8_t device_address = libusb_get_device_address(dev);
- 
-@@ -287,6 +289,14 @@
- 			continue;
- 		}
- 
-+		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);
-+			continue;
-+		}
-+
- 		/* check if the device is supported by one driver */
- 		for (i=0; i<driverSize; i++)
- 		{
-@@ -294,16 +304,21 @@
- 				desc.idVendor == driverTracker[i].manuID &&
- 				desc.idProduct == driverTracker[i].productID)
- 			{
-+				int interface;
-+
-+#ifdef DEBUG_HOTPLUG
-+				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",
--					bus_number, device_address);
-+					snprintf(bus_device, BUS_DEVICE_STRSIZE, "%d:%d:%d",
-+						 bus_number, device_address, interface);
- 				bus_device[BUS_DEVICE_STRSIZE - 1] = '\0';
--#ifdef DEBUG_HOTPLUG
--				Log2(PCSC_LOG_DEBUG, "Found matching USB device: %s",
--					bus_device);
--#endif
- 				newreader = TRUE;
- 
- 				/* Check if the reader is a new one */
-@@ -325,7 +340,9 @@
- 
- 				/* New reader found */
- 				if (newreader)
--					HPAddHotPluggable(dev, desc, bus_device, &driverTracker[i]);
-+						HPAddHotPluggable(dev, desc, bus_device,
-+							interface, &driverTracker[i]);
-+				}
- 			}
- 		}
- 	}
-@@ -470,15 +487,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
deleted file mode 100644
index 0002295..0000000
--- a/sys-apps/pcsc-lite/files/pcscd-init.3
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/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
deleted file mode 100644
index 88daeb8..0000000
--- a/sys-apps/pcsc-lite/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?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
deleted file mode 100644
index 59a97e8..0000000
--- a/sys-apps/pcsc-lite/pcsc-lite-1.6.6.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# 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
-}



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-03-08 19:06 UTC | newest]

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

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