diff options
author | Jochen Neumeister <joneum@FreeBSD.org> | 2017-11-16 20:02:08 +0000 |
---|---|---|
committer | Jochen Neumeister <joneum@FreeBSD.org> | 2017-11-16 20:02:08 +0000 |
commit | fa838d82b7d3ec20c092d4b5bac6e9b6ab99a487 (patch) | |
tree | 9a501213d900a8b927337ccec2ddf7b66cbfed3f /databases/lua-resty-redis | |
parent | dc656b07fce5c41e6e5e0c49b0389c9b5ce05185 (diff) |
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@b1t.name (maintainer)
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D13121
Notes
Notes:
svn path=/head/; revision=454333
Diffstat (limited to 'databases/lua-resty-redis')
-rw-r--r-- | databases/lua-resty-redis/Makefile | 17 | ||||
-rw-r--r-- | databases/lua-resty-redis/distinfo | 3 | ||||
-rw-r--r-- | databases/lua-resty-redis/files/patch-Makefile | 11 | ||||
-rw-r--r-- | databases/lua-resty-redis/pkg-descr | 8 | ||||
-rw-r--r-- | databases/lua-resty-redis/pkg-plist | 1 |
5 files changed, 40 insertions, 0 deletions
diff --git a/databases/lua-resty-redis/Makefile b/databases/lua-resty-redis/Makefile new file mode 100644 index 000000000000..9690ff9b9a8f --- /dev/null +++ b/databases/lua-resty-redis/Makefile @@ -0,0 +1,17 @@ +# $FreeBSD$ + +PORTNAME= lua-resty-redis +DISTVERSIONPREFIX= v +DISTVERSION= 0.26 +CATEGORIES= databases + +MAINTAINER= arcade@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> diff --git a/databases/lua-resty-redis/distinfo b/databases/lua-resty-redis/distinfo new file mode 100644 index 000000000000..47823fd00582 --- /dev/null +++ b/databases/lua-resty-redis/distinfo @@ -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 diff --git a/databases/lua-resty-redis/files/patch-Makefile b/databases/lua-resty-redis/files/patch-Makefile new file mode 100644 index 000000000000..db153d4ee71b --- /dev/null +++ b/databases/lua-resty-redis/files/patch-Makefile @@ -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 diff --git a/databases/lua-resty-redis/pkg-descr b/databases/lua-resty-redis/pkg-descr new file mode 100644 index 000000000000..bc12d11e620e --- /dev/null +++ b/databases/lua-resty-redis/pkg-descr @@ -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 diff --git a/databases/lua-resty-redis/pkg-plist b/databases/lua-resty-redis/pkg-plist new file mode 100644 index 000000000000..f82dce7c5765 --- /dev/null +++ b/databases/lua-resty-redis/pkg-plist @@ -0,0 +1 @@ +%%LUA_MODSHAREDIR%%/resty/redis.lua |