HomeFreeBSD

www/nginx: Fix nginx after lua-resty-core update

Description

www/nginx: Fix nginx after lua-resty-core update

Update 3rd party module ngx_http_lua_module to 0.10.22 otherwise nginx
fails to start with the following error message:

nginx: [alert] failed to load the 'resty.core' module
(https://github.com/openresty/lua-resty-core); ensure you are using an
OpenResty release from https://openresty.org/en/download.html (reason:
/usr/local/share/lua/5.1/resty/core/base.lua:23: ngx_http_lua_module
0.10.22 required) in /usr/local/etc/nginx/nginx.conf:76

This has been broken for almost two weeks, use the
"Trivial and tested build and runtime fixes" blanket from 22.8.1 of the
committers guide to prevent more people from breaking their production
setups. nginx-devel already has version 0.10.22 of the module.

PR: 267418
(cherry picked from commit 48a7ce510ad18eea66a32b0b8e9a69e9a564ee1a)

Details

Provenance
bagas <bagas1983@mail.ru>Authored on Nov 10 2022, 7:27 PM
floCommitted on Nov 14 2022, 6:06 PM
Parents
R11:922f4a85e95b: net/py-trio: Add missing dependency
Branches
Unknown
Tags
Unknown