mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-10 00:46:41 +08:00
Provisioning: Update openssl to version 1.0.2p
Task-number: QTQAINFRA-2266 Change-Id: I3f09d9169f17bcd83dcfd72547440bca487fd9db Reviewed-by: Simo Fält <simo.falt@qt.io>
This commit is contained in:
committed by
Liang Qi
parent
99f8704350
commit
3b4ca5d6c0
@@ -41,12 +41,12 @@ source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
version="1.0.2o"
|
||||
version="1.0.2p"
|
||||
officialUrl="https://www.openssl.org/source/openssl-$version.tar.gz"
|
||||
cachedUrl="http://ci-files01-hki.intra.qt.io/input/openssl/openssl-$version.tar.gz"
|
||||
targetFile="/tmp/openssl-$version.tar.gz"
|
||||
installFolder="/home/qt/"
|
||||
sha="a47faaca57b47a0d9d5fb085545857cc92062691"
|
||||
sha="f34b5322e92415755c7d58bf5d0d5cf37666382c"
|
||||
# Until every VM doing Linux Android builds have provisioned the env variable
|
||||
# OPENSSL_ANDROID_HOME, we can't change the hard coded path that's currently in Coin.
|
||||
# QTQAINFRA-1436
|
||||
@@ -56,7 +56,7 @@ DownloadURL "$cachedUrl" "$officialUrl" "$sha" "$targetFile"
|
||||
|
||||
tar -xzf "$targetFile" -C "$installFolder"
|
||||
# This rename should be removed once hard coded path from Coin is fixed. (QTQAINFRA-1436)
|
||||
mv "${opensslHome}o" "${opensslHome}"
|
||||
mv "${opensslHome}p" "${opensslHome}"
|
||||
pushd "$opensslHome"
|
||||
|
||||
echo "Running configure"
|
||||
|
||||
@@ -39,9 +39,9 @@
|
||||
# Msys need to be installed to target machine
|
||||
# More info and building instructions can be found from http://doc.qt.io/qt-5/opensslsupport.html
|
||||
|
||||
$version = "1.0.2o"
|
||||
$version = "1.0.2p"
|
||||
$zip = Get-DownloadLocation ("openssl-$version.tar.gz")
|
||||
$sha1 = "a47faaca57b47a0d9d5fb085545857cc92062691"
|
||||
$sha1 = "f34b5322e92415755c7d58bf5d0d5cf37666382c"
|
||||
$destination = "C:\Utils\openssl-android-master"
|
||||
|
||||
Download https://www.openssl.org/source/openssl-$version.tar.gz \\ci-files01-hki.intra.qt.io\provisioning\openssl\openssl-$version.tar.gz $zip
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
# This script installs OpenSSL $version.
|
||||
# Both x86 and x64 versions needed when x86 integrations are done on x64 machine
|
||||
|
||||
$version = "1_0_2o"
|
||||
$version = "1_0_2p"
|
||||
$packagex64 = "C:\Windows\Temp\Win64OpenSSL-$version.exe"
|
||||
$packagex86 = "C:\Windows\Temp\Win32OpenSSL-$version.exe"
|
||||
|
||||
@@ -47,7 +47,7 @@ if (Is64BitWinHost) {
|
||||
$installFolder = "C:\openssl"
|
||||
$externalUrl = "https://slproweb.com/download/Win64OpenSSL-$version.exe"
|
||||
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\openssl\Win64OpenSSL-$version.exe"
|
||||
$sha1 = "86c71a28eda53fa406b957dd37491d616344b464"
|
||||
$sha1 = "ec8b4111afb86ffc81837a30667aa076afe9d1e6"
|
||||
|
||||
Write-Host "Fetching from URL ..."
|
||||
Download $externalUrl $internalUrl $packagex64
|
||||
@@ -74,7 +74,7 @@ if (Is64BitWinHost) {
|
||||
|
||||
$externalUrl = "https://slproweb.com/download/Win32OpenSSL-$version.exe"
|
||||
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\openssl\Win32OpenSSL-$version.exe"
|
||||
$sha1 = "bfc14fc03bd1d4dd03bf5459f62969d6b0ee96fe"
|
||||
$sha1 = "753d6b2cb8b6c808f6212bd21b6e6e7822a4e236"
|
||||
|
||||
Write-Host "Fetching from URL ..."
|
||||
Download $externalUrl $internalUrl $packagex86
|
||||
|
||||
@@ -42,11 +42,11 @@ source "${BASH_SOURCE%/*}/../common/unix/InstallFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
|
||||
opensslVersion="1.0.2o"
|
||||
opensslVersion="1.0.2p"
|
||||
opensslFile="openssl-$opensslVersion.tar.gz"
|
||||
opensslDlUrl="http://ci-files01-hki.intra.qt.io/input/openssl/$opensslFile"
|
||||
opensslAltDlUrl="https://www.openssl.org/source/$opensslFile"
|
||||
opensslSha1="a47faaca57b47a0d9d5fb085545857cc92062691"
|
||||
opensslSha1="f34b5322e92415755c7d58bf5d0d5cf37666382c"
|
||||
|
||||
# Below target location has been hard coded into Coin.
|
||||
# QTQAINFRA-1195
|
||||
|
||||
@@ -42,11 +42,11 @@ source "${BASH_SOURCE%/*}/../common/unix/InstallFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
|
||||
opensslVersion="1.0.2o"
|
||||
opensslVersion="1.0.2p"
|
||||
opensslFile="openssl-$opensslVersion.tar.gz"
|
||||
opensslDlUrl="http://ci-files01-hki.intra.qt.io/input/openssl/$opensslFile"
|
||||
opensslAltDlUrl="https://www.openssl.org/source/$opensslFile"
|
||||
opensslSha1="a47faaca57b47a0d9d5fb085545857cc92062691"
|
||||
opensslSha1="f34b5322e92415755c7d58bf5d0d5cf37666382c"
|
||||
|
||||
# Below target location has been hard coded into Coin.
|
||||
# QTQAINFRA-1195
|
||||
|
||||
Reference in New Issue
Block a user