Changeset 38

Show
Ignore:
Timestamp:
01/24/06 12:06:07 (3 years ago)
Author:
jps
Message:

work on the doc

Location:
trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r36 r38  
    55- prepend sc to ssh executables and man pages,  
    66    so /Library/OpenSC/bin can be put in $PATH 
     7- reorganize the doc directory 
    78 
    89Version 0.1.7 
  • trunk/Makefile

    r36 r38  
    11BUILDHOME = $(PWD) 
    22OPENSCVERSION = 0.10.1 
    3 SCAVERSION = 0.1.7 
     3SCAVERSION = 0.1.8 
    44LIBP11VERSION = 0.2.1 
    55ENGINEVERSION = 0.1.3 
     
    135135build-opensc: 
    136136        cd opensc && \ 
    137         OPENSSL_CFLAGS="-I$(BUILDHOME)/compiled-openssl/Library/OpenSC/include" OPENSSL_LIBS="-L$(BUILDHOME)/compiled-openssl/Library/OpenSC/lib -lcrypto" \ 
     137        OPENSSL_CFLAGS="-I$(BUILDHOME)/compiled-openssl/Library/OpenSC/include" \ 
     138        OPENSSL_LIBS="-L$(BUILDHOME)/compiled-openssl/Library/OpenSC/lib -lcrypto" \ 
    138139        ./configure --prefix=/Library/OpenSC --sysconfdir=/Library/OpenSC/etc && \ 
    139140        make && \ 
     
    142143build-libp11: 
    143144        cd libp11 && \ 
    144         OPENSSL_CFLAGS="-I$(BUILDHOME)/compiled-openssl/Library/OpenSC/include" OPENSSL_LIBS="-L$(BUILDHOME)/compiled-openssl/Library/OpenSC/lib -lcrypto" \ 
     145        OPENSSL_CFLAGS="-I$(BUILDHOME)/compiled-openssl/Library/OpenSC/include" \ 
     146        OPENSSL_LIBS="-L$(BUILDHOME)/compiled-openssl/Library/OpenSC/lib -lcrypto" \ 
    145147        ./configure --prefix=/Library/OpenSC && \ 
    146148        make && \ 
     
    149151build-engine: 
    150152        cd engine_pkcs11  && \ 
    151         LIBP11_CFLAGS="-I$(BUILDHOME)/compiled-libp11/Library/OpenSC/include" LIBP11_LIBS="-L$(BUILDHOME)/compiled-libp11/Library/OpenSC/lib -lp11" \ 
     153        LIBP11_CFLAGS="-I$(BUILDHOME)/compiled-libp11/Library/OpenSC/include" \ 
     154        LIBP11_LIBS="-L$(BUILDHOME)/compiled-libp11/Library/OpenSC/lib -lp11" \ 
    152155        ./configure --prefix=/Library/OpenSC --with-openssl=$(BUILDHOME)/compiled-openssl/Library/OpenSC && \ 
    153156        make && \ 
     
    228231        mkdir -p compiled-opensc/Library/OpenSC/etc/ 
    229232        cp opensc/etc/opensc.conf compiled-opensc/Library/OpenSC/etc/opensc.conf.orig 
    230         mkdir -p compiled-opensc/Library/OpenSC/doc/html 
    231         cp  opensc/doc/ChangeLog compiled-opensc/Library/OpenSC/doc/ 
    232         cp  opensc/doc/*.html compiled-opensc/Library/OpenSC/doc/ 
    233         cp  opensc/doc/*.css compiled-opensc/Library/OpenSC/doc/ 
    234         cp  opensc/doc/html/*.html compiled-opensc/Library/OpenSC/doc/html 
     233        mkdir -p compiled-opensc/Library/OpenSC/doc/opensc/html 
     234        cp  opensc/doc/ChangeLog compiled-opensc/Library/OpenSC/doc/opensc/ 
     235        cp  opensc/doc/*.html compiled-opensc/Library/OpenSC/doc/opensc/ 
     236        cp  opensc/doc/*.css compiled-opensc/Library/OpenSC/doc/opensc/ 
     237        cp  opensc/doc/html/*.html compiled-opensc/Library/OpenSC/doc/opensc/html 
    235238        mkdir -p compiled-libp11/Library/OpenSC/doc/libp11/examples 
    236239        cp libp11/doc/*.html compiled-libp11/Library/OpenSC/doc/libp11 
    237240        cp libp11/doc/*.css compiled-libp11/Library/OpenSC/doc/libp11 
    238241        cp libp11/examples/* compiled-libp11/Library/OpenSC/doc/libp11/examples 
     242        cp howto compiled-opensc/Library/OpenSC/doc/build-howto.txt 
    239243        mkdir -p compiled-engine/Library/OpenSC/doc/engine_pkcs11 
    240244        cp engine_pkcs11/doc/*.html compiled-engine/Library/OpenSC/doc/engine_pkcs11 
     
    295299        rm -rf /Library/Receipts/OpenSC.pkg 
    296300        rm -rf /Library/Receipts/openssh.pkg 
    297         rm -rf /Library/Receipts/opensc.tokend.pkg 
     301        rm -rf /Library/Receipts/opensc_tokend.pkg 
    298302        rm -rf /Library/OpenSC 
     303        rm -rf /System/Library/Security/tokend/OpenSC.tokend 
    299304         
    300305uninstall-pcscd_autostart:       
  • trunk/howto

    r37 r38  
    11Requirements 
    22------------ 
    3 - Mac OS X 10.4 (With latest updates, currently 10.4.3) 
     3- Mac OS X 10.4 (With latest updates, currently 10.4.4) 
    44- Install Xcode 2.2 from Apple on their developer site 
    55(http://developer.apple.com/tools/xcode/index.html) for the ADC member. 
     
    4242-rwxr-xr-x   1 root  wheel  74684 Nov  3 00:50 /usr/lib/libltdl.3.dylib 
    4343lrwxr-xr-x   1 root  wheel     15 Nov 15 13:04 /usr/lib/libltdl.dylib -> libltdl.3.dylib 
    44 md5sum /usr/lib/libltdl.3.dylib 
    45 2e28e97a6e6d4495ce346a0b654b7556  /usr/lib/libltdl.3.dylib 
    4644 
    47452. libreadline library 
     
    5351http://www.opensc-project.org/opensc/wiki/MacOsXTokend.  
    5452 
     53Be sure pcscd is running 
     54------------------------ 
     55With your card reader installed, check ' ps ax | grep pcscd | grep -v "grep pcscd" ' 
     56If it is not running, re-run SCA installer, go to 'Personalize'  
     57and select 'Smartcard reader autostart fix'. 
     58If pcscd is running, insert a smartcard, and try 'pcsctest' 
     59 
    5560To test engine_pkcs11 
    5661--------------------- 
     
    6166To use SmartCard enabled OpenSSH 
    6267-------------------------------- 
     68NB: all executables are prepended with a 'sc' (ssh -> scssh), so there is no conflict 
     69    with the native executables installed with MacOSX.  
     70    Yan can also add /Library/OpenSC/bin to your $PATH without conflict. 
    6371- read your smartcard content with /Library/OpenSC/bin/scssh-keygen -D0 
    6472- append the long line beginning with ssh-rsa from the previous command to ~/.ssh/authorized_keys