Bump version to 1.1.1 in scripts

This commit is contained in:
Davide De Rosa 2019-11-01 16:26:46 +01:00
parent 9d17aa197b
commit 1db1a8dc76
2 changed files with 11 additions and 11 deletions

View File

@ -4,7 +4,7 @@
![tvOS support](https://img.shields.io/badge/tvOS-11+-blue.svg) ![tvOS support](https://img.shields.io/badge/tvOS-11+-blue.svg)
![macOS support](https://img.shields.io/badge/macOS-10.11+-blue.svg) ![macOS support](https://img.shields.io/badge/macOS-10.11+-blue.svg)
![watchOS support](https://img.shields.io/badge/watchOS-4.0+-blue.svg) ![watchOS support](https://img.shields.io/badge/watchOS-4.0+-blue.svg)
![OpenSSL version](https://img.shields.io/badge/OpenSSL-1.1.0i-green.svg) ![OpenSSL version](https://img.shields.io/badge/OpenSSL-1.1.1d-green.svg)
![OpenSSL version](https://img.shields.io/badge/OpenSSL-1.0.2o-green.svg) ![OpenSSL version](https://img.shields.io/badge/OpenSSL-1.0.2o-green.svg)
[![license](https://img.shields.io/badge/license-Apache%202.0-lightgrey.svg)](LICENSE) [![license](https://img.shields.io/badge/license-Apache%202.0-lightgrey.svg)](LICENSE)
@ -20,10 +20,10 @@ Compile OpenSSL 1.0.2k for all archs:
./build-libssl.sh --version=1.0.2k ./build-libssl.sh --version=1.0.2k
``` ```
Compile OpenSSL 1.1.0f for all targets: Compile OpenSSL 1.1.1d for all targets:
``` ```
./build-libssl.sh --version=1.1.0f ./build-libssl.sh --version=1.1.1d
``` ```
Compile OpenSSL 1.0.2k for specific archs: Compile OpenSSL 1.0.2k for specific archs:
@ -32,10 +32,10 @@ Compile OpenSSL 1.0.2k for specific archs:
./build-libssl.sh --version=1.0.2k --archs="ios_armv7 ios_arm64 mac_i386" ./build-libssl.sh --version=1.0.2k --archs="ios_armv7 ios_arm64 mac_i386"
``` ```
Compile OpenSSL 1.1.0f for specific targets: Compile OpenSSL 1.1.1d for specific targets:
``` ```
./build-libssl.sh --version=1.1.0f --targets="ios-cross-armv7 macos64-x86_64" ./build-libssl.sh --version=1.1.1d --targets="ios-cross-armv7 macos64-x86_64"
``` ```
For all options see: For all options see:

View File

@ -25,9 +25,9 @@ set -u
# SCRIPT DEFAULTS # SCRIPT DEFAULTS
# Default version in case no version is specified # Default version in case no version is specified
DEFAULTVERSION="1.1.0i" DEFAULTVERSION="1.1.1d"
# Default (=full) set of architectures (OpenSSL <= 1.0.2) or targets (OpenSSL >= 1.1.0) to build # Default (=full) set of architectures (OpenSSL <= 1.0.2) or targets (OpenSSL >= 1.1.1) to build
#DEFAULTARCHS="ios_x86_64 ios_arm64 ios_armv7s ios_armv7 tv_x86_64 tv_arm64 mac_x86_64" #DEFAULTARCHS="ios_x86_64 ios_arm64 ios_armv7s ios_armv7 tv_x86_64 tv_arm64 mac_x86_64"
#DEFAULTTARGETS="ios-sim-cross-x86_64 ios64-cross-arm64 ios-cross-armv7s ios-cross-armv7 tvos-sim-cross-x86_64 tvos64-cross-arm64 macos64-x86_64" #DEFAULTTARGETS="ios-sim-cross-x86_64 ios64-cross-arm64 ios-cross-armv7s ios-cross-armv7 tvos-sim-cross-x86_64 tvos64-cross-arm64 macos64-x86_64"
DEFAULTARCHS="ios_x86_64 ios_arm64 tv_x86_64 tv_arm64 mac_x86_64 watchos_armv7k watchos_arm64_32 watchos_i386" DEFAULTARCHS="ios_x86_64 ios_arm64 tv_x86_64 tv_arm64 mac_x86_64 watchos_armv7k watchos_arm64_32 watchos_i386"
@ -64,7 +64,7 @@ echo_help()
echo " --archs=\"ARCH ARCH ...\" Space-separated list of architectures to build" echo " --archs=\"ARCH ARCH ...\" Space-separated list of architectures to build"
echo " Options: ${DEFAULTARCHS}" echo " Options: ${DEFAULTARCHS}"
echo echo
echo "Options for OpenSSL 1.1.0 and higher ONLY" echo "Options for OpenSSL 1.1.1 and higher ONLY"
echo " --deprecated Exclude no-deprecated configure option and build with deprecated methods" echo " --deprecated Exclude no-deprecated configure option and build with deprecated methods"
echo " --targets=\"TARGET TARGET ...\" Space-separated list of build targets" echo " --targets=\"TARGET TARGET ...\" Space-separated list of build targets"
echo " Options: ${DEFAULTTARGETS}" echo " Options: ${DEFAULTTARGETS}"
@ -295,7 +295,7 @@ elif [[ -n "${VERSION}" && ! "${VERSION}" =~ ^[0-9]+\.[0-9]+\.[0-9]+[a-z]*$ ]];
elif [ -n "${BRANCH}" ]; then elif [ -n "${BRANCH}" ]; then
# Verify version number format. Expected: dot notation # Verify version number format. Expected: dot notation
if [[ ! "${BRANCH}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then if [[ ! "${BRANCH}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "Unknown branch version number format. Examples: 1.0.2, 1.1.0" echo "Unknown branch version number format. Examples: 1.0.2, 1.1.1"
exit 1 exit 1
# Valid version number, determine latest version # Valid version number, determine latest version
@ -320,7 +320,7 @@ fi
# Build type: # Build type:
# In short, type "archs" is used for OpenSSL versions in the 1.0 branch and type "targets" for later versions. # In short, type "archs" is used for OpenSSL versions in the 1.0 branch and type "targets" for later versions.
# #
# Significant changes to the build process were introduced with OpenSSL 1.1.0. As a result, this script was updated # Significant changes to the build process were introduced with OpenSSL 1.1.1. As a result, this script was updated
# to include two separate build loops for versions <= 1.0 and versions >= 1.1. The type "archs" matches the key variable # to include two separate build loops for versions <= 1.0 and versions >= 1.1. The type "archs" matches the key variable
# used to determine for which platforms to build for the 1.0 branch. Since 1.1, all platforms are defined in a separate/ # used to determine for which platforms to build for the 1.0 branch. Since 1.1, all platforms are defined in a separate/
# custom configuration file as build targets. Therefore the key variable and type are called targets for 1.1 (and later). # custom configuration file as build targets. Therefore the key variable and type are called targets for 1.1 (and later).
@ -457,7 +457,7 @@ else
echo "Using ${OPENSSL_ARCHIVE_FILE_NAME}" echo "Using ${OPENSSL_ARCHIVE_FILE_NAME}"
fi fi
# Set reference to custom configuration (OpenSSL 1.1.0) # Set reference to custom configuration (OpenSSL 1.1.1)
# See: https://github.com/openssl/openssl/commit/afce395cba521e395e6eecdaf9589105f61e4411 # See: https://github.com/openssl/openssl/commit/afce395cba521e395e6eecdaf9589105f61e4411
export OPENSSL_LOCAL_CONFIG_DIR="${SCRIPTDIR}/config" export OPENSSL_LOCAL_CONFIG_DIR="${SCRIPTDIR}/config"