release 1.3.1-1

This commit is contained in:
Ludovic Rousseau 2007-12-31 14:55:28 +00:00
parent 9038a3f51c
commit c69e1df616
11 changed files with 665 additions and 0 deletions

View File

@ -0,0 +1,49 @@
ccid for Debian
---------------
Note for a USB smart card reader
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You should install the udev package
The libccid driver uses the /proc/bus/usb/ filesystem to communicate
with the USB reader.
I strongly recommend to install the ``udev'' Debian package.
Note for a GemPC Twin connected to a serial port
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You have to edit /etc/reader.conf.d/libccidtwin to chose the serial port
your reader is connected to.
The configuration file /etc/reader.conf is automatically (re)generated
if your start update-reader.conf(8)
See update-reader.conf(8) for more information.
When the package is removed:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you configured /etc/reader.conf.d/libccidtwin and remove the package
you will get an error message from pcscd (in /var/log/messages by
default). Something like:
Sep 23 22:29:11 foobar pcscd: dyn_unix.c:32 DYN_LoadLibrary: dlerror()
reports /usr/lib/pcsc/drivers/serial/libccidtwin.so.0: cannot open
shared object file: No such file or directory
This is because the library is removed by the configuration file
/etc/reader.conf.d/libccidtwin is still present and /etc/reader.conf
still uses the configuration and try to start the driver for the Twin
reader.
If you really want to get rid of this warning you can purge the package
(dpkg --purge libccid) but you will lose your configuration file
/etc/reader.conf.d/libccidtwin and you will have to reconfigure it if
you re-install the libccid package.
$Id: README.Debian,v 1.4 2006-03-03 21:00:22 rousseau Exp $
-- Ludovic Rousseau <rousseau@debian.org>, Sun, 24 Aug 2003 19:03:06 +0200

View File

@ -0,0 +1,227 @@
ccid (1.3.1-1) unstable; urgency=low
* New upstream release
-- Ludovic Rousseau <rousseau@debian.org> Fri, 16 Nov 2007 15:25:46 +0100
ccid (1.3.0-3) unstable; urgency=low
* debian/watch: update URL to make it work again. Closes: #449691: "ccid:
debian/watch fails to report upstream's version"
* debian/control: use Homepage: field
-- Ludovic Rousseau <rousseau@debian.org> Wed, 07 Nov 2007 16:29:22 +0000
ccid (1.3.0-2) unstable; urgency=low
* debian/rules: use dh_installudev to install the udev file
* debian/control: Build-Depends: debhelper (>= 5.0.45) to have use
dh_installudev
* debian/compat: set to 5
-- Ludovic Rousseau <rousseau@debian.org> Sat, 02 Jun 2007 21:09:52 +0200
ccid (1.3.0-1) unstable; urgency=low
* New upstream release
* debian/control:
- upgrade Standards-Version: 3.6.2 -> 3.7.2. No change needed
- add XS-Vcs-Browser: and Xs-Vcs-Svn: fields
-- Ludovic Rousseau <rousseau@debian.org> Thu, 10 May 2007 16:52:22 +0200
ccid (1.2.1-1) unstable; urgency=low
* New upstream release
- now supports the O2Micro Oz7762
Closes: #381689 "should not barf on Oz776 firmware"
Closes: #381834 "spams syslog when no card is inserted"
Closes: #385072 "pcscd: excessive amount of logging"
-- Ludovic Rousseau <rousseau@debian.org> Sat, 27 Jan 2007 18:11:46 +0100
ccid (1.2.0-1) unstable; urgency=low
* New upstream release
* debian/control:
- Build-Depends: libpcsclite-dev (>= 1.3.3-1)
- libccid Depends: udev
* debian/rules: use --enable-udev and install the udev rule file
-- Ludovic Rousseau <rousseau@debian.org> Thu, 25 Jan 2007 21:23:28 +0100
ccid (1.1.0-1) unstable; urgency=low
* New upstream release
* debian/rules: add --enable-twinserial to ./configure
-- Ludovic Rousseau <rousseau@debian.org> Fri, 11 Aug 2006 20:45:32 +0200
ccid (1.0.1-2) unstable; urgency=low
* debian/copyright:
- update licence from GPL-2 to LGPL-2.1
- add all the copyright owner names
* debian/rules: do not check for nostrip in $(DEB_BUILD_OPTIONS) since we
use dh_strip with this test included
* debian/control: update the list of supported smart card readers
* debian/{rules,control}: do not use dpatch since we have no patch to apply
-- Ludovic Rousseau <rousseau@debian.org> Sun, 23 Apr 2006 20:29:01 +0200
ccid (1.0.1-1) unstable; urgency=low
* New upstream release
-- Ludovic Rousseau <rousseau@debian.org> Sat, 22 Apr 2006 17:42:11 +0200
ccid (1.0.0-1) unstable; urgency=low
* New upstream release
* debian/README.Debian: change recommendation from hotplug to udev
* debian/control: update the list of supported smart card readers
-- Ludovic Rousseau <rousseau@debian.org> Fri, 3 Mar 2006 22:09:10 +0100
ccid (0.9.4-4) unstable; urgency=low
* debian/control: remove the Depends: pcscd to avoid a circular dependency
with pcscd. See http://lists.debian.org/debian-devel/2006/01/msg00515.html
we now have:
Recommends: pcscd (>= 1.2.9-beta9-1)
Conflicts: pcscd (<< 1.2.9-beta9-1)
-- Ludovic Rousseau <rousseau@debian.org> Fri, 10 Feb 2006 16:20:34 +0100
ccid (0.9.4-3) unstable; urgency=low
* debian/rules: move Info.plist from from
/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist to
/etc/libccid_Info.plist to make it a conffile so that user modifications
are not lost with an upgrade
* debian/control: Standards-Version: 3.6.2 -> 3.6.2, no change
-- Ludovic Rousseau <rousseau@debian.org> Fri, 2 Dec 2005 17:13:51 +0100
ccid (0.9.4-2) unstable; urgency=low
* debian/control:
- libccid Depends: on pcscd (>= 1.2.9-beta9-1)
- remove Recommends: hotplug since udev should be used instead
- add some more readers in the long description
-- Ludovic Rousseau <rousseau@debian.org> Sun, 27 Nov 2005 21:18:54 +0100
ccid (0.9.4-1) unstable; urgency=low
* New upstream release
- Closes: #326928 "Incorrect spelling in name"
- remove debian/patches/22_ifdhandler.c.dpatch now included upstream
* debian/control: Build-Depends on libpcsclite-dev (>= 1.2.9-beta9-1)
instead of beta8
-- Ludovic Rousseau <rousseau@debian.org> Sun, 27 Nov 2005 21:09:42 +0100
ccid (0.9.3-2) unstable; urgency=low
* debian/patches/22_ifdhandler.c.dpatch: #include <PCSC/reader.h>
Closes: #337252 "FTBFS: 'SCARD_ATTR_ATR_STRING' undeclared"
* debian/control: Build-Depends: libpcsclite-dev (>= 1.2.9-beta8-1). This
new version has the defines in PCSC/reader.h instead of PCSC/ifdhandler.h
-- Ludovic Rousseau <rousseau@debian.org> Fri, 4 Nov 2005 18:35:50 +0100
ccid (0.9.3-1) unstable; urgency=low
* New upstream release
-- Ludovic Rousseau <rousseau@debian.org> Tue, 15 Mar 2005 19:58:47 +0100
ccid (0.9.2-3) unstable; urgency=high
* urgency high since the package is unusable with the libusb in sarge
* debian/patches/01_ccid_usb.c.dpatch: avoid a crash when the reader is
removed because of a change in libusb
-- Ludovic Rousseau <rousseau@debian.org> Sat, 5 Mar 2005 12:20:00 +0100
ccid (0.9.2-2) unstable; urgency=medium
* debian/control: Build-Depends on pkg-config
-- Ludovic Rousseau <rousseau@debian.org> Sun, 15 Aug 2004 23:47:57 +0200
ccid (0.9.2-1) unstable; urgency=medium
* New upstream release
* urgency=medium because this new release fixes many important bugs and the
version now in testing (0.4.1-1) is (very) old and very limited.
The present version should be released with sarge.
* debian/patches: patches included upstream so removed from the Debian
package
-- Ludovic Rousseau <rousseau@debian.org> Sun, 15 Aug 2004 22:56:56 +0200
ccid (0.9.1-2) unstable; urgency=low
* 21_ifdhandler.c.dpatch: update IFDHControl() API. Closes: #263328
* debian/control: Build-Depends: libpcsclite-dev (>= 1.2.9-beta5-1) instead
of 1.2.9-beta3-1 to use the new IFDHControl() API.
-- Ludovic Rousseau <rousseau@debian.org> Tue, 3 Aug 2004 22:51:04 +0200
ccid (0.9.1-1) unstable; urgency=low
* New upstream release
* debian/control:
- Build-Depends: libpcsclite-dev (>= 1.2.9-beta3-1), dpatch
- update the list of supported readers
* debian/patches:
- 10_Info.plist.dpatch : replace VENDOR pattern by MAGIC_VENDOR since we
also have a VENDOR in IOCTL_SMARTCARD_VENDOR_IFD_EXCHANGE and then a
collision.
- 20_ccid_serial.c.dpatch: OpenSerialByName(): perform a command (get the
reader firmware) to be sure a GemPC Twin (serial or pcmcia) reader is
connected
-- Ludovic Rousseau <rousseau@debian.org> Sat, 3 Jul 2004 16:11:31 +0200
ccid (0.4.1-1) unstable; urgency=low
* New upstream release
-- Ludovic Rousseau <rousseau@debian.org> Sun, 15 Feb 2004 14:09:18 +0100
ccid (0.3.2-1) unstable; urgency=low
* New upstream release
-- Ludovic Rousseau <rousseau@debian.org> Wed, 5 Nov 2003 19:36:49 +0100
ccid (0.3.1-1) unstable; urgency=low
* New upstream release
* debian/README.Debian: important notes about the GemPC Twin driver when
connected to a serial port. The serial port configuration is not
automatic.
* debian/postinst, postrm: regenerate /etc/reader.conf using
update-reader.conf(8) when installing or removing the package
* debian/control:
- Build-Depends on autotools-dev
- modivied homepage URL
- add a list of supported readers
-- Ludovic Rousseau <rousseau@debian.org> Tue, 23 Sep 2003 22:35:19 +0200
ccid (0.2.0-2) unstable; urgency=low
* debian/control: add flex to Build-Depends:. Closes: #208274
-- Ludovic Rousseau <rousseau@debian.org> Tue, 2 Sep 2003 21:07:12 +0200
ccid (0.2.0-1) unstable; urgency=low
* Initial Release.
-- Ludovic Rousseau <rousseau@debian.org> Tue, 26 Aug 2003 23:53:13 +0200

View File

@ -0,0 +1 @@
5

View File

@ -0,0 +1,104 @@
Source: ccid
Section: libs
Priority: extra
Maintainer: Ludovic Rousseau <rousseau@debian.org>
Build-Depends: debhelper (>= 5.0.45), libusb-dev (>= 0.1.6a-2.1), libpcsclite-dev (>= 1.3.3-1), flex, autotools-dev, pkg-config
XS-Vcs-Browser: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/
Xs-Vcs-Svn: svn://svn.debian.org/pcsclite/trunk/Drivers/ccid
Standards-Version: 3.7.2
Homepage: http://pcsclite.alioth.debian.org/ccid.html
Package: libccid
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, udev
Recommends: pcscd (>= 1.2.9-beta9-1)
Conflicts: pcscd (<< 1.2.9-beta9-1)
Provides: pcsc-ifd-handler
Description: PC/SC driver for USB CCID smart card readers
This library provides a PC/SC IFD handler implementation for the USB smart
card drivers compliant to the CCID protocol.
.
This package is needed to communicate with the CCID smartcard readers through
the PC/SC Lite resource manager (pcscd).
.
Supported USB readers are (see homepage for more info):
- ActivCard USB reader 3.0
- Advanced Card Systems ACR 38U-CCID
- Alcor Micro AU9520
- Athena ASE IIIe USB V2
- Athena ASE IIIe KB USB
- Axalto Reflex USB v3
- C3PO LTC31
- C3PO LTC32
- C3PO KBR36
- C3PO TLTC2USB
- Charismathics token
- Cherry XX33 keyboard
- Cherry XX44 keyboard
- Cherry SmartTerminal ST2XXX
- Cherry ST-1044U
- Dell keyboard SK-3106
- Dell smart card reader keyboard
- Eutron SIM Pocket Combo
- Eutron CryptoIdentity
- Eutron Smart Pocket
- Eutron Digipass 860
- Fujitsu Siemens Computers SmartCard USB 2A
- Fujitsu Siemens Computers SmartCard Keyboard USB 2A
- Gemplus GemPC 433 SL
- Gemplus GemPC Key
- Gemplus GemPC PinPad
- Gemplus GemPC Twin
- Gemplus GemCore POS Pro
- Gemplus GemCore SIM Pro
- Giesecke & Devrient StarSign Card Token 350
- Giesecke & Devrient StarSign Card Token 550
- HP USB Smart Card Keyboard
- HP USB Smartcard Reader
- id3 Semiconductors CL1356D
- id3 Semiconductors CL1356T
- Kobil KAAN Base
- Kobil KAAN Advanced
- Kobil KAAN SIM III
- Kobil mIDentity
- EMV CAP - SecOVID Reader III
- Lenovo Integrated Smart Card Reader
- O2Micro oz776
- OmniKey CardMan 1021
- OmniKey CardMan 3021
- OmniKey CardMan 3121
- OmniKey CardMan 3621
- OmniKey CardMan 3821
- OmniKey CardMan 3621
- OmniKey CardMan 4321
- OmniKey CardMan 5121
- OmniKey CardMan 5125
- OmniKey CardMan 5321
- OmniKey CardMan 6121
- Philips Semiconductors JCOP41V221" ICCD card
- Reiner-SCT cyberJack pinpad(a)
- RSA SecureID SID800
- SCM Micro SCR 331
- SCM Micro SCR 331-DI
- SCM Micro SCR 331-DI NTTCom
- SCM Micro SCR 3310
- SCM Micro SCR 3310 NTTCom
- SCM Micro SCR 3311
- SCM Micro SCR 3320
- SCM Micro SCR 333
- SCM SCR 3340 ExpressCard54
- SCM Micro SCR 335
- SCM Micro SCR 355
- SCM Micro SPR 532
- SCM Micro SDI 010
- SCM SCR 3340 ExpressCard54
- SmartEpad (v 2.0)
- Silitek SK-3105 keyboard
- SchlumbergerSema Cyberflex Access e-gate ICCD
- Verisign Secure Storage Token
- Verisign Secure Token
- Winbond Electronics W81E381 (for OEM only)
- Xiring Teo
.
This driver also support the GemPC Twin connected to a serial port and
the GemPC Card (PCMCIA) and Gemplus GemPC Express (Express54 card).

View File

@ -0,0 +1,30 @@
This package was debianized by Ludovic Rousseau <rousseau@debian.org> on
Sun, 24 Aug 2003 19:03:06 +0200.
It was downloaded from
http://pcsclite.alioth.debian.org/ccid.html
Upstream Authors: 2003-2006, Ludovic Rousseau <ludovic.rousseau@free.fr>
Copyright (C) 2000 2001 Carlos Prados <cprados@yahoo.com>
Copyright (C) 2003, Olaf Kirch <okir@suse.de>
Copyright 1999-2002 Matthias Bruestle
Copyright:
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
On Debian systems, the complete text of the GNU Lesser General Public License
can be found in /usr/share/common-licenses/LGPL-2.1 file.

View File

@ -0,0 +1 @@
/etc/reader.conf.d

View File

@ -0,0 +1 @@
README

View File

@ -0,0 +1,63 @@
#! /bin/sh
# postinst script for ccid
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see /usr/share/doc/packaging-manual/
#
# quoting from the policy:
# Any necessary prompting should almost always be confined to the
# post-installation script, and should be protected with a conditional
# so that unnecessary prompting doesn't happen if a package's
# installation fails and the `postinst' is called with `abort-upgrade',
# `abort-remove' or `abort-deconfigure'.
case "$1" in
configure|reconfigure)
# regenerate /etc/reader.conf if update-reader.conf is available
if [ -x /usr/sbin/update-reader.conf ]
then
/usr/sbin/update-reader.conf || true
fi
# restart pcscd (PCSC daemon) if the package is installed
if [ -x /etc/init.d/pcscd ]
then
invoke-rc.d pcscd restart 3> /dev/null
fi
# reload udev rules if the package is installed
if [ -x /etc/init.d/udev ]
then
invoke-rc.d udev reload 3> /dev/null || true
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 0
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

View File

@ -0,0 +1,53 @@
#! /bin/sh
# postrm script for ccid
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postrm> `remove'
# * <postrm> `purge'
# * <old-postrm> `upgrade' <new-version>
# * <new-postrm> `failed-upgrade' <old-version>
# * <new-postrm> `abort-install'
# * <new-postrm> `abort-install' <old-version>
# * <new-postrm> `abort-upgrade' <old-version>
# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
# for details, see /usr/share/doc/packaging-manual/
cfgdir=/etc/reader.conf.d
cfg=$cfgdir/libccidtwin
case "$1" in
remove|failed-upgrade|abort-install|abort-upgrade|disappear)
# regenerate /etc/reader.conf
if [ -x /usr/sbin/update-reader.conf ]
then
/usr/sbin/update-reader.conf || true
fi
# restart pcscd (PCSC daemon) if the package is removed
if [ -x /etc/init.d/pcscd ]
then
invoke-rc.d pcscd restart 3>/dev/null
fi
;;
purge|upgrade)
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 0
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#

129
ccid/trunk/tags/1.3.1-1/rules Executable file
View File

@ -0,0 +1,129 @@
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
version := $(shell dpkg-parsechangelog | \
sed -ne 's/^Version: *\([0-9]\+:\)*//p')
DESTDIR=$(CURDIR)/debian/libccid/
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
# FOR AUTOCONF 2.52 AND NEWER ONLY
ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
confflags += --build $(DEB_HOST_GNU_TYPE)
else
confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
endif
tag:
cvs tag -c -F $(subst .,_,debian_version_$(version))
configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
CFLAGS="$(CFLAGS)" ./configure $(confflags) \
--prefix=/usr \
--enable-twinserial \
--enable-udev
touch configure-stamp
build: build-stamp
build-stamp: configure-stamp
dh_testdir
# Add here commands to compile the package.
$(MAKE)
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
[ ! -f Makefile ] || $(MAKE) distclean
-test -r /usr/share/misc/config.sub && \
cp -f /usr/share/misc/config.sub build/config.sub
-test -r /usr/share/misc/config.guess && \
cp -f /usr/share/misc/config.guess build/config.guess
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/tmp
DESTDIR=$(DESTDIR) $(MAKE) install
# install the ccidtwin
DESTDIR=$(DESTDIR) $(MAKE) -C src install_ccidtwin
mv $(DESTDIR)/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist $(DESTDIR)/etc/libccid_Info.plist
ln -s /etc/libccid_Info.plist $(DESTDIR)/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
# reuse the upstream template
sed -e 's/^/#/' $(DESTDIR)/etc/reader.conf > $(DESTDIR)/etc/reader.conf.d/libccidtwin
rm $(DESTDIR)/etc/reader.conf
# install udev rule file
cp src/pcscd_ccid.rules debian/libccid.udev
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
# dh_installexamples
# dh_install
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installmime
# dh_installinit
# dh_installcron
# dh_installinfo
# dh_installman
dh_installudev
dh_link
dh_strip
dh_compress
dh_fixperms
# dh_perl
# dh_python
# dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure

View File

@ -0,0 +1,7 @@
# use uscan(1)
# format version number, currently 2; this line is compulsory!
version=2
# Full-site-with-pattern [Version [Action]]
http://alioth.debian.org/frs/?group_id=30105 \
/frs/download.php/.*/ccid-(.*)\.tar\.gz