Ticket #34911: uploadprogress_module.diff

File uploadprogress_module.diff, 984 bytes (added by mitch@…, 12 years ago)

My feeble attempt at adding a new variant to nginx Portfile

Line 
127,28c27
2<                     http://people.freebsd.org/~osa/:redis_module \
3<                     https://github.com/downloads/masterzen/nginx-upload-progress-module:uploadprogress_module
4---
5>                     http://people.freebsd.org/~osa/:redis_module
6174,184d172
7< variant upload_progress description {Enable Brice Figureau's upload progress module (https://github.com/masterzen/nginx-upload-progress-module)} {
8<     set upload_filename     nginx_uploadprogress_module
9<     set upload_version      0.9.0
10<     set upload_distname     ${upload_filename}-${upload_version}
11<     distfiles-append        ${upload_distname}.tar.gz:uploadprogress_module
12<     checksums-append        ${upload_distname}.tar.gz \
13<                             rmd160  10ff91748a06afd81abb9fdb203f164ea369463a \
14<                             sha256  3fb903dab595cf6656fa0fc5743a48daffbba2f6b5c554836be630800eaad4e2
15<     configure.args-append   --add-module=${workpath}/${upload_distname}
16< }
17<