Skip to content

Commit

Permalink
make-binaries: Update OpenSSL from 1 to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
badlop committed Feb 8, 2024
1 parent d8d7974 commit 25afdf2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tools/make-binaries
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ termcap_vsn='1.3.1'
expat_vsn='2.5.0'
zlib_vsn='1.3'
yaml_vsn='0.2.5'
ssl_vsn='1.1.1w'
ssl_vsn='3.1.4'
otp_vsn='26.1.1'
elixir_vsn='1.15.6'
pam_vsn='1.5.2'
Expand Down Expand Up @@ -180,7 +180,7 @@ check_configured_dep_vsns()
{
check_vsn 'OpenSSL' "$ssl_vsn" \
'https://www.openssl.org/source/' \
'openssl-\(1\.[0-9][0-9a-z.]*\)\.tar\.gz'
'openssl-\(3\.[1-9]\.[0-9.]*\)\.tar\.gz'
check_vsn 'LibYAML' "$yaml_vsn" \
'https://pyyaml.org/wiki/LibYAML' \
'yaml-\([0-9][0-9.]*\)\.tar\.gz'
Expand Down Expand Up @@ -578,9 +578,10 @@ build_deps()

info "Building OpenSSL $ssl_vsn for $arch-$libc ..."
cd "$target_src_dir/$ssl_dir"
CFLAGS="$CFLAGS -O3 -fPIC" ./Configure no-shared no-ui-console \
--prefix="$prefix" \
CFLAGS="$CFLAGS -O3 -fPIC" \
./Configure no-shared mo-module no-ui-console \
--openssldir="$prefix" \
--libdir='lib' \
"linux-${target%-linux-*}"
make build_libs
make install_dev
Expand Down

0 comments on commit 25afdf2

Please sign in to comment.