Skip to content

Commit

Permalink
chore: Upgrade to OpenSSL 3.3.1 for SAM CLI Installer
Browse files Browse the repository at this point in the history
  • Loading branch information
dkphm committed Aug 14, 2024
1 parent c8636dc commit 807bb95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions installer/pyinstaller/build-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if [ "$python_version" = "" ]; then
fi

if [ "$openssl_version" = "" ]; then
openssl_version="1.1.1w";
openssl_version="3.0.14";
fi

if [ "$zlib_version" = "" ]; then
Expand All @@ -38,7 +38,7 @@ fi

set -eux

yum install -y libffi-devel
yum install -y libffi-devel perl-IPC-Cmd

echo "Making Folders"
mkdir -p .build/src
Expand All @@ -49,11 +49,12 @@ mkdir -p .build/output/openssl
cd .build/output/openssl

echo "Building OpenSSL"
curl -L "https://github.com/openssl/openssl/releases/download/OpenSSL_${openssl_version//./_}/openssl-${openssl_version}.tar.gz" --output openssl.tar.gz
curl -L "https://github.com/openssl/openssl/releases/download/openssl-${openssl_version}/openssl-${openssl_version}.tar.gz" --output openssl.tar.gz
tar xzf openssl.tar.gz
cd openssl-${openssl_version}
# install_sw installs OpenSSL without manual pages
./config --prefix=/opt/openssl && make -j8 && make -j8 install_sw
ln -sf /opt/openssl/lib64 /opt/openssl/lib
cd ../../

echo "Building zlib"
Expand Down
2 changes: 1 addition & 1 deletion installer/pyinstaller/build-mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if [ "$python_library_zip_filename" = "" ]; then
fi

if [ "$openssl_version" = "" ]; then
openssl_version="1.1.1w";
openssl_version="3.0.14";
fi

if [ "$python_version" = "" ]; then
Expand Down

0 comments on commit 807bb95

Please sign in to comment.