git: 72eb8ee73f35 - main - www/lua-resty-core: Makefile and pkg-plist corrections

From: Neel Chauhan <nc_at_FreeBSD.org>
Date: Tue, 17 May 2022 04:52:57 UTC
The branch main has been updated by nc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=72eb8ee73f3518581776bef8c1bbdc0aa7663f9f

commit 72eb8ee73f3518581776bef8c1bbdc0aa7663f9f
Author:     Dmitry Wagin <dmitry.wagin@ya.ru>
AuthorDate: 2022-05-17 04:52:32 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-05-17 04:52:32 +0000

    www/lua-resty-core: Makefile and pkg-plist corrections
    
    PR:     263989
---
 www/lua-resty-core/Makefile  | 8 ++++----
 www/lua-resty-core/pkg-plist | 1 +
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/www/lua-resty-core/Makefile b/www/lua-resty-core/Makefile
index cd713954bb8d..7c3228f473fc 100644
--- a/www/lua-resty-core/Makefile
+++ b/www/lua-resty-core/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	lua-resty-core
-PORTVERSION=	0.1.23
+DISTVERSION=	0.1.23
 DISTVERSIONPREFIX=	v
 CATEGORIES=	www
 
@@ -8,8 +8,8 @@ COMMENT=	New FFI-based Lua API for OpenResty NGINX Lua modules
 
 LICENSE=	BSD2CLAUSE
 
-RUN_DEPENDS=	luajit-openresty>=2.1:lang/luajit-openresty \
-		lua-resty-lrucache>=0.10:www/lua-resty-lrucache
+RUN_DEPENDS=	lua-resty-lrucache>=0.10:www/lua-resty-lrucache \
+		luajit-openresty>=2.1:lang/luajit-openresty
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	openresty
@@ -17,7 +17,7 @@ GH_ACCOUNT=	openresty
 NO_ARCH=	yes
 NO_BUILD=	yes
 
-LUA_MODSHAREDIR=${LOCALBASE}/share/lua/5.1
+LUA_MODSHAREDIR=	${LOCALBASE}/share/lua/5.1
 
 PLIST_SUB=	LUA_MODSHAREDIR=${LUA_MODSHAREDIR}
 
diff --git a/www/lua-resty-core/pkg-plist b/www/lua-resty-core/pkg-plist
index 1770b3eec6e6..5312195a4b03 100644
--- a/www/lua-resty-core/pkg-plist
+++ b/www/lua-resty-core/pkg-plist
@@ -9,6 +9,7 @@
 %%LUA_MODSHAREDIR%%/ngx/resp.lua
 %%LUA_MODSHAREDIR%%/ngx/semaphore.lua
 %%LUA_MODSHAREDIR%%/ngx/ssl.lua
+%%LUA_MODSHAREDIR%%/ngx/ssl/clienthello.lua
 %%LUA_MODSHAREDIR%%/ngx/ssl/session.lua
 %%LUA_MODSHAREDIR%%/resty/core.lua
 %%LUA_MODSHAREDIR%%/resty/core/base.lua