Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Sep 2019 23:18:47 +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: r512135 - in head/www: . lua-resty-core
Message-ID:  <201909152318.x8FNIlWk047466@repo.freebsd.org>

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

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

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

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

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

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

Added: head/www/lua-resty-core/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/lua-resty-core/pkg-descr	Sun Sep 15 23:18:47 2019	(r512135)
@@ -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

Added: head/www/lua-resty-core/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/lua-resty-core/pkg-plist	Sun Sep 15 23:18:47 2019	(r512135)
@@ -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



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