aboutsummaryrefslogtreecommitdiffstats
path: root/main/nginx/nginx.post-upgrade
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-03-17 11:12:13 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-03-17 11:12:13 +0000
commit04536519eed1f9cb6de75f3af808f549fc87e8fc (patch)
tree5ed6cc4087dcf8f43a03c5d7f9478ef0be71582b /main/nginx/nginx.post-upgrade
parent1a9be35ea7d345147de8a5a140faac42eb4952af (diff)
downloadaports-04536519eed1f9cb6de75f3af808f549fc87e8fc.tar.bz2
aports-04536519eed1f9cb6de75f3af808f549fc87e8fc.tar.xz
Revert "main/nginx: add all modules from testing/nginx-naxsi"
Diffstat (limited to 'main/nginx/nginx.post-upgrade')
-rw-r--r--main/nginx/nginx.post-upgrade23
1 files changed, 23 insertions, 0 deletions
diff --git a/main/nginx/nginx.post-upgrade b/main/nginx/nginx.post-upgrade
new file mode 100644
index 0000000000..6d9e698dc7
--- /dev/null
+++ b/main/nginx/nginx.post-upgrade
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+ver_new="$1"
+ver_old="$2"
+
+if [ "$(apk version -t "$ver_old" "1.10.1-r3")" = "<" ]; then
+ cat 1>&2 <<-EOF
+ *
+ * The nginx package has been modified to use dynamic modules. Now there's
+ * just single package providing nginx executable and bunch of nginx-mod-*
+ * subpackages.
+ *
+ * Lua support is now provided by package nginx-mod-http-lua, RTMP support
+ * is provided by nginx-mod-rtmp.
+ *
+ * Modules mail and stream are dynamic modules too and so not included
+ * by default anymore. If you use them, install nginx-mod-mail and
+ * nginx-mod-stream.
+ *
+ EOF
+fi
+
+exit 0