-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support build with openssl-1.1.x #433
Merged
matsumotory
merged 7 commits into
matsumotory:master
from
takumakume:supported-openssl-1.1.x
Oct 17, 2019
Merged
Changes from 6 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
b872712
support openssl-1.1.x (not supported build opt `enable-tlsext` in ope…
takumakume d3630bb
Use openssl-1.1 for CI
takumakume 8c62360
Upgrade ubuntu to bionic to use libssl-1.1
takumakume dd51be5
support build with openssl-1.1 for vagrant
takumakume 88a986c
Fix: "Restart services during package upgrades without asking?"
takumakume 6403fcf
install openssl-1.1 for vagrant
takumakume e88ed19
Output full build logs in vagrant
takumakume File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Vagrant.configure("2") do |config| | ||
config.vm.box = "bento/ubuntu-16.04" | ||
config.vm.box = "bento/ubuntu-18.04" | ||
config.vm.provision "shell", :path => "misc/provision.sh", :privileged => false | ||
end |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,33 @@ | ||
#/bin/sh | ||
|
||
echo ' | ||
export CXX="g++-4.9" | ||
export CC="gcc-4.9" | ||
export LD="gcc-4.9" | ||
' | sudo tee /etc/profile.d/env.sh | ||
|
||
grep "^deb http://dk.archive.ubuntu.com/ubuntu/ xenial main" /etc/apt/sources.list || echo "deb http://dk.archive.ubuntu.com/ubuntu/ xenial main" | sudo tee -a /etc/apt/sources.list | ||
grep "^deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe" /etc/apt/sources.list || echo "deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe" | sudo tee -a /etc/apt/sources.list | ||
echo "libssl1.1 libraries/restart-without-asking boolean true" | sudo debconf-set-selections | ||
|
||
sudo apt-get update | ||
sudo apt-get -y install build-essential rake bison git gperf automake m4 \ | ||
autoconf libtool cmake pkg-config libcunit1-dev ragel \ | ||
libpcre3-dev clang-format-6.0 | ||
libpcre3-dev clang-format-6.0 g++-4.9 libstdc++-4.9-dev | ||
sudo apt-get -y remove nano | ||
|
||
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-6.0 1000 | ||
|
||
openssl_version=1.1.1 | ||
curl -sfL https://www.openssl.org/source/openssl-${openssl_version}-latest.tar.gz -o openssl-${openssl_version}.tar.gz | ||
tar -xzf openssl-${openssl_version}.tar.gz | ||
rm openssl-${openssl_version}.tar.gz | ||
cd openssl-${openssl_version}* | ||
./config --prefix=/usr/local --shared zlib -fPIC >> /dev/null 2>&1 | ||
make >> /dev/null 2>&1 | ||
sudo make install >> /dev/null 2>&1 | ||
sudo ldconfig /usr/local/lib | ||
cd - | ||
openssl version | ||
|
||
git clone https://github.com/matsumotory/ngx_mruby |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you remove these logs? These logs are important to investigate the error.
Travis limited the number of stdout line, but the local build is no limitation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand.
Fixed: e88ed19