OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Ludovic Rousseau (ludovic.rousseaufree.fr)
Date: Thu Jan 10 2002 - 17:03:16 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hi,

    I just send to Dave a new proposed version for pcsc-lite 1.0.2 (beta 3).
    The files (patch and complete archive) should be available soon on the
    web site.

    The main advantage of this version is that the daemon will exist cleanly
    when you try to kill him (Ctrl-C or kill (no -9 please)).
    - properly call the CloseChannel of each driver so the driver can power
      off the card and close the ports (serial, usb, etc.)
    - clean and remove /tmp/pcscd/ directory

    This version has been testes under GNU/Linux (Debian woody) and OpenBSD
    3.0. Under OpenBSD you must use the libc.so.28.2 (the 3.0 comes with
    libc.so.28.0) otherwhise the signal handler will not work properly.

    This version does not compile (yet) under MacOSX. I think I don't have
    the good tools version for automake/autoconf.

    Any comments are welcome.

    Changelog:

    pcsc-lite-1.0.2beta3: (Ludovic Rousseau <ludovic.rousseaufree.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 <tonisoth.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

    -- 
     Dr. Ludovic Rousseau                        Ludovic.Rousseaufree.fr
     -- Normaliser Unix c'est comme pasteuriser le Camembert, L.R. --
    ***************************************************************
    Unix Smart Card Developers - M.U.S.C.L.E.
    (Movement for the Use of Smart Cards in a Linux Environment)
    http://www.linuxnet.com/
    To unsubscribe send an email to majordomolinuxnet.com with
    unsubscribe sclinux
    ***************************************************************