Commits
Mohamed Akram authored and Clemens Lang committed ea9a92d5894
1 1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
2 2 | |
3 3 | PortSystem 1.0 |
4 4 | |
5 5 | name nginx |
6 6 | version 1.15.10 |
7 - | revision 0 |
7 + | revision 1 |
8 8 | categories www mail |
9 9 | platforms darwin |
10 10 | license BSD |
11 11 | maintainers {cal @neverpanic} {mps @Schamschula} openmaintainer |
12 12 | |
13 13 | description High-performance HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 proxy server |
14 14 | long_description \ |
15 15 | Nginx ("engine x") is a high-performance HTTP(S) server and reverse proxy, \ |
16 16 | as well as an IMAP/POP3 proxy server. Nginx was written by Igor Sysoev for \ |
17 17 | Rambler.ru, Russia's second-most visited website, where it has been running \ |
114 114 | |
115 115 | startupitem.create yes |
116 116 | startupitem.pidfile auto ${nginx_pidfile} |
117 117 | startupitem.executable ${prefix}/sbin/nginx -g "daemon off;" |
118 118 | |
119 119 | notes "\ |
120 120 | A set of sample configuration files has been installed in ${nginx_examples}.\n\n\ |
121 121 | Additionally, the files [join ${auto_activate_confs} ", "] have been copied to ${nginx_confdir} if they didn't exist yet.\n\ |
122 122 | Adjust these files to your needs before starting nginx." |
123 123 | |
124 - | default_variants +mp4 +flv +secure_link +ssl +http2 |
124 + | default_variants +mp4 +flv +secure_link +ssl +http2 +stream |
125 125 | |
126 126 | variant auth_request description {Add client authorization based on the result of a subrequest} { |
127 127 | configure.args-append --with-http_auth_request_module |
128 128 | } |
129 129 | |
130 130 | variant addition description {Append text to pages} { |
131 131 | configure.args-append --with-http_addition_module |
132 132 | } |
133 133 | |
134 134 | variant dav description {Add WebDAV support to server} { |
233 233 | configure.args-append --with-http_stub_status_module |
234 234 | } |
235 235 | |
236 236 | variant substitution description {Replace text in pages} { |
237 237 | configure.args-append --with-http_sub_module |
238 238 | } |
239 239 | |
240 240 | variant stream description {Enable ngx_stream_core_module for generic TCP proxying and load balancing (install with +ssl to enable ngx_stream_ssl_module)} { |
241 241 | configure.args-append --with-stream |
242 242 | if {[variant_isset ssl]} { |
243 - | configure.args-append --with-stream_ssl_module |
243 + | configure.args-append \ |
244 + | --with-stream_ssl_module --with-stream_ssl_preread_module |
244 245 | } |
245 246 | } |
246 247 | |
247 248 | variant upload description {Enable Valery Kholodkov's upload module (http://grid.net.ru/nginx/upload.en.html)} { |
248 249 | set upload_filename nginx_upload_module |
249 250 | set upload_version 2.2.0 |
250 251 | set upload_distname ${upload_filename}-${upload_version} |
251 252 | distfiles-append ${upload_distname}.tar.gz:upload_module |
252 253 | checksums-append ${upload_distname}.tar.gz \ |
253 254 | rmd160 5734af837be3fe8ec444a7e5e7f6707118594098 \ |