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

cal at macports.org cal at macports.org
Wed Apr 8 10:28:13 PDT 2015


Revision: 134844
          https://trac.macports.org/changeset/134844
Author:   cal at macports.org
Date:     2015-04-08 10:28:13 -0700 (Wed, 08 Apr 2015)
Log Message:
-----------
nginx: update to 1.7.12, update rtmp module to 1.1.7, disable broken upload module

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

Modified: trunk/dports/www/nginx/Portfile
===================================================================
--- trunk/dports/www/nginx/Portfile	2015-04-08 17:09:40 UTC (rev 134843)
+++ trunk/dports/www/nginx/Portfile	2015-04-08 17:28:13 UTC (rev 134844)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                nginx
-version             1.7.10
+version             1.7.12
 categories          www mail
 platforms           darwin
 license             BSD
@@ -34,8 +34,8 @@
 
 distfiles           ${name}-${version}${extract.suffix}:nginx
 checksums           ${name}-${version}${extract.suffix} \
-                    rmd160  55455ab319e1a7245d38010ecc296c2472ea9186 \
-                    sha256  df73c1b468cebaf3530a5de910bed45ff2cfccf2cf4b9215d0aa0f4e39cf4460 \
+                    rmd160  586e51bf36e9a7287ac8d1ab2fe371ccfcbf9ffb \
+                    sha256  22d1f0b6d064e125b01aeb2c6171682559d2488e1b102fc48ec564aa36e66897
 
 depends_lib         port:pcre \
                     port:zlib
@@ -244,6 +244,10 @@
 
     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."
+        error "incompatible variant selection"
+    }
     # patch routine balks on file names with "../", but rel-paths in patchfiles start from $worksrcpath
     pre-patch {
         ln -s   "${workpath}/${nginx_upload_mod_dirname}" "${worksrcpath}/nginx_upload_module.tmp"
@@ -294,12 +298,12 @@
 
 variant rtmp description {Enable Ngx RTMP module (https://github.com/arut/nginx-rtmp-module)} {
     set rtmp_filename       nginx-rtmp-module
-    set rtmp_version        1.1.6
+    set rtmp_version        1.1.7
     set rtmp_distname       ${rtmp_filename}-${rtmp_version}
     distfiles-append        v${rtmp_version}.tar.gz:rtmp_module
     checksums-append        v${rtmp_version}.tar.gz \
-                            rmd160  83f6eda9eca01d3cd04819ffe64a6a4ec95a3871 \
-                            sha256  4039d1e7febd93188f729b594772d04d8a1137b2e90b12fa53bb061f200add87
+                            rmd160  3b7510fba6f6e572f0fb0b3676fe1eb4d4caecb1 \
+                            sha256  7922b0e3d5f3d9c4b275e4908cfb8f5fb1bfb3ac2df77f4c262cda56df21aab3
     configure.args-append   --add-module=${workpath}/${rtmp_distname}
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150408/0181b8cb/attachment-0001.html>


More information about the macports-changes mailing list