Ticket #44047: Portfile-nginx.diff

File Portfile-nginx.diff, 1.6 KB (added by zadorozhko@…, 10 years ago)
  • Portfile

    old new  
    2727                    http://people.freebsd.org/~osa/:redis_module \
    2828                    https://github.com/downloads/masterzen/nginx-upload-progress-module:uploadprogress_module \
    2929                    https://github.com/arut/nginx-dav-ext-module/archive/:davext_module \
    30                     https://github.com/arut/nginx-rtmp-module/archive/:rtmp_module
     30                    https://github.com/arut/nginx-rtmp-module/archive/:rtmp_module \
     31                    https://github.com/slact/nginx_http_push_module/archive/:http_push_module
    3132
    3233distfiles           ${name}-${version}${extract.suffix}:nginx
    3334checksums           ${name}-${version}${extract.suffix} \
     
    285286    configure.args-append   --add-module=${workpath}/${rtmp_distname}
    286287}
    287288
     289variant http_push description {Enable Ngx HTTP Push module (https://github.com/slact/nginx_http_push_module)} {
     290    set http_push_filename nginx_http_push_module
     291    set http_push_version  0.712
     292    set http_push_distname v${http_push_filename}-${http_push_version}
     293    distfiles-append       v${http_push_version}.tar.gz:http_push_module
     294    checksums-append       v${http_push_version}.tar.gz \
     295                           rmd160  cbbfc87eaad0e83cdd32eb67cdbb12e8ed413be6 \
     296                           sha256  0cbe866997c0c0138fa48359969ba991a096a7f10631da298c12e2c8b799c2c8
     297    configure.args-append  --add-module=${workpath}/${http_push_distname}
     298}
     299
    288300livecheck.type      regexm
    289301livecheck.url       ${homepage}
    290302livecheck.regex     {nginx-(\d+\.\d+\.\d+)</a>\s+stable}