Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Upgrade to OpenSSL 1.1.1 #1897

Closed
wants to merge 14 commits into from

Conversation

tst-lsavoie
Copy link
Collaborator

@tst-lsavoie tst-lsavoie commented Jan 29, 2021

This PR upgrades our bundled version of Open SSL to the latest version. It also fixes some problems with the RPMs that were discovered during this upgrade. Specifically, some of the post-install scripts rely on Open GEE binaries, but in the middle of a yum upgrade you might be using old binaries that are trying to link to libraries that have already been upgraded, resulting in errors and crashes. Thus, this PR also includes code to force upgrades to happen in a safe order.

Fixes #1895

@google-cla google-cla bot added the cla: yes Manual verification that all contributors have signed the CLA. label Jan 29, 2021
@tst-lsavoie tst-lsavoie marked this pull request as draft January 29, 2021 21:51
@@ -17,7 +17,7 @@ before_install:
libstdc++6 libtool libgif-dev libtiff-dev libgtk2.0-dev libglib2.0-dev
libx11-dev libxcursor-dev libxerces-c-dev libxft-dev libxinerama-dev
libxml2-dev libxml2-utils libxmu-dev libxrandr-dev libyaml-cpp-dev libpcre3-dev
openssl shunit2 git git-lfs libqt4-dev qt4-default libqt4-opengl-dev
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it's really possible to avoid installing the system ssl libraries because so many other packages reference them.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The system libraries should be installed by default. This is just indicating that we don't require openssl for Open GEE to run.

@tst-lsavoie tst-lsavoie marked this pull request as ready for review February 12, 2021 21:32
@tst-lsavoie tst-lsavoie changed the title WIP: Upgrade to OpenSSL 1.1.1 Upgrade to OpenSSL 1.1.1 Feb 12, 2021
@tst-nfarah tst-nfarah added this to the 5.3.8 milestone Feb 16, 2021
@@ -35,10 +35,10 @@ sudo apt-get install \
libgdbm-dev libgeos-dev libgeos++-dev libgif-dev libgtest-dev \
libjpeg-dev libjpeg8-dev libmng-dev libogdi3.2-dev \
libperl4-corelibs-perl libpng12-0 libpng12-dev libpq-dev libproj-dev \
libstdc++6 libtool libgif-dev libtiff-dev libgtk2.0-dev libglib2.0-dev \
libstdc++6 libtool libtiff-dev libgtk2.0-dev libglib2.0-dev \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to add libicu-dev as well ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know of a reason to add it. It's not a direct requirement of Open GEE that I'm aware of, and if any of these packages require it, apt should automatically bring it in.

@tst-lsavoie
Copy link
Collaborator Author

We're running into some problems testing and need to put some thought into where we're going with OpenSSL long term. Closing this for now.

@tst-lsavoie tst-lsavoie removed this from the 5.3.8 milestone Apr 19, 2021
@tst-lsavoie tst-lsavoie deleted the issue-1895-openssl-111 branch June 29, 2021 17:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Manual verification that all contributors have signed the CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade to Open SSL 1.1.1
3 participants