summaryrefslogtreecommitdiffstats
path: root/network/nginx/nginx.SlackBuild
diff options
context:
space:
mode:
author ccfreak2k <ccfreak2k@gmail.com>2016-08-25 00:26:02 -0500
committer Robby Workman <rworkman@slackbuilds.org>2016-08-25 00:26:02 -0500
commit91f82370786aa04639c49c33b9f02664676ecefe (patch)
treeb668c23397661fa376c8cd26c7bcb1cc8e7abdbc /network/nginx/nginx.SlackBuild
parentc981ea4260fbd06e62b49ad5359d909733616f0d (diff)
downloadslackbuilds-91f82370786aa04639c49c33b9f02664676ecefe.tar.gz
slackbuilds-91f82370786aa04639c49c33b9f02664676ecefe.tar.xz
network/nginx: Updated for version 1.8.1
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/nginx/nginx.SlackBuild')
-rw-r--r--network/nginx/nginx.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/network/nginx/nginx.SlackBuild b/network/nginx/nginx.SlackBuild
index de05bf525b..e2e2af9435 100644
--- a/network/nginx/nginx.SlackBuild
+++ b/network/nginx/nginx.SlackBuild
@@ -28,7 +28,7 @@
# Special thanks to Thomas Morper for some configuration adjustments tips
PRGNAM=nginx
-VERSION=${VERSION:-1.8.0}
+VERSION=${VERSION:-1.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,6 +74,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Apply CVE-2016-4450 patch (NULL pointer dereference when writing client
+# request body)
+patch -p0 < $CWD/CVE-2016-4450.diff
+
# Fix the nginx.conf file for html and virtual server directory.
sed -i \
-e '/root[ ]*html/s|html;|/var/www/&|' \