Skip to content

Commit 48a7ce5

Browse files
bagasikfsmeets
authored andcommitted
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
1 parent 97e16a6 commit 48a7ce5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

‎www/nginx/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PORTNAME= nginx
22
PORTVERSION= 1.22.1
3-
PORTREVISION?= 1
3+
PORTREVISION?= 2
44
PORTEPOCH= 3
55
CATEGORIES= www
66
MASTER_SITES= https://nginx.org/download/ \

‎www/nginx/Makefile.extmod‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ LUA_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty
221221
LUA_RUN_DEPENDS= lua-resty-core>0:www/lua-resty-core
222222
LUA_CONFIGURE_ENV= LUAJIT_INC=${LOCALBASE}/include/luajit-2.1 \
223223
LUAJIT_LIB=${LOCALBASE}/lib
224-
LUA_GH_TUPLE= openresty:lua-nginx-module:v0.10.21:lua
224+
LUA_GH_TUPLE= openresty:lua-nginx-module:v0.10.22:lua
225225
LUA_VARS= DSO_EXTMODS+=lua
226226

227227
MEMC_GH_TUPLE= openresty:memc-nginx-module:v0.19:memc

‎www/nginx/distinfo‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ SHA256 (baysao-nginx-let-module-c1f23aa_GH0.tar.gz) = 7393809d5d8877812da1bd5b5f
103103
SIZE (baysao-nginx-let-module-c1f23aa_GH0.tar.gz) = 20617
104104
SHA256 (Taymindis-nginx-link-function-3.2.4_GH0.tar.gz) = 20c3679199ba7efe1598f03b2fa0b13591226363c8dd7930d7f02702cd5abada
105105
SIZE (Taymindis-nginx-link-function-3.2.4_GH0.tar.gz) = 139656
106-
SHA256 (openresty-lua-nginx-module-v0.10.21_GH0.tar.gz) = 9db756000578efaecb43bea4fc6cf631aaa80988d86ffe5d3afeb9927895ffad
107-
SIZE (openresty-lua-nginx-module-v0.10.21_GH0.tar.gz) = 690938
106+
SHA256 (openresty-lua-nginx-module-v0.10.22_GH0.tar.gz) = 294d3d4b2d14fda1b8c539ff86f90047d203df861eb9a1ac44ec5c679ef55408
107+
SIZE (openresty-lua-nginx-module-v0.10.22_GH0.tar.gz) = 690975
108108
SHA256 (openresty-memc-nginx-module-v0.19_GH0.tar.gz) = 8c2bdbe875e4f5225d0778bfb09a2668f9281d7de6218c7b462a7ba2cee06fe8
109109
SIZE (openresty-memc-nginx-module-v0.19_GH0.tar.gz) = 34654
110110
SHA256 (SpiderLabs-ModSecurity-nginx-v1.0.2_GH0.tar.gz) = f8d3ff15520df736c5e20e91d5852ec27e0874566c2afce7dcb979e2298d6980

0 commit comments

Comments
 (0)