Ticket #43201: Portfile_nginx.diff

File Portfile_nginx.diff, 1.9 KB (added by slarew, 11 years ago)
  • (a) a/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/www/nginx/Portfile vs. (b) b/Portfile_nginx

    diff --git a/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/www/nginx/Portfile b/Portfile_nginx
    index a199fdb..a65d60e 100644
    a b master_sites http://nginx.org/download:nginx \ 
    2525                    http://www.grid.net.ru/nginx/download/:upload_module \
    2626                    googlecode:mod-zip:zip_module \
    2727                    http://people.freebsd.org/~osa/:redis_module \
    28                     https://github.com/downloads/masterzen/nginx-upload-progress-module:uploadprogress_module
     28                    https://github.com/downloads/masterzen/nginx-upload-progress-module:uploadprogress_module \
     29                    https://github.com/arut/nginx-dav-ext-module/archive/:davext_module
    2930
    3031distfiles           ${name}-${version}${extract.suffix}:nginx
    3132checksums           ${name}-${version}${extract.suffix} \
    variant dav description {Add WebDAV support to server} { 
    105106    configure.args-append   --with-http_dav_module
    106107}
    107108
     109variant davext description {Add WebDAV (extended) support to server} {
     110    set davext_filename     nginx-dav-ext-module
     111    set davext_version      0.0.3
     112    set davext_distname     ${davext_filename}-${davext_version}
     113    distfiles-append        v${davext_version}.tar.gz:davext_module
     114    checksums-append        v${davext_version}.tar.gz \
     115                            rmd160  0d407e687bd59e81c2c9805ee8b39b8b85d43d08 \
     116                            sha256  d428a0236c933779cb40ac8c91afb19d5c25a376dc3caab825bfd543e1ee530d
     117    configure.args-append   --with-http_dav_module --add-module=${workpath}/${davext_distname}
     118}
     119
    108120variant degradation description {Allow to return 204 or 444 code for some locations on low memory condition} {
    109121    configure.args-append   --with-http_degradation_module
    110122}