<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f8fb46b9a22f1364041832f81d606abb8b218337">https://github.com/macports/macports-ports/commit/f8fb46b9a22f1364041832f81d606abb8b218337</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit f8fb46b9a22f1364041832f81d606abb8b218337
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Wed Jun 22 15:47:54 2022 -0500
<span style='display:block; white-space:pre;color:#404040;'> nginx-devel: new port, add dynamic modules as subports
</span>---
www/nginx-devel/Portfile | 364 +++++++++++++++++++++
www/nginx-devel/files/patch-auto__install.diff | 11 +
www/nginx-devel/files/patch-conf__nginx.conf.diff | 52 +++
.../files/patch-headers_more_headers_in.c.diff | 20 ++
www/nginx-devel/files/patch-lua_headers_in.c.diff | 18 +
5 files changed, 465 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/nginx-devel/Portfile b/www/nginx-devel/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..d6ec8eb31c8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/nginx-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,364 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- 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
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name nginx-devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set propername nginx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.23.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories www mail
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license BSD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {mps @Schamschula} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts nginx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description High-performance HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ proxy server
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description Nginx ("engine x") is an HTTP and reverse proxy server, a mail proxy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ server, and a generic TCP/UDP proxy server.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://nginx.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites https://nginx.org/download:nginx \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ https://github.com/simpl/ngx_devel_kit/archive/:devel_kit_module \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ https://github.com/leev/ngx_http_geoip2_module/archive/:geoip2_module \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ https://github.com/openresty/headers-more-nginx-module/archive/:h_more_module \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ https://github.com/openresty/lua-nginx-module/archive/:lua_module \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ https://codeload.github.com/arut/nginx-rtmp-module/tar.gz/:rtmp_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distfiles ${propername}-${version}${extract.suffix}:nginx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums ${propername}-${version}${extract.suffix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 513b746e97f714bbbef204efce2e450d9cccf4cd \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 820acaa35b9272be9e9e72f6defa4a5f2921824709f8aa4772c78ab31ed94cd1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1102940
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:pcre \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:zlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+worksrcdir ${propername}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-auto__install.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-conf__nginx.conf.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set nginx_share ${prefix}/share/${propername}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set nginx_examples ${nginx_share}/examples
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set nginx_confdir ${prefix}/etc/${propername}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set nginx_logdir ${prefix}/var/log/${propername}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set nginx_moduledir ${prefix}/etc/${propername}/modules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set nginx_rundir ${prefix}/var/run/${propername}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set nginx_pidfile ${nginx_rundir}/${propername}.pid
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set nginx_all_confs {fastcgi.conf fastcgi_params mime.types nginx.conf scgi_params uwsgi_params}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set auto_activate_confs {nginx.conf mime.types fastcgi.conf}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# for aforementioned re-defs of portfile-scoped vars in variant routines
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+proc nginx_set_portfile_var {var_name new_value} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ upvar $var_name portfile_var
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set portfile_var $new_value
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-cc-opt=\"${configure.cppflags} ${configure.cflags}\" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-ld-opt=\"${configure.ldflags}\" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --conf-path=${nginx_confdir}/${propername}.conf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --error-log-path=${nginx_logdir}/error.log \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --http-log-path=${nginx_logdir}/access.log \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --pid-path=${nginx_pidfile} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --lock-path=${nginx_rundir}/${propername}.lock \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --http-client-body-temp-path=${nginx_rundir}/client_body_temp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --http-proxy-temp-path=${nginx_rundir}/proxy_temp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --http-fastcgi-temp-path=${nginx_rundir}/fastcgi_temp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --http-uwsgi-temp-path=${nginx_rundir}/uwsgi_temp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-compat
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# pcre2 breaks the lua module (https://trac.macports.org/ticket/65150)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-pcre2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# remove --disable-dependency-tracking
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.universal_args-delete --disable-dependency-tracking
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.target build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${subport} eq ${name}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.keepdirs ${destroot}${nginx_logdir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${nginx_rundir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 755 ${destroot}${nginx_share}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 755 ${destroot}${nginx_examples}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach conf ${nginx_all_confs} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set conf_path "${destroot}${nginx_confdir}/${conf}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file exists ${conf_path}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file delete ${conf_path}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file exists ${conf_path}.default]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${conf_path}.default ${destroot}${nginx_examples}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file rename ${destroot}${prefix}/html ${destroot}${nginx_share}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Install the manpage
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set man_path "${destroot}${prefix}/share/man/man8"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${man_path}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 ${worksrcpath}/man/${propername}.8 ${man_path}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -q "s|/var/run/mynginx.pid|${nginx_pidfile}/|g" ${man_path}/${propername}.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-activate {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach conf ${auto_activate_confs} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![file exists ${nginx_confdir}/${conf}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 ${nginx_examples}/${conf}.default ${nginx_confdir}/${conf}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ startupitem.create yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ startupitem.pidfile auto ${nginx_pidfile}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ startupitem.executable ${prefix}/sbin/nginx -g "daemon off;"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ notes "\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ A set of sample configuration files has been installed in ${nginx_examples}.\n\n\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Additionally, the files [join ${auto_activate_confs} ", "] have been copied to ${nginx_confdir} if they didn't exist yet.\n\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Adjust these files to your needs before starting nginx."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +devel_kit +flv +http2 +mp4 +secure_link +ssl +stream
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib port:${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target modules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ notes "\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Add load_module etc/nginx/modules/<MODULE-NAME>.so; to ${nginx_confdir}/nginx.conf"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport ${name}-geoip2 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set geoipext_filename ngx_http_geoip2_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set geoipext_version 3.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set geoipext_distname ${geoipext_filename}-${geoipext_version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distfiles-append ${geoipext_version}.tar.gz:geoip2_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums-append ${geoipext_version}.tar.gz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 7b272aad1a402ae6ca8fac873d4555afbeab7b75 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 41378438c833e313a18869d0c4a72704b4835c30acaf7fd68013ab6732ff78a7 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 8509
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --add-dynamic-module=${workpath}/${geoipext_distname}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:libmaxminddb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${nginx_moduledir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${worksrcpath}/objs/ngx_http_geoip2_module.so ${destroot}${nginx_moduledir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport ${name}-headers_more {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ngx_h_more_filename headers-more-nginx-module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ngx_h_more_version 0.33
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ngx_h_more_distname ${ngx_h_more_filename}-${ngx_h_more_version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distfiles-append v${ngx_h_more_version}.tar.gz:h_more_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums-append v${ngx_h_more_version}.tar.gz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 fb27195a722e81f533016e693b5a6616fd6b4f72 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a3dcbab117a9c103bc1ea5200fc00a7b7d2af97ff7fd525f16f8ac2632e30fbf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 28130
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-headers_more_headers_in.c.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # patch routine balks on file names with "../", but rel-paths in patchfiles start from $worksrcpath
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s "${workpath}/${ngx_h_more_distname}" "${worksrcpath}/nginx_h_more_module.tmp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file delete "${worksrcpath}/nginx_h_more_module.tmp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --add-dynamic-module=${workpath}/${ngx_h_more_distname}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${nginx_moduledir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${worksrcpath}/objs/ngx_http_headers_more_filter_module.so ${destroot}${nginx_moduledir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport ${name}-lua {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:luajit-openresty
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ngx_lua_filename lua-nginx-module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ngx_lua_version 0.10.21
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ngx_lua_distname ${ngx_lua_filename}-${ngx_lua_version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distfiles-append v${ngx_lua_version}.tar.gz:lua_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums-append v${ngx_lua_version}.tar.gz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 c570d5964d1a3687f4f8d9d7fad11d8d68007bdf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 9db756000578efaecb43bea4fc6cf631aaa80988d86ffe5d3afeb9927895ffad \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 690938
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cflags -I${prefix}/include/luajit-2.1/ ${configure.cflags}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env LUAJIT_INC=${prefix}/include/luajit-2.1/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env LUAJIT_LIB=${prefix}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --add-dynamic-module=${workpath}/${ngx_lua_distname}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-lua_headers_in.c.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # patch routine balks on file names with "../", but rel-paths in patchfiles start from $worksrcpath
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s "${workpath}/${ngx_lua_distname}" "${worksrcpath}/ngx_lua_distname.tmp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file delete "${worksrcpath}/ngx_lua_distname.tmp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${nginx_moduledir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${worksrcpath}/objs/ngx_http_lua_module.so ${destroot}${nginx_moduledir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport ${name}-rtmp {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set rtmp_filename nginx-rtmp-module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set rtmp_version 1.2.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set rtmp_distname ${rtmp_filename}-${rtmp_version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distfiles-append v${rtmp_version}:rtmp_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums-append v${rtmp_version} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 a19f42e4f15214fd11ac8f334468dc400b86b5bd \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 07f19b7bffec5e357bb8820c63e5281debd45f5a2e6d46b1636d9202c3e09d78 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 519934
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --add-dynamic-module=${workpath}/${rtmp_distname}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ nginx_set_portfile_var nginx_rtmp_mod_dirname "${rtmp_distname}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${nginx_moduledir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${worksrcpath}/objs/ngx_rtmp_module.so ${destroot}${nginx_moduledir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant auth_request description {Add client authorization based on the result of a subrequest} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-http_auth_request_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant addition description {Append text to pages} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-http_addition_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant dav description {Add WebDAV support to server} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-http_dav_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant debug description {Enable debug mode} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-debug
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant degradation description {Allow to return 204 or 444 code for some locations on low memory condition} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-http_degradation_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant devel_kit description {Enable ngx_devel_kit module (https://github.com/simpl/ngx_devel_kit)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set devel_kit_filename ngx_devel_kit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set devel_kit_version 0.3.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set devel_kit_distname ${devel_kit_filename}-${devel_kit_version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distfiles-append v${devel_kit_version}.tar.gz:devel_kit_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums-append v${devel_kit_version}.tar.gz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 5c52a463544294096611aa9dec1c76e937a1aa23 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 0e971105e210d272a497567fa2e2c256f4e39b845a5ba80d373e26ba1abfbd85 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 66542
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --add-module=${workpath}/${devel_kit_distname}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant flv description {Add FLV (Flash Video) streaming support to server} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-http_flv_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant gperftools description {Enable Google Performance Tools profiling for workers} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-google_perftools_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:gperftools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # If 'google_perftools' port doesn't find headers needed for the profiler lib, it just quietly skips it.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Check if "-lprofiler" will fail -- if so, pre-empt configure-stage error with a more useful error msg.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![file exists "${prefix}/lib/libprofiler.dylib"] && ![file exists "${prefix}/lib/libprofiler.a"]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ The 'gperftools' port did not install a libprofiler library (libprofiler.dylib or\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libprofiler.a) on your version of macOS, but the +google_perftools variant will not work\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ without this library. Disable the +google_perftools variant to continue installing ${propername}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ error "Required libprofiler library missing from gperftools port."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant gzip_static description {Avoids compressing the same file each time it is requested} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-http_gzip_static_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant http2 requires ssl description {Add HTTP/2 support to the server} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-http_v2_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant image_filter description {Transform images with libgd} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-http_image_filter_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:gd2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant mail description {Add IMAP4/POP3 mail proxy support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-mail
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset ssl]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-mail_ssl_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant mp4 description {Enables mp4 streaming with seeking ability} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-http_mp4_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant perl5 description {Add perl support to the server directly within nginx and call perl via SSI} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:perl5.30
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-http_perl_module \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-perl=${prefix}/bin/perl5.30
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant random_index description {Randomize directory indexes} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-http_random_index_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant realip description {For using nginx as backend} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-http_realip_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant secure_link description {Protect pages with a secret key} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-http_secure_link_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant ssl description {Add SSL (HTTPS) support to the server, and also to the mail proxy if that is enabled} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-http_ssl_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append path:lib/libssl.dylib:openssl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant status description {Add /nginx_status support to the server} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-http_stub_status_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant substitution description {Replace text in pages} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-http_sub_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant stream description {Enable ngx_stream_core_module for generic TCP proxying and load balancing (install with +ssl to enable ngx_stream_ssl_module)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-stream
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset ssl]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-stream_ssl_module --with-stream_ssl_preread_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant threads description {Add threads support (http://nginx.org/en/docs/ngx_core_module.html#thread_pool)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-threads
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant xslt description {Post-process pages with XSLT} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-http_xslt_module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:libxslt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type regexm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url ${homepage}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex {nginx-(\d+\.\d+\.\d+)</a>\s+mainline}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/nginx-devel/files/patch-auto__install.diff b/www/nginx-devel/files/patch-auto__install.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..4468c38b518
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/nginx-devel/files/patch-auto__install.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- auto/install.orig 2012-08-13 15:48:18.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ auto/install 2012-08-13 20:54:49.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -8,7 +8,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cat << END >> $NGX_MAKEFILE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install_perl_modules:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- cd $NGX_OBJS/src/http/modules/perl && \$(MAKE) install
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ cd $NGX_OBJS/src/http/modules/perl && \$(MAKE) pure_install
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ END
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ NGX_INSTALL_PERL_MODULES=install_perl_modules
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/nginx-devel/files/patch-conf__nginx.conf.diff b/www/nginx-devel/files/patch-conf__nginx.conf.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..3709ce7e9db
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/nginx-devel/files/patch-conf__nginx.conf.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,52 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- conf/nginx.conf.orig 2015-12-09 15:47:21.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ conf/nginx.conf 2015-12-14 22:26:07.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -41,7 +41,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #access_log logs/host.access.log main;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ location / {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- root html;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ root share/nginx/html;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ index index.html index.htm;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -51,7 +51,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ error_page 500 502 503 504 /50x.html;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ location = /50x.html {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- root html;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ root share/nginx/html;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # proxy the PHP scripts to Apache listening on 127.0.0.1:80
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -63,11 +63,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #location ~ \.php$ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # root html;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # root share/nginx/html;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # fastcgi_pass 127.0.0.1:9000;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # fastcgi_index index.php;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # include fastcgi_params;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # include fastcgi.conf;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # deny access to .htaccess files, if Apache's document root
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -87,7 +86,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # server_name somename alias another.alias;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # location / {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # root html;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # root share/nginx/html;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # index index.html index.htm;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -109,7 +108,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # ssl_prefer_server_ciphers on;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # location / {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # root html;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # root share/nginx/html;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # index index.html index.htm;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/nginx-devel/files/patch-headers_more_headers_in.c.diff b/www/nginx-devel/files/patch-headers_more_headers_in.c.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..423d6c10d73
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/nginx-devel/files/patch-headers_more_headers_in.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/src/ngx_http_headers_more_headers_in.c b/src/ngx_http_headers_more_headers_in.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index c3eb8f7..84c7525 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- nginx_h_more_module.tmp/src/ngx_http_headers_more_headers_in.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ nginx_h_more_module.tmp/src/ngx_http_headers_more_headers_in.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -158,9 +158,15 @@ static ngx_http_headers_more_set_header_t ngx_http_headers_more_set_handlers[]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ngx_http_set_builtin_header },
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(nginx_version) && nginx_version >= 1023000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ { ngx_string("Cookie"),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ offsetof(ngx_http_headers_in_t, cookie),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ngx_http_set_builtin_multi_header },
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ { ngx_string("Cookie"),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ offsetof(ngx_http_headers_in_t, cookies),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ngx_http_set_builtin_multi_header },
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ { ngx_null_string, 0, ngx_http_set_header }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ };
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/nginx-devel/files/patch-lua_headers_in.c.diff b/www/nginx-devel/files/patch-lua_headers_in.c.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..51ffb9406ce
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/nginx-devel/files/patch-lua_headers_in.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,18 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ngx_lua_distname.tmp/src/ngx_http_lua_headers_in.c.orig 2022-03-02 00:54:22.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ngx_lua_distname.tmp/src/ngx_http_lua_headers_in.c 2022-06-22 15:17:11.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -152,9 +152,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ngx_http_set_builtin_header },
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(nginx_version) && nginx_version >= 1023000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ { ngx_string("Cookie"),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ offsetof(ngx_http_headers_in_t, cookie),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ngx_http_set_builtin_multi_header },
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ { ngx_string("Cookie"),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ offsetof(ngx_http_headers_in_t, cookies),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ngx_http_set_builtin_multi_header },
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ { ngx_null_string, 0, ngx_http_set_header }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ };
</span></pre><pre style='margin:0'>
</pre>