[Bug 272518] www/lua-resty-core: Update to 0.1.27 (fixes incompatibility with latest nginx port update)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 15 Jul 2023 15:08:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272518

            Bug ID: 272518
           Summary: www/lua-resty-core: Update to 0.1.27 (fixes
                    incompatibility with latest nginx port update)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: chris@cretaforce.gr
                CC: dmitry.wagin@ya.ru
             Flags: maintainer-feedback?(dmitry.wagin@ya.ru)
                CC: dmitry.wagin@ya.ru

Created attachment 243405
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243405&action=edit
Update to 0.1.27

After upgrading nginx to version 1.24.0_10,3 during nginx restart I get this:

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:24: ngx_http_lua_module 0.10.24
required) in /usr/local/etc/nginx/nginx.conf:1002
/usr/local/etc/rc.d/nginx: WARNING: failed to start nginx

If I replace ngx.config.ngx_lua_version ~= 10024 with
ngx.config.ngx_lua_version ~= 10025 in file
/usr/local/share/lua/5.1/resty/core/base.lua then nginx restarts without issue.

Can you please update lua-resty-core to 0.1.27?

-- 
You are receiving this mail because:
You are the assignee for the bug.