Lua-land LRU cache based on the LuaJIT FFI

WWW: https://github.com/openresty/lua-resty-lrucache

PR:		240160
Submitted by:	Dmitry Wagin <dmitry.wagin@ya.ru>
This commit is contained in:
Martin Matuska 2019-09-15 23:12:13 +00:00
parent 733536836f
commit a8acf6b828
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=512134
4 changed files with 37 additions and 0 deletions

View File

@ -327,6 +327,7 @@
SUBDIR += ljdump
SUBDIR += llgal
SUBDIR += logtools
SUBDIR += lua-resty-lrucache
SUBDIR += luakit
SUBDIR += lynx
SUBDIR += lynx-current

View File

@ -0,0 +1,30 @@
# $FreeBSD$
PORTNAME= lua-resty-lrucache
PORTVERSION= 0.09
DISTVERSIONPREFIX=v
CATEGORIES= www
MAINTAINER= dmitry.wagin@ya.ru
COMMENT= Lua-land LRU cache based on the LuaJIT FFI
LICENSE= BSD2CLAUSE
RUN_DEPENDS= luajit-openresty>=2.1:lang/luajit-openresty
USE_GITHUB= yes
GH_ACCOUNT= openresty
NO_ARCH= yes
NO_BUILD= yes
LUA_MODSHAREDIR=${LOCALBASE}/share/lua/5.1
PLIST_FILES+= ${LUA_MODSHAREDIR}/resty/lrucache.lua \
${LUA_MODSHAREDIR}/resty/lrucache/pureffi.lua
do-install:
@${MKDIR} ${STAGEDIR}${LUA_MODSHAREDIR}
@(cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${LUA_MODSHAREDIR} "-name *\.lua")
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1566944480
SHA256 (openresty-lua-resty-lrucache-v0.09_GH0.tar.gz) = 42f0384f80b6a9b4f42f91ee688baf69165d0573347e6ea84ebed95e928211d7
SIZE (openresty-lua-resty-lrucache-v0.09_GH0.tar.gz) = 14954

View File

@ -0,0 +1,3 @@
Lua-land LRU cache based on the LuaJIT FFI
WWW: https://github.com/openresty/lua-resty-lrucache