mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
New FFI-based Lua API for ngx_http_lua_module and/or ngx_stream_lua_module
WWW: https://github.com/openresty/lua-resty-core PR: 240160 Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru>
This commit is contained in:
parent
a8acf6b828
commit
28a242590c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=512135
5 changed files with 66 additions and 0 deletions
|
@ -327,6 +327,7 @@
|
|||
SUBDIR += ljdump
|
||||
SUBDIR += llgal
|
||||
SUBDIR += logtools
|
||||
SUBDIR += lua-resty-core
|
||||
SUBDIR += lua-resty-lrucache
|
||||
SUBDIR += luakit
|
||||
SUBDIR += lynx
|
||||
|
|
30
www/lua-resty-core/Makefile
Normal file
30
www/lua-resty-core/Makefile
Normal file
|
@ -0,0 +1,30 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= lua-resty-core
|
||||
PORTVERSION= 0.1.17
|
||||
DISTVERSIONPREFIX=v
|
||||
CATEGORIES= www
|
||||
|
||||
MAINTAINER= dmitry.wagin@ya.ru
|
||||
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.09:www/lua-resty-lrucache
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= openresty
|
||||
|
||||
NO_ARCH= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
LUA_MODSHAREDIR=${LOCALBASE}/share/lua/5.1
|
||||
|
||||
PLIST_SUB= LUA_MODSHAREDIR=${LUA_MODSHAREDIR}
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${LUA_MODSHAREDIR}
|
||||
@(cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${LUA_MODSHAREDIR} "-name *\.lua")
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/lua-resty-core/distinfo
Normal file
3
www/lua-resty-core/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1566940586
|
||||
SHA256 (openresty-lua-resty-core-v0.1.17_GH0.tar.gz) = 8f5f76d2689a3f6b0782f0a009c56a65e4c7a4382be86422c9b3549fe95b0dc4
|
||||
SIZE (openresty-lua-resty-core-v0.1.17_GH0.tar.gz) = 150985
|
3
www/lua-resty-core/pkg-descr
Normal file
3
www/lua-resty-core/pkg-descr
Normal file
|
@ -0,0 +1,3 @@
|
|||
New FFI-based Lua API for ngx_http_lua_module and/or ngx_stream_lua_module
|
||||
|
||||
WWW: https://github.com/openresty/lua-resty-core
|
29
www/lua-resty-core/pkg-plist
Normal file
29
www/lua-resty-core/pkg-plist
Normal file
|
@ -0,0 +1,29 @@
|
|||
%%LUA_MODSHAREDIR%%/ngx/balancer.lua
|
||||
%%LUA_MODSHAREDIR%%/ngx/base64.lua
|
||||
%%LUA_MODSHAREDIR%%/ngx/errlog.lua
|
||||
%%LUA_MODSHAREDIR%%/ngx/ocsp.lua
|
||||
%%LUA_MODSHAREDIR%%/ngx/pipe.lua
|
||||
%%LUA_MODSHAREDIR%%/ngx/process.lua
|
||||
%%LUA_MODSHAREDIR%%/ngx/re.lua
|
||||
%%LUA_MODSHAREDIR%%/ngx/resp.lua
|
||||
%%LUA_MODSHAREDIR%%/ngx/semaphore.lua
|
||||
%%LUA_MODSHAREDIR%%/ngx/ssl.lua
|
||||
%%LUA_MODSHAREDIR%%/ngx/ssl/session.lua
|
||||
%%LUA_MODSHAREDIR%%/resty/core.lua
|
||||
%%LUA_MODSHAREDIR%%/resty/core/base.lua
|
||||
%%LUA_MODSHAREDIR%%/resty/core/base64.lua
|
||||
%%LUA_MODSHAREDIR%%/resty/core/ctx.lua
|
||||
%%LUA_MODSHAREDIR%%/resty/core/exit.lua
|
||||
%%LUA_MODSHAREDIR%%/resty/core/hash.lua
|
||||
%%LUA_MODSHAREDIR%%/resty/core/misc.lua
|
||||
%%LUA_MODSHAREDIR%%/resty/core/ndk.lua
|
||||
%%LUA_MODSHAREDIR%%/resty/core/phase.lua
|
||||
%%LUA_MODSHAREDIR%%/resty/core/regex.lua
|
||||
%%LUA_MODSHAREDIR%%/resty/core/request.lua
|
||||
%%LUA_MODSHAREDIR%%/resty/core/response.lua
|
||||
%%LUA_MODSHAREDIR%%/resty/core/shdict.lua
|
||||
%%LUA_MODSHAREDIR%%/resty/core/time.lua
|
||||
%%LUA_MODSHAREDIR%%/resty/core/uri.lua
|
||||
%%LUA_MODSHAREDIR%%/resty/core/utils.lua
|
||||
%%LUA_MODSHAREDIR%%/resty/core/var.lua
|
||||
%%LUA_MODSHAREDIR%%/resty/core/worker.lua
|
Loading…
Add table
Reference in a new issue