Skip to content

Instantly share code, notes, and snippets.

View Dawnthorn's full-sized avatar

Peter Haight Dawnthorn

View GitHub Profile
@Dawnthorn
Dawnthorn / install.sh
Created September 13, 2017 21:17
Installing ruby-1.8.7 with rvm on Ubuntu 16.04
wget https://www.openssl.org/source/openssl-1.0.2l.tar.gz
tar -xzf openssl-1.0.2l.tar.gz
cd openssl-1.0.21
./config --prefix=/opt/old-ssl shared
make
sudo make install
rvm install 1.8.7-p374 --with-openssl-dir=/opt/old-ssl
wget https://raw.githubusercontent.com/rubygems/rubygems/master/lib/rubygems/ssl_certs/index.rubygems.org/GlobalSignRootCA.pem
cp GlobalSignRootCA.pem $HOME/.rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/ssl_certs
@Dawnthorn
Dawnthorn / ruby-1.8.7-p374-openssl.patch
Created April 19, 2017 17:48
Patch for ruby-1.8.7-p374 on Ubuntu 16.04 around 4/19/2017
diff --git a/ChangeLog b/ChangeLog
index 6a36633..614eb99 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+Sat Jul 6 07:37:43 2013 Martin Bosslet <[email protected]>
+
+ * ext/openssl/ossl_pkey_ec.c: Ensure compatibility to builds of
+ OpenSSL with OPENSSL_NO_EC2M defined, but OPENSSL_NO_EC not
+ defined.