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

cal at macports.org cal at macports.org
Tue Jun 17 11:47:33 PDT 2014


Revision: 121109
          https://trac.macports.org/changeset/121109
Author:   cal at macports.org
Date:     2014-06-17 11:47:33 -0700 (Tue, 17 Jun 2014)
Log Message:
-----------
nginx: add http_push module, closes #44047

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

Modified: trunk/dports/www/nginx/Portfile
===================================================================
--- trunk/dports/www/nginx/Portfile	2014-06-17 18:42:52 UTC (rev 121108)
+++ trunk/dports/www/nginx/Portfile	2014-06-17 18:47:33 UTC (rev 121109)
@@ -27,7 +27,8 @@
                     http://people.freebsd.org/~osa/:redis_module \
                     https://github.com/downloads/masterzen/nginx-upload-progress-module: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/arut/nginx-rtmp-module/archive/:rtmp_module \
+                    https://github.com/slact/nginx_http_push_module/archive/:http_push_module
 
 distfiles           ${name}-${version}${extract.suffix}:nginx
 checksums           ${name}-${version}${extract.suffix} \
@@ -285,6 +286,17 @@
     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.712
+    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  e51c174a0454e5bfb9234252dab73e71338ebdb9 \
+                           sha256  03eed6c4faf10d4c6226032c5f2632123c8333d9f95364a2a948a31677495719
+    configure.args-append  --add-module=${workpath}/${http_push_distname}
+}
+
 livecheck.type      regexm
 livecheck.url       ${homepage}
 livecheck.regex     {nginx-(\d+\.\d+\.\d+)</a>\s+stable}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140617/ae9edad7/attachment-0001.html>


More information about the macports-changes mailing list