[Pcsclite-cvs-commit] r1765 - in tags: . PCSC PCSC/rel-1_2_9-beta9
Ludovic Rousseau
rousseau at costa.debian.org
Sun Nov 27 20:02:40 UTC 2005
Author: rousseau
Date: 2005-11-27 20:02:37 +0000 (Sun, 27 Nov 2005)
New Revision: 1765
Added:
tags/PCSC/rel-1_2_9-beta9/
Removed:
tags/PCSC/rel-1_2_9-beta9/AUTHORS
tags/PCSC/rel-1_2_9-beta9/COPYING
tags/PCSC/rel-1_2_9-beta9/ChangeLog
tags/PCSC/rel-1_2_9-beta9/DRIVERS
tags/PCSC/rel-1_2_9-beta9/HELP
tags/PCSC/rel-1_2_9-beta9/INSTALL
tags/PCSC/rel-1_2_9-beta9/Makefile.am
tags/PCSC/rel-1_2_9-beta9/NEWS
tags/PCSC/rel-1_2_9-beta9/README
tags/PCSC/rel-1_2_9-beta9/SECURITY
tags/PCSC/rel-1_2_9-beta9/TODO
tags/PCSC/rel-1_2_9-beta9/bootstrap
tags/PCSC/rel-1_2_9-beta9/configure.in
tags/PCSC/rel-1_2_9-beta9/doc/
tags/PCSC/rel-1_2_9-beta9/etc/
tags/PCSC/rel-1_2_9-beta9/libmusclecard/
tags/PCSC/rel-1_2_9-beta9/m4/
tags/PCSC/rel-1_2_9-beta9/make-dirs/
tags/PCSC/rel-1_2_9-beta9/pbx/
tags/PCSC/rel-1_2_9-beta9/pcsc.pbproj/
tags/PCSC/rel-1_2_9-beta9/src/
tags/PCSC/rel-1_2_9-beta9/stamp-h.in
tags/PCSC/rel-1_2_9-beta9/win32/
tags/rel-1_2_9-beta9/
Log:
move pcsc-lite 1.2.9-beta9 in PCSC/ subdirectory
Copied: tags/PCSC/rel-1_2_9-beta9 (from rev 1762, tags/rel-1_2_9-beta9)
Property changes on: tags/PCSC/rel-1_2_9-beta9
___________________________________________________________________
Name: svn:ignore
+ acinclude.m4
aclocal.m4
autom4te.cache
build-stamp
ChangeLog.cvs
compile
config.guess
config.h
config.h.in
config.log
config.status
config.sub
configure
configure-stamp
depcomp
install-sh
libtool
ltmain.sh
Makefile
Makefile.in
missing
mkinstalldirs
stamp-h1
ylwrap
Deleted: tags/PCSC/rel-1_2_9-beta9/AUTHORS
===================================================================
--- tags/rel-1_2_9-beta9/AUTHORS 2005-11-27 19:56:09 UTC (rev 1762)
+++ tags/PCSC/rel-1_2_9-beta9/AUTHORS 2005-11-27 20:02:37 UTC (rev 1765)
@@ -1,9 +0,0 @@
-Main authors:
-- David Corcoran <corcoran at linuxnet.com>
-- Ludovic Rousseau <ludovic.rousseau at free.fr>
-- Damien Sauveron <sauveron at labri.fr>
-
-Additional code by:
-- Carlos Prados <cprados at yahoo.com>
-- Antti Tapaninen <aet at cc.hut.fi>
-- and some others
Deleted: tags/PCSC/rel-1_2_9-beta9/COPYING
===================================================================
--- tags/rel-1_2_9-beta9/COPYING 2005-11-27 19:56:09 UTC (rev 1762)
+++ tags/PCSC/rel-1_2_9-beta9/COPYING 2005-11-27 20:02:37 UTC (rev 1765)
@@ -1,28 +0,0 @@
-Copyright (c) 1999-2003 David Corcoran <corcoran at 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.
Deleted: tags/PCSC/rel-1_2_9-beta9/ChangeLog
===================================================================
--- tags/rel-1_2_9-beta9/ChangeLog 2005-11-27 19:56:09 UTC (rev 1762)
+++ tags/PCSC/rel-1_2_9-beta9/ChangeLog 2005-11-27 20:02:37 UTC (rev 1765)
@@ -1,907 +0,0 @@
-pcsc-lite-1.2.9-beta9: Ludovic Rousseau
-27 November 2005
-- add/improve support of PIN pad readers
- . define HOST_TO_CCID_16() and HOST_TO_CCID_32() macro to convert 16 and
- 32-bits data to the CCID format (replace HOST_TO_CCID)
-- add support of SUN C compiler and try to avoid GCC specific features
- (Heiko Nardmann)
-- SCardGetStatusChange():
- . exists if the list of readers changed (one reader added) so that the
- application can update its list of readers (Najam Siddiqui)
- . correct a bug when two contexts where used (Najam Siddiqui)
-- add support of Solaris 10 IFDhandler (Douglas E. Engert)
-- allow pcsc-lite to be compiled without (f)lex installed
-- add a TODO file. Help/money needed here.
-- improve Doxygen documentation
-- some other minor improvements and bug corrections
-
-
-pcsc-lite-1.2.9-beta8: Ludovic Rousseau
-6 September 2005
-- correct a crash on Fedora Core 4 (off by 1 buffer overflow)
-- do not silently truncate the reader, library or device name if they
- are too long but display an error message instead
-- reinclude musclecard library in pcsc-lite package since a lot of code
- is shared. The separation was a mistake
-- add colorization of the logs when sent to stderr. The color depends on
- the priority level
-- restrict the number of symbols (function names) exported from
- libpcsclite.so to limit symbol conflicts with other libraries. Only
- the PC/SC API symbols should be exported
-- add Doxygen documentation. Thanks to Luiz Reuter Silva Torro.
- HTML pages available at
- http://pcsclite.alioth.debian.org/doxygen/html/index.html
-- SCardControl(): a 0 byte long pbSendBuffer is no more rejected since
- the command is in dwControlCode. Thanks to Martin Paljak for the patch
-- provide a reader.h file (by default in /usr/local/include/PCSC/reader.h)
- that contains definitions shared between an application and a smart
- card driver (like SCARD_CTL_CODE, CM_IOCTL_GET_FEATURE_REQUEST,
- FEATURE_* and HOST_TO_CCID)
-- pcscd: allow a serial hotplug by sending a SIGUSR1 signal. The
- /etc/reader.conf file is re-read and reader presence/abscence is updated
-- musclecard library: small bug fixes
-- pcsc-lite SCF: small bug fixes
-- some other minor improvements and bug corrections
-
-
-pcsc-lite-1.2.9-beta7: Ludovic Rousseau
-2 March 2005
-- SCARD_PROTOCOL_ANY is defined as (SCARD_PROTOCOL_T0|SCARD_PROTOCOL_T1)
- You should not use SCARD_PROTOCOL_ANY since it is not defined in
- Windows PC/SC. It is just defined for backward source code compatibility
-- define SCARD_STATE_UNPOWERED even it is a state never used so source
- code using it can compile
-- SCardStatus(): pdwState and pdwProtocol parameters may be NULL (mimic
- Windows)
-- provide a script update-reader.conf to update the /etc/reader.conf
- file from /etc/reader.conf.d/* files
- This script is called by /etc/init.d/pcscd before starting the daemon
-- add support of SCardGetAttrib() with a NULL pbAttr parameter to only
- get the needed lenth in pcbAttrLen
-- SCardReconnect() now works after a card movement. Previously
- SCardReconnect() returned "Card was removed" even if the new card is
- reseted.
-- SCardGetStatusChange(): greatly improve performances. Thanks to Oivind
- H. Danielsen
-- SCardControl(): check if the pbSendBuffer is NULL or no bytes are sent
- for driver API v2 only. With API v3 we can use dwControlCode as the
- only data to send.
-- Implement the dynamic level logging in pcscd
- The new command line options are:
- -d, --debug display lower level debug messages
- --info display info level debug messages (default level)
- --error display error level debug messages
- --critical display critical only level debug messages
-- some documentation update
-
-
-pcsc-lite-1.2.9-beta6: Ludovic Rousseau
-15 August 2004
-- The debug messages are now displayed by default. This prevented error
- messages generated by a wrong /etc/reader.conf parsing to be displayed
-- thread management:
- . threads are now created with the PTHREAD_CREATE_DETACHED attribute
- so that resources are released when the thread ends. Thanks to
- Michael Gold for the patch.
- Previous versions of pcscd just died after 256 clients connections.
-- remove PCSC/ from the header files path since the path is given by
- pkg-config --cflags libpcsclite or the correct -I directive
-- src/winscard_svc.c:
- . MSGCleanupClient(): always reset all the fields. Thanks to Michael
- Gold for the patch.
-- src/configfile.l:
- . if the file referenced by DEVICENAME can't be use (because it is not
- a correct filename) we now display:
- You should use 'DEVICENAME /dev/null' if your driver does not use this field
-- src/winscard.c:
- . Avoid generating a PPS request that would not be just after a power
- up. The previous code worked only when the card was _reseted_ at
- SCardDisconnect() but not when SCARD_LEAVE_CARD was used.
-- correctly manage multi-slots readers
-- etc/pcscd.init:
- . updated to reflect the RPM version. Thanks to Ville Skyttä & Fritz Elfert
-- doc/example/pcsc_demo.c:
- . add SCardTransmit() code sample
-- src/testpcsc.c:
- . add a "(don't panic)" after a "Transaction failed." if it is not a
- critical failure.
-- doc/pcsc-lite.tex:
- . the function SCardSetTimeout() is deprecated and does nothing
-- doc/ifdhandler-3.tex:
- . add documentation for IFDHGetCapabilities(..., TAG_IFD_THREAD_SAFE, ...),
- IFDHGetCapabilities(..., TAG_IFD_SLOT_THREAD_SAFE, ...) and
- IFDHSetCapabilities(..., TAG_IFD_SLOTNUM, ...)
-- some internal changes and bugs corrections
-
-
-pcsc-lite-1.2.9-beta5: Ludovic Rousseau
-16 July 2004
-- src/PCSC/wintypes.h:
- . add type LPSTR (again) so that "old" drivers and applications can
- compile but mark the type deprecated.
- See http://gcc.gnu.org/onlinedocs/gcc-3.1/gcc/Type-Attributes.html
-- src/tokenfactory.c:
- . TPSearchBundlesForAtr(): use "%s/%s" insead of "%s%s" when
- generating the MuscleCard bundle name on MacOSX
-- src/winscard.c:
- . SCardControl() (new API) can now be used with a IFDHandler v2.0 or v3.0.
- The previous code was broken and only worked with an IFDHandler v3.0
- (crashed with a v2.0).
-- src/PCSC/ifdhandler.h:
- . IFDHControl(): use PUCHAR instead of LPCVOID and LPVOID so the
- driver can use TxBuffer[x] without needing a cast.
- . it is now possible to compile a IFDHandler v2.0 with this include
- file. Just #define IFDHANDLERv2 in your source code before
- #include <ifdhandler.h>
- By default it is setup for for most recent version of the API (V3.0)
-
-
-pcsc-lite-1.2.9-beta4: Ludovic Rousseau
-3 July 2004
-- src/libmusclecard.pc.in and src/libpcsclite.pc.in
- . includedir is now @includedir@/PCSC
- . add pthread flags for compilation and link
- . thanks to Ville Skyttä for these patches.
- They are small but are mandatory to (re)compile muscleTools (and
- others) without modification to their Makefile.
-
-
-pcsc-lite-1.2.9-beta3: Ludovic Rousseau
-30 June 2004
-- src/hotplug_libusb.c:
- . use a dynamic array for available USB drivers:
- - avoid a buffer overflow (argh!)
- - allow to use more than 16 drivers/supported readers
-- src/Makefile.am:
- . install mscdefines.h, winscard.h, musclecard.h, pcsclite.h and wintypes.h
- in /usr/include/PCSC/ to not pollute /usr/include/
- . install ifdhandler.h, debuglog.h and parser.h in /usr/include/PCSC/ so
- drivers can use them for compilation.
- Modify your source code or add -I/usr/include/PCSC to CFLAGS in your
- Makefile or, better, use CFLAGS=`pkg-config libpcsclite --cflags`
-- doc/pcsc-lite.tex:
- . dwPreferredProtocols is a bit mask of acceptable protocols
- . SCARD_SHARE_DIRECT can be used to talk to the reader without a card
- inserted
- . add "Some SCardControl commands" section (IFD_EXCHANGE and VERIFY_PIN)
- . add documentation for LTPBundleFindValueWithKey(), debug_msg() and
- debug_xxd()
-- src/configfile.l: (/etc/reader.conf parser):
- . allow ':' in DEVICENAME. use ':' to indicate a non-real device (pcscd does
- not test for its existence as a file). You can use this in something like
- "net://1.2.3.4/foobar" to indicate a reader on a remote machine like an
- X11 terminal.
-- src/PCSC/wintypes.h:
- . Change the names of the types LPCSTR to LPCTSTR and LPSTR to LPTSTR to be
- compliant with the Microsoft SCard API. You will have to update your
- source codes.
-- src/readerfactory.c:
- . rework RFSetReaderName() to simply the code and always start with the
- lowest number available (like in previous pcsc-lite version)
-- src/prothandler.c:
- . completely redesign the function so that IFDSetPTS() is always called to
- tell the driver which protocol to use and to initialise its internal
- state. The driver now knows which protocol (T=0 or T=1) the application
- wants to use even if the card only support only one protocol.
-- src/atrhandler.c:
- . add support of specific mode by the presence of TA2 (protocol not
- negociable)
-- src/utils/Makefile.am:
- . install bundleTool and installifd in [...]/sbin/ instead of [...]/bin/
-- doc/example/Makefile.am:
- . do not install pcsc_demo since it is just a sample code for developpers
- that is not supposed (the code) to do anything useful
-- doc/example/pcsc_demo.c:
- . replace SCARD_PROTOCOL_ANY by SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1 since
- SCARD_PROTOCOL_ANY is _not_ defined by Microsoft PC/SC and is not equals
- to SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1 in pcsc-lite
-- and lots of other minor and/or internal only changes
-
-pcsc-lite-1.2.9-beta2: Ludovic Rousseau
-11 May 2004
-- change libmusclecard current version to 1 so that old libmusclecard0 and new
- libmusclecard1 can cohabit on the same system and will not break existing
- programs during upgrades.
-
- This is because libmusclecard is provided in the same distrib/package as
- libpcsclite. If we want two libpcsclite to cohabit we must also ensure
- that the two libmusclecard can also cohabit.
-- src/pcscdaemon.c: print pcsc-lite version number during startup
-- src/winscard.c: in SCardReconnect(), SCardDisconnect() and
- SCardEndTransaction() SCARD_UNPOWER_CARD is "Power down the card and reset
- it (Cold Reset)" so we really power down _and_ then power up the card.
-- doc/pcsc-lite.tex: add the chapter "Multithreading and contexts"
-- doc/ifdhandler-3.tex: IFD Handler API in LaTeX format
-- correct some minor typos in documentation and output texts
-
-
-pcsc-lite-1.2.9-beta1: Ludovic Rousseau
-6 May 2004
-- configure: add support of --enable-extendedapdu argument to allow the use of
- big APDUs (APDU size between 256-Bytes and 128-KBytes)
-- API changes:
- . SCardControl() API changed to be similar to the Microsoft PC/SC
- implementation
- . add SCardGetAttrib()/SCardSetAttrib() functions
- . the driver need to be compliant to IFDHandler API v3 to support these new
- functions
-- multithreading:
- Damien Sauveron added the support of multiplexing multi-readers
- communications. In the previous version the communications were serialized
- and not simultaneous even if it was not needed. Thanks Damien.
-- src/pcscdaemon.c:
- . remove the warning if no /etc/reader.conf is found. It is normal to not
- have an /etc/reader.conf for USB readers only.
- . send debug to syslog by default
- . send debug to stderr if --foreground|-f is used (no need to add
- --debug stderr anymore)
-- doc/pcsc-lite.pdf: doc improved to add the new functions and API. The doc is
- now generated from a LaTeX file (easier to maintain, html version available,
- much more nice, etc.)
-- src/testpcsc.c:
- . added tests for the new functions SCardGetAttrib(), SCardSetAttrib() and
- SCardControl() and also the old SCardListReaderGroups()
- . do not ask for reader number if only one reader is present
- . some more debug
-- pcscd and libpcsclite now exchange a protocol version to know what API to
- use. This will be useful if/when the API change again
-- change library version to 1:0:0 since the interface changed
-- hotplug: the daemon pcscd do not try to restart drivers anymore when it is
- exiting
-- src/hotplug_libusb.c:
- . do not try to restart a USB driver if the first execution fails (because
- of a bug in the driver or whatever) since the next execution of the driver
- will, with a great probability, also fail. The user has to unplug/replug
- the reader to restart the driver. This prevents to fill the system logs
- with an error message every 1 second.
- . use deviceName defined as usb:idVendor/idProduct:libusb:busname:filename
- in HPAddHotPluggable(). This should avoid wrong USB enumeration when used
- in IFDHCreateChannelByName()
-- src/hotplug_macosx.c:
- . buffer overflow: the driver list was not terminated and caused crashes.
-- src/winscard.c:
- . remove the code to map SCARD_UNPOWER_CARD on IFD_RESET.
- SCARD_UNPOWER_CARD is power down and power up (cold reset) => IFD_POWER_DOWN
- SCARD_RESET_CARD is just power up (warm reset) => IFD_RESET
-- src/winscard.h:
- . use SCARDCONTEXT, DWORD, LPSCARDHANDLE, etc. instead of long, unsigned
- long, long *, etc. to be more Windows PC/SC compliant
-- doc/reader.conf.5.in: new manpage to make it clear that this configuration
- file SHOULD not be used for USB readers
-- src/configfile.l:
- . print a warning if the LIBPATH contains ".bundle". USB drivers SHOULD NOT
- be declared in reader.conf
- . Check that DEVICENAME and LIBPATH files exist and if an error occurs
- during the parsing the reader is not added and pcscd exit.
-- doc/example/pcsc_demo.c:
- . recode the readers enumeration to avoid the use of
- PCSCLITE_MAX_READERS_CONTEXTS. You do not and should not need
- PCSCLITE_MAX_READERS_CONTEXTS. Use a dynamic management instead.
- . add SCardReconnect() sample code
- . allow to select the reader number instead of always selecting the first
- reader
- . some minor debug
-- src/musclecard.c:
- . Initialize currentToken->tokenType in MSCListTokens(). Closes "[ #300607 ]
- MSCListTokens should set tokenType to know state before OR operation"
-- src/tokenfactory.c:
- . correct atrString[] buffer size. The ATR is in ASCII so it must be
- MAX_ATR_SIZE*2 +1. This was problematic for cards with a "long" ATR.
-- src/readerfactory.c:
- . initialize vHandle field to NULL in RFAllocateReaderSpace() (caused a
- crash under MacOS X)
-- aclocal/acx_pthread.m4:
- . new upstream version to avoid checking for pthread.h which does not exist
- on *BSD
-- src/libmusclecard.pc.in, src/libpcsclite.pc.in:
- . add muscledropdir (in libmusclecard) and usbdropdir (in libpcsclite) so we
- can use `pkg-config libpcsclite --variable=usbdropdir` to find the
- directory to use. Should be used by drivers and plugins installation.
- Thanks to Ville Skyttä for the patch.
-- many other minor patches and corrections. Read ChangeLog.cvs for a complete
- list
-
-
-pcsc-lite-1.2.0: Ludovic Rousseau
-27 october, 2003
-- the 1.2.0 version is the same as 1.2.0-rc3 version
-
-pcsc-lite-1.2.0-rc3: Ludovic Rousseau
-15 october, 2003
-- src/winscard_msg.c: perform a round-robbin among clients to avoid starvation
- under heavy load. Patch from Bettina Martelli.
-- src/winscard_clnt.c: send debug to stdout only if the environment variable
- MUSCLECARD_DEBUG is defined
-- src/libmusclecard.pc.in: add a new pkg-config file for application using
- libmusclecard.
-- a lot of code and build clean up by Antti Tapaninen
-- some code clean up and debug by Damien Sauveron
-
-
-pcsc-lite-1.2.0-rc2: Ludovic Rousseau
-4 September, 2003
-- removed a very _stupid_ bug that linked libpcsclite with libusb. Any
- application linked with libpcsclite was also linked with libusb.
-- generate a new library libmusclecard and remove MuscleCard code from
- libpcsclite. An application using MuscleCard functions needs to explicitly
- link with libmusclecard.
-- src/winscard_clnt.c: add a new function SCardUnload() to free allocated
- resources. It is mandatory only if you use dlopen/dlclose to often
- load/unload the library. Otherwi se you will exhaust the ressources
- available and get a crash. Thanks to Guy Moreillon for the patch.
-- src/muscletest.c: code cleaning
-
-
-pcsc-lite-1.2.0-rc1: Ludovic Rousseau
-26 August, 2003
-- configure.in: --enable-usb is now deprecated and off by default.
- --enable-libusb is selected by default and will be used if libusb is
- installed in /usr. If libusb is installed in /usr/local use
- --enable-libusb=/usr/local
-- src/hotplug_macosx.c: Add support of reader aliases using <array></array> in
- driver Info.plist on MacOS X.
- The old syntax did not work since pcscd on MacOS X wants a correct XML file.
- The new syntax is:
- <key>ifdVendorID</key>
- <array>
- <string>0x08E6</string> <!-- 1, Gemplus -->
- <string>0x04E6</string> <!-- 2, SCM Microsystems -->
- <string>0x076B</string> <!-- 3, OmniKey -->
- <string>0x0783</string> <!-- 4, C3PO -->
- </array>
-
- <key>ifdProductID</key>
- <array>
- <string>0x3437</string> <!-- 1 -->
- <string>0x5115</string> <!-- 2 -->
- <string>0x3021</string> <!-- 3 -->
- <string>0x0003</string> <!-- 4 -->
- </array>
-
- <key>ifdFriendlyName</key>
- <array>
- <string>GemPC Twin</string> <!-- 1 -->
- <string>SCR 335</string> <!-- 2 -->
- <string>CardMan 3121</string> <!-- 3 -->
- <string>LTC31</string> <!-- 4 -->
- </array>
-- src/powermgt_macosx.c, src/hotplug_macosx.c and some others: Add support of
- PCMCIA for MacOS X. Thanks to Stephen M. Webb.
-- src/hotplug_libusb.c: Add support of libusb. Allow to use USB readers on
- *BSD or any plateform supported by libusb. Thanks to Toni Andjelkovic for
- the great job.
- I also redesigned the code to support up to PCSCLITE_MAX_READERS readers
- whatever the driver they use.
-- src/musclecard.c:
- . fix an initialisation problem of pConnection->shareMode (thanks to Wan-Teh
- Chang)
- . avoid a memory leak (Toni Andjelkovic)
-- doc/example: sample demo application using pcsc-lite API
-- src/winscard.c:
- . pcscd reported card is present when there is no card in the reader
- . return SCARD_E_INVALID_PARAMETER for APDU of less than 4 bytes
-- src/winscard_svc.c: Sometimes unknown APDUs were being transmitted when
- 'SCardStatus' function was invoked
-- some code cleanup and compilation problems removed.
-
-
-pcsc-lite-1.1.2beta5: Ludovic Rousseau
-30 May, 2003
-- src/winscard.c: SCardStatus(): do not return before filling buffers
-- src/winscard_clnt.c: SCardStatusTH(): simplify code and return correct
- results when buffers are too short or NULL is used
-- src/libpcsclite.pc.in: used to generated a pkg-config ".pc" file (thanks to
- Andreas Jellinghaus for the idea and the patch)
-- configure.in, src/Makefile.am, src/utils/installifd.c, doc/bundleTool.8.in,
- doc/pcscd.8.in, etc/reader.conf.in:
- . correct typos and include path configured by ./configure appear in the
- docs (thanks to Ville Skyttä)
-- src/utils/installifd.c:
- . replace gets() by fgets() to avoid buffer overflow.
- . Use sizeof() instead of constants.
- . do not use strdup() since it is useless.
- . print error messages when needed.
-
-
-pcsc-lite-1.1.2beta4: Ludovic Rousseau
-13 Apr, 2003
-- src/debuglog.c:
- . DebugLogSetLogType() set flags and not just _or_ them (allow unset)
- . use strncpy to avoid a possible buffer overflow
-- src/hotplug_linux.c:
- . code cleanup
- . support for driver aliases in Info.plist. The syntax is:
- <key>ifdProductString</key>
- <string>GemPC430</string>
-
- <key>ifdVendorID</key>
- <string>0x08E6</string>
- <string>0x08E6</string>
- <string>0x08E6</string>
-
- <key>ifdProductID</key>
- <string>0x0430</string>
- <string>0x0432</string>
- <string>0x0435</string>
-
- <key>ifdFriendlyName</key>
- <string>GemPC430</string>
- <string>GemPC432</string>
- <string>GemPC435</string>
- So this driver will be used by the three possible readers.
-- src/Makefile.am:
- . support for driver aliases in Info.plist (use tokenparser.l instead of
- driverparser.l)
- . support for xBSD back
-- src/pcsclite.h:
- . rename "pcsc.pub" and "pcsc.comm" in "pcscd.pub" and "pcscd.comm"
-- src/tokenparser.l:
- . code reindentation
- . use DebugLogB()/DebugLogC with correct number of arguments
-- src/tokenparser.l:
- . regenerated from src/tokenparser.l
-
-
-pcsc-lite-1.1.2beta3: Ludovic Rousseau, David Corcoran
-7 Nov, 2002
-- Support for Sun Microsystems' SCF
-- Patches from Dmitry Djachenko to:
- . init g_rgSCard??Pci variable at compile time
- . return more meaningfull error codes in SCardReconnect()
- . return more information in SCardStatus()
- . accept pioRecvPci == NULL in SCardTransmit()
- according to MSDN (July 2002) : SCardTransmit description
- pioRecvPci
- [in, out] Pointer to the protocol header structure for the instruction,
- followed by a buffer in which to receive any returned protocol control
- information (PCI) specific to the protocol in use. This parameter may be
- NULL if no returned PCI is desired.
-- correct an overflow in SCardGetStatusChange(). Thanks to Michael Nidd
-- configure.in, src/pcscdaemon.c, src/pcsclite.h:
- . add --enable-ipcdir=DIR option. Default is now /var/run/ instead of
- /tmp/pcsc/
-- src/Makefile.am:
- . reorganise conditionals to to have a src/Makefile.in file 142 (yes 142)
- times smaller (33 KB instead of 4.7 MB)
-- src/eventhandler.c:
- . add filename and error message to error logs for /var/run/pcsc.pub
-- src/debuglog.h:
- . DebugLogC() uses 3 parameters not 2 (use DebugLogB() for that)
-
-
-pcsc-lite-1.1.2beta2: Ludovic Rousseau, David Corcoran, Jean-Luc Giraud
-12 Oct, 2002
-- OpenBSD 3.1 and FreeBSD 4.7RC2 debug and testing
-- MacOSX debug and improvement
-- support multiple identical USB readers under GNU/Linux
-- more debug
-- Bug in winscard.c for protocol when ANY is chosen
-
-pcsc-lite-1.1.2beta1: (Ludovic Rousseau <ludovic.rousseau at free.fr>)
-6 Sep, 2002
-- src/tokenfactory.c, configure.in and bundleTool.c:
- . add support for --enable-muscledropdir=DIR
-- README:
- . The licence file is COPYING and not LICENSE (thanks to Juha Tuomala)
-- doc/formaticc.1:
- . add formaticc.1 manpage from Debian
-- doc/bundleTool.1:
- . update and rename from .8 to .1
-- src/utils/formaticc.c:
- . lots of debug and buffer overflow removal
-- src/ifdwrapper.c, src/debuglog.c, doc/pcscd.8:
- . add support for --apdu|-a
-- src/pcscdaemon.c:
- . add support for --apdu, test if the pcscd is still running before
- complaining that /tmp/pcsc is present
- . print an error message if the --debug argument is not known
-- src/Makefile.am:
- . add -Wl,--export-dynamic link option
-- src/hotplug_linux.c:
- . add support for --enable-usbdropdir=DIR
-
-
-pcsc-lite-1.1.1: (David Corcoran <corcoran at linuxnet.com>)
-5 Jun, 2002
-- src/readerfactory.c
- . Fixed multiple slot handling by adding dwFeeds to multiple slots
-- src/winscard_clnt.c
- . Fixed multi Establish/Release Context problem by removing CleanupClient
-
-
-pcsc-lite-1.1.0: (David Corcoran <corcoran at linuxnet.com>)
-28 May, 2002
-- src/mscdefines.h added
-- src/musclecard.c/.h added
- . Added client side token/card plugin interface
-- src/tokenfactory.c added
-- src/powermgt_macosx.h added
-- src/powermgt_macosx.c added
- . Support for sleep mode on OS X
-- src/tokenparser.l added
-- src/dyn_hpux modified with new include <errno.h>
-- src/winscard_svc.c
- . Added session checking so rogue clients cannot steal hCard values
-- src/readerfactory.c
- . removed world writable files in /tmp/pcsc
-- configure.in
- . Added support for SCF with SCF plugin
-- Added command line arguments for debug/daemon mode <cprados at yahoo.com>
-- Previous additions from Ludovic Rousseau <ludovic.rousseau at free.fr>
-
-pcsc-lite-1.0.2beta5: (Ludovic Rousseau <ludovic.rousseau at free.fr>)
-10 Mar, 2002
-- src/pcscdaemon.c:
- . move the pid file creation earlier (before drivers loading)
- . allow to properly kill pcscd before or during driver loading
- this is useful when the driver init is buggy
-- src/pcsclite.h: change PCSCLITE_VERSION_NUMBER to 1.0.2.beta5
-- configure.in: change version number to 1.0.2.beta5
-
-
-pcsc-lite-1.0.2beta4: (Ludovic Rousseau <ludovic.rousseau at free.fr>)
-13 Feb, 2002
-- configure.in: change version number to 1.0.2.beta4
-(from Douglas Atique bugs report and patch)
-- etc/Makefile.am
- . add the files makeFMStyle, makeSTDStyle and moveFMCode to the
- distribution archive
-- src/Makefile.am
- . add the files sys_solaris.c, sys_hpux.c and powermgt_macosx.c to the
- distribution archive
-- src/pcscdaemon.c
- . ignore SIGHUP signal
- . remove pid file if USE_RUN_PID is defined
-- src/winscard_msg.c
- . move #ifdef PCSC_TARGET_SOLARIS _after_ the inclusion of config.h since
- PCSC_TARGET_SOLARIS is defined in config.h
-
-
-pcsc-lite-1.0.2beta3: (Ludovic Rousseau <ludovic.rousseau at free.fr>)
-10 Jan, 2002
-(from Carlos Prados Debian package)
-- configure.in
- . add AC_PREFIX_DEFAULT(/usr/local/pcsc) to install in /usr/local/pcsc by
- default
-- etc/
- . add makeFMStyle, makeSTDStyle and moveFMCode scripts
-- src/utils/Makefile.am
- . add EXTRA_DIST = sample.in sample.ibm sample.out
-- src/dyn_bsd.c
- . try without a leading '_' in cas of failure (needed by FreeBSD) thanks to
- Toni Andjelkovic <toni at soth.at> for the patch)
-- src/test.c
- . commented declarations on unused variables
- . corrected three %x to %lx for long arguments
-- README
- . add documentation for --enable-confdir and --enable-runpid
-- src/README_INTERNALS.txt: new file containing some documenation for source
- code hackers
-- src/Makefile.am: add EXTRA_DIST = README_INTERNALS.txt
-- src/pcscdaemon.c: the daemon now cleany stops the drivers before exiting
- . the global variable AraKiri is set in signal_trap()
- . this variable is checked in the main loop of SVCServiceRunLoop()
- . RFCleanupReaders() is then called if AraKiri
-- src/readerfactory.c: add RFCleanupReaders() to do the cleaning job at exit
-- src/test.c: change %x to %02X for the ATR bytes
-- src/debuglog.c and src/debuglog.h:
- . rewrote the DebugLog[ABCD] function
- . the function are now defines than include __FILE__ and __LINE__
- . the test #ifdef USE_SYSLOG if moved from the source code to the
- src/debuglog.c function only -> the source is more readable
- . the new log functions are now used everywhere
-- src/configfile.l:
- . changed syslog() to DebugLog()
- . add #include "debuglog.h"
-- README: add a supported platform: OpenBSD 3.0 (with libc.so.28.2)
-- Makefile.am: add HELP file to EXTRA_DIST
-
-
-pcsc-lite-1.0.2beta2: (Ludovic Rousseau <ludovic.rousseau at free.fr>)
-20 Dec, 2001
-- bootstrap: added --verbose
-- reconf: added --verbose and --enable-debug
-- configure.in:
- . changed release number to 1.0.2.beta2
- . added -Wall to CFLAGS to compile with all the warnings ON. This change
- implied many small corrections: mainly addition of include file to add
- functions prototyping, adding return values when needed, removing unused
- variables.
- . add doc/ directory (from Carlos Prados Debian package)
- . add --enable-confdir=DIR (default to /etc)
- inspiration from Shell Hin-Lik Hung, OpenBSD pcsc-lite port
- . add --enable-runpid=FILE to store the pcscd pid
- inspiration from Carlos Prados, Debian package maintainer
-- many C source files includes <pcsclite.h> (or somilar). I changed to
- "pcsclite.h" since the local .h should be more recent and with less
- bugs than the one in /usr/local/include/
-- src/dyn_bsd.c, src/dyn_unix.c: in DYN_LoadLibrary() changed 0 to
- NULL, "char *" to "const char *"
-- src/dyn_hpux.c: removed declared but unused variables
-- src/ifdwrapper.c: initialize IFD_? functions pointer to NULL
-- src/pcscdaemon.c:
- . removed declartion of errno (already made in errno.h)
- . exit with code value
- . more explicit error message when /tmp/pcsc/ already exist
- . test if VERSION and PCSCLITE_VERSION_NUMBER are the same
- release numbers
- . create a file containing the PID (see configure --enable-runpid=FILE)
- ("stolen" from Carlos Prados Debian package)
-- src/readerfactory.c
- . removed unused variables
- . dwSlot is a long, use %ld instead of %d
- . changed "SCARD_F_UNKNOWN_ERROR;" to "return SCARD_F_UNKNOWN_ERROR;"
-- src/readerfactory.h: corrected "RVAllocateReaderSpace" to
- "RFAllocateReaderSpace" (RVA -> RFA)
-- sys_*.c: removed declaration of errno
-- src/sys_unix.c: add "return 0;" in SYS_Initialize()
-- winscard.c: in SCardReconnect()
- . initialize dwAction to 0
- . remove unused variables dwReaderLen and dwProtocol
-- src/winscard_clnt.c: commented out declaration and definition of
- SCardSetupThreadSafety(). It is not used anywhere.
-- src/winscard_msg.c:
- . add the error message "strerror(errno)" returned by the socket
- functions in the debug message logged
- . removed unused variables
- . removed (fd_set *) cast in select calls. (compiles OK without)
-- src/winscard_svc.c: add a "return 0;" in MSGCleanupClient()
-- src/winscard_svc.h: add prototype for MSGCleanupClient()
-- doc/Makefile.am: ("stolen" from Carlos Prados Debian package)
- . add this directory in dist files
-- Makefile.am: ("stolen" from Carlos Prados Debian package)
- . add doc directory
- . add reconf bootstrap in dist files
-- src/Makefile.am: ("stolen" from Carlos Prados Debian package)
- . add utils directory
- . remove libpcsclite-core.la from install target
- . add dyn_bsd.c dyn_hpux.c to EXTRA_libpcsclite_core_la_SOURCES
-- src/utils/Makefile.am: ("stolen" from Carlos Prados Debian package)
- . converted LIBS line into formaticc_LDADD line
-- src/hotplug_linux.c
- . add some includes files
- . commented useless declarations of hpManu_id, hpProd_id, bundleArraySize
-- src/utils/installifd.c
- . rv, dwRecvLength and dwSendLength are long, use %ld instead of %d
- . commented useless declarations of many variables
- . add some (int *) casts
-- etc/ ("stolen" from Carlos Prados Debian package)
- . added SmartcardServices
- . added StartupParameters.plist
-- src/debuglog.c:
- . put the ATR on just one line even with syslog
- . changed LOG_DEBUG to LOG_INFO since the LOG_DEBUG level messages are
- seldom logged
-- src/pcsclite.h: test if USE_READER_CONF is defined (see
- --enable-confdir=DIR)
-
-pcsc-lite-1.0.2beta: (Ludovic Rousseau)
-29 Nov, 2001
-- stop if /tmp/pcsc already exists
-- clean and remove /tmp/pcsc on exit using signal() and atexit()
-- renamed SYS_Exit to exit in many places to use the atexit() defined
- cleaning function
-- removed \n in debug messages (syslog does not need it)
-- some minor print cosmetic modification in atrhandler.c
-- use a define DEBUG_BUFFER_LENGTH instead of 150 in debuglog.c
-- use snprintf() instead of sprintf() in debuglog.c
-- add a error on compile in pcscdaemon.c
- You must use '--enable-syslog' when also using '--enable-daemon' or
- you will not get any message
-- renamed SYS_Stat to SYS_Fstat since the system call is fstat and stat
- is another one
-- use PCSCLITE_IPC_DIR instead of repeating "/tmp/pcsc/" in pcsclite.h
-
-pcsc-lite-1.0.1:
-added -fno-common to CCFLAGS
-fixed syslog error on ATR
-lengthened the default client timeout on commands
-fixed bus error when vendir/id not found
-Added support for HP-UX 11 and OpenBSD 2.9
-Removed callback socket from server
-Fixed GetStatusChange bug on small timeouts
-Fix bug in transmit where reader sends back
-wrong length causes client to overwrite buffer
-
-pcsc-lite-1.0.0b:
-Fixed numerous NULL pointer errors
-Fixed many, many behaviors
-Tried Windows compatibility testing
-Switched to sockets based implementation
-Basically, it's had 2 months testing
-
-pcsc-lite-0.9.3:
-Changed test.c
-Added buffered read/write layer
-Shortened timeouts on outgoing commands
-Added support for Solaris 2.6 2.8
-Fixed autoconf problems
-Added an option for client side thread safety
-Fixed '-' problem for bundleparser
-
-pcsc-lite-0.9.1:
-Switched to named pipes for transport
-Fixed SCARD_POWERED tag when card inserted upside down
-Added non-polling request blocking
-Switched to autoconf thanks to some help
-Added timeouts for client/server
-
-pcsc-lite-0.8.7:
-Added kernel IoKit notifications for USB devices on OS X
-Added polling support for USB devices on Linux
-Added XML parsing for bundles on Linux
-Fixed GetStatusChange's SCARD_READERSTATE structure problem
-Fixed random generation in EstablishContext ( Carl-Magnus Pettersson )
-Fixed RPC Channel leak in EstablishContext ( Carl-Magnus Pettersson )
-Updated documentation to 0.8.7
-
-pcsc-lite-0.8.6:
-Added empty file powermgt_macosx.c for future power management
-Added ability for multiple identical readers on OS X
-Fixed bug enabling SCardTransmit to pass memory card functions
-by allowing sSendPci to be NULL
-Fixed some possible buffer overrun exploits
-
-pcsc-lite-0.8.5:
-Moved to 'fat client' architecture
-Mapped status to clients so events are immediate
-Removed fork() from server, and wait() calls
-Added multi readers to GetStatusChange
-Added block for reader in GetStatusChange
-Added Reader Lun naming mechanism for friendlynames
-Updated the documentation
-
-pcsc-lite-0.8.2:
-Added more error checking to all winscard functions.
-Added the ability to use Domain Sockets on Linux, Solaris.
-Increased the select sleep time to conserve cpu time.
-Added the ability to recover from errors by reloading drivers/etc.
-Pre-allocated bundle array list to save cpu time and memory leakage.
-Added SECURITY file.
-
-pcsc-lite-0.8.0:
-Added Hot Pluggable search function to select loop.
-Fixed Makefiles to do copies not moves
-Changed some filenames.
-
-pcsc-lite-0.7.8:
-Fixed race condition between pcscusb and eventhandler.c
-Fixed core dump on error startup.
-Added T=1 detection to test.c.
-Added SCardControl()
-
-pcsc-lite-0.7.5:
-Dynamically addable readers.
-Multiple dynamically addable readers.
-More startup error checking.
-Full support for OS X
-
-pcsc-lite-0.7.3:
-Added stringified error responses.
-Fixed some error returning bugs.
-Support for dynamic readers such as USB readers.
-More support for OS X
-
-pcsc-lite-0.7.1:
-Fixed bugs causing problems in Redhat regarding mutex pointers.
-Fixed exiting problem causing random zombie processes.
-Removed thread libs and dyn libs from local library.
-Abstracted thread libs in thread_generic.h
-Added support for Mac OS X.
-
-pcsc-lite-0.7.0:
-Support for ifd handler 2.0 specifications.
-
-pcsc-lite-0.6.9:
-Fixed bug in readerfactory.c that only allowed 2 applications
-to run simultaneously.
-Fixed bug in rpc/winscard.c so that some applications which
-while looped on Begin/End could not cause starvation.
-
-
-pcsc-lite-0.6.8
-Fixed mutex bug in readerfactory.c
-Added SCardListReaderGroups for compatibility
-Fixed NULL in for ListReaders
-Fixed NULL as pioRecvPci in Transmit
-Added multi-sys Makefiles
-Pulled Windows(r) defs from pcsclite.h
-Added INFINITE to GetStatusChange.
-
-pcsc-lite-0.6.6
-Added application event notification on calls
-Added SCardReconnect
-
-pcsc-lite-0.6.5
-Added -v option for version checking
-Added security module for future encryption/decryption
-Added function to allow only from localhost
-Added default values to all variables
-Proper freeing of all pointer values
-Fixed Reset on Disconnect
-Removed any dangerous pointer references
-
-pcsc-lite-0.6.4
-Shortened the thread zombie cleanup time.
-
-pcsc-lite-0.6.3
-Fixed readerfactory assignment of ID problem
-
-pcsc-lite-0.6.2
-Using pthreads for status poll.
-Using pthread mutexes instead of test and set.
-Fixed problem in GetStatusChange.
-Fixed SCardBeginTransaction.
-
-pcsc-lite-0.6.0
-Removed SCardReadMemory, SCardWriteMemory
-Added Mutex locks around all driver calls
-Added ability to do startup allocation
-Fixed memory leak in RFAddReader
-Removed some warnings
-
-pcsc-lite-0.5.5
-Added multi-slot support
-Fixed T=0/1 protocol definition
-
-pcsc-lite-0.5.2
-Fixed protocol negotiation
-Modified defines to work with OCF
-
-pcsc-lite-0.5.0
-Fixed the Makefiles to include
-symbolic links to external libraries
-
-pcsc-lite-0.4.9
-Added some objects to the client's
-library so it can be used with ssp-lite
-
-pcsc-lite-0.4.7
-Added Server State Machine
-Kills dead clients and frees resources
-Added SCardSetTimeout
-Fixed Makefile for non-rpc
-Added BSD style Makefile for BSD compilation
-Fixed SCardRead/Write functions
-
-pcsc-lite-0.4.0
-Fixed SCardStatus Function
-Added IFD Wrapper Abstraction Layer
-Began support for multiple slots
-Fixed bug in SCardStatus with overflow
-Added code to remove zombie processes
-Added support for connecting to multiple
-readers/resource managers from the client.
-
-pcsc-lite-0.3.0:
-Added RPC abstraction layer.
-Added Server Forking on Transmit and GetStatusChange.
-Fixed overflowed buffer in atrhandler.c
-Fixed Disconnect Bug.
-
-pcsc-lite-0.2.4:
-Added ATR Handling.
-Added support for T=1
-Added support for PTS negotiation
-Added abstraction for more slots/terminal
-Added correct ATR size return
-
-pcsc-lite-0.2.2:
-Added some defines in pcsclite.h
-Added support for Memory cards.
-Added support for SCardCancel.
-
-pcsc-lite-0.2.0:
-Fixed powering up error in GetStatusChange.
-Added some type defines in pcsclite.h
-
-pcsc-lite-0.1.0:
-Fixed bug in readerfactory.c line 117 lpcReaders[p] = 0
-to lpcTReaders[p] = 0. This was giving strange errors.
-Fixed return rv at SCardStatus function to return SCARD_S_SUCCESS.
-Added 7 more defines to pcsclite.h
-
-pcsc-lite-0.0.2:
-Added functions Status, and GetStatusChange
-Fixed Connect to look for card
-Fixed return values for functions
Deleted: tags/PCSC/rel-1_2_9-beta9/DRIVERS
===================================================================
--- tags/rel-1_2_9-beta9/DRIVERS 2005-11-27 19:56:09 UTC (rev 1762)
+++ tags/PCSC/rel-1_2_9-beta9/DRIVERS 2005-11-27 20:02:37 UTC (rev 1765)
@@ -1,30 +0,0 @@
-DRIVERS
-
-To install USB drivers, download the driver from http://www.linuxnet.com/
-and copy it to a temporary location. After you have unarchived the files
-copy the directory to /usr/local/pcsc/drivers/. If the directory
-/usr/local/pcsc/drivers/ does not exist create it before copying the driver
-directory to it.
-
-Example Mac OS X, Linux 2.4:
-
-tar -xzvf driver.bundle-0.1.0.tar.gz
-cp -r driver.bundle /usr/local/pcsc/drivers/
-cd /usr/local/pcsc/drivers/driver.bundle
-build or use Project Builder to build
-
-The /usr/local/pcsc/drivers/ directory should contain bundle directories only.
-You must restart pcscd to use the new driver.
-
-
-All OS's:
-
-For non-USB users, you must edit the /etc/reader.conf file.
-You can do this easily by running the installifd program in the utils/
-directory of pcsc-lite. Some newer drivers require you to specify 1 as the
-port and then make a symlink from /dev/pcsc/1 to /dev/ttyS* so you can
-enumerate your ports on any Unix without changing the driver.
-
-Refer to the driver README for more information.
-
-$Id$
Deleted: tags/PCSC/rel-1_2_9-beta9/HELP
===================================================================
--- tags/rel-1_2_9-beta9/HELP 2005-11-27 19:56:09 UTC (rev 1762)
+++ tags/PCSC/rel-1_2_9-beta9/HELP 2005-11-27 20:02:37 UTC (rev 1765)
@@ -1,11 +0,0 @@
-General questions:
-Contact the mailing list sclinux at linuxnet.com (you must subscribe first)
-
-
-Contract work:
-
-For interested parties, I am available part time for contract based work
-developing drivers, middleware, and applications for a variety of
-platforms based upon smart cards and cryptographic tokens.
-My current hardware platforms are: Linux, Solaris, BSD,
-Mac OS, and HP-UX
Deleted: tags/PCSC/rel-1_2_9-beta9/INSTALL
===================================================================
--- tags/rel-1_2_9-beta9/INSTALL 2005-11-27 19:56:09 UTC (rev 1762)
+++ tags/PCSC/rel-1_2_9-beta9/INSTALL 2005-11-27 20:02:37 UTC (rev 1765)
@@ -1,182 +0,0 @@
-Basic Installation
-==================
-
- These are generic installation instructions.
-
- The `configure' shell script attempts to guess correct values for
-various system-dependent variables used during compilation. It uses
-those values to create a `Makefile' in each directory of the package.
-It may also create one or more `.h' files containing system-dependent
-definitions. Finally, it creates a shell script `config.status' that
-you can run in the future to recreate the current configuration, a file
-`config.cache' that saves the results of its tests to speed up
-reconfiguring, and a file `config.log' containing compiler output
-(useful mainly for debugging `configure').
-
- If you need to do unusual things to compile the package, please try
-to figure out how `configure' could check whether to do them, and mail
-diffs or instructions to the address given in the `README' so they can
-be considered for the next release. If at some point `config.cache'
-contains results you don't want to keep, you may remove or edit it.
-
- The file `configure.in' is used to create `configure' by a program
-called `autoconf'. You only need `configure.in' if you want to change
-it or regenerate `configure' using a newer version of `autoconf'.
-
-The simplest way to compile this package is:
-
- 1. `cd' to the directory containing the package's source code and type
- `./configure' to configure the package for your system. If you're
- using `csh' on an old version of System V, you might need to type
- `sh ./configure' instead to prevent `csh' from trying to execute
- `configure' itself.
-
- Running `configure' takes awhile. While running, it prints some
- messages telling which features it is checking for.
-
- 2. Type `make' to compile the package.
-
- 3. Optionally, type `make check' to run any self-tests that come with
- the package.
-
- 4. Type `make install' to install the programs and any data files and
- documentation.
-
- 5. You can remove the program binaries and object files from the
- source code directory by typing `make clean'. To also remove the
- files that `configure' created (so you can compile the package for
- a different kind of computer), type `make distclean'. There is
- also a `make maintainer-clean' target, but that is intended mainly
- for the package's developers. If you use it, you may have to get
- all sorts of other programs in order to regenerate files that came
- with the distribution.
-
-Compilers and Options
-=====================
-
- Some systems require unusual options for compilation or linking that
-the `configure' script does not know about. You can give `configure'
-initial values for variables by setting them in the environment. Using
-a Bourne-compatible shell, you can do that on the command line like
-this:
- CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
-
-Or on systems that have the `env' program, you can do it like this:
- env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
-
-Compiling For Multiple Architectures
-====================================
-
- You can compile the package for more than one kind of computer at the
-same time, by placing the object files for each architecture in their
-own directory. To do this, you must use a version of `make' that
-supports the `VPATH' variable, such as GNU `make'. `cd' to the
-directory where you want the object files and executables to go and run
-the `configure' script. `configure' automatically checks for the
-source code in the directory that `configure' is in and in `..'.
-
- If you have to use a `make' that does not supports the `VPATH'
-variable, you have to compile the package for one architecture at a time
-in the source code directory. After you have installed the package for
-one architecture, use `make distclean' before reconfiguring for another
-architecture.
-
-Installation Names
-==================
-
- By default, `make install' will install the package's files in
-`/usr/local/bin', `/usr/local/man', etc. You can specify an
-installation prefix other than `/usr/local' by giving `configure' the
-option `--prefix=PATH'.
-
- You can specify separate installation prefixes for
-architecture-specific files and architecture-independent files. If you
-give `configure' the option `--exec-prefix=PATH', the package will use
-PATH as the prefix for installing programs and libraries.
-Documentation and other data files will still use the regular prefix.
-
- In addition, if you use an unusual directory layout you can give
-options like `--bindir=PATH' to specify different values for particular
-kinds of files. Run `configure --help' for a list of the directories
-you can set and what kinds of files go in them.
-
- If the package supports it, you can cause programs to be installed
-with an extra prefix or suffix on their names by giving `configure' the
-option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
-
-Optional Features
-=================
-
- Some packages pay attention to `--enable-FEATURE' options to
-`configure', where FEATURE indicates an optional part of the package.
-They may also pay attention to `--with-PACKAGE' options, where PACKAGE
-is something like `gnu-as' or `x' (for the X Window System). The
-`README' should mention any `--enable-' and `--with-' options that the
-package recognizes.
-
- For packages that use the X Window System, `configure' can usually
-find the X include and library files automatically, but if it doesn't,
-you can use the `configure' options `--x-includes=DIR' and
-`--x-libraries=DIR' to specify their locations.
-
-Specifying the System Type
-==========================
-
- There may be some features `configure' can not figure out
-automatically, but needs to determine by the type of host the package
-will run on. Usually `configure' can figure that out, but if it prints
-a message saying it can not guess the host type, give it the
-`--host=TYPE' option. TYPE can either be a short name for the system
-type, such as `sun4', or a canonical name with three fields:
- CPU-COMPANY-SYSTEM
-
-See the file `config.sub' for the possible values of each field. If
-`config.sub' isn't included in this package, then this package doesn't
-need to know the host type.
-
- If you are building compiler tools for cross-compiling, you can also
-use the `--target=TYPE' option to select the type of system they will
-produce code for and the `--build=TYPE' option to select the type of
-system on which you are compiling the package.
-
-Sharing Defaults
-================
-
- If you want to set default values for `configure' scripts to share,
-you can create a site shell script called `config.site' that gives
-default values for variables like `CC', `cache_file', and `prefix'.
-`configure' looks for `PREFIX/share/config.site' if it exists, then
-`PREFIX/etc/config.site' if it exists. Or, you can set the
-`CONFIG_SITE' environment variable to the location of the site script.
-A warning: not all `configure' scripts look for a site script.
-
-Operation Controls
-==================
-
- `configure' recognizes the following options to control how it
-operates.
-
-`--cache-file=FILE'
- Use and save the results of the tests in FILE instead of
- `./config.cache'. Set FILE to `/dev/null' to disable caching, for
- debugging `configure'.
-
-`--help'
- Print a summary of the options to `configure', and exit.
-
-`--quiet'
-`--silent'
-`-q'
- Do not print messages saying which checks are being made. To
- suppress all normal output, redirect it to `/dev/null' (any error
- messages will still be shown).
-
-`--srcdir=DIR'
- Look for the package's source code in directory DIR. Usually
- `configure' can determine that directory automatically.
-
-`--version'
- Print the version of Autoconf used to generate the `configure'
- script, and exit.
-
-`configure' also accepts some other, not widely useful, options.
Deleted: tags/PCSC/rel-1_2_9-beta9/Makefile.am
===================================================================
--- tags/rel-1_2_9-beta9/Makefile.am 2005-11-27 19:56:09 UTC (rev 1762)
+++ tags/PCSC/rel-1_2_9-beta9/Makefile.am 2005-11-27 20:02:37 UTC (rev 1765)
@@ -1,20 +0,0 @@
-# Process this file with automake to create Makefile.in.
-
-SUBDIRS = m4 win32 src etc doc libmusclecard
-
-ACLOCAL_AMFLAGS = -I m4
-
-EXTRA_DIST = DRIVERS SECURITY bootstrap HELP ChangeLog.cvs
-
-DISTCLEANFILES = ChangeLog.cvs
-
-ChangeLog.cvs:
- -svn2cl.sh --group-by-day --stdout | perl -pe \
- 's/corcoran /David Corcoran /; \
- s/corcoran-guest /David Corcoran /; \
- s/oznet /Chris Osgood /; s/cprados /Carlos Prados /; \
- s/mikeg /Michael Gile /; s/rousseau /Ludovic Rousseau /; \
- s/giraud /Jean-Luc Giraud /; s/aet-guest /Antti Tapaninen /; \
- s/sauveron-guest /Damien Sauveron /; \
- s+trunk/PCSC/++g;' > $@
-
Deleted: tags/PCSC/rel-1_2_9-beta9/NEWS
===================================================================
--- tags/rel-1_2_9-beta9/NEWS 2005-11-27 19:56:09 UTC (rev 1762)
+++ tags/PCSC/rel-1_2_9-beta9/NEWS 2005-11-27 20:02:37 UTC (rev 1765)
@@ -1,6 +0,0 @@
-Read the ChangeLog file for news.
-
-Checkout the new MuscleCard. Its an applet for Java Card which
-will run on any 2.1 compliant card. It has client side API's
-for nearly every major operating system and it's totally free.
-Go to: http://www.musclecard.com/musclecard.html
Deleted: tags/PCSC/rel-1_2_9-beta9/README
===================================================================
--- tags/rel-1_2_9-beta9/README 2005-11-27 19:56:09 UTC (rev 1762)
+++ tags/PCSC/rel-1_2_9-beta9/README 2005-11-27 20:02:37 UTC (rev 1765)
@@ -1,134 +0,0 @@
-Title : PCSC Lite
-Authors : David Corcoran, Ludovic Rousseau
-Version : 1.2.0
-License : See file COPYING
-Document: docs/pcsc-lite-0.8.7.pdf
- docs/muscle-api-1.3.0.pdf
-Requires: A C compiler
- Make, linker tools
- Lex (Lexical Analyzer).
-
-Tested Platforms:
- Linux 2.4 (Redhat 7.1, Suse 7.1/7.2, Debian 3.0)
- Mac OS X 10.2, 10.3
- FreeBSD, NetBSD, OpenBSD
- Solaris 8 / 9
- Tru64 UNIX 5.1B
- AIX 4.3, 5.2
- HP-UX 11
-
-Welcome to PCSC Lite. The purpose of PCSC Lite is to
-provide a Windows(R) SCard interface in a very small form factor for
-communicating to smart cards and readers. PCSC Lite can be compiled
-directly to a desired reader driver or can be used to dynamically
-allocate/deallocate reader drivers at runtime (default).
-
-PCSC Lite uses the same winscard API as used under Windows(R).
-
-For security aware persons please read the SECURITY file on possible
-vulnerabilites to pcsclite, how you can fix some, and how some will
-be fixed.
-
-For information on how to install driver please read the DRIVERS file.
-
-Memory cards are supported through MCT specifications which is an APDU
-like manner sent normally through the SCardTransmit() function. This
-functionality is done in the driver.
-
-INSTALLATION:
-
-Installation is simple. Type ./configure and then make and make install.
-Options:
-
- ./configure
-
- --enable-libusb=PATH Enable USB libusb support
- (on Linux, *BSD, etc.).
- --enable-usb Enable USB on Linux 2.4 platforms (deprecated)
- --enable-daemon Run as a daemon.
- --enable-debug Enable full debugging messages
- --enable-threadsafe Enable a thread safe client (reqs pthread)
- --enable-debugatr Enable ATR parsing debug output
- --prefix=location Install to <location>
- --enable-confdir=DIR Use DIR as the configuration directory
- (/etc by default)
- --enable-runpid=FILE Store the daemon pid in file FILE
-
---enable-daemon, --enable-debug, and --enable-threadsafe are all default.
-By running pcscd under a priveledged account you can link to
-libpcsclite.so and it will act as a client to the pcscd allowing multiple
-applications to be run under non-priveledged accounts.
-
-Then type make install to copy etc/reader.conf to
-/etc/reader.conf and the libraries to /usr/local/pcsc/lib. If you choose
-not to have your reader.conf in /etc then edit the file include/pcsclite.h
-and edit the PCSC_READER_CONFIG option and change the
-Makefile to make install to your location.
-
-You must be root to do make install in the default locations.
-
-Be sure to edit the /etc/reader.conf file to fit your needs and make sure
-your IFD Handler driver is located in the path specified as LIBRARYPATH
-in reader.conf. If you are using a reader with multiple smart card slots
-all you have to do is define a different FRIENDLYNAME in the reader.conf
-for each reader. Both will have the same information otherwise.
-
-There is an config file generator in the utils directory. It is called
-installifd. You may use this to generate the /etc/reader.conf file.
-
-USB users do not need to use the /etc/reader.conf. pcscd will give
-a warning that the file does not exist or contain anything useful.
-
-If you try out the test programs included in this package be sure to set your
-system's LD_LIBRARY_PATH to the locations where the libs are or move the
-libpcsclite.so into a directory that is specified in your LD_LIBRARY_PATH.
-
-There is a test program with this package:
-
-testpcsc: Linked to libpcsclite. Must run /usr/local/pcsc/bin/pcscd
- and then ./testpcsc. pcscd must be run as root or a hardware
- priveledged user. ./testpcsc can be run under any account.
- You can create testpcsc by doing the following:
- gcc -o testpcsc test.c -L/usr/local/pcsc/lib -lpcsclite -I.
-
-THREAD SAFETY:
-If pcsc-lite is compiled with thread safety, each application linked with
-libpcsclite.so must also link with pthread libraries.
-
-OCF users should compile in --threadsafe so the OCF->PC/SC bridge behaves
-correctly.
-
-LIBUSB SUPPORT:
-Versions after 1.2.0 support libusb. Available on GNU/Linux and *BSD.
-In order to use it, you should call ./configure with
-
- --enable-libusb (if libusb is installed in standard directory /usr)
- or
- --enable-libusb=PATH
-
-where PATH is the base directory containing the libusb include
-file and library. For example, "--enable-libusb=/usr/local" looks
-for /usr/local/include/usb.h and /usr/local/lib/libusb.[so|a]
-
-Please note that you can't specify "--enable-libusb" and
-"--enable-usb" at the same time.
-
-In order to use dynamic driver loading, you need to supply a directory
-called "XXXX.bundle" in the usb dropdir directory (--enable-usbdropdir=PATH).
-Here, the string "XXXX" stands for an arbitrary driver name, like in
-"ifd-GemPC430.bundle". An example .bundle-directory can be found in the
-source distribution of the ifd-gempc driver
-(http://ludovic.rousseau.free.fr/softwares/ifd-GemPC/ifd-GemPC.html)
-
-SOLARIS:
-Solaris PC/SC applications must link with -lsocket since
-the libraries are not statically linked.
-
-QUESTIONS:
-
-The API documentation is provided in PDF format under the docs
-directory. For questions, please email me at:
-<David Corcoran> corcoran at linuxnet.com
-
- $Id$
-
Deleted: tags/PCSC/rel-1_2_9-beta9/SECURITY
===================================================================
--- tags/rel-1_2_9-beta9/SECURITY 2005-11-27 19:56:09 UTC (rev 1762)
+++ tags/PCSC/rel-1_2_9-beta9/SECURITY 2005-11-27 20:02:37 UTC (rev 1765)
@@ -1,16 +0,0 @@
-SECURITY
-
-This file discusses security related issues with pcsc-lite and how to
-handle them.
-
-Sometimes it is dangerous to run daemons under a root account. If there is
-a chance to exploit a buffer overflow you can protect sensitive information
-by running it under a different account. It might be useful to create another
-user with hardware priveledges and run pcscd as that user. Be sure this user
-can manipulate the server sockets.
-
-
-Application suggestions:
-
-Make sure you Disconnect when you are not using the reader. Also be sure to
-ReleaseContext before exiting your program.
Deleted: tags/PCSC/rel-1_2_9-beta9/TODO
===================================================================
--- tags/rel-1_2_9-beta9/TODO 2005-11-27 19:56:09 UTC (rev 1762)
+++ tags/PCSC/rel-1_2_9-beta9/TODO 2005-11-27 20:02:37 UTC (rev 1765)
@@ -1,16 +0,0 @@
-- improve performances between pcscd and libpcsclite
- see http://archives.neohapsis.com/archives/dev/muscle/2005-q4/0086.html
-
-- allow the use of extended APDU without breaking libpcsclite ABI
- For now we have either normal APDU (max 256 bytes) or extended APDU
- (--enable-extendedapdu, max 32K bytes) but not both
-
-- include Apple patches and improvements (if possible/needed)
-
-- power on the card _only_ if an application requests a connection
- see Alioth bug #301965
-
-- use a callback from IFD handler to pcscd instead of pooling to get the
- card status: better performance, possible lower power consumption
-
-Oct 2005
Deleted: tags/PCSC/rel-1_2_9-beta9/bootstrap
===================================================================
--- tags/rel-1_2_9-beta9/bootstrap 2005-11-27 19:56:09 UTC (rev 1762)
+++ tags/PCSC/rel-1_2_9-beta9/bootstrap 2005-11-27 20:02:37 UTC (rev 1765)
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-# I use
-# - autoconf (GNU Autoconf) 2.59
-# - automake (GNU automake) 1.7.9
-# - libtool (GNU libtool) 1.5.6 (1.1220.2.95 2004/04/11 05:50:42)
-
-set -e
-set -x
-if test -f Makefile; then
- make distclean
-fi
-rm -rf *.cache *.m4 config.guess config.log \
-config.status config.sub depcomp ltmain.sh
-#(cat m4/*.m4 > acinclude.m4 2> /dev/null)
-autoreconf --verbose --install
Deleted: tags/PCSC/rel-1_2_9-beta9/configure.in
===================================================================
--- tags/rel-1_2_9-beta9/configure.in 2005-11-27 19:56:09 UTC (rev 1762)
+++ tags/PCSC/rel-1_2_9-beta9/configure.in 2005-11-27 20:02:37 UTC (rev 1765)
@@ -1,358 +0,0 @@
-# -*- mode: m4; -*-
-# Process this file with autoconf to produce a configure script
-
-AC_PREREQ(2.58)
-
-AC_INIT(pcsc-lite, 1.2.9-beta9)
-AC_CONFIG_SRCDIR(src/pcscdaemon.c)
-AM_INIT_AUTOMAKE(1.8)
-AM_CONFIG_HEADER(config.h)
-
-AC_CONFIG_MACRO_DIR(m4)
-
-AC_CANONICAL_HOST
-AC_PROG_CC
-AC_C_BIGENDIAN
-
-# Check for some target-specific stuff
-case "$host" in
-*-*-hpux*)
- CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE_EXTENDED"
- ;;
-*-*-solaris*)
- CPPFLAGS="$CPPFLAGS -I/usr/local/include"
- LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
- need_dash_r=1
- ;;
-*-*-sunos4*)
- CPPFLAGS="$CPPFLAGS -DSUNOS4"
- ;;
-*-*-aix*)
- CPPFLAGS="$CPPFLAGS -I/usr/local/include"
- LDFLAGS="$LDFLAGS -L/usr/local/lib"
- if (test "$LD" != "gcc" && test -z "$blibpath"); then
- blibpath="/usr/lib:/lib:/usr/local/lib"
- fi
- ;;
-*-*-osf*)
- CPPFLAGS="$CPPFLAGS -D_POSIX_PII_SOCKET"
- ;;
-*-*-darwin*)
- AC_SUBST(COREFOUNDATION)
- COREFOUNDATION="-Wl,-framework,CoreFoundation"
- AC_SUBST(IOKIT)
- IOKIT="-Wl,-framework,IOKit"
- if test "$GCC" = "yes"; then
- CFLAGS="$CFLAGS -no-cpp-precomp"
- fi
- use_libusb=false
- AC_MSG_WARN([libusb disabled on Darwin for pcsc-lite])
- ;;
-esac
-
-# Options
-AM_MAINTAINER_MODE
-
-# Checks for programs
-AC_PROG_CPP
-AC_PROG_INSTALL
-AC_PROG_LN_S
-AC_PROG_MAKE_SET
-AM_PROG_LEX
-AC_PATH_PROG(TEST_MINUS_S_SH, bash)
-AC_PATH_PROG(TEST_MINUS_S_SH, ksh)
-AC_PATH_PROG(TEST_MINUS_S_SH, sh)
-
-# Special check for pthread support
-ACX_PTHREAD(
-[
- AC_DEFINE(HAVE_PTHREAD, 1,
- [Define if you have POSIX threads libraries and header files.])
-], [
- AC_MSG_ERROR([POSIX thread support required])
-])
-
-LIBS="$PTHREAD_LIBS $LIBS"
-CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
-CC="$PTHREAD_CC"
-
-AC_SUBST(PTHREAD_LIBS)
-AC_SUBST(PTHREAD_CFLAGS)
-
-# Add libtool support
-AM_PROG_LIBTOOL
-# Automatically update the libtool script if it becomes out-of-date
-#AC_SUBST(LIBTOOL_DEPS)
-
-# Checks for header files
-AC_HEADER_STDC
-AC_HEADER_SYS_WAIT
-AC_CHECK_HEADERS([dirent.h dl.h dlfcn.h errno.h fcntl.h getopt.h malloc.h stdlib.h string.h strings.h sys/filio.h sys/time.h syslog.h unistd.h smartcard/scf.h])
-
-# Checks for typedefs, structures, and compiler characteristics
-AC_C_CONST
-AC_TYPE_UID_T
-AC_TYPE_SIZE_T
-AC_HEADER_TIME
-
-# Checks for library functions
-AC_FUNC_ERROR_AT_LINE
-AC_FUNC_STAT
-AC_FUNC_VPRINTF
-AC_CHECK_FUNCS(daemon flock getopt_long nanosleep strerror vsnprintf)
-
-# strlcpy, strlcat from OpenBSD
-AC_CHECK_FUNCS(strlcpy strlcat)
-
-# C Compiler features
-AC_C_INLINE
-if test "$GCC" = "yes"; then
- CFLAGS="-Wall -fno-common $CFLAGS"
-fi
-
-AC_SUBST(LIBDL)
-AC_CHECK_LIB(dl, dlopen, [LIBDL="$LIBDL -ldl" ac_cv_func_dlopen_ldl=yes], ac_cv_func_dlopen_ldl=no)
-
-# Use 'uname' output as an architecture define
-uname=`uname`
-case "$uname" in
-Darwin)
- uname=MacOS
- ;;
-esac
-AC_DEFINE_UNQUOTED(PCSC_ARCH, "$uname", [PC/SC target architecture])
-AC_DEFINE_UNQUOTED(MSC_ARCH, "$uname", [MuscleCard target architecture])
-
-# See if socket() is found from libsocket
-AC_CHECK_LIB(socket, socket, [LIBS="$LIBS -lsocket"])
-
-AC_SUBST(LIBUSB)
-# --enable-libusb=DIR
-AC_ARG_ENABLE(libusb,
- AC_HELP_STRING([--enable-libusb=PATH],[enable USB hotplug using libusb]),
- [
- case ${enableval} in
- "" | "yes" | "YES")
- ;;
- "no" | "NO")
- use_libusb=false
- ;;
- *)
- use_libusb=false
- libusb_prefix=${enableval}
- AC_CHECK_LIB(usb, usb_init, [LIBUSB="$LIBUSB -lusb" use_libusb=true ], [ use_libusb=false ], "-L${libusb_prefix}/lib")
- AC_CHECK_HEADERS(${libusb_prefix}/include/usb.h, [ use_libusb=true ], [ use_libusb=false ])
- if test x$use_libusb = xtrue; then
- CPPFLAGS="$CPPFLAGS -I${libusb_prefix}/include"
- LDFLAGS="$LDFLAGS -L${libusb_prefix}/lib"
- fi
- ;;
- esac
- ]
-)
-
-# if use_libusb is not yet defined
-if test x$use_libusb = x; then
- # check if libusb is available
- AC_CHECK_HEADERS(usb.h, [ use_libusb=true ], [ use_libusb=false ])
- AC_CHECK_LIB(usb, usb_init, [LIBUSB="$LIBUSB -lusb" use_libusb=true ], [ use_libusb=false ])
-fi
-
-AC_MSG_RESULT([enable libusb support : $use_libusb])
-
-if test x$use_libusb = xtrue; then
- AC_DEFINE(HAVE_LIBUSB,1, [Libusb is available])
-fi
-
-# --enable-usbdropdir=DIR
-AC_ARG_ENABLE(usbdropdir,
- AC_HELP_STRING([--enable-usbdropdir=DIR],[directory containing USB
- drivers (default /usr/local/pcsc/drivers)]),
-[usbdropdir="${enableval}"], [usbdropdir=false])
-if test x${usbdropdir} = xfalse ; then
- if test "x$prefix" != xNONE; then
- usbdropdir="$prefix/pcsc/drivers"
- else
- usbdropdir="$ac_default_prefix/pcsc/drivers"
- fi
-fi
-AC_MSG_RESULT([enable USB drop directory : $usbdropdir])
-AC_DEFINE_UNQUOTED(PCSCLITE_HP_DROPDIR, "$usbdropdir", [directory containing USB drivers])
-
-# --enable-debugatr
-AC_ARG_ENABLE(debugatr,
- AC_HELP_STRING([--enable-debugatr],[enable ATR debug messages from pcscd]),
-[ case "${enableval}" in
- yes) debugatr=true ;;
- no) debugatr=false ;;
- *) AC_MSG_ERROR([bad value ${enableval} for --enable-debugatr]) ;;
-esac], [debugatr=false])
-
-AC_MSG_RESULT([enable ATR parsing messages : $debugatr])
-
-if test x${debugatr} = xtrue ; then
- AC_DEFINE(ATR_DEBUG, 1, [display ATR parsing debug messages.])
-fi
-
-# --enable-scf
-AC_ARG_ENABLE(scf,
- AC_HELP_STRING([--enable-scf],[use SCF for reader support]),
-[ case "${enableval}" in
- yes) scf=true ;;
- no) scf=false ;;
- *) AC_MSG_ERROR([bad value ${enableval} for --enable-scf]) ;;
-esac], [scf=false])
-
-AC_SUBST(LIBSMARTCARD)
-if test x$scf = xtrue -a x$ac_cv_header_smartcard_scf_h = xyes; then
- AC_CHECK_LIB(smartcard, SCF_strerror, [LIBSMARTCARD="$LIBSMARTCARD -lsmartcard" scf=true], scf=false)
-else
- scf=false
-fi
-AC_MSG_RESULT([enable SCF reader support : $scf])
-AM_CONDITIONAL(HAVE_SCF, test x$scf = xtrue)
-
-# --enable-confdir=DIR
-AC_ARG_ENABLE(confdir,
-AC_HELP_STRING([--enable-confdir=DIR],[directory containing reader.conf
- (default /etc)]),
-[confdir="${enableval}"], [confdir=false])
-
-if test x${confdir} != xfalse ; then
- AC_MSG_RESULT([enable confdir : $confdir])
-else
- confdir="/etc"
- AC_MSG_RESULT([enable confdir : /etc (default)])
-fi
-
-# --enable-runpid=FILE
-AC_ARG_ENABLE(runpid,
- AC_HELP_STRING([--enable-runpid=FILE],[file containing pcscd pid]),
-[runpid="${enableval}"], [runpid=false])
-
-AC_MSG_RESULT([enable runpid : $runpid])
-
-# HAVE_RUNPID is for pcscd.8
-if test x${runpid} != xfalse ; then
- AC_DEFINE_UNQUOTED(USE_RUN_PID, "$runpid", [file containing pcscd pid])
- AC_SUBST(HAVE_RUNPID,'')
-else
- AC_SUBST(HAVE_RUNPID,'.\" ')
-fi
-
-# --enable-ipcdir=DIR
-AC_ARG_ENABLE(ipcdir,
- AC_HELP_STRING([--enable-ipcdir=DIR],[directory containing IPC files
- (default /var/run)]),
-[ipcdir="${enableval}"], [ipcdir=false])
-
-if test x${ipcdir} != xfalse ; then
- AC_MSG_RESULT([enable ipcdir : $ipcdir])
-
- AC_DEFINE_UNQUOTED(USE_IPCDIR, "$ipcdir", [directory containing IPC files (default /var/run)])
-else
- AC_MSG_RESULT([enable ipcdir : /var/run (default)])
-fi
-
-# --enable-extendedapdu
-AC_ARG_ENABLE(extendedapdu,
- AC_HELP_STRING([--enable-extendedapdu], [support of extended APDU (for APDU 256B < size < 32KB)]),
- [ case "${enableval}" in
- yes) extendedapdu=true ;;
- no) extendedapdu=false ;;
- *) AC_MSG_ERROR([bad value ${enableval} for --enable-extendedapdu]) ;;
- esac], [extendedapdu=false])
-
-AC_MSG_RESULT([enable extended APDU : $extendedapdu])
-
-if test x${extendedapdu} = xtrue ; then
- extended_apdu="#define PCSCLITE_ENHANCED_MESSAGING"
-else
- extended_apdu="#undef PCSCLITE_ENHANCED_MESSAGING"
-fi
-
-# --enable-muscledropdir=DIR
-AC_ARG_ENABLE(muscledropdir,
- AC_HELP_STRING([--enable-muscledropdir=DIR],[directory containing
- MuscleCard bundles (default /usr/local/pcsc/services)]),
- [muscledropdir="${enableval}"], [muscledropdir=false])
-if test x${muscledropdir} = xfalse ; then
- if test "x$prefix" != xNONE; then
- muscledropdir="$prefix/services"
- else
- muscledropdir="$ac_default_prefix/pcsc/services"
- fi
-fi
-AC_MSG_RESULT([enable MuscleCard bundles dir : $muscledropdir])
-AC_DEFINE_UNQUOTED(MSC_SVC_DROPDIR, "$muscledropdir", [directory containing MuscleCard bundles])
-
-# --enable-musclecarddebug
-AC_ARG_ENABLE(musclecarddebug,
- AC_HELP_STRING([--enable-musclecarddebug],[enable libmusclecard debug messages through pcscd]),
-[ case "${enableval}" in
- yes)
- musclecarddebug=true ;;
- no)
- musclecarddebug=false ;;
- *) AC_MSG_ERROR([bad value ${enableval} for --enable-musclecarddebug]) ;;
- esac], [musclecarddebug=true])
-AC_MSG_RESULT([enable MuscleCard debug : $musclecarddebug])
-if test x${musclecarddebug} = xfalse ; then
- AC_DEFINE(NO_MSC_DEBUG, 1, [disable MuscleCard debug messaging.])
-fi
-
-CPPFLAGS="-I\${top_srcdir}/src $CPPFLAGS"
-
-# HOST_TO_CCID
-if test "x$ac_cv_c_bigendian" = "xyes"; then
- AC_SUBST(host_to_ccid_16, ['((((x) >> 8) & 0xFF) + ((x & 0xFF) << 8))'])
- AC_SUBST(host_to_ccid_32, ['((((x) >> 24) & 0xFF) + (((x) >> 8) & 0xFF00) + ((x & 0xFF00) << 8) + (((x) & 0xFF) << 24))'])
- AC_MSG_RESULT([plateform endianess : big endian])
-else
- AC_SUBST(host_to_ccid_16, ['(x)'])
- AC_SUBST(host_to_ccid_32, ['(x)'])
- AC_MSG_RESULT([plateform endianess : little endian])
-fi
-
-# Setup dist stuff
-AC_SUBST(usbdropdir)
-AC_SUBST(confdir)
-AC_SUBST(runpid)
-AC_SUBST(extended_apdu)
-AC_SUBST(muscledropdir)
-AC_SUBST(host_to_ccid_16)
-AC_SUBST(host_to_ccid_32)
-AS_AC_EXPAND(confdir_exp,$confdir)
-AS_AC_EXPAND(sysconfdir_exp,$sysconfdir)
-AS_AC_EXPAND(sbindir_exp,$sbindir)
-AS_AC_EXPAND(localstatedir_exp,$localstatedir)
-
-# Write Makefiles
-AC_CONFIG_FILES([
-Makefile
-m4/Makefile
-doc/Makefile
-doc/doxygen.conf
-doc/pcscd.8
-doc/reader.conf.5
-doc/example/Makefile
-etc/Makefile
-etc/pcscd.init
-etc/reader.conf
-etc/update-reader.conf
-src/Makefile
-src/libpcsclite.pc
-src/PCSC/pcsclite.h
-src/PCSC/reader.h
-src/utils/Makefile
-win32/Makefile
-libmusclecard/Makefile
-libmusclecard/doc/Makefile
-libmusclecard/src/libmusclecard.pc
-libmusclecard/src/Makefile
-libmusclecard/utils/Makefile
-libmusclecard/utils/bundleTool/bundleTool.8
-libmusclecard/utils/bundleTool/Makefile
-])
-AC_OUTPUT
-
Deleted: tags/PCSC/rel-1_2_9-beta9/stamp-h.in
===================================================================
--- tags/rel-1_2_9-beta9/stamp-h.in 2005-11-27 19:56:09 UTC (rev 1762)
+++ tags/PCSC/rel-1_2_9-beta9/stamp-h.in 2005-11-27 20:02:37 UTC (rev 1765)
@@ -1 +0,0 @@
-timestamp
More information about the Pcsclite-cvs-commit
mailing list