-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathopenssl-README.txt
32 lines (24 loc) · 1.55 KB
/
openssl-README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
How to build openssl for Sandvox:
1. Update the source to a new version/tag if desired.
2. Select the target "openssl" in the Scheme popup.
3. Build. Just a regular Cmd-B build. No archiving or anything.
Because the builds are controlled by scripts, not Xcode, they always build for "release" with -O3, but also with debug info (such as it is with -O3).
Note also that the build outputs are:
libcrypto.dylib & libcrypto.dylib.dSYM
libssl.dylib & libssl.dylib.dSYM
openssl-build-include (the headers applicable to using this exact build of openssl)
All we're interested in is the libraries, not the app, etc.
4. Make a new git commit in SFTP if needed.
After updating/rebuilding OpenSSL, you should update/rebuild any libraries that depend on it, such as libssh2.
As of June 24, 2013, we've updated to the git submodule of OpenSSL (from the older CVS-based tarballs).
THE FOLLOWING DIRECTIONS ONLY APPLY TO OLDER, CVS TARBALL BUILDS.
OpenSSL is not a git submodule because openssl.org is a little behind the times.
They still use CVS.
So, the way to update the version of openssl we compile is:
1. Download a new version of the source distribution and corresponding MD5 file.
http://www.openssl.org/source/
2. Verify the MD5.
3. Unpack the tgz. You should get a folder named something like "openssl-1.0.1c".
4. Replace the entire contents of the "openssl" folder in this folder with the contents of the unpacked distribution.
5. Make a new git commit, etc.
You can check the version of the OpenSSL source by looking in the README file.