Commit Graph

93 Commits

Author SHA1 Message Date
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
Felix Schulze 208b2bf9cc Merge pull request #76 from x2on/show-progress
Add spinner for progress
2015-12-11 23:50:14 +01:00
Peter Zhou fd7f063923 Using the headers for x86_64 instead of i386
RC4_INT is defined as unsigned char for i386, armv7, armv7s, arm64 which causes stack corruption for x86_64 platform.
2015-12-10 12:09:42 -08:00
Felix Schulze 86e3926087 More verbose 2015-12-08 18:24:38 +01:00
Felix Schulze ae252f2d30 Add spinner for progress 2015-12-07 18:51:50 +01:00
Felix Schulze a8aeebfac5 Add some output 2015-12-07 18:41:03 +01:00
Felix Schulze 9d029f5daa OpenSSL 1.0.2e 2015-12-03 20:12:59 +01:00
Felix Schulze 24dc55b6a3 Fix variable 2015-11-16 19:47:23 +01:00
Felix Schulze a9ab81be88 Add support for tvOS 2015-11-16 19:33:54 +01:00
Felix Schulze 9bfe4d0518 Bitcode for Xcode 7.1
Fixes #65
2015-10-25 22:21:39 +01:00