aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbagas <bagas1983@mail.ru>2022-11-10 19:27:41 +0000
committerFlorian Smeets <flo@FreeBSD.org>2022-11-10 19:42:31 +0000
commit48a7ce510ad18eea66a32b0b8e9a69e9a564ee1a (patch)
tree9f8f686965229a7713564f58ddebbcbdfee0d64d
parent97e16a66e2d788e8c8ef47506ab462f907e94121 (diff)
downloadports-48a7ce510ad18eea66a32b0b8e9a69e9a564ee1a.tar.gz
ports-48a7ce510ad18eea66a32b0b8e9a69e9a564ee1a.zip
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
-rw-r--r--www/nginx/Makefile2
-rw-r--r--www/nginx/Makefile.extmod2
-rw-r--r--www/nginx/distinfo4
3 files changed, 4 insertions, 4 deletions
diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index fbb21e6a1de2..0b08c5cf37aa 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -1,6 +1,6 @@
PORTNAME= nginx
PORTVERSION= 1.22.1
-PORTREVISION?= 1
+PORTREVISION?= 2
PORTEPOCH= 3
CATEGORIES= www
MASTER_SITES= https://nginx.org/download/ \
diff --git a/www/nginx/Makefile.extmod b/www/nginx/Makefile.extmod
index 987a9c9e9ba5..f04b1ec3701e 100644
--- a/www/nginx/Makefile.extmod
+++ b/www/nginx/Makefile.extmod
@@ -221,7 +221,7 @@ LUA_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty
LUA_RUN_DEPENDS= lua-resty-core>0:www/lua-resty-core
LUA_CONFIGURE_ENV= LUAJIT_INC=${LOCALBASE}/include/luajit-2.1 \
LUAJIT_LIB=${LOCALBASE}/lib
-LUA_GH_TUPLE= openresty:lua-nginx-module:v0.10.21:lua
+LUA_GH_TUPLE= openresty:lua-nginx-module:v0.10.22:lua
LUA_VARS= DSO_EXTMODS+=lua
MEMC_GH_TUPLE= openresty:memc-nginx-module:v0.19:memc
diff --git a/www/nginx/distinfo b/www/nginx/distinfo
index 5d75f63c31d7..24e230b6e3b3 100644
--- a/www/nginx/distinfo
+++ b/www/nginx/distinfo
@@ -103,8 +103,8 @@ SHA256 (baysao-nginx-let-module-c1f23aa_GH0.tar.gz) = 7393809d5d8877812da1bd5b5f
SIZE (baysao-nginx-let-module-c1f23aa_GH0.tar.gz) = 20617
SHA256 (Taymindis-nginx-link-function-3.2.4_GH0.tar.gz) = 20c3679199ba7efe1598f03b2fa0b13591226363c8dd7930d7f02702cd5abada
SIZE (Taymindis-nginx-link-function-3.2.4_GH0.tar.gz) = 139656
-SHA256 (openresty-lua-nginx-module-v0.10.21_GH0.tar.gz) = 9db756000578efaecb43bea4fc6cf631aaa80988d86ffe5d3afeb9927895ffad
-SIZE (openresty-lua-nginx-module-v0.10.21_GH0.tar.gz) = 690938
+SHA256 (openresty-lua-nginx-module-v0.10.22_GH0.tar.gz) = 294d3d4b2d14fda1b8c539ff86f90047d203df861eb9a1ac44ec5c679ef55408
+SIZE (openresty-lua-nginx-module-v0.10.22_GH0.tar.gz) = 690975
SHA256 (openresty-memc-nginx-module-v0.19_GH0.tar.gz) = 8c2bdbe875e4f5225d0778bfb09a2668f9281d7de6218c7b462a7ba2cee06fe8
SIZE (openresty-memc-nginx-module-v0.19_GH0.tar.gz) = 34654
SHA256 (SpiderLabs-ModSecurity-nginx-v1.0.2_GH0.tar.gz) = f8d3ff15520df736c5e20e91d5852ec27e0874566c2afce7dcb979e2298d6980