1.4.3-1
This commit is contained in:
parent
6a30dec16c
commit
57e064c7d6
|
@ -0,0 +1,23 @@
|
|||
# Configuration file for pcsc-lite Debian package
|
||||
# Ludovic Rousseau <rousseau@debian.org>
|
||||
#
|
||||
# Do NOT edit this file directly but use update-reader.conf(8) instead.
|
||||
#
|
||||
# If the driver you use support debconf (for example libgempc410 does) use
|
||||
# 'dpkg-reconfigure package-name' (dpkg-reconfigure libgempc410)
|
||||
|
||||
# If the driver you use DO NOT create a NEW file under
|
||||
# /etc/reader.conf.d/ that will contain something like (without comment):
|
||||
|
||||
# FRIENDLYNAME Any name
|
||||
# DEVICENAME device filename used by the reader:
|
||||
# /dev/ttyS0 for the first serial port
|
||||
# or /dev/null if this is not used by the driver
|
||||
# LIBPATH Location of the driver library for your reader
|
||||
# CHANNELID
|
||||
# 0x0103F8 or 1 for /dev/ttyS0 (COM1)
|
||||
# 0x0102F8 or 2 for /dev/ttyS1 (COM2)
|
||||
# 0x0103E8 or 3 for /dev/ttyS2 (COM3)
|
||||
# 0x0102E8 or 4 for /dev/ttyS3 (COM4)
|
||||
#
|
||||
|
|
@ -0,0 +1,493 @@
|
|||
pcsc-lite (1.4.3-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Tue, 19 Jun 2007 21:19:54 +0200
|
||||
|
||||
pcsc-lite (1.4.2-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Wed, 23 May 2007 18:49:36 +0200
|
||||
|
||||
pcsc-lite (1.4.1-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* debian/control: Standards-Version: 3.6.2.0 -> 3.7.2.0. No change needed
|
||||
* debian/libpcsclite-dev.docs: no PDF to distribute. Use the online HTML
|
||||
documentation instead
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Wed, 16 May 2007 14:40:30 +0200
|
||||
|
||||
pcsc-lite (1.4.0-1) unstable; urgency=low
|
||||
|
||||
* New upstream version
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Tue, 13 Feb 2007 21:39:41 +0100
|
||||
|
||||
pcsc-lite (1.3.3-1) unstable; urgency=low
|
||||
|
||||
* New upstream version
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Thu, 25 Jan 2007 15:56:40 +0100
|
||||
|
||||
pcsc-lite (1.3.2-5) unstable; urgency=high
|
||||
|
||||
* debian/pcscd.init: rewrite using /etc/init.d/skeleton as example.
|
||||
start rule do not call restart any more
|
||||
Closes: #404897 "pcscd: infinite loop when trying to start the daemon"
|
||||
Closes: #405025 "/etc/init.d/pcscd is a fork bomb"
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Sat, 30 Dec 2006 18:37:45 +0100
|
||||
|
||||
pcsc-lite (1.3.2-4) unstable; urgency=low
|
||||
|
||||
* ack and improve Steinar patch
|
||||
* debian/pcscd.init:
|
||||
- status command: remove /var/run/pcscd.{pid,pub} if pcscd is not running
|
||||
but /var/run/pcscd.pid is still present (pcscd may have crashed)
|
||||
- start comand: call status to know if we start or restart
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Tue, 26 Dec 2006 15:30:18 +0100
|
||||
|
||||
pcsc-lite (1.3.2-3.1) unstable; urgency=high
|
||||
|
||||
* Non-maintainer upload.
|
||||
* Fix issues with looping init script. (Closes: #392357)
|
||||
* restart calls stop ; start, but start calls restart if the pid file
|
||||
still exists. This is obviously not a good idea if stop doesn't remove
|
||||
the pid file properly. Make start stop the daemon itself instead of
|
||||
calling restart, which kills the loop.
|
||||
* Also, make the stop target rm -f the pid file after calling
|
||||
start-stop-daemon, just in case, and to avoid extraneous stops from the
|
||||
start target.
|
||||
* Finally, also check and rm /var/run/pcscd.pub, as the daemon doesn't
|
||||
like starting if it's already there.
|
||||
|
||||
-- Steinar H. Gunderson <sesse@debian.org> Tue, 26 Dec 2006 13:45:25 +0100
|
||||
|
||||
pcsc-lite (1.3.2-3) unstable; urgency=high
|
||||
|
||||
* urgency high to correct a RC bug
|
||||
* debian/pcscd.init: really commit a local patch that should already be in
|
||||
1.3.2-2. Closes: #392357 "fails to stop; postinst goes into infinite
|
||||
loop"
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Sat, 14 Oct 2006 00:35:01 +0200
|
||||
|
||||
pcsc-lite (1.3.2-2) unstable; urgency=low
|
||||
|
||||
* debian/{control,pcscd.init}: Closes: #390603 "LSB-compliant init script"
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Sun, 8 Oct 2006 14:20:07 +0200
|
||||
|
||||
pcsc-lite (1.3.2-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Fri, 11 Aug 2006 20:52:44 +0200
|
||||
|
||||
pcsc-lite (1.3.1-2) unstable; urgency=low
|
||||
|
||||
* debian/control: add Conflicts: libccid (<= 1.0.0-1) since
|
||||
LTPBundleFindValueWithKey() is no more exported by pcscd but used buy
|
||||
libccid before version 1.0.1
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Sun, 23 Apr 2006 13:56:28 +0200
|
||||
|
||||
pcsc-lite (1.3.1-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Sat, 22 Apr 2006 21:02:00 +0200
|
||||
|
||||
pcsc-lite (1.3.0-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* the libmusclecard library is now in the libmusclecard1 package
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Fri, 3 Mar 2006 15:17:13 +0100
|
||||
|
||||
pcsc-lite (1.2.9-beta10-1) unstable; urgency=low
|
||||
|
||||
* New upstream version
|
||||
* debian/compat: change from 4 to 5
|
||||
* debian/control: Build-Depends: debhelper (>= 5)
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Fri, 3 Feb 2006 14:28:10 +0100
|
||||
|
||||
pcsc-lite (1.2.9-beta9-1) unstable; urgency=low
|
||||
|
||||
* New upstream version
|
||||
* debian/compat: change from 3 to 4
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Sun, 27 Nov 2005 18:04:59 +0100
|
||||
|
||||
pcsc-lite (1.2.9-beta8-4) unstable; urgency=low
|
||||
|
||||
* debian/rules: use --enable-muscledropdir=/usr/lib/pcsc/services to avoid a
|
||||
bug in ./configure
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Wed, 16 Nov 2005 20:34:40 +0100
|
||||
|
||||
pcsc-lite (1.2.9-beta8-3) unstable; urgency=low
|
||||
|
||||
* debian/control: Build-Depends: tetex-extra to get url.sty
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Thu, 8 Sep 2005 18:58:26 +0200
|
||||
|
||||
pcsc-lite (1.2.9-beta8-2) unstable; urgency=low
|
||||
|
||||
* debian/control: Build-Depends: tetex-bin to get pdflatex
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Thu, 8 Sep 2005 15:20:23 +0200
|
||||
|
||||
pcsc-lite (1.2.9-beta8-1) unstable; urgency=low
|
||||
|
||||
* New upstream version
|
||||
- Closes: #306061 "Weird messages in syslog"
|
||||
* debian/rules: compile with -g flag by default
|
||||
Closes: #307743 "does not build with debugging by default"
|
||||
* debian/control: Standards-Version: 3.6.1 -> 3.6.2.0. No change.
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Wed, 7 Sep 2005 21:51:12 +0200
|
||||
|
||||
pcsc-lite (1.2.9-beta7-5) unstable; urgency=low
|
||||
|
||||
* debian/pcscd.install: add usr/sbin/update-reader.conf in pcscd package
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Thu, 24 Mar 2005 12:54:43 +0100
|
||||
|
||||
pcsc-lite (1.2.9-beta7-4) unstable; urgency=low
|
||||
|
||||
* debian/rules: add --enable-muscledropdir=/usr/lib/pcsc/services so that
|
||||
bundleTool find the services/ directory.
|
||||
Closes: #300428 "bundleTool does not work"
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Sat, 19 Mar 2005 19:35:35 +0100
|
||||
|
||||
pcsc-lite (1.2.9-beta7-3) unstable; urgency=low
|
||||
|
||||
* debian/control: remove Build-Depends: pkg-config since it is useless
|
||||
* debian/rules: add LDFLAGS="-lpthread" again for mips and mispel
|
||||
(see bug #253629)
|
||||
* do not delete pcsclite/doc/*.pdf files with "make clean" so we do not have
|
||||
to regenerate them using pdflatex
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Thu, 17 Mar 2005 22:24:01 +0100
|
||||
|
||||
pcsc-lite (1.2.9-beta7-2) unstable; urgency=low
|
||||
|
||||
* debian/control: add Build-Depends: pkg-config
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Wed, 16 Mar 2005 17:57:11 +0100
|
||||
|
||||
pcsc-lite (1.2.9-beta7-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* debian/rules: remove --version-info from dh_makeshlibs.
|
||||
see http://lists.debian.org/debian-devel/2004/08/msg01359.html
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Thu, 10 Mar 2005 20:02:46 +0100
|
||||
|
||||
pcsc-lite (1.2.9-beta6-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
- urgency=medium since this version corrects an important bug in the server
|
||||
that crashes after 256 client connections.
|
||||
This version should be released with Debian sarge.
|
||||
* debian/update-reader.conf: use a safe way to generate a temporary filename
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Sun, 15 Aug 2004 19:07:24 +0200
|
||||
|
||||
pcsc-lite (1.2.9-beta5-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Fri, 16 Jul 2004 21:53:07 +0200
|
||||
|
||||
pcsc-lite (1.2.9-beta4-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Sat, 3 Jul 2004 18:53:23 +0200
|
||||
|
||||
pcsc-lite (1.2.9-beta3-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Thu, 1 Jul 2004 17:30:30 +0200
|
||||
|
||||
pcsc-lite (1.2.9-beta2-2) unstable; urgency=low
|
||||
|
||||
* debian/rules: add -lpthread to LDFLAGS so that pthread_* symbols are
|
||||
included in the library (problem only seen on mips and mipsel).
|
||||
Closes: #253629
|
||||
* debian/control: make libpcsclite-dev and libpcsclite1 at Priority:
|
||||
optional so that other packages at Priority: optional can use them.
|
||||
Closes: #249374
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Sun, 13 Jun 2004 21:45:56 +0200
|
||||
|
||||
pcsc-lite (1.2.9-beta2-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* debian/control: Build-Depends on libusb-dev (>= 1:0.1.7). Closes: #240636
|
||||
* debian/pcscd.init: some rework of the code to make it more like
|
||||
/etc/init.d/skeleton
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Wed, 12 May 2004 09:03:07 +0200
|
||||
|
||||
pcsc-lite (1.2.0-stable-2) unstable; urgency=low
|
||||
|
||||
* debian/rules: add support for INSTALL_PROGRAM
|
||||
* config.guess, config.sub, ltmain.sh: new versions to avoid a libtool bug:
|
||||
libpcsclite.la contains dependency_libs=' -pthread' instead of
|
||||
dependency_libs=' -lpthread'. Closes: #233519
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Wed, 18 Feb 2004 23:00:05 +0100
|
||||
|
||||
pcsc-lite (1.2.0-stable-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Wed, 29 Oct 2003 19:27:45 +0100
|
||||
|
||||
pcsc-lite (1.2.0-rc3-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* distribute usr/lib/pkgconfig/libmusclecard.pc in libpcsclite-dev
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Wed, 15 Oct 2003 23:32:14 +0200
|
||||
|
||||
pcsc-lite (1.2.0-rc2-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
- libpcsclite0 is no more linked with libusb, closes: #208665
|
||||
- libpcsclite{0,-dev} contain a new library libmusclecard that was
|
||||
previously included in libpcsclite0
|
||||
* debian/copyright: the publicity clause was removed
|
||||
* distribute usr/lib/pkgconfig/libpcsclite.pc in libpcsclite-dev
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Fri, 5 Sep 2003 22:52:22 +0200
|
||||
|
||||
pcsc-lite (1.2.0-rc1-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* debian/control
|
||||
- pcscd now uses libusb
|
||||
- Update Standards-Version: from 3.5.8 to 3.6.1
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Tue, 26 Aug 2003 22:48:25 +0200
|
||||
|
||||
pcsc-lite (1.1.2-ubeta5-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* pcscd Depends: libgempc430 | pcsc-ifd-handler to install the USB driver
|
||||
libgempc430 instead of a serial one which may cause conflict with an
|
||||
already installed serial device. This only occurs if no package providing
|
||||
pcsc-ifd-handler is installed yet.
|
||||
* debian/control: specify debhelper version in Build-Depends:
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Sat, 31 May 2003 14:42:27 +0200
|
||||
|
||||
pcsc-lite (1.1.2-ubeta4-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* debian/control
|
||||
- correctly add the homepage URL to conform to developers-reference (v3.2)
|
||||
- libpcsclite-dev: section changed from devel to libdevel
|
||||
* debian/0comments: update explanation on use of update-reader.conf(8)
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Tue, 29 Apr 2003 23:24:32 +0200
|
||||
|
||||
pcsc-lite (1.1.2-ubeta3-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* debian/control:
|
||||
- Update Standards-Version: from 3.5.7 to 3.5.8
|
||||
- The IPC between the daemon and library has changed. The packages conflict
|
||||
with older versions.
|
||||
- Changed the short description to remove technical terms.
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Sun, 8 Dec 2002 14:27:45 +0100
|
||||
|
||||
pcsc-lite (1.1.2-ubeta2-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* debian/control:
|
||||
- libpcsclite0 do not depends on pcscd anymore. You do not need to have
|
||||
pcscd installed or running to compile a program using libpcsclite0. Some
|
||||
Debian autibuilders had problems with this.
|
||||
- add Build-Depends: on autotools-dev
|
||||
* debian/rules:
|
||||
- search debug and nostrip in DEB_BUILD_OPTIONS to build the package
|
||||
appropriately
|
||||
- use uptodate config.sub and config.guess using autotools-dev
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Sat, 12 Oct 2002 22:07:38 +0000
|
||||
|
||||
pcsc-lite (1.1.2-ubeta1-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
The Debian version is a bit strange since 1.1.2beta1 << 1.1.2-cvs
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Fri, 6 Sep 2002 23:37:43 +0200
|
||||
|
||||
pcsc-lite (1.1.2-cvs-20020815-4) unstable; urgency=low
|
||||
|
||||
* Move formaticc and bundleTool in pcscd since binary are forbiden in
|
||||
library packages. Closes: #158935
|
||||
* Add doc/muscle-api-1.3.0.pdf, usr/include/mscdefines.h and
|
||||
usr/include/musclecard.h in libpcsclite-dev to allow compilation of
|
||||
musclecard plugins. Closes: #158938
|
||||
* Update Standards-Version: from 3.5.6 to 3.5.7
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Sun, 1 Sep 2002 10:32:01 +0000
|
||||
|
||||
pcsc-lite (1.1.2-cvs-20020815-3) unstable; urgency=low
|
||||
|
||||
* formaticc and bundleTool moved from libpcsclite-dev to libpcsclite0.
|
||||
Use Conflicts: to solve upgrade problems.
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Fri, 23 Aug 2002 15:44:41 +0200
|
||||
|
||||
pcsc-lite (1.1.2-cvs-20020815-2) unstable; urgency=low
|
||||
|
||||
* debian/pcscd.init: log pcscd errors using syslog
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Fri, 16 Aug 2002 22:12:49 +0200
|
||||
|
||||
pcsc-lite (1.1.2-cvs-20020815-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* Acknowledge NMUs Closes: #150994, #146151
|
||||
* Use upstream pcscd.8 manpage
|
||||
* formaticc and bundleTool are now in libpcsclite0 instead of
|
||||
libpcsclite-dev
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Thu, 15 Aug 2002 23:32:11 +0200
|
||||
|
||||
pcsc-lite (1.1.1-2) unstable; urgency=low
|
||||
|
||||
* debian/control: change the Maintainer: name since I am the new maintainer
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Sun, 30 Jun 2002 21:47:12 +0200
|
||||
|
||||
pcsc-lite (1.1.1-1) unstable; urgency=low
|
||||
|
||||
* New upstream release (Closes: #150994)
|
||||
* New maintainer. Thanks Carlos for your job
|
||||
* Use init.d level 50 to start _after_ usbmgr with level 45.
|
||||
see the note in /usr/share/doc/pcscd/README.Debian (Closes: #146151)
|
||||
* update pcscd(1) manpage
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Sun, 30 Jun 2002 14:52:27 +0200
|
||||
|
||||
pcsc-lite (1.0.2.beta5-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* add debian/watch (by Ludovic Rousseau)
|
||||
* debian/pcscd.init: (by Ludovic Rousseau)
|
||||
- implement restart-if-running as descussed in #76868
|
||||
- implement status as described in LSB 1.1, Chapter 19. System
|
||||
Initialization
|
||||
* debian/control: (by Ludovic Rousseau and me)
|
||||
- move pcscd first to allow dh_clean to work properly
|
||||
- change policy from 3.2.1 to 3.5.6
|
||||
- fixed pcscd spelling error in description. Closes: bug#125221
|
||||
* debian/pcscd.postinst: (by me)
|
||||
- clean /tmp/pcsc before starting pcscd for upgrades form pcscd
|
||||
1.0.1-1 or lower.
|
||||
|
||||
-- Carlos Prados <cprados@debian.org> Sun, 24 Mar 2002 00:34:08 +0100
|
||||
|
||||
pcsc-lite (1.0.1-1) unstable; urgency=low
|
||||
|
||||
* New upstream release. Closes: bug#120651.
|
||||
|
||||
-- Carlos Prados <cprados@debian.org> Sat, 24 Nov 2001 10:44:45 +0100
|
||||
|
||||
pcsc-lite (1.0.0B-2) unstable; urgency=low
|
||||
|
||||
* Use `install -m` to copy Debian package specific files to its
|
||||
destinations. Closes: bug#114287.
|
||||
|
||||
-- Carlos Prados <cprados@debian.org> Sat, 6 Oct 2001 14:13:28 +0200
|
||||
|
||||
pcsc-lite (1.0.0B-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* Added support for debconf and update-reader.conf, by Ludovic
|
||||
Rousseau
|
||||
* Changed "Standards-Version:" to 3.2.1 in debian/control, by
|
||||
Ludovic Rousseau
|
||||
* Changed "Upstream Author:" in debian/copyright (removed
|
||||
(s)), by Ludovic Rousseau
|
||||
* Removed "add-log-mailing-address" in debian/changelog, by
|
||||
Ludovic Rousseau
|
||||
* Updated config.guess and config.sub to version 2001-09-13
|
||||
* Let dh_installinit hanldle initialization of pcscd
|
||||
|
||||
-- Carlos Prados <cprados@debian.org> Sat, 22 Sep 2001 20:26:16 +0200
|
||||
|
||||
pcsc-lite (0.9.3-2) unstable; urgency=low
|
||||
|
||||
* Fixed typo in description of libpcsclite-dev. Closes: bug#109253.
|
||||
|
||||
-- Carlos Prados <cprados@debian.org> Mon, 20 Aug 2001 21:17:41 +0200
|
||||
|
||||
pcsc-lite (0.9.3-1) unstable; urgency=low
|
||||
|
||||
* New upstream release. Closes: bug#106545.
|
||||
|
||||
-- Carlos Prados <cprados@debian.org> Sat, 28 Jul 2001 12:34:09 +0200
|
||||
|
||||
pcsc-lite (0.9.1-3) unstable; urgency=low
|
||||
|
||||
* Configured with --enable-usb. Closes: bug#97820.
|
||||
|
||||
-- Carlos Prados <cprados@debian.org> Sat, 19 May 2001 01:11:42 +0200
|
||||
|
||||
pcsc-lite (0.9.1-2) unstable; urgency=low
|
||||
|
||||
* Fixed postinst to stop pcscd even when upgrading from
|
||||
0.8.7 whose startup script was buggy. Closes bug#97395.
|
||||
* Modified a bit the manpages of formaticc and pcscd.
|
||||
* Aded default config for Reflex 62/64 to reader.conf
|
||||
|
||||
-- Carlos Prados <cprados@debian.org> Wed, 16 May 2001 21:45:00 +0200
|
||||
|
||||
pcsc-lite (0.9.1-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* Miscelaneous fixes to upstream autoconf/automake build system:
|
||||
fixed package version in configure.in.Install doc/ under
|
||||
$prefix/doc. Added reconf, bootstrap, sample.* to source dist.
|
||||
Default prefix set to /usr/local/pcsc.
|
||||
* Statically link libpcsclite-core against pcscd.
|
||||
* pcscd records pid in /var/run/pcscd.pid for easier
|
||||
stop and restart.
|
||||
* libpcsclite0 now directly depends on pcscd.
|
||||
* Added manpage for pcscd and formaticc.
|
||||
* Removed buggy installifd upstream utility.
|
||||
* Enabled USB support.
|
||||
* Option -v prints it's output to stdout.
|
||||
|
||||
-- Carlos Prados <cprados@debian.org> Tue, 1 May 2001 15:00:09 +0200
|
||||
|
||||
pcsc-lite (0.8.7-2) unstable; urgency=low
|
||||
|
||||
* Updated maintainer field.
|
||||
* Added suggests field to libpcsclite0 and pcscd.
|
||||
* Improved package descriptions.
|
||||
|
||||
-- Carlos Prados <cprados@debian.org> Sun, 15 Apr 2001 18:14:33 +0200
|
||||
|
||||
pcsc-lite (0.8.7-1) unstable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
* Modified rpc/Makefile.linux to install pcscd under sbin/
|
||||
* Closes: bug#90184
|
||||
|
||||
-- Carlos Prados Bocos <cprados@yahoo.com> Wed, 4 Apr 2001 00:28:04 +0200
|
|
@ -0,0 +1 @@
|
|||
5
|
|
@ -0,0 +1,58 @@
|
|||
Source: pcsc-lite
|
||||
Section: misc
|
||||
Priority: extra
|
||||
Maintainer: Ludovic Rousseau <rousseau@debian.org>
|
||||
Build-Depends: debhelper (>= 5), flex, autotools-dev, libusb-dev (>= 1:0.1.7)
|
||||
Standards-Version: 3.7.2.0
|
||||
|
||||
Package: pcscd
|
||||
Architecture: any
|
||||
Priority: extra
|
||||
Depends: libccid | pcsc-ifd-handler, ${shlibs:Depends}, lsb-base (>= 3.0-6)
|
||||
Conflicts: libpcsclite0 (<< 1.2.0-rc1-1), libccid (<= 1.0.0-1)
|
||||
Description: Middleware to access a smart card using PC/SC (daemon side)
|
||||
The purpose of PC/SC Lite is to provide a Windows(R) SCard interface
|
||||
in a very small form factor for communicating to smart cards and
|
||||
smart cards readers.
|
||||
.
|
||||
The PC/SC daemon is used to dynamically allocate/deallocate reader
|
||||
drivers at runtime and manage connections to the readers.
|
||||
.
|
||||
Also contains formaticc(1) to send one or more request APDU's to a
|
||||
smarcard and get responses and bundleTool(8).
|
||||
.
|
||||
Homepage: http://pcsclite.alioth.debian.org/
|
||||
|
||||
Package: libpcsclite-dev
|
||||
Section: libdevel
|
||||
Priority: optional
|
||||
Architecture: any
|
||||
Depends: libpcsclite1 (= ${binary:Version})
|
||||
Description: Middleware to access a smart card using PC/SC (development files)
|
||||
The purpose of PC/SC Lite is to provide a Windows(R) SCard interface
|
||||
in a very small form factor for communicating to smart cards and
|
||||
smart cards readers.
|
||||
.
|
||||
This package contains the files needed for compiling and linking
|
||||
an application that communicates to any reader available to the
|
||||
PC/SC daemon.
|
||||
.
|
||||
Homepage: http://pcsclite.alioth.debian.org/
|
||||
|
||||
Package: libpcsclite1
|
||||
Section: libs
|
||||
Priority: optional
|
||||
Architecture: any
|
||||
Conflicts: libpcsclite-dev (<< ${binary:Version}), pcscd (<< ${binary:Version})
|
||||
Depends: ${shlibs:Depends}
|
||||
Recommends: pcscd
|
||||
Description: Middleware to access a smart card using PC/SC (library)
|
||||
The purpose of PC/SC Lite is to provide a Windows(R) SCard interface
|
||||
in a very small form factor for communicating to smartcards and
|
||||
readers.
|
||||
.
|
||||
The PC/SC Lite library is used to connect to the PC/SC daemon from
|
||||
a client application and provide access to the desired reader.
|
||||
.
|
||||
Homepage: http://pcsclite.alioth.debian.org/
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
This package was debianized by Carlos Prados <cprados@debian.org> on
|
||||
Sat, 16 Dec 2000 15:06:55 +0100.
|
||||
|
||||
It was downloaded from
|
||||
https://alioth.debian.org/project/showfiles.php?group_id=1225
|
||||
|
||||
Upstream Authors: David Corcoran <corcoran@linuxnet.com>
|
||||
Ludovic Rousseau <ludovic.rousseau@free.fr>
|
||||
|
||||
Copyright:
|
||||
|
||||
Copyright (c) 1999-2003 David Corcoran <corcoran@linuxnet.com>
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
3. The name of the author may not be used to endorse or promote products
|
||||
derived from this software without specific prior written permission.
|
||||
|
||||
Changes to this license can be made only by the copyright author with
|
||||
explicit written consent.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@ -0,0 +1 @@
|
|||
doc/example/pcsc_demo.c
|
|
@ -0,0 +1,5 @@
|
|||
usr/include/PCSC/*
|
||||
usr/lib/libpcsclite.a
|
||||
usr/lib/libpcsclite.la
|
||||
usr/lib/libpcsclite.so
|
||||
usr/lib/pkgconfig/libpcsclite.pc
|
|
@ -0,0 +1 @@
|
|||
usr/lib/libpcsclite.so.1*
|
|
@ -0,0 +1,21 @@
|
|||
pcscd for Debian
|
||||
----------------
|
||||
|
||||
pscsd starts before usbmgr
|
||||
==========================
|
||||
|
||||
Up to version 1.0.2.beta5-1 pcscd init.d script was started *before*
|
||||
usbmgr (pcscd was level 20 (default) and usbmgr was level 45). So USB
|
||||
readers managed by usbmgr could not be used.
|
||||
|
||||
Now pcscd is started after usbmgr (pcscd uses level 50) but if you
|
||||
upgraded from a earlier version you may still have the old
|
||||
configuration.
|
||||
|
||||
You have to completely remove pcscd using 'dpkg --purge pcscd' or
|
||||
'apt-get remove --purge pcscd' and reinstall it (and the other packages
|
||||
depending in pcscd) after.
|
||||
|
||||
See Debian bug #146151.
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org>, Sun Jun 30 14:16:50 CEST 2002
|
|
@ -0,0 +1,3 @@
|
|||
usr/lib/pcsc/drivers
|
||||
usr/lib/pcsc/services
|
||||
usr/sbin
|
|
@ -0,0 +1,3 @@
|
|||
README
|
||||
SECURITY
|
||||
DRIVERS
|
|
@ -0,0 +1,153 @@
|
|||
#! /bin/sh
|
||||
#
|
||||
# /etc/init.d/pcscd
|
||||
# Start/Stop/Restart PCSC Lite resource manager daemon
|
||||
#
|
||||
# Carlos Prados Bocos <cprados@debian.org>
|
||||
# modifications by Ludovic Rousseau <rousseau@debian.org>
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: pcscd
|
||||
# Required-Start: $local_fs $remote_fs $syslog
|
||||
# Required-Stop: $local_fs $remote_fs $syslog
|
||||
# Should-Start: usbmgr udev hotplug
|
||||
# Should-Stop: usbmgr udev hotplug
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Daemon to access a smart card using PC/SC
|
||||
# Description: The PC/SC daemon is used to dynamically allocate/deallocate
|
||||
# reader drivers at runtime and manage connections to the readers.
|
||||
### END INIT INFO
|
||||
|
||||
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||
DESC="PCSC Lite resource manager"
|
||||
NAME=pcscd
|
||||
DAEMON=/usr/sbin/$NAME
|
||||
|
||||
PIDFILE=/var/run/$NAME.pid
|
||||
PUBFILE=/var/run/$NAME.pub
|
||||
SCRIPTNAME=/etc/init.d/$NAME
|
||||
|
||||
# Gracefully exit if the package has been removed (but not purged).
|
||||
[ -x "$DAEMON" ] || exit 0
|
||||
|
||||
# Load the VERBOSE setting and other rcS variables
|
||||
. /lib/init/vars.sh
|
||||
|
||||
# Define LSB log_* functions.
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
#
|
||||
# Function that starts the daemon/service
|
||||
#
|
||||
do_start()
|
||||
{
|
||||
# Return
|
||||
# 0 if daemon has been started
|
||||
# 1 if daemon was already running
|
||||
# 2 if daemon could not be started
|
||||
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
|
||||
|| return 1
|
||||
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \
|
||||
$DAEMON_ARGS \
|
||||
|| return 2
|
||||
# Add code here, if necessary, that waits for the process to be ready
|
||||
# to handle requests from services started subsequently which depend
|
||||
# on this one. As a last resort, sleep for some time.
|
||||
}
|
||||
|
||||
#
|
||||
# Function that stops the daemon/service
|
||||
#
|
||||
do_stop()
|
||||
{
|
||||
# Return
|
||||
# 0 if daemon has been stopped
|
||||
# 1 if daemon was already stopped
|
||||
# 2 if daemon could not be stopped
|
||||
# other if a failure occurred
|
||||
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME
|
||||
RETVAL="$?"
|
||||
[ "$RETVAL" = 2 ] && return 2
|
||||
# Wait for children to finish too if this is a daemon that forks
|
||||
# and if the daemon is only ever run from this initscript.
|
||||
# If the above conditions are not satisfied then add some other code
|
||||
# that waits for the process to drop all resources that could be
|
||||
# needed by services started subsequently. A last resort is to
|
||||
# sleep for some time.
|
||||
start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON
|
||||
[ "$?" = 2 ] && return 2
|
||||
# Many daemons don't delete their pidfiles when they exit.
|
||||
rm -f $PIDFILE
|
||||
return "$RETVAL"
|
||||
}
|
||||
|
||||
#
|
||||
# Function that sends a SIGHUP to the daemon/service
|
||||
#
|
||||
do_reload() {
|
||||
#
|
||||
# If the daemon can reload its configuration without
|
||||
# restarting (for example, when it is sent a SIGHUP),
|
||||
# then implement that here.
|
||||
#
|
||||
start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME
|
||||
return 0
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
|
||||
do_start
|
||||
case "$?" in
|
||||
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
|
||||
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
|
||||
esac
|
||||
;;
|
||||
stop)
|
||||
[ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
|
||||
do_stop
|
||||
case "$?" in
|
||||
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
|
||||
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
|
||||
esac
|
||||
;;
|
||||
#reload|force-reload)
|
||||
#
|
||||
# If do_reload() is not implemented then leave this commented out
|
||||
# and leave 'force-reload' as an alias for 'restart'.
|
||||
#
|
||||
#log_daemon_msg "Reloading $DESC" "$NAME"
|
||||
#do_reload
|
||||
#log_end_msg $?
|
||||
#;;
|
||||
restart|force-reload)
|
||||
#
|
||||
# If the "reload" option is implemented then remove the
|
||||
# 'force-reload' alias
|
||||
#
|
||||
log_daemon_msg "Restarting $DESC" "$NAME"
|
||||
do_stop
|
||||
case "$?" in
|
||||
0|1)
|
||||
do_start
|
||||
case "$?" in
|
||||
0) log_end_msg 0 ;;
|
||||
1) log_end_msg 1 ;; # Old process is still running
|
||||
*) log_end_msg 1 ;; # Failed to start
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
# Failed to stop
|
||||
log_end_msg 1
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
#echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
|
||||
echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
|
||||
exit 3
|
||||
;;
|
||||
esac
|
||||
|
||||
:
|
|
@ -0,0 +1,3 @@
|
|||
etc/reader.conf.d/0comments
|
||||
usr/sbin/pcscd
|
||||
usr/sbin/update-reader.conf
|
|
@ -0,0 +1,3 @@
|
|||
debian/tmp/usr/share/man/man8/pcscd.8
|
||||
debian/tmp/usr/share/man/man5/reader.conf.5
|
||||
debian/update-reader.conf.8
|
|
@ -0,0 +1,18 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# regenerate /etc/reader.conf
|
||||
if [ -x /usr/sbin/update-reader.conf ]; then
|
||||
/usr/sbin/update-reader.conf || true;
|
||||
fi
|
||||
|
||||
# clean /tmp/pcsc
|
||||
# This should not be necessary. But in case the directory exists the
|
||||
# pcscd daemon would not start
|
||||
#PCSC_DIR=/tmp/pcsc
|
||||
#if [ -d $PCSC_DIR ]; then
|
||||
# rm -rf $PSC_DIR
|
||||
#fi
|
||||
|
||||
#DEBHELPER#
|
|
@ -0,0 +1 @@
|
|||
pcscd: possibly-insecure-handling-of-tmp-files-in-maintainer-script postinst
|
|
@ -0,0 +1,27 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
if [ "$1" = "purge" ] ; then
|
||||
|
||||
# Remove configuration file
|
||||
if [ -f /etc/reader.conf ]; then
|
||||
rm -f /etc/reader.conf
|
||||
fi
|
||||
|
||||
# Remove configuration file backup
|
||||
if [ -f /etc/reader.conf.old ]; then
|
||||
rm -f /etc/reader.conf.old
|
||||
fi
|
||||
|
||||
# remove cfgdir if it's not in use
|
||||
if [ -d /etc/reader.conf.d ]; then
|
||||
files=`ls /etc/reader.conf.d`
|
||||
if [ -z "$files" ]; then
|
||||
rmdir /etc/reader.conf.d
|
||||
fi
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
|
@ -0,0 +1,120 @@
|
|||
#!/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
|
||||
|
||||
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
|
||||
|
||||
# see http://www.debian.org/doc/debian-policy/ch-files.html
|
||||
CFLAGS += -Wall -g -D_REENTRANT
|
||||
INSTALL = install
|
||||
INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644
|
||||
INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755
|
||||
INSTALL_SCRIPT = $(INSTALL) -p -o root -g root -m 755
|
||||
INSTALL_DIR = $(INSTALL) -p -d -o root -g root -m 755
|
||||
|
||||
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
CFLAGS += -O0
|
||||
else
|
||||
CFLAGS += -O2
|
||||
endif
|
||||
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
|
||||
INSTALL_PROGRAM += -s
|
||||
endif
|
||||
|
||||
version := $(shell dpkg-parsechangelog | \
|
||||
sed -ne 's/^Version: *\([0-9]\+:\)*//p')
|
||||
|
||||
tag:
|
||||
cvs tag -c -F $(subst .,_,debian_version_$(version))
|
||||
|
||||
configure: configure-stamp
|
||||
configure-stamp:
|
||||
dh_testdir
|
||||
# we had LDFLAGS="-lpthread" for bug #253629
|
||||
./configure $(confflags) \
|
||||
--prefix=/usr \
|
||||
--enable-usbdropdir=/usr/lib/pcsc/drivers \
|
||||
CFLAGS="$(CFLAGS)" \
|
||||
INSTALL_PROGRAM="$(INSTALL_PROGRAM)" \
|
||||
LDFLAGS="-lpthread"
|
||||
|
||||
touch configure-stamp
|
||||
|
||||
build: configure-stamp 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.
|
||||
-test -e Makefile && \
|
||||
$(MAKE) distclean
|
||||
rm -f conftest{,.c,.o}
|
||||
-test -r /usr/share/misc/config.sub && \
|
||||
cp -f /usr/share/misc/config.sub config.sub
|
||||
-test -r /usr/share/misc/config.guess && \
|
||||
cp -f /usr/share/misc/config.guess 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.
|
||||
$(MAKE) install DESTDIR=`pwd`/debian/tmp
|
||||
|
||||
# Move update-reader.conf files
|
||||
install -m 755 debian/update-reader.conf `pwd`/debian/tmp/usr/sbin/
|
||||
install -D -m 644 debian/0comments `pwd`/debian/tmp/etc/reader.conf.d/0comments
|
||||
|
||||
# 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_install --sourcedir=debian/tmp
|
||||
dh_installdocs
|
||||
dh_installexamples
|
||||
# use 50 to start _after_ usbmgr with level 45 (see #146151)
|
||||
dh_installinit --update-rcd-params="defaults 50"
|
||||
dh_installman
|
||||
dh_installchangelogs ChangeLog
|
||||
dh_link
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_makeshlibs --version-info
|
||||
dh_installdeb
|
||||
dh_shlibdeps -l debian/tmp/usr/lib/
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install configure
|
||||
|
|
@ -0,0 +1,77 @@
|
|||
#! /bin/sh
|
||||
#
|
||||
# This is the update-reader.conf script for Debian GNU/Linux.
|
||||
# Written by Ludovic Rousseau <ludovic.rousseau@free.fr>
|
||||
# Based on update-modules written by Wichert Akkerman <wakkerma@debian.org>
|
||||
# Copyright (C) 2001 Software in the Public Interest
|
||||
#
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program 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 General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
# $Id: update-reader.conf,v 1.4 2005-03-24 13:17:57 rousseau Exp $
|
||||
|
||||
CFGFILE=/etc/reader.conf
|
||||
TMPFILE=`mktemp /tmp/reader.conf.XXXXXX`
|
||||
HEADER="### This file is automatically generated by update-reader.conf"
|
||||
|
||||
set -e
|
||||
|
||||
# Reset the sorting order since we depend on it
|
||||
LC_COLLATE=C
|
||||
export LC_COLLATE
|
||||
|
||||
if [ -f "$CFGFILE" ]; then
|
||||
if ! sed -ne 1p "$CFGFILE" | grep -q "^$HEADER" ; then
|
||||
echo "Error: the current $CFGFILE is not automatically generated."
|
||||
if [ "$1" != "force" ]; then
|
||||
echo "Use \"update-reader.conf force\" to force (re)generation."
|
||||
exit 1
|
||||
else
|
||||
echo "force specified, (re)generating file anyway."
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ 0 -ne "`id -u`" ]; then
|
||||
echo "You have to be root to run $0"
|
||||
exit 2
|
||||
fi
|
||||
|
||||
if [ -e "$CFGFILE" ]; then
|
||||
cp -f "$CFGFILE" "${CFGFILE}.old"
|
||||
fi
|
||||
|
||||
echo "$HEADER" > "$TMPFILE"
|
||||
|
||||
for cfg in /etc/reader.conf.d/* ; do
|
||||
if ! echo "$cfg" | grep -q '\(\.dpkg-[a-z]*\|~\)$' ; then
|
||||
echo "### update-reader.conf: start processing $cfg" >> "$TMPFILE"
|
||||
if [ -x "$cfg" ]; then
|
||||
"$cfg" >> "$TMPFILE"
|
||||
else
|
||||
cat "$cfg" >> "$TMPFILE"
|
||||
fi
|
||||
echo >> "$TMPFILE"
|
||||
echo "### update-reader.conf: end processing $cfg" >> "$TMPFILE"
|
||||
echo >> "$TMPFILE"
|
||||
fi
|
||||
done
|
||||
|
||||
cp "$TMPFILE" "$CFGFILE"
|
||||
chmod 644 "$CFGFILE"
|
||||
|
||||
rm -f "$TMPFILE"
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
.TH UPDATE-READER.CONF 8 "Debian GNU/Linux tools" "DEBIAN"
|
||||
.SH NAME
|
||||
update\-reader.conf \- (re)generate /etc/reader.conf
|
||||
.SH SYNOPSIS
|
||||
.B update\-reader.conf
|
||||
[force]
|
||||
.SH DESCRIPTION
|
||||
.B update\-reader.conf
|
||||
is a simple tool to manage
|
||||
.IR /etc/reader.conf .
|
||||
The PCSC daemon (pcscd) uses one configuration file for its
|
||||
configuration. This makes it hard for packages to dynamically add
|
||||
information about their own smart card reader drivers. To fix this
|
||||
.B
|
||||
update\-reader.conf
|
||||
has been introduced.
|
||||
.PP
|
||||
.B update-reader.conf
|
||||
attempts to fix this by generating the configuration file from seperate
|
||||
files which are located in
|
||||
.IR /etc/reader.conf.d .
|
||||
All files in that directory are assembled together to form
|
||||
.IR /etc/reader.conf .
|
||||
.PP
|
||||
After generation a backup of the old file is put in
|
||||
.IR /etc/reader.conf.old .
|
||||
.SH "FILES"
|
||||
.B update\-reader.conf
|
||||
will ignore files that match the following regular expression:
|
||||
.RS
|
||||
.B *\e(\e.dpkg\-[a\-z]*\e|~\e)$
|
||||
.RE
|
||||
(ie files with the extension
|
||||
.IR .dpkg\-new ,
|
||||
.IR .dpkg\-orig ,
|
||||
.IR .dpkg\-dist ,
|
||||
.IR .dpkg\-old ,
|
||||
or whose filename end with a
|
||||
.IR ~ ).
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.I force
|
||||
.B update\-reader.conf
|
||||
check if the current
|
||||
.I /etc/reader.conf
|
||||
is a generated file by checking for a special tag on the first line. If this
|
||||
tag is not found generation is aborted. By supplying
|
||||
.I force
|
||||
as parameter only a warning is printed.
|
||||
.SH "SEE ALSO"
|
||||
.BR pcscd (1)
|
||||
.SH BUGS
|
||||
None of course! :)
|
||||
.SH AUTHOR
|
||||
This manual page was written by Ludovic Rousseau
|
||||
<ludovic.rousseau@free.fr> for the Debian GNU/Linux system.
|
|
@ -0,0 +1,8 @@
|
|||
# use uscan(1)
|
||||
# format version number, currently 2; this line is compulsory!
|
||||
version=2
|
||||
|
||||
# Full-site-with-pattern [Version [Action]]
|
||||
#http://www.linuxnet.com/ /middleware/files/ pcsc-lite-(.*)\.tar\.gz debian uupdate
|
||||
http://alioth.debian.org/project/showfiles.php?group_id=30105 \
|
||||
/download.php/.*/pcsc-lite-(.*)\.tar\.gz
|
Loading…
Reference in New Issue