aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbagas <bagas1983@mail.ru>2022-11-10 19:27:41 +0000
committerFlorian Smeets <flo@FreeBSD.org>2022-11-14 18:06:39 +0000
commitb36da0c4991dd77a4fbc08bff5087264279e4972 (patch)
tree25848cb258f6a9d1a2fb305d90843c0966726cb8
parent922f4a85e95bccf9e0524ab37bf8e694ae0919c4 (diff)
downloadports-b36da0c4991dd77a4fbc08bff5087264279e4972.tar.gz
ports-b36da0c4991dd77a4fbc08bff5087264279e4972.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 (cherry picked from commit 48a7ce510ad18eea66a32b0b8e9a69e9a564ee1a)
-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 97a171f3bce6..d43d9cb4d6ab 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -1,6 +1,6 @@
PORTNAME= nginx
PORTVERSION= 1.22.0
-PORTREVISION?= 8
+PORTREVISION?= 9
PORTEPOCH= 3
CATEGORIES= www
MASTER_SITES= https://nginx.org/download/ \
diff --git a/www/nginx/Makefile.extmod b/www/nginx/Makefile.extmod
index 046a9915ebbd..ee37051af61a 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 dcf9ef957a88..5c15c80833b7 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