Skip to content

Commit

Permalink
Update confluent-kafka OpenSSL to 3.4.1 (#19589)
Browse files Browse the repository at this point in the history
* Update confluent-kafka OpenSSL to 3.4.1

* fix Windows
  • Loading branch information
Kyle-Neale authored Feb 13, 2025
1 parent 772ccc5 commit ea7bcce
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .builders/images/linux-aarch64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ ENV LDFLAGS="-Wl,-rpath,'\$\$ORIGIN' -Wl,--strip-debug"
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.4.0" \
SHA256="e15dda82fe2fe8139dc2ac21a36d4ca01d5313c75f99f46c4e8a27709b7294bf" \
VERSION="3.4.1" \
SHA256="002a2d6b30b58bf4bea46c43bdd96365aaf8daa6c428782aa4feee06da197df3" \
RELATIVE_PATH="openssl-{{version}}" \
# https://docs.python.org/3/using/unix.html#custom-openssl
INSTALL_COMMAND="make install_sw" \
Expand Down
4 changes: 2 additions & 2 deletions .builders/images/linux-x86_64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ ENV LDFLAGS="-Wl,-rpath,'\$\$ORIGIN' -Wl,--strip-debug"
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.4.0" \
SHA256="e15dda82fe2fe8139dc2ac21a36d4ca01d5313c75f99f46c4e8a27709b7294bf" \
VERSION="3.4.1" \
SHA256="002a2d6b30b58bf4bea46c43bdd96365aaf8daa6c428782aa4feee06da197df3" \
RELATIVE_PATH="openssl-{{version}}" \
# https://docs.python.org/3/using/unix.html#custom-openssl
INSTALL_COMMAND="make install_sw" \
Expand Down
4 changes: 2 additions & 2 deletions .builders/images/macos-x86_64/builder_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.4.0" \
SHA256="e15dda82fe2fe8139dc2ac21a36d4ca01d5313c75f99f46c4e8a27709b7294bf" \
VERSION="3.4.1" \
SHA256="002a2d6b30b58bf4bea46c43bdd96365aaf8daa6c428782aa4feee06da197df3" \
RELATIVE_PATH="openssl-{{version}}" \
CONFIGURE_SCRIPT="./config" \
install-from-source \
Expand Down
2 changes: 1 addition & 1 deletion .builders/images/windows-x86_64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ RUN Get-RemoteFile `
Add-ToPath -Append "C:\perl\perl\bin" && `
Remove-Item "strawberry-perl-$Env:PERL_VERSION-64bit.zip"

ENV OPENSSL_VERSION="3.4.0"
ENV OPENSSL_VERSION="3.4.1"

ENV CURL_VERSION="8.11.1"

Expand Down
8 changes: 4 additions & 4 deletions .builders/images/windows-x86_64/build_script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ Remove-Item "librdkafka-${kafka_version}.tar.gz"
$triplet = "x64-windows"
$vcpkg_dir = "C:\vcpkg"
$librdkafka_dir = "C:\librdkafka\librdkafka-${kafka_version}"
# We set the desired tag to the latest release tag to ensure that we are building with the latest stable version.
# The desired tag should be updated periodically or when critical fixes or features are released.
$desired_tag = "2024.12.16"
# We set the desired commit to ensure that we are building with a recent version.
# The desired commit should be updated periodically or when critical fixes or features are released.
$desired_commit = "5ee5eee0d3e9c6098b24d263e9099edcdcef6631" # Commit that incudes OpenSSL 3.4.1

# Clone and configure vcpkg
if (-Not (Test-Path -Path "$vcpkg_dir\.git")) {
git clone https://github.com/Microsoft/vcpkg.git $vcpkg_dir
}

Set-Location $vcpkg_dir
git checkout $desired_tag
git checkout $desired_commit

Write-Host "Bootstrapping vcpkg..."
.\bootstrap-vcpkg.bat
Expand Down

0 comments on commit ea7bcce

Please sign in to comment.