[142145] trunk/dports/www/nginx/Portfile
cal at macports.org
cal at macports.org
Sat Dec 12 04:31:15 PST 2015
Revision: 142145
https://trac.macports.org/changeset/142145
Author: cal at macports.org
Date: 2015-11-04 15:24:13 -0800 (Wed, 04 Nov 2015)
Log Message:
-----------
nginx: update to 1.9.6, closes #49489, #49453, #49409, #49252
- drop spdy and replace with http2, #49409, #49453
- add auth_request variant, #49252
- update push module
Modified Paths:
--------------
trunk/dports/www/nginx/Portfile
Modified: trunk/dports/www/nginx/Portfile
===================================================================
--- trunk/dports/www/nginx/Portfile 2015-11-04 20:55:58 UTC (rev 142144)
+++ trunk/dports/www/nginx/Portfile 2015-11-04 23:24:13 UTC (rev 142145)
@@ -4,7 +4,7 @@
PortSystem 1.0
name nginx
-version 1.9.5
+version 1.9.6
categories www mail
platforms darwin
license BSD
@@ -28,14 +28,14 @@
https://github.com/masterzen/nginx-upload-progress-module/archive/:uploadprogress_module \
https://github.com/arut/nginx-dav-ext-module/archive/:davext_module \
https://github.com/arut/nginx-rtmp-module/archive/:rtmp_module \
- https://github.com/slact/nginx_http_push_module/archive/:http_push_module \
+ https://github.com/slact/nchan/archive/:http_push_module \
https://github.com/simpl/ngx_devel_kit/archive/:devel_kit_module \
https://github.com/openresty/lua-nginx-module/archive/:lua_module
distfiles ${name}-${version}${extract.suffix}:nginx
checksums ${name}-${version}${extract.suffix} \
- rmd160 a186f01bb27a7164b2d2ab5cb20d9f2dbf39f3db \
- sha256 48e2787a6b245277e37cb7c5a31b1549a0bbacf288aa4731baacf9eaacdb481b
+ rmd160 c8f998f2998be92ea4de5a413f16ea83563edd29 \
+ sha256 ed501fc6d0eff9d3bc1049cc1ba3a3ac8c602de046acb2a4c108392bbfa865ea
depends_lib port:pcre \
port:zlib
@@ -119,6 +119,10 @@
default_variants +mp4 +flv +secure_link +ssl
+variant auth_request description {Add client authorization based on the result of a subrequest} {
+ configure.args-append --with-http_auth_request_module
+}
+
variant addition description {Append text to pages} {
configure.args-append --with-http_addition_module
}
@@ -176,6 +180,13 @@
configure.args-append --with-http_gzip_static_module
}
+variant spdy requires http2 description {Legacy compatibility variant: SPDY has been replaced by HTTP/2} {
+ # added 2015-11-05
+}
+variant http2 requires ssl description {Add HTTP/2 support to the server} {
+ configure.args-append --with-http_v2_module
+}
+
variant image_filter description {Transform images with libgd} {
configure.args-append --with-http_image_filter_module
depends_lib-append port:gd2
@@ -215,10 +226,6 @@
depends_lib-append path:lib/libssl.dylib:openssl
}
-variant spdy requires ssl description {Add SPDY support to the server} {
- configure.args-append --with-http_spdy_module
-}
-
variant status description {Add /nginx_status support to the server} {
configure.args-append --with-http_stub_status_module
}
@@ -311,14 +318,14 @@
configure.args-append --add-module=${workpath}/${rtmp_distname}
}
-variant http_push description {Enable Ngx HTTP Push module (https://github.com/slact/nginx_http_push_module)} {
- set http_push_filename nginx_http_push_module
- set http_push_version 0.73
+variant http_push description {Enable Ngx HTTP Push module (https://github.com/slact/nchan)} {
+ set http_push_filename nchan
+ set http_push_version 0.731
set http_push_distname ${http_push_filename}-${http_push_version}
distfiles-append v${http_push_version}.tar.gz:http_push_module
checksums-append v${http_push_version}.tar.gz \
- rmd160 4614b35edb7d1fe9e367d769f4c7e39589d3fae2 \
- sha256 a2a5b53a847493abef89c27360460997bea2b01d1394a7a612f1e13e4cfbb98a
+ rmd160 d35d7138d3b4dd20076b1026c420f03c68177f99 \
+ sha256 dd0c893fcf5af90a4f3c76a5750df9c39cba486ecb93cf76624af29f809ec345
configure.args-append --add-module=${workpath}/${http_push_distname}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/4bf34add/attachment.html>
More information about the macports-changes
mailing list