Initial support for MacOS is now available
[openssl.git] / INSTALL.MacOS
1 OpenSSL - Port To The Macintosh
2 ===============================
3
4 Thanks to Roy Wood <roy@centricsystems.ca> initial support for MacOS (pre
5 X) is now provided. "Initial" means that unlike other platforms where you
6 get an SDK and a "swiss army" openssl application, on Macintosh you only
7 get one sample application which fetches a page over HTTPS(*) and dumps it
8 in a window. We don't even build the test applications so that we can't
9 guarantee that all algorithms are operational.
10
11 Required software:
12
13 - StuffIt Expander      (or any program capable to "unbinhex");
14 - DropStuff w/EE        (or MacGzip and SUNtar);
15 - CodeWarrior Pro 5;
16
17 Installation procedure:
18
19 - fetch the source at ftp://ftp.openssl.org/ (well, you probably already
20   did, huh?)
21 - unpack the .tar.gz file:
22         - if you have DropStuff w/EE installed then just drag it over
23           StuffIt Expander;
24         - otherwise process it first with MacGzip and then with SUNtar;
25 - locate MacOS folder in OpenSSL source tree and open it;
26 - unbinhex mklinks.as.hqx and OpenSSL.mcp.hqx in place;
27 - double-click on mklinks.as;
28 - open OpenSSL.mcp and compile 'GetHTTPS PPC' target;
29 - that's it;
30
31 (*)     URL is hardcoded into GetHTTPS Sources/GetHTTPS.cpp
32
33 Finally some essential comments from our generous contributor:-)
34
35 "I've gotten OpenSSL working on the Macintosh. It's probably a bit of a
36 hack, but it works for what I'm doing. If you don't like the way I've done
37 it, then feel free to change what I've done. I freely admit that I've done
38 some less-than-ideal things in my port, and if you don't like the way I've
39 done something, then feel free to change it-- I won't be offended!
40
41 ... I've tweaked "bss_sock.c" a little to call routines in a "MacSocket"
42 library I wrote. My MacSocket library is a wrapper around OpenTransport,
43 handling stuff like endpoint creation, reading, writing, etc. It is not
44 designed as a high-performance package such as you'd use in a webserver,
45 but is fine for lots of other applications. MacSocket also uses some other
46 code libraries I've written to deal with string manipulations and error
47 handling. Feel free to use these things in your own code, but give me
48 credit and/or send me free stuff in appreciation! :-)
49
50 ...
51
52 If you have any questions, feel free to email me as the following:
53
54 roy@centricsystems.ca
55
56 -Roy Wood"