NB! This project is outdated and unmaintained, please refer to the OpenSC WindowsInstaller instead!

source: trunk/README @ 65

Revision 65, 2.7 KB checked in by aj, 6 years ago (diff)

changes for new smart card bundle 0.7.

Line 
1Howto build the windows big package.
2
31.) Download
4        If you have wget installed, you can do this on unix:
5                make -f Makefile.mak download
6        or windows:
7                nmake -f Makefile.mak download
8
9        ZLib dll package
10        http://www.zlib.net/zlib123-dll.zip
11
12        OpenSSL source code
13        http://www.openssl.org/source/openssl-0.9.8a.tar.gz
14
15        OpenSC source code
16        http://www.opensc-project.org/files/opensc/opensc-0.11.1.tar.gz
17
18        Libp11 source code
19        http://www.opensc-project.org/files/libp11/libp11-0.2.1.tar.gz
20
21        Engine_pkcs11 source code
22        http://www.opensc-project.org/files/engine_pkcs11/engine_pkcs11-0.1.3.tar.gz
23
24        Putty source code (for unix)
25        http://the.earth.li/~sgtatham/putty/latest/putty-0.58.tar.gz
26
27        Smart card patch for Putty
28        http://www.opensc-project.org/svn/scb/trunk/putty-0.58-smartcard.diff
29
30        Microsoft Cryptographic Service Provider Development Kit
31        http://www.microsoft.com/downloads/ -> Search for CSPDK
32                -> Pick the download 2001-06-29
33
34        The Build system also needs Visual C (c compiler, linker, nmake),
35        Perl and the Inno Setup Program.
36       
37        To install Inno Setup, use the pack (it includes the pre compiler)
38        http://files.jrsoftware.org/ispack/ispack-5.0.7.exe
39
40        Libtool for windows, gnuwin32 port
41        http://gnuwin32.sourceforge.net/packages/libtool.htm
42
432.) patch putty on a unix system
44        tar xfvz putty-0.58.tar.gz
45        cd putty-0.58
46        patch -p1 < ../putty-0.58-smartcard.diff
47        cd ..
48        tar cfvz putty-0.58-smartcard.tar.gz putty-0.58
49        rm -rf putty-0.58/
50
513.) update the html documentation on a unix systems
52        cd doc
53        ./export.sh
54    uses wget, xsltproc, w3c-dtd-xhtml, docbook, doxygen
55
564.)     copy these files to some folder on a windows machine:
57        ChangeLog LICENSE MANIFEST Makefile.mak README csp11.dll
58        csp11.url cspdk.exe editconf.c engine_pkcs11-0.1.3.tar.gz
59        libp11-0.2.1.tar.gz opensc-0.10.1.tar.gz opensc.conf opensc.url
60        openssl-0.9.8a.tar.gz putty-0.58-smartcard.tar.gz zlib123-dll.zip
61        putty.url scb.iss
62
63        and the csp/ and doc/ subdirectories.
64
655.)     use winzip or 7-zip to "Extract here" all *.tar.gz files.
66        also use winzip to extract the cspdk.exe to folder cspdk.
67        also use winzip to extract zlib123-dll.zip to folder zlib123-dll.
68
696.)     edit Makefile.mak, set TARGET to some valid directory
70       
71        Also you need to decide if you want your self compiled
72        csp11.dll to be included or the one provided (signed by
73        microsoft). Edit CSP settint to reflect that.
74
757.)     run a "cmd" shell, insite it run "nmake /f Makefile.mak"
76
77
78NOTES:
79also see 
80svn co http://www.opensc-project.org/svn/ideelabor/trunk/mp/windows-installer/
81for martin paljaks estonian specific installer.
82
83TODO:
84 - add scb documentation to install
85 - fix scb.iss (e.g. Run section, add a description, make it mandatory).
86 - maybe install mozilla stuff?
87 - where did the icons in csp come from? add credits...
Note: See TracBrowser for help on using the repository browser.