Skip to content

Uninstall OpenSSL 3 and install 1.0.0#30

Open
tpowell-progress wants to merge 3 commits intomainfrom
tp/fix-ruby30-openssl
Open

Uninstall OpenSSL 3 and install 1.0.0#30
tpowell-progress wants to merge 3 commits intomainfrom
tp/fix-ruby30-openssl

Conversation

@tpowell-progress
Copy link

@tpowell-progress tpowell-progress commented Aug 1, 2024

Description

Ruby 3.0 uses an openssl gem (2.2.x) that requires OpenSSL Version > 1.0.1 and < 3.0.0

Fedora, Ruby 3.0:

Fedora switched from an OpenSSL 1.x library to OpenSSL 3.x as of Fedora 36, and OpenSSL 1.x is dropped from the official package repositories as of Fedora 40.

  • Use Fedora 39 as a base
  • Uninstall OpenSSL (3.x) package
  • Install OpenSSL 1.x and OpenSSL 1.x develop packages

OpenSUSE, Ruby 3.0:

OpenSUSE switched from an OpenSSL 1.x library to OpenSSL 3.x as of OpenSUSE 15.6.

  • Install wget as a separate dependency.
  • Download the ruby .tar.xz package. (Using OpenSSL 3 bindings)
  • Remove openssl-3 package.
  • Install libopenssl-1_0_0-devel, libopenssl1_0_0, and openssl-1_0_0 as dependencies prior to the ruby build.

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

  • I have read the CONTRIBUTING document.
  • I have run the pre-merge tests locally and they pass.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • If Gemfile.lock has changed, I have used --conservative to do it and included the full output in the Description above.
  • All new and existing tests passed.
  • All commits have been signed-off for the Developer Certificate of Origin.

Signed-off-by: Thomas Powell <thomas.powell@progress.com>
Signed-off-by: Thomas Powell <thomas.powell@progress.com>
Signed-off-by: Thomas Powell <thomas.powell@progress.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant