Commit Graph

102 Commits

Author SHA1 Message Date
Davide De Rosa b152da304e Use minor version for macOS only
See 084a0cca75
2020-04-18 16:28:33 +02:00
Davide De Rosa 1ff0936171 Default to OpenSSL 1.1.1f 2020-04-18 16:12:26 +02:00
Davide De Rosa 084a0cca75 Truncate SDK folder to minor version
Fixes #15
2020-04-18 14:58:40 +02:00
Davide De Rosa 7e774ecb47 Support arm64e
Credits to: https://github.com/x2on/OpenSSL-for-iPhone/pull/182
2020-03-01 22:55:21 +01:00
Felix Schulze 2148236b16 Remove test while building openssl
Fixes fork() issue
2020-03-01 22:35:43 +01:00
Davide De Rosa 1db1a8dc76 Bump version to 1.1.1 in scripts 2019-11-01 16:26:56 +01:00
Davide De Rosa 78a70f645d Add WatchOS targets to build script
Squash commits by ezathashim <ezathashim@mac.com>
2019-09-26 09:39:59 +02:00
Davide De Rosa a6958f4c9b Default to 64-bit only
- Raise platform targets.
- Drop 32-bit OpenSSL targets.
- Default to 1.1.0
2018-09-26 13:04:51 +02:00
Davide De Rosa dbba12308a Drop i386, deprecated in Xcode 10 2018-09-24 13:59:07 +02:00
Davide De Rosa 2bd9b363cc Restrict to SDKs supporting dynamic frameworks
- Start from iOS 8
- Never disable Bitcode
2018-02-08 16:51:28 +01:00
Davide De Rosa fbef7e0dca Prefix iOS archs for consistency 2018-02-08 16:45:10 +01:00
Davide De Rosa e455f1a1ae Add macOS archs/targets 2018-02-08 16:45:10 +01:00
Davide De Rosa 10b342fb7e Create frameworks for both iPhone and AppleTV 2017-10-01 21:53:50 +02:00
Felix Schulze 39d1e04c7b OpenSSL 1.0.2l 2017-05-25 20:23:22 +02:00
g4bor k0vacs db8e598554 Allow to disable embedding Bitcode for OpenSSL 1.1.0+ too 2017-03-13 02:20:27 +01:00
g4bor k0vacs fd0b497792 Disable embedding Bitcode: --disable-bitcode option added (for OpenSSL 1.0.2 and lower ONLY) 2017-03-07 14:14:39 +01:00
Anton Tieleman 9a9119669b Preprocessor error for unknown targets and include for TargetConditionals.h 2017-03-04 13:06:21 +01:00
Anton Tieleman 11857a8da6 Dynamically generate opensslconf.h intermediate file
- Only use intermediate file when building for multiple targets
2017-02-17 17:47:43 +01:00
Anton Tieleman 2316fa0cfb Commit to trigger CI 2017-02-03 23:08:33 +01:00
Anton Tieleman 97f7ec7881 Also determine latest version in a branch over https 2017-02-01 19:23:30 +01:00
Anton Tieleman 35951c2bdc Also switch to https for determining correct download path 2017-01-30 22:23:04 +01:00
Anton Tieleman d5cc504e70 Find archive on ftp, but download over https 2017-01-30 22:05:51 +01:00
Anton Tieleman 7832285d81 Download from ftp.openssl.org 2017-01-28 15:59:16 +01:00
Anton Tieleman fcfe48afdd OpenSSL 1.0.2k and 1.1.0d + Travis build with Xcode 8.2
- Also remove xctool lines since they won't support building for Xcode 8
2017-01-27 22:21:12 +01:00
Anton Tieleman 8a0cc68f6e Move 1.0 (archs) build loop to separate file and add 1.1 (targets) build loop 2016-11-06 12:20:48 +01:00
Anton Tieleman da61c4b088 Add OpenSSL config file for 1.1.0 build 2016-11-06 12:20:48 +01:00
Anton Tieleman 8709045b25 Move generic parts of build loop to functions 2016-11-06 12:20:48 +01:00
Anton Tieleman c683e1b3d8 Prepare for 1.1.0 build (amended)
- Prepare (command line) options
- Prepare script output for parallel 1.0.2/1.1.0 Travis build
- Show number of make threads
- cd to correct dir before removing source to prevent errors
2016-11-06 12:20:27 +01:00
Stephen Hinton 55c1f5bc15 OpenSSL 1.0.2j 2016-09-28 14:53:30 -05:00
Felix Schulze 74f5df8064 Merge branch 'master' into openssl-1.0.2i 2016-09-22 13:50:57 +02:00
Felix Schulze 3a7bc677ef OpenSSL 1.0.2i 2016-09-22 13:22:31 +02:00
Anton Tieleman 7c1e6c86d5 Check for errors in archive download, fix --version, whitespace consistency 2016-09-19 19:59:20 +02:00
Anton Tieleman 955b3df8bb Add branch option for building the latest version of a branch.
Use github API to determine latest version and verify download archive availability afterwards.
2016-09-18 23:19:23 +02:00
Anton Tieleman 1d9c392864 Review comments
- Maintain fixed default version in script
- Add --cleanup option for concious cleanup before building and remove directory-check
- Remove (for now) option to build latest version
2016-09-18 17:34:44 +02:00
Anton Tieleman 1967594392 Specify build configuration with command line parameters
- Added help message
- Command line arguments processing
- Retrieve latest version from 1.0.2 branch in case no version is specified
- Use script location as working dir
- Add summary of build options
- Clean up directories before build
2016-09-18 16:14:11 +02:00
Anton Tieleman 477160b2c9 Build loop updates
- Increase script 'safety' by checking for undefined variables
- Add comments, remove unused variables
- Align name of SOURCEDIR var with other vars
- Add compiler arguments and defines to LOCAL_CONFIG_OPTIONS where possible
- Remove change to ui_openssl.c since sig_atomic_t is now defined in the iOS SDK (also checked for 7.1) and removing it shows a compiler warning (ui_openssl.c:410:17: warning: type specifier missing, defaults to 'int' [-Wimplicit-int])
- Only add -isysroot option to Darwin builds since it is part of the compiler arguments for the iphoneos-cross target
2016-09-18 13:27:10 +02:00
Anton Tieleman c704379151 Parallel build (make -j) 2016-09-18 12:15:15 +02:00
Anton Tieleman 87982691e2 Move ARCHS to config section and add documentation 2016-09-18 11:28:27 +02:00
Anton Tieleman 40f636f7f9 Merge changes from upstream/master 2016-09-18 11:26:46 +02:00
Anton Tieleman 74c4341f71 Fix error handling for non-verbose mode, add verbose-on-error
- Error handling was broken since spinner() did not return the status of the command that was executed.
- New option verbose-on-error to limit output, but still log in case of errors (for Travis builds)
- Check for errors during make depend
- Also log to file for verbose builds
- Remove make clean since the full build directory is removed anyway
- Make spinner cursor less nervous
2016-09-18 00:34:08 +02:00
Anton Tieleman 0f2afa24af Allow build of subset of archs: make lipo arguments dynamic and copy include files from first built ARCH 2016-09-17 14:54:55 +02:00
zeroimpl db5a35acae Enable bitcode for iOS 10 SDK and beyond 2016-09-11 23:15:23 -04:00
Felix Schulze fe8b1464db Xcode 7.3 support, iOS 9.3 2016-08-09 18:47:06 +02:00
Stephen Hinton e50a25b5dd OpenSSL 1.0.2h 2016-05-04 12:11:59 -05:00
Steffen André Langnes e154f51cd4 Fixed broken download/extraction of OpenSSL archives by getting them from GitHub.
The reason for this is that old archived versions of OpenSSL do not exist any more in the original location.
2016-03-08 18:51:06 +01:00
zhzenghui 38b30de71b update openssl version
1.0.2f is remove
2016-03-02 11:02:18 +08:00
Felix Schulze 6f7e96be30 OpenSSL 1.0.2f
Fixes #88
Fixes #89
2016-01-31 19:21:05 +01:00
omochimetaru 7c6d93ff18 isolate openssl source per build 2016-01-11 20:32:12 +09:00
omochimetaru e265fb2b91 wrap too long lines 2016-01-06 12:29:06 +09:00
omochimetaru 9f71eb4855 fix indent
replace all tabs to 2 spaces
apply same indent rule (e.g. case statement)
2016-01-06 12:08:17 +09:00