Last active
October 11, 2018 18:05
-
-
Save acnagy/d52a0d74ac0fcf8469a2fd59c2225c35 to your computer and use it in GitHub Desktop.
Install current versions of `openssl` and `wget` on Ubuntu 12.04 Precise (tlsv1.2 workaround)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# the versions of openssl and wget available via apt-get for 12.04 do not support tls1.2 | |
# here's a .travis.yml segment for how to install these into a precise build container | |
install: | |
- sudo apt-get install make | |
- wget https://www.openssl.org/source/openssl-1.0.2l.tar.gz > /dev/null | |
- tar -xzvf openssl-1.0.2l.tar.gz | |
- cd openssl-1.0.2l | |
- sudo ./config | |
- sudo make install > /dev/null | |
- sudo ln -sf /usr/local/ssl/bin/openssl `which openssl` | |
- cd && wget http://ftp.gnu.org/gnu/wget/wget-1.16.tar.gz > /dev/null | |
- tar -xvf wget-1.16.tar.gz | |
- cd wget-1.16/ | |
- ./configure --with-ssl=openssl --prefix=/opt/wget | |
- ./configure --prefix=/usr --sysconfdir=/etc --with-ssl=openssl | |
- make && sudo make install > /dev/null | |
script: | |
- travis_retry wget --secure-protocol=TLSv1_2 URL_HERE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why is
./configure
run twice in the same directory on #14 and #15? I've never seen that. Can./configure
be somehow additive?