Check-in [6e6d64508e]
Overview
Comment:Added LICENSE and README

Renamed aclocal PCSC script

Added warnings for PC/SC libraries and headers not being found

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:6e6d64508e1769325101856cb68fc028c13d1687
User & Date: rkeene on 2010-06-07 04:41:59
Other Links: manifest | tags
Context
2010-06-07
08:40
Added a test program to configure script check-in: 8c2970ff5d user: rkeene tags: trunk
04:41
Added LICENSE and README

Renamed aclocal PCSC script

Added warnings for PC/SC libraries and headers not being found check-in: 6e6d64508e user: rkeene tags: trunk

2010-06-05
23:46
Updated to create Debian package from RPM version check-in: 8757ba0280 user: rkeene tags: trunk
Changes

Added LICENSE version [f98e58efa6].

            1  +The following files in this directory are the intellectual property of the
            2  +Free Software Foundation and are licensed under the terms of the GNU General
            3  +Public License (GPL):
            4  +	config.guess, config.sub, install-sh
            5  +
            6  +The files in this directory and the "leakcheck" directory are the intellectual
            7  +property of the United States Government.  It is not clear which, if any,
            8  +license is made on them.  In addition, as of 07-JUN-2010 they have not be
            9  +cleared for public release.
           10  +
           11  +The files in the "pkcs11/" directory are licensed under the terms of the
           12  +following licenses:
           13  +	mypkcs11.h : GNU General Public License 2.1.
           14  +	pkcs11.h   : GNU General Public License 2.1.
           15  +	pkcs11f.h  : GNU General Public License 2.1.
           16  +	pkcs11n.h  : Mozilla Public License or GNU General Public License
           17  +	pkcs11t.h  : GNU General Public License 2.1.

Added README.txt version [3ecf224bab].

            1  +Description:
            2  +	CACKey provides a standard interface (PKCS#11) for smartcards connected
            3  +	to a PC/SC compliant reader.  It performs a similar function to
            4  +	"CoolKey", but only supports Government Smartcards.  It supports all
            5  +	Government Smartcards that implement the Government Smartcard
            6  +	Interoperability Specification (GSC-IS) v2.1 or newer.  
            7  +
            8  +Compiling:
            9  +	$ ./configure
           10  +	$ make
           11  +	# make install
           12  +
           13  +	This will install two libraries (libcackey.so, and libcackey_g.so) into
           14  +	"/usr/local/lib".
           15  +
           16  +Usage:
           17  +	The libraries "libcackey.so" and "libcackey_g.so" are RSA PKCS#11
           18  +	Providers.  They are meant to be linked into any application that
           19  +	requires a PKCS#11 provider.
           20  +
           21  +	The library "libcackey.so" is meant for general purpose use.
           22  +
           23  +	The library "libcackey_g.so" is for debugging purposes.  It has
           24  +	debugging symbols compiled in and generates debugging information on
           25  +	stderr.
           26  +
           27  +Testing:
           28  +	$ make test
           29  +	$ ./test
           30  +	 - or -
           31  +	$ ./test 2>cackey_debug.log

Modified aclocal/Makefile from [650b2584c6] to [2810947b90].

     1         -../aclocal.m4: acx_pthread.m4 dc_shobjs.m4 dc_pcscheaders.m4 dc_versionscript.m4
            1  +../aclocal.m4: acx_pthread.m4 dc_shobjs.m4 dc_pcsc.m4 dc_versionscript.m4
     2      2   	cat $^ > "$@"

Modified aclocal/dc_pcsc.m4 from [0105515e9a] to [9403cfa6bd].

    39     39   
    40     40   	CFLAGS="${SAVE_CFLAGS}${ADD_CFLAGS}"
    41     41   	CPPFLAGS="${SAVE_CPPFLAGS}${ADD_CPPFLAGS}"
    42     42   
    43     43   	unset ac_cv_header_winscard_h
    44     44   	AC_CHECK_HEADER(winscard.h, [
    45     45   		AC_DEFINE(HAVE_WINSCARD_H, [1], [Define if you have the PCSC-Lite header file (you should)])
           46  +	], [
           47  +		AC_MSG_WARN([unable to find winscard.h from PC/SC, compilation will likely fail.])
    46     48   	])
    47     49   ])
    48     50   
    49     51   AC_DEFUN(DC_PCSC_LIBS, [
           52  +	foundlib="0"
    50     53   	for lib in pcsclite pcsc-lite pcsc; do
    51     54   		AC_CHECK_LIB(${lib}, SCardEstablishContext, [
    52     55   			LIBS="${LIBS} -l${lib}"
           56  +
           57  +			foundlib="1"
    53     58   
    54     59   			break
    55     60   		])
    56     61   	done
    57     62   
           63  +	if test "${foundlib}" = "0"; then
           64  +		AC_MSG_WARN([unable to find PCSC library, compilation will likely fail.])
           65  +	fi
           66  +
           67  +	dnl Check for SCardIsValidContext, only in newer PCSC-Lite
    58     68   	AC_CHECK_FUNCS(SCardIsValidContext)
    59     69   ])
    60     70   
    61     71   AC_DEFUN(DC_PCSC, [
    62     72   	DC_PCSC_HEADERS
    63     73   	DC_PCSC_LIBS
    64     74   ])

Modified configure.ac from [e7fe7d4dc9] to [6f842ced7b].

    10     10   dnl Determine this platform
    11     11   DC_CHK_OS_INFO
    12     12   
    13     13   dnl Determine how to create shared objects on this platform
    14     14   DC_GET_SHOBJFLAGS
    15     15   
    16     16   ACX_PTHREAD(, [
    17         -	AC_WARN([Can't figure out how to compile with pthreads support, run-time will likely fail.])
           17  +	AC_MSG_WARN([Can not figure out how to compile with pthreads support, run-time will likely fail.])
    18     18   ])
    19     19   
    20     20   dnl Determine how to create static archives on this platform
    21     21   AC_CHECK_TOOL(AR, ar)
    22     22   AC_CHECK_TOOL(RANLIB, ranlib)
    23     23   
    24     24   dnl Determine how to strip executables