[135802] trunk/dports/www/nginx/Portfile

cal at macports.org cal at macports.org
Sun May 3 14:53:49 PDT 2015


Revision: 135802
          https://trac.macports.org/changeset/135802
Author:   cal at macports.org
Date:     2015-05-03 14:53:49 -0700 (Sun, 03 May 2015)
Log Message:
-----------
nginx: update to 1.9.0, closes #47608, disable broken +lua module

Modified Paths:
--------------
    trunk/dports/www/nginx/Portfile

Modified: trunk/dports/www/nginx/Portfile
===================================================================
--- trunk/dports/www/nginx/Portfile	2015-05-03 21:30:25 UTC (rev 135801)
+++ trunk/dports/www/nginx/Portfile	2015-05-03 21:53:49 UTC (rev 135802)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                nginx
-version             1.7.12
+version             1.9.0
 categories          www mail
 platforms           darwin
 license             BSD
@@ -34,8 +34,8 @@
 
 distfiles           ${name}-${version}${extract.suffix}:nginx
 checksums           ${name}-${version}${extract.suffix} \
-                    rmd160  586e51bf36e9a7287ac8d1ab2fe371ccfcbf9ffb \
-                    sha256  22d1f0b6d064e125b01aeb2c6171682559d2488e1b102fc48ec564aa36e66897
+                    rmd160  348d9d708e3988139808586b2027a492078e3dd2 \
+                    sha256  e12aa1d5b701edde880ebcc7be47ca171c3fbeed8fa7c8c62054a6f19d27f248
 
 depends_lib         port:pcre \
                     port:zlib
@@ -227,6 +227,10 @@
     configure.args-append   --with-http_sub_module
 }
 
+variant stream description {Enable ngx_stream_core_module for generic TCP proxying and load balancing} {
+    configure.args-append   --with-stream
+}
+
 variant upload description {Enable Valery Kholodkov's upload module (http://grid.net.ru/nginx/upload.en.html)} {
     set upload_filename     nginx_upload_module
     set upload_version      2.2.0
@@ -245,7 +249,7 @@
     nginx_set_portfile_var   nginx_upload_mod_dirname    "${upload_distname}"
 
     pre-fetch {
-        ui_error "The +upload variant is currently broken, because the upload module is not compatible with nginx 1.7.12."
+        ui_error "The +upload variant is currently broken, because the upload module is not compatible with nginx 1.9.0."
         error "incompatible variant selection"
     }
     # patch routine balks on file names with "../", but rel-paths in patchfiles start from $worksrcpath
@@ -333,17 +337,22 @@
 variant lua requires devel_kit description {Enable Lua module (https://github.com/openresty/lua-nginx-module)} {
     depends_lib-append      port:luajit
     set ngx_lua_filename    lua-nginx-module
-    set ngx_lua_version     0.9.13rc1
+    set ngx_lua_version     0.9.16rc1
     set ngx_lua_distname    ${ngx_lua_filename}-${ngx_lua_version}
     distfiles-append        v${ngx_lua_version}.tar.gz:lua_module
     checksums-append        v${ngx_lua_version}.tar.gz \
-                            rmd160  b28d620681e204e49b21ec89b060ea8fb06c5bd3 \
-                            sha256  848607f84fa370a1deb31408f2f242e7092bab71f718ee653b72e056023123ca
+                            rmd160  b992137a8d9b6ada437ec9016cebae123e51c4ad \
+                            sha256  edde780f227089c41f6feab56217803c6d8347d82b0ffe99b95fd2217828595b
 
     configure.cflags        -I${prefix}/include/luajit-2.0/ ${configure.cflags}
     configure.env           LUAJIT_INC=${prefix}/include/luajit-2.0/
     configure.env           LUAJIT_LIB=${prefix}/lib
     configure.args-append   --add-module=${workpath}/${ngx_lua_distname}
+
+    pre-fetch {
+        ui_error "The +lua variant is currently broken, because the lua module is not compatible with nginx 1.9.0."
+        error "incompatible variant selection"
+    }
 }
 
 livecheck.type      regexm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150503/0c5465a1/attachment.html>


More information about the macports-changes mailing list