From d757ddb47860db0c3a6d856e9f9313f56a07a908 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Thu, 26 Sep 2024 11:52:50 +0200 Subject: [PATCH] Bump OpenSSL in dependency builders (#18669) * Bump OpenSSL in dependency builders * updrade perl's List::Util to a version that OpenSSL can use * install cpanp --- .builders/images/linux-aarch64/Dockerfile | 7 ++++--- .builders/images/linux-x86_64/Dockerfile | 7 ++++--- .builders/images/macos-x86_64/builder_setup.sh | 4 ++-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.builders/images/linux-aarch64/Dockerfile b/.builders/images/linux-aarch64/Dockerfile index 29a7795e968a6..45dffa0253937 100644 --- a/.builders/images/linux-aarch64/Dockerfile +++ b/.builders/images/linux-aarch64/Dockerfile @@ -34,10 +34,11 @@ RUN /opt/python/${PYTHON2_VERSION}/bin/python2.7 -m pip install --no-warn-script && /opt/python/${PYTHON2_VERSION}/bin/python2.7 -m virtualenv /py2 # openssl -RUN yum install -y perl-IPC-Cmd && \ +RUN yum install -y perl-IPC-Cmd perl-CPANPLUS && \ + cpanp -i List::Util 1.66 && \ DOWNLOAD_URL="https://www.openssl.org/source/openssl-{{version}}.tar.gz" \ - VERSION="3.0.13" \ - SHA256="88525753f79d3bec27d2fa7c66aa0b92b3aa9498dafd93d7cfa4b3780cdae313" \ + VERSION="3.3.2" \ + SHA256="2e8a40b01979afe8be0bbfb3de5dc1c6709fedb46d6c89c10da114ab5fc3d281" \ RELATIVE_PATH="openssl-{{version}}" \ # https://docs.python.org/3/using/unix.html#custom-openssl INSTALL_COMMAND="make install_sw" \ diff --git a/.builders/images/linux-x86_64/Dockerfile b/.builders/images/linux-x86_64/Dockerfile index 6c87ac897dc5e..b7cde5abc7a33 100644 --- a/.builders/images/linux-x86_64/Dockerfile +++ b/.builders/images/linux-x86_64/Dockerfile @@ -33,10 +33,11 @@ RUN /opt/python/${PYTHON2_VERSION}/bin/python -m pip install --no-warn-script-lo && /opt/python/${PYTHON2_VERSION}/bin/python -m virtualenv /py2 # openssl -RUN yum install -y perl-IPC-Cmd && \ +RUN yum install -y perl-IPC-Cmd perl-CPANPLUS && \ + cpanp -i List::Util 1.66 && \ DOWNLOAD_URL="https://www.openssl.org/source/openssl-{{version}}.tar.gz" \ - VERSION="3.0.13" \ - SHA256="88525753f79d3bec27d2fa7c66aa0b92b3aa9498dafd93d7cfa4b3780cdae313" \ + VERSION="3.3.2" \ + SHA256="2e8a40b01979afe8be0bbfb3de5dc1c6709fedb46d6c89c10da114ab5fc3d281" \ RELATIVE_PATH="openssl-{{version}}" \ # https://docs.python.org/3/using/unix.html#custom-openssl INSTALL_COMMAND="make install_sw" \ diff --git a/.builders/images/macos-x86_64/builder_setup.sh b/.builders/images/macos-x86_64/builder_setup.sh index 098e555edc560..c50c1c1e2d79a 100644 --- a/.builders/images/macos-x86_64/builder_setup.sh +++ b/.builders/images/macos-x86_64/builder_setup.sh @@ -23,8 +23,8 @@ cp -R /opt/mqm "${DD_PREFIX_PATH}" # openssl DOWNLOAD_URL="https://www.openssl.org/source/openssl-{{version}}.tar.gz" \ -VERSION="3.0.13" \ -SHA256="88525753f79d3bec27d2fa7c66aa0b92b3aa9498dafd93d7cfa4b3780cdae313" \ +VERSION="3.3.2" \ +SHA256="2e8a40b01979afe8be0bbfb3de5dc1c6709fedb46d6c89c10da114ab5fc3d281" \ RELATIVE_PATH="openssl-{{version}}" \ CONFIGURE_SCRIPT="./config" \ install-from-source \