Ticket #43605: Portfile-nginx.diff
File Portfile-nginx.diff, 1.8 KB (added by zadorozhko@…, 11 years ago) |
---|
-
Portfile
old new 25 25 http://www.grid.net.ru/nginx/download/:upload_module \ 26 26 googlecode:mod-zip:zip_module \ 27 27 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-rtmp-module:rtmp_module 29 30 30 31 distfiles ${name}-${version}${extract.suffix}:nginx 31 32 checksums ${name}-${version}${extract.suffix} \ … … 35 36 depends_lib port:pcre \ 36 37 port:zlib 37 38 38 patchfiles patch-auto__install.diff \39 patch-conf__nginx.conf.diff39 #patchfiles patch-auto__install.diff \ 40 # patch-conf__nginx.conf.diff 40 41 41 42 set nginx_confdir ${prefix}/etc/${name} 42 43 set nginx_logdir ${prefix}/var/log/${name} … … 261 262 configure.args-append --add-module=${workpath}/${redis_distname} 262 263 } 263 264 265 variant rtmp description {Enable Ngx RTMP module (https://github.com/arut/nginx-rtmp-module)} { 266 set rtmp_filename ngx_rtmp 267 set rtmp_version 1.1.4 268 set rtmp_distname ${rtmp_filename}-${rtmp_version} 269 distfiles-append ${rtmp_distname}.tar.gz:rtmp_module 270 checksums-append ${rtmp_distname}.tar.gz \ 271 rmd160 fc8ec94e0ea0f859de93692bb8aced05b49199ea \ 272 sha256 e18c7089e9f75ea7dd020346852a7768d62f24aac7b0e706a96214a16d9ef41e 273 configure.args-append --add-module=${workpath}/${rtmp_distname} 274 } 275 264 276 livecheck.type regexm 265 277 livecheck.url ${homepage} 266 278 livecheck.regex {nginx-(\d+\.\d+\.\d+)</a>\s+stable}