From owner-svn-ports-all@freebsd.org Thu Nov 16 20:02:10 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05E88DE7A9D; Thu, 16 Nov 2017 20:02:10 +0000 (UTC) (envelope-from joneum@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D1ADB6832B; Thu, 16 Nov 2017 20:02:09 +0000 (UTC) (envelope-from joneum@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vAGK28Up084184; Thu, 16 Nov 2017 20:02:08 GMT (envelope-from joneum@FreeBSD.org) Received: (from joneum@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vAGK28rx084178; Thu, 16 Nov 2017 20:02:08 GMT (envelope-from joneum@FreeBSD.org) Message-Id: <201711162002.vAGK28rx084178@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: joneum set sender to joneum@FreeBSD.org using -f From: Jochen Neumeister Date: Thu, 16 Nov 2017 20:02:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r454333 - in head/databases: . lua-resty-redis lua-resty-redis/files X-SVN-Group: ports-head X-SVN-Commit-Author: joneum X-SVN-Commit-Paths: in head/databases: . lua-resty-redis lua-resty-redis/files X-SVN-Commit-Revision: 454333 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Nov 2017 20:02:10 -0000 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@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@b1t.name +COMMENT= Redis client driver for the ngx_lua nginx module + +LICENSE= BSD2CLAUSE + +USES= lua:51 +USE_GITHUB= yes +GH_ACCOUNT= openresty + +.include 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