Page MenuHomeFreeBSD

D13121.id35324.diff
No OneTemporary

D13121.id35324.diff

Index: databases/Makefile
===================================================================
--- databases/Makefile
+++ databases/Makefile
@@ -165,6 +165,7 @@
SUBDIR += linux-oracle-instantclient-sqlplus
SUBDIR += liquibase
SUBDIR += lmdb
+ SUBDIR += lua-resty-redis
SUBDIR += lua-xapian
SUBDIR += luadbi
SUBDIR += luasql-firebird
Index: databases/lua-resty-redis/Makefile
===================================================================
--- /dev/null
+++ databases/lua-resty-redis/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+PORTNAME= lua-resty-redis
+PORTVERSION= 0.26
+DISTVERSIONPREFIX= v
+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>
Index: databases/lua-resty-redis/distinfo
===================================================================
--- /dev/null
+++ databases/lua-resty-redis/distinfo
@@ -0,0 +1,2 @@
+SHA256 (openresty-lua-resty-redis-v0.26_GH0.tar.gz) = 8ec3a2b5055776657980fead5dee7651246f4bbb0903db4322dd232209f43b2e
+SIZE (openresty-lua-resty-redis-v0.26_GH0.tar.gz) = 17531
Index: databases/lua-resty-redis/files/patch-Makefile
===================================================================
--- /dev/null
+++ 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
Index: databases/lua-resty-redis/pkg-descr
===================================================================
--- /dev/null
+++ 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
Index: databases/lua-resty-redis/pkg-plist
===================================================================
--- /dev/null
+++ databases/lua-resty-redis/pkg-plist
@@ -0,0 +1,2 @@
+%%LUA_MODSHAREDIR%%/resty/redis.lua
+@dir %%LUA_MODSHAREDIR%%/resty

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 19, 8:18 PM (4 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31795988
Default Alt Text
D13121.id35324.diff (2 KB)

Event Timeline