Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Sep 2019 23:12:13 +0000 (UTC)
From:      Martin Matuska <mm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r512134 - in head/www: . lua-resty-lrucache
Message-ID:  <201909152312.x8FNCDOh046928@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mm
Date: Sun Sep 15 23:12:13 2019
New Revision: 512134
URL: https://svnweb.freebsd.org/changeset/ports/512134

Log:
  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>

Added:
  head/www/lua-resty-lrucache/
  head/www/lua-resty-lrucache/Makefile   (contents, props changed)
  head/www/lua-resty-lrucache/distinfo   (contents, props changed)
  head/www/lua-resty-lrucache/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Sun Sep 15 23:09:47 2019	(r512133)
+++ head/www/Makefile	Sun Sep 15 23:12:13 2019	(r512134)
@@ -327,6 +327,7 @@
     SUBDIR += ljdump
     SUBDIR += llgal
     SUBDIR += logtools
+    SUBDIR += lua-resty-lrucache
     SUBDIR += luakit
     SUBDIR += lynx
     SUBDIR += lynx-current

Added: head/www/lua-resty-lrucache/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/lua-resty-lrucache/Makefile	Sun Sep 15 23:12:13 2019	(r512134)
@@ -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>

Added: head/www/lua-resty-lrucache/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/lua-resty-lrucache/distinfo	Sun Sep 15 23:12:13 2019	(r512134)
@@ -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

Added: head/www/lua-resty-lrucache/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/lua-resty-lrucache/pkg-descr	Sun Sep 15 23:12:13 2019	(r512134)
@@ -0,0 +1,3 @@
+Lua-land LRU cache based on the LuaJIT FFI
+
+WWW: https://github.com/openresty/lua-resty-lrucache



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909152312.x8FNCDOh046928>