Skip to content

Commit 9c269c5

Browse files
authored
Merge pull request #94 from VirtuBox/develop
Nginx-ee v3.6.6 release
2 parents 8b654dc + 3d1f8cd commit 9c269c5

5 files changed

Lines changed: 75 additions & 24 deletions

File tree

.gitattributes

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Documents
5+
*.md text eol=lf
6+
*.tex text diff=tex
7+
*.adoc text
8+
*.textile text
9+
*.mustache text eol=lf
10+
*.csv text
11+
*.tab text
12+
*.tsv text
13+
*.txt text
14+
*.sql text
15+
16+
# Scripts
17+
*.bash text eol=lf
18+
*.fish text eol=lf
19+
*.sh text eol=lf
20+
21+
# Source files
22+
# ============
23+
*.pxd text diff=python
24+
*.py text diff=python
25+
*.py3 text diff=python
26+
*.pyc text diff=python
27+
*.pyd text diff=python
28+
*.pyo text diff=python
29+
*.pyw text diff=python
30+
*.pyx text diff=python
31+
*.pyz text diff=python
32+
33+
34+
#
35+
# Exclude files from exporting
36+
#
37+
38+
.gitattributes export-ignore
39+
.gitignore export-ignore

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased] - XX-XX-XX
88

9+
## [3.6.6] - 2020-05-02
10+
11+
### Changed
12+
13+
- Update Nginx stable to 1.18.0
14+
- Update openssl package to 1.1.1g
15+
16+
### Fixed
17+
18+
- Fix final tasks not executed (PR [#90])
19+
- Fix non interactive pagespeed build (PR [#90])
20+
921
## [3.6.5] - 2019-11-18
1022

1123
### Added

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Automated Nginx compilation from sources with additional modules support
4848
* Dynamic modules support
4949
* Brotli Support
5050
* TLS v1.3 support (Final)
51-
* OpenSSL (1.1.1d or 3.0.0-dev or from system-lib) or LibreSSL
51+
* OpenSSL (1.1.1g or 3.0.0-dev or from system-lib) or LibreSSL
5252
* Cloudflare HPACK
5353
* Cloudflare zlib
5454
* Automated nginx updates cronjob
@@ -59,8 +59,8 @@ Automated Nginx compilation from sources with additional modules support
5959

6060
## Additional Third-party modules
6161

62-
Nginx current mainline release : **v1.17.5**
63-
Nginx current stable release : **v1.16.1**
62+
Nginx current mainline release : **v1.17.10**
63+
Nginx current stable release : **v1.18.0**
6464

6565
* [ngx_cache_purge](https://github.com/FRiCKLE/ngx_cache_purge)
6666
* [headers-more-nginx-module](https://github.com/openresty/headers-more-nginx-module)
@@ -95,15 +95,13 @@ Optional modules :
9595

9696
#### Recommended
9797

98+
* Ubuntu 20.04 LTS (Focal)
9899
* Ubuntu 18.04 LTS (Bionic)
99100
* Debian 10 (Buster)
100101

101102
#### Also compatible
102103

103104
* Ubuntu 19.10 (Eoan)
104-
* Ubuntu 19.04 (Disco)
105-
* Ubuntu 18.10 (Cosmic)
106-
* Ubuntu 17.10 ()
107105
* Ubuntu 16.04 LTS (Xenial)
108106
* Debian 9 (Stretch)
109107
* Debian 8 (Jessie)
@@ -119,7 +117,7 @@ Optional modules :
119117

120118
#### Plesk
121119

122-
* 17.5.x
120+
* 17.5.x (Onyx)
123121
* 17.8.x
124122
* 17.9.x
125123
* 18.x (Obsidian)
@@ -133,13 +131,13 @@ Optional modules :
133131
**Default settings** :
134132

135133
* mainline release
136-
* openssl stable : 1.1.1d
134+
* openssl stable : 1.1.1g
137135
* without pagespeed
138136
* without naxsi
139137
* without rtmp
140138

141139
```bash
142-
bash <(wget -O - vtb.cx/nginx-ee || curl -sL vtb.cx/nginx-ee)
140+
bash <(wget -qO - vtb.cx/nginx-ee || curl -sL vtb.cx/nginx-ee)
143141
```
144142

145143
### Alternative Install Method
@@ -201,10 +199,11 @@ Extras :
201199
* [x] Add support for Plesk servers
202200
* [x] Add Nginx modules choice
203201
* [x] Add support for Debian 9
204-
* [ ] Add support for config.inc build configuration
205202
* [x] Add openssl release choice
206203
* [x] Add more compilation presets
207204
* [x] Add support for LibreSSL
205+
* [ ] Add support for config.inc build configuration
206+
* [ ] Add HTTP/3 QUIC support
208207

209208
---
210209

docs/index.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Automated Nginx compilation from sources with additional modules support
4444
<li>Dynamic modules support</li>
4545
<li>Brotli Support</li>
4646
<li>TLS v1.3 support (Final)</li>
47-
<li>OpenSSL (1.1.1d or 3.0.0-dev or from system-lib) or LibreSSL</li>
47+
<li>OpenSSL (1.1.1g or 3.0.0-dev or from system-lib) or LibreSSL</li>
4848
<li>Cloudflare HPACK</li>
4949
<li>Cloudflare zlib</li>
5050
<li>Automated nginx updates cronjob</li>
@@ -53,8 +53,8 @@ Automated Nginx compilation from sources with additional modules support
5353
</ul>
5454
<hr />
5555
<h2 id="additional-third-party-modules">Additional Third-party modules</h2>
56-
<p>Nginx current mainline release : <strong>v1.17.5</strong>
57-
Nginx current stable release : <strong>v1.16.1</strong></p>
56+
<p>Nginx current mainline release : <strong>v1.17.10</strong>
57+
Nginx current stable release : <strong>v1.18.0</strong></p>
5858
<ul>
5959
<li><a href="https://github.com/FRiCKLE/ngx_cache_purge">ngx_cache_purge</a></li>
6060
<li><a href="https://github.com/openresty/headers-more-nginx-module">headers-more-nginx-module</a></li>
@@ -86,6 +86,7 @@ Nginx current stable release : <strong>v1.16.1</strong></p>
8686
<h3 id="operating-system">Operating System</h3>
8787
<h4 id="recommended">Recommended</h4>
8888
<ul>
89+
<li>Ubuntu 20.04 LTS (Focal)</li>
8990
<li>Ubuntu 18.04 LTS (Bionic)</li>
9091
<li>Debian 10 (Buster)</li>
9192
</ul>
@@ -119,7 +120,7 @@ Nginx current stable release : <strong>v1.16.1</strong></p>
119120
<p><strong>Default settings</strong> :</p>
120121
<ul>
121122
<li>mainline release</li>
122-
<li>openssl stable : 1.1.1d</li>
123+
<li>openssl stable : 1.1.1g</li>
123124
<li>without pagespeed</li>
124125
<li>without naxsi</li>
125126
<li>without rtmp</li>

nginx-build.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
# -------------------------------------------------------------------------
55
# Website: https://virtubox.net
66
# GitHub: https://github.com/VirtuBox/nginx-ee
7-
# Copyright (c) 2019 VirtuBox <contact@virtubox.net>
7+
# Copyright (c) 2019-2020 VirtuBox <contact@virtubox.net>
88
# This script is licensed under M.I.T
99
# -------------------------------------------------------------------------
10-
# Version 3.6.5 - 2019-11-18
10+
# Version 3.6.6 - 2020-05-02
1111
# -------------------------------------------------------------------------
1212

1313
##################################
@@ -158,16 +158,16 @@ fi
158158
DIR_SRC="/usr/local/src"
159159
NGINX_EE_VER=$(curl -m 5 --retry 3 -sL https://api.github.com/repos/VirtuBox/nginx-ee/releases/latest 2>&1 | jq -r '.tag_name')
160160
NGINX_MAINLINE="$(curl -sL https://nginx.org/en/download.html 2>&1 | grep -E -o 'nginx\-[0-9.]+\.tar[.a-z]*' | awk -F "nginx-" '/.tar.gz$/ {print $2}' | sed -e 's|.tar.gz||g' | head -n 1 2>&1)"
161-
NGINX_STABLE="$(curl -sL https://nginx.org/en/download.html 2>&1 | grep -E -o 'nginx\-[0-9.]+\.tar[.a-z]*' | awk -F "nginx-" '/.tar.gz$/ {print $2}' | sed -e 's|.tar.gz||g' | head -n 2 | grep 1.16 2>&1)"
161+
NGINX_STABLE="$(curl -sL https://nginx.org/en/download.html 2>&1 | grep -E -o 'nginx\-[0-9.]+\.tar[.a-z]*' | awk -F "nginx-" '/.tar.gz$/ {print $2}' | sed -e 's|.tar.gz||g' | head -n 2 | grep 1.18 2>&1)"
162162
LIBRESSL_VER="3.0.2"
163-
OPENSSL_VER="1.1.1d"
163+
OPENSSL_VER="1.1.1g"
164164
TLS13_CIPHERS="TLS13+AESGCM+AES256:TLS13+AESGCM+AES128:TLS13+CHACHA20:EECDH+CHACHA20:EECDH+AESGCM:EECDH+AES"
165165
readonly OS_ARCH="$(uname -m)"
166166
OS_DISTRO_FULL="$(lsb_release -ds)"
167167
readonly DISTRO_ID="$(lsb_release -si)"
168168
readonly DISTRO_CODENAME="$(lsb_release -sc)"
169169
readonly DISTRO_NUMBER="$(lsb_release -sr)"
170-
OPENSSL_COMMIT="6f02932edba62186a6866e8c9f0f0714674f6bab"
170+
OPENSSL_COMMIT="7fa8bcfe4342df41919f5564b315f9c85d0a02d6"
171171

172172
# Colors
173173
CSI='\033['
@@ -771,21 +771,21 @@ _download_openssl_dev() {
771771
git clone --depth=50 https://github.com/openssl/openssl.git /usr/local/src/openssl
772772
cd /usr/local/src/openssl || exit 1
773773
echo "### git checkout commit ###"
774-
git checkout $OPENSSL_COMMIT
774+
#git checkout $OPENSSL_COMMIT
775775
else
776776
cd /usr/local/src/openssl || exit 1
777777
echo "### reset openssl to master and clean patches ###"
778778
git fetch --all
779779
git reset --hard origin/master
780780
git clean -f
781-
git checkout $OPENSSL_COMMIT
781+
#git checkout $OPENSSL_COMMIT
782782
fi
783783
else
784784
echo "### cloning openssl ###"
785785
git clone --depth=50 https://github.com/openssl/openssl.git /usr/local/src/openssl
786786
cd /usr/local/src/openssl || exit 1
787787
echo "### git checkout commit ###"
788-
git checkout $OPENSSL_COMMIT
788+
#git checkout $OPENSSL_COMMIT
789789
fi
790790
} >>/tmp/nginx-ee.log 2>&1
791791

@@ -799,7 +799,7 @@ _download_openssl_dev() {
799799
cd /usr/local/src/openssl || exit 1
800800
# apply openssl ciphers patch
801801
echo "### openssl ciphers patch ###"
802-
patch -p1 <../openssl-patch/openssl-equal-3.0.0-dev_ciphers.patch
802+
#patch -p1 <../openssl-patch/openssl-equal-3.0.0-dev_ciphers.patch
803803
} >>/tmp/nginx-ee.log 2>&1
804804

805805
}; then
@@ -1188,7 +1188,7 @@ _final_tasks() {
11881188
else
11891189
apt-mark hold nginx-ee nginx-common nginx-custom
11901190
fi
1191-
} >>/tmp/nginx-ee.log
1191+
} >>/tmp/nginx-ee.log 2>&1
11921192
fi
11931193

11941194
{

0 commit comments

Comments
 (0)