Page MenuHomeFreeBSD

D13121.diff
No OneTemporary

D13121.diff

Index: head/databases/Makefile
===================================================================
--- head/databases/Makefile
+++ head/databases/Makefile
@@ -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
Index: head/databases/lua-resty-redis/Makefile
===================================================================
--- head/databases/lua-resty-redis/Makefile
+++ head/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>
Index: head/databases/lua-resty-redis/distinfo
===================================================================
--- head/databases/lua-resty-redis/distinfo
+++ head/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
Index: head/databases/lua-resty-redis/files/patch-Makefile
===================================================================
--- head/databases/lua-resty-redis/files/patch-Makefile
+++ head/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: head/databases/lua-resty-redis/pkg-descr
===================================================================
--- head/databases/lua-resty-redis/pkg-descr
+++ head/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: head/databases/lua-resty-redis/pkg-plist
===================================================================
--- head/databases/lua-resty-redis/pkg-plist
+++ head/databases/lua-resty-redis/pkg-plist
@@ -0,0 +1 @@
+%%LUA_MODSHAREDIR%%/resty/redis.lua

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 18, 5:58 PM (6 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31728590
Default Alt Text
D13121.diff (2 KB)

Event Timeline