svn commit: r454333 - in head/databases: . lua-resty-redis lua-resty-redis/files
Jochen Neumeister
joneum at FreeBSD.org
Thu Nov 16 20:02:10 UTC 2017
Author: joneum
Date: Thu Nov 16 20:02:08 2017
New Revision: 454333
URL: https://svnweb.freebsd.org/changeset/ports/454333
Log:
New Port: lua-resty-redis - for accessing redis from nginx lua
This Lua library is a Redis client driver for the ngx_lua nginx module:
http://wiki.nginx.org/HttpLuaModule
This Lua library takes advantage of ngx_lua's cosocket API, which ensures 100%
nonblocking behavior.
WWW: https://github.com/openresty/lua-resty-redis
PR: 191531
Submitted by: arcade at b1t.name (maintainer)
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D13121
Added:
head/databases/lua-resty-redis/
head/databases/lua-resty-redis/Makefile (contents, props changed)
head/databases/lua-resty-redis/distinfo (contents, props changed)
head/databases/lua-resty-redis/files/
head/databases/lua-resty-redis/files/patch-Makefile (contents, props changed)
head/databases/lua-resty-redis/pkg-descr (contents, props changed)
head/databases/lua-resty-redis/pkg-plist (contents, props changed)
Modified:
head/databases/Makefile
Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile Thu Nov 16 19:41:20 2017 (r454332)
+++ head/databases/Makefile Thu Nov 16 20:02:08 2017 (r454333)
@@ -164,6 +164,7 @@
SUBDIR += linux-oracle-instantclient-sqlplus
SUBDIR += liquibase
SUBDIR += lmdb
+ SUBDIR += lua-resty-redis
SUBDIR += lua-xapian
SUBDIR += luadbi
SUBDIR += luasql-firebird
Added: head/databases/lua-resty-redis/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/lua-resty-redis/Makefile Thu Nov 16 20:02:08 2017 (r454333)
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+PORTNAME= lua-resty-redis
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.26
+CATEGORIES= databases
+
+MAINTAINER= arcade at b1t.name
+COMMENT= Redis client driver for the ngx_lua nginx module
+
+LICENSE= BSD2CLAUSE
+
+USES= lua:51
+USE_GITHUB= yes
+GH_ACCOUNT= openresty
+
+.include <bsd.port.mk>
Added: head/databases/lua-resty-redis/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/lua-resty-redis/distinfo Thu Nov 16 20:02:08 2017 (r454333)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1510862473
+SHA256 (openresty-lua-resty-redis-v0.26_GH0.tar.gz) = 8ec3a2b5055776657980fead5dee7651246f4bbb0903db4322dd232209f43b2e
+SIZE (openresty-lua-resty-redis-v0.26_GH0.tar.gz) = 17531
Added: head/databases/lua-resty-redis/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/lua-resty-redis/files/patch-Makefile Thu Nov 16 20:02:08 2017 (r454333)
@@ -0,0 +1,11 @@
+--- Makefile.orig 2016-11-04 20:57:34 UTC
++++ Makefile
+@@ -2,7 +2,7 @@ OPENRESTY_PREFIX=/usr/local/openresty-de
+
+ PREFIX ?= /usr/local
+ LUA_INCLUDE_DIR ?= $(PREFIX)/include
+-LUA_LIB_DIR ?= $(PREFIX)/lib/lua/$(LUA_VERSION)
++LUA_LIB_DIR ?= $(PREFIX)/share/lua/$(LUA_VER)
+ INSTALL ?= install
+
+ .PHONY: all test install
Added: head/databases/lua-resty-redis/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/lua-resty-redis/pkg-descr Thu Nov 16 20:02:08 2017 (r454333)
@@ -0,0 +1,8 @@
+This Lua library is a Redis client driver for the ngx_lua nginx module:
+
+http://wiki.nginx.org/HttpLuaModule
+
+This Lua library takes advantage of ngx_lua's cosocket API, which ensures 100%
+nonblocking behavior.
+
+WWW: https://github.com/openresty/lua-resty-redis
Added: head/databases/lua-resty-redis/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/lua-resty-redis/pkg-plist Thu Nov 16 20:02:08 2017 (r454333)
@@ -0,0 +1 @@
+%%LUA_MODSHAREDIR%%/resty/redis.lua
More information about the svn-ports-all
mailing list