Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2019 10:03:43 +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: r512154 - in head/devel: . lua-resty-string
Message-ID:  <201909161003.x8GA3hgG037993@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mm
Date: Mon Sep 16 10:03:43 2019
New Revision: 512154
URL: https://svnweb.freebsd.org/changeset/ports/512154

Log:
  String utilities and common hash functions for ngx_lua and LuaJIT
  
  WWW: https://github.com/openresty/lua-resty-string

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Sep 16 09:52:19 2019	(r512153)
+++ head/devel/Makefile	Mon Sep 16 10:03:43 2019	(r512154)
@@ -1505,6 +1505,7 @@
     SUBDIR += lua-posix
     SUBDIR += lua-pty
     SUBDIR += lua-rds-parser
+    SUBDIR += lua-resty-string
     SUBDIR += lua-stdlib
     SUBDIR += lua-stdlib-debug
     SUBDIR += lua-stdlib-normalize

Added: head/devel/lua-resty-string/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/lua-resty-string/Makefile	Mon Sep 16 10:03:43 2019	(r512154)
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME=	lua-resty-string
+DISTVERSIONPREFIX=v
+DISTVERSION=	0.12rc1
+CATEGORIES=	devel www
+
+MAINTAINER=	mm@FreeBSD.org
+COMMENT=	String utilities and common hash functions for ngx_lua and LuaJIT
+
+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_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/devel/lua-resty-string/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/lua-resty-string/distinfo	Mon Sep 16 10:03:43 2019	(r512154)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1568627905
+SHA256 (openresty-lua-resty-string-v0.12rc1_GH0.tar.gz) = d436208e4e9c3da91854059425fc91df32ba81124eae77e804450aaa92ac934b
+SIZE (openresty-lua-resty-string-v0.12rc1_GH0.tar.gz) = 10438

Added: head/devel/lua-resty-string/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/lua-resty-string/pkg-descr	Mon Sep 16 10:03:43 2019	(r512154)
@@ -0,0 +1,3 @@
+String utilities and common hash functions for ngx_lua and LuaJIT
+
+WWW: https://github.com/openresty/lua-resty-string

Added: head/devel/lua-resty-string/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/lua-resty-string/pkg-plist	Mon Sep 16 10:03:43 2019	(r512154)
@@ -0,0 +1,10 @@
+%%LUA_MODSHAREDIR%%/resty/aes.lua
+%%LUA_MODSHAREDIR%%/resty/md5.lua
+%%LUA_MODSHAREDIR%%/resty/random.lua
+%%LUA_MODSHAREDIR%%/resty/sha.lua
+%%LUA_MODSHAREDIR%%/resty/sha1.lua
+%%LUA_MODSHAREDIR%%/resty/sha224.lua
+%%LUA_MODSHAREDIR%%/resty/sha256.lua
+%%LUA_MODSHAREDIR%%/resty/sha384.lua
+%%LUA_MODSHAREDIR%%/resty/sha512.lua
+%%LUA_MODSHAREDIR%%/resty/string.lua



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