Skip to content

Commit

Permalink
test for openssl 3.3.0 gem
Browse files Browse the repository at this point in the history
Signed-off-by: poorndm <[email protected]>
  • Loading branch information
poorndm committed Jan 15, 2025
1 parent 7edc63d commit 497e99e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions config/software/ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
make "-j #{workers} install", env: env

# set this here because two different clauses might use it
openssl_gem_version = project.overrides.dig(:ruby, :openssl_gem) || "3.2.0"
openssl_gem_version = project.overrides.dig(:ruby, :openssl_gem) || "3.3.0"

# Remove this if clause once Ruby < 3.1 is not supported in combination with
# OpenSSL >= 3.0
Expand All @@ -337,8 +337,6 @@
fips_env = fips_mode? ? env.merge({ "OPENSSL_FIPS" => "1" }) : env

command "git clone https://github.com/ruby/openssl.git", cwd: "#{install_dir}"
# Checkout the specific tag for version 3.2.0
command "cd #{install_dir}/openssl && git checkout tags/3.2.0"
command "gem build openssl.gemspec", cwd: "#{install_dir}/openssl"
command "gem install openssl-#{openssl_gem_version}.gem --no-document -- --with-openssl-dir=#{install_dir}/embedded", env: fips_env, cwd: "#{install_dir}/openssl"

Expand Down

0 comments on commit 497e99e

Please sign in to comment.