Commit Graph

126 Commits

Author SHA1 Message Date
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
Alessandro Miliucci 64b87a6aa6 CURL options to support connection options
e.g. to work behind a corporate proxy:
CURL_OPTIONS="--proxy http://corpproxy.pro"
2015-09-18 15:16:52 +02:00
gpongelli a18e098165 enable-ec_nistp_64_gcc_128 configuration
Set enable-ec_nistp_64_gcc_128 configuration for x64 archs
2015-08-21 16:34:06 +02:00
gpongelli 4067f5ae98 Check on $CONFIG_OPTION
Added check on $CONFIG_OPTION to conditionally execute make depend .
2015-08-13 03:06:10 +02:00
gpongelli 03b648cf1b Added configuration option variable.
Added "make depend", to be run when disabling algorithms and "install_sw" to install only software without docs.
2015-08-11 20:19:00 +02:00
Felix Schulze 0a4bc1d826 Change MIN_SDK_VERSION to 7.9 2015-08-07 07:59:36 +02:00
Felix Schulze a8982557cc Add support for bitcode #Fixes 56 2015-08-06 08:02:24 +02:00
Felix Schulze a7973c4c4a OpenSSL 1.0.2d 2015-07-09 15:15:04 +02:00
Felix Schulze a6e8008064 Modernize demo project using AutoLayout 2015-06-15 17:33:25 +02:00
RxCAI 38a974ba8f OpenSSL 1.0.2c 2015-06-15 16:17:43 +02:00
Mark Pfluger c5f0e16cca OpenSSL 1.0.2b 2015-06-11 11:35:33 -04:00
Mark Pfluger 6f01046519 OpenSSL version bump: 1.0.2a 2015-03-19 12:27:33 -04:00
Felix Schulze 11feea5fb0 OpenSSL 1.0.2 2015-01-27 18:43:37 +01:00
Felix Schulze 378f6915f4 OpenSSL 1.0.1l 2015-01-17 17:32:27 +01:00
Felix Schulze 5521f68bc8 Update build-libssl.sh 2015-01-09 21:16:45 +01:00
Maxim V. Potapov ac9f9a9bb5 using secure connection for getting sources 2014-12-11 21:00:20 +03:00
Felix Schulze f04b4fd964 Update build-libssl.sh 2014-10-15 17:00:07 +02:00
Nesterenko Dmitry 8847a220b0 Update build-libssl.sh 2014-09-18 14:13:10 +04:00
Felix Schulze fdafd9e912 OpenSSL 1.0.1i 2014-08-08 22:40:55 +02:00
Felix Schulze 9e1e66d4bf OpenSSL 1.0.1h 2014-06-05 13:28:49 -07:00
Felix Schulze b9e0ff0952 Verbose logging for travis 2014-04-17 15:38:35 +02:00
Felix Schulze 405119928c OpenSSL 1.0.1g 2014-04-07 21:33:14 +02:00
Felix Schulze 98b16f4097 Change SDK Version for Xcode 5.1 2014-03-12 15:22:49 +01:00
Felix Schulze 57b4d2a5e6 Check if Xcode path contains whitespace. Fixes #23 2014-02-07 07:45:57 +01:00
Felix Schulze b689d3faf2 OpenSSL 1.0.1f 2014-01-07 16:07:40 +01:00
Felix Schulze a1666603b7 More error information for configure and make 2013-11-11 20:17:59 +01:00
Felix Schulze 401212334c Error if path contains whitespaces. Fixes #20 2013-10-12 14:42:23 +02:00
Felix Schulze b6dd1dbcf7 Add support for x86_64
Fixes #21
2013-10-12 14:05:36 +02:00
Michael Wermeester 05ea633636 - Add arm64 architecture support.
- Change base SDK to iOS 7.0.
2013-09-22 19:25:42 +02:00
Mato c95c2233c2 check openssl version for configuration 2013-05-17 12:34:19 +02:00
Felix Schulze 2a466e41bf OpenSSL 1.0.1e + iOS 6.1 2013-03-02 21:44:30 +01:00
Felix Schulze 452e6c0dcb Support for iOS 6.0 and iPhone 5 (armv7s) - Remove armv6 support 2012-09-21 22:23:49 +02:00
Stephane Peter 5089259366 Use the CROSS_* variables to simplify the script a bit. 2012-07-22 05:08:12 -07:00
Stephane Peter 60824d742d Use the OpenSSL iphoneos-cross target instead of the generic BSD one. 2012-07-22 05:01:18 -07:00
Dmytro Yashkir e1a32b5db2 added check that xcode-path return existing directory, to check xcode 4.3 command line tools install issue 2012-07-11 14:34:48 -04:00
Felix Schulze 195850bb2e OpenSSL 1.0.1c 2012-05-17 21:20:58 +02:00
Felix Schulze 34e1dc6e4e OpenSSL 1.0.1b 2012-05-02 08:59:09 +02:00
Marcus Karlsson 20be38aa05 Fix build errors on case sensitive file systems
Building OpenSSL for iPhone on a case sensitive file system was not
possible because some paths did not use the correct path names.
2012-04-22 10:26:05 +02:00
Felix Schulze 91edf5290f OpenSSL 1.0.1 2012-04-01 19:34:06 +02:00
Felix Schulze c637f773a9 Dynamic Developer path for Xcode 4.3 2012-02-21 20:41:47 +01:00
Felix Schulze 7333cb85fd Optimize build script + OpenSSL 1.0.0g 2012-01-28 20:20:37 +01:00
Felix Schulze 3383aa74bd OpenSSL 1.0.0e 2011-10-23 19:29:44 +02:00
Felix Schulze 24082f6047 OpenSSL 1.0.0d 2011-02-08 21:36:00 +01:00
Felix Schulze 04a1f49878 Script for building OpenSSL 2010-12-16 20:08:02 +01:00