Changeset 38
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r36 r38 5 5 - prepend sc to ssh executables and man pages, 6 6 so /Library/OpenSC/bin can be put in $PATH 7 - reorganize the doc directory 7 8 8 9 Version 0.1.7 -
trunk/Makefile
r36 r38 1 1 BUILDHOME = $(PWD) 2 2 OPENSCVERSION = 0.10.1 3 SCAVERSION = 0.1. 73 SCAVERSION = 0.1.8 4 4 LIBP11VERSION = 0.2.1 5 5 ENGINEVERSION = 0.1.3 … … 135 135 build-opensc: 136 136 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" \ 138 139 ./configure --prefix=/Library/OpenSC --sysconfdir=/Library/OpenSC/etc && \ 139 140 make && \ … … 142 143 build-libp11: 143 144 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" \ 145 147 ./configure --prefix=/Library/OpenSC && \ 146 148 make && \ … … 149 151 build-engine: 150 152 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" \ 152 155 ./configure --prefix=/Library/OpenSC --with-openssl=$(BUILDHOME)/compiled-openssl/Library/OpenSC && \ 153 156 make && \ … … 228 231 mkdir -p compiled-opensc/Library/OpenSC/etc/ 229 232 cp opensc/etc/opensc.conf compiled-opensc/Library/OpenSC/etc/opensc.conf.orig 230 mkdir -p compiled-opensc/Library/OpenSC/doc/ html231 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/ html233 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 235 238 mkdir -p compiled-libp11/Library/OpenSC/doc/libp11/examples 236 239 cp libp11/doc/*.html compiled-libp11/Library/OpenSC/doc/libp11 237 240 cp libp11/doc/*.css compiled-libp11/Library/OpenSC/doc/libp11 238 241 cp libp11/examples/* compiled-libp11/Library/OpenSC/doc/libp11/examples 242 cp howto compiled-opensc/Library/OpenSC/doc/build-howto.txt 239 243 mkdir -p compiled-engine/Library/OpenSC/doc/engine_pkcs11 240 244 cp engine_pkcs11/doc/*.html compiled-engine/Library/OpenSC/doc/engine_pkcs11 … … 295 299 rm -rf /Library/Receipts/OpenSC.pkg 296 300 rm -rf /Library/Receipts/openssh.pkg 297 rm -rf /Library/Receipts/opensc .tokend.pkg301 rm -rf /Library/Receipts/opensc_tokend.pkg 298 302 rm -rf /Library/OpenSC 303 rm -rf /System/Library/Security/tokend/OpenSC.tokend 299 304 300 305 uninstall-pcscd_autostart: -
trunk/howto
r37 r38 1 1 Requirements 2 2 ------------ 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) 4 4 - Install Xcode 2.2 from Apple on their developer site 5 5 (http://developer.apple.com/tools/xcode/index.html) for the ADC member. … … 42 42 -rwxr-xr-x 1 root wheel 74684 Nov 3 00:50 /usr/lib/libltdl.3.dylib 43 43 lrwxr-xr-x 1 root wheel 15 Nov 15 13:04 /usr/lib/libltdl.dylib -> libltdl.3.dylib 44 md5sum /usr/lib/libltdl.3.dylib45 2e28e97a6e6d4495ce346a0b654b7556 /usr/lib/libltdl.3.dylib46 44 47 45 2. libreadline library … … 53 51 http://www.opensc-project.org/opensc/wiki/MacOsXTokend. 54 52 53 Be sure pcscd is running 54 ------------------------ 55 With your card reader installed, check ' ps ax | grep pcscd | grep -v "grep pcscd" ' 56 If it is not running, re-run SCA installer, go to 'Personalize' 57 and select 'Smartcard reader autostart fix'. 58 If pcscd is running, insert a smartcard, and try 'pcsctest' 59 55 60 To test engine_pkcs11 56 61 --------------------- … … 61 66 To use SmartCard enabled OpenSSH 62 67 -------------------------------- 68 NB: 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. 63 71 - read your smartcard content with /Library/OpenSC/bin/scssh-keygen -D0 64 72 - append the long line beginning with ssh-rsa from the previous command to ~/.ssh/authorized_keys
