Skip to content

Commit 933a079

Browse files
committed
⛽ update to h2o 2.3 (h2o@latest)
Signed-off-by: Bent Cardan <[email protected]>
1 parent 19a4f00 commit 933a079

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Makefile

+9-9
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,20 @@ ALL:
4343
@echo installing h2o)
4444
git clone --depth 1 https://github.com/libuv/libuv.git && libuv/autogen.sh
4545
cd libuv && ./configure
46-
cd libuv && make && sudo make install && sudo /sbin/ldconfig
46+
cd libuv && make -j8 && sudo make install && sudo /sbin/ldconfig
4747
rm -rf libuv && git clone --depth 1 https://github.com/tatsuhiro-t/wslay.git
4848
cd wslay && autoreconf -i && automake && autoconf && ./configure && make
4949
cd wslay && sudo make install && sudo /sbin/ldconfig
5050
rm -rf wslay
51-
wget https://github.com/openssl/openssl/archive/OpenSSL_1_0_2f.tar.gz
52-
tar xzvf OpenSSL_1_0_2f.tar.gz && rm OpenSSL_1_0_2f.tar.gz
53-
mv openssl-OpenSSL_1_0_2f ssl
51+
wget https://github.com/openssl/openssl/archive/OpenSSL_1_0_2l.tar.gz
52+
tar xzvf OpenSSL_1_0_2l.tar.gz && rm OpenSSL_1_0_2l.tar.gz
53+
mv openssl-OpenSSL_1_0_2l ssl
5454
cd ssl && ./config --prefix=/usr/local --openssldir=/usr/local/openssl
55-
cd ssl && make && sudo make install && sudo /sbin/ldconfig
56-
rm -rf ssl && wget https://github.com/h2o/h2o/archive/v1.7.0.tar.gz
57-
tar xzvf v1.7.0.tar.gz && rm v1.7.0.tar.gz
58-
cd h2o-1.7.0 && cmake -DWITH_BUNDLED_SSL=off . && make && sudo make install
59-
sudo /sbin/ldconfig && rm -rf h2o-1.7.0
55+
cd ssl && make -j8 && sudo make install && sudo /sbin/ldconfig
56+
rm -rf ssl && wget https://github.com/h2o/h2o/archive/master.tar.gz
57+
tar xzvf master.tar.gz && rm master.tar.gz
58+
cd h2o-master && cmake -DWITH_BUNDLED_SSL=off . && make && sudo make install
59+
sudo /sbin/ldconfig && rm -rf h2o-master
6060
echo "h2o installed" && h2o --version
6161

6262
install:

readme.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ a generic conf in [/etc/h2o/h2o.conf](h2o.yml) listens for hosts on port 80
33

44
# install h2o and the init.d service
55
```sh
6-
$ git clone https://github.com/reqshark/h2oconf && cd h2oconf
6+
$ git clone https://github.com/reqshark/h2oinitd.git && cd h2oinitd
77
$ ./configure
88
$ make # installs h2o in /usr/local/bin
99
$ sudo make install # installs an init.d service for h2o

0 commit comments

Comments
 (0)