Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2014 15:41:36 -0400 (EDT)
From:      Kurt Lidl <lidl@pix.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/187770: new port devel/lua-resty-redis
Message-ID:  <201403191941.s2JJfaYO094703@hydra.pix.net>
Resent-Message-ID: <201403191950.s2JJo0Dc026303@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         187770
>Category:       ports
>Synopsis:       new port devel/lua-resty-redis
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 19 19:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Kurt Lidl
>Release:        FreeBSD 9.1-RELEASE-p5 amd64
>Organization:
<none that I can find>
>Environment:
System: FreeBSD hydra.pix.net 9.1-RELEASE-p5 FreeBSD 9.1-RELEASE-p5 #0: Sat Jul 27 01:14:23 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64


>Description:
new port devel/lua-resty-redis

I'm not entirely sure that this port is 100% conforming to how
a lua-only port ought to be specified.  I cobbled together the
Makefile from a couple of others in the system.

I have little doubt it could be improved, so let me know what
needs work and I'll send an update to address any shortcomings.

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	lua-resty-redis
#	lua-resty-redis/pkg-plist
#	lua-resty-redis/Makefile
#	lua-resty-redis/distinfo
#	lua-resty-redis/pkg-descr
#
echo c - lua-resty-redis
mkdir -p lua-resty-redis > /dev/null 2>&1
echo x - lua-resty-redis/pkg-plist
sed 's/^X//' >lua-resty-redis/pkg-plist << 'b9b94e61a0dcbf0283345896a1593c24'
X%%LUA_MODSHAREDIR%%/resty/redis.lua
b9b94e61a0dcbf0283345896a1593c24
echo x - lua-resty-redis/Makefile
sed 's/^X//' >lua-resty-redis/Makefile << '16e801f6cca99a4c3d4580308537900e'
X# Created by: Kurt Lidl <lidl@pix.net>
X# $FreeBSD$
X
XPORTNAME=	resty-redis
XDISTVERSION=	0.20
XCATEGORIES=	devel
XMASTER_SITES=	https://github.com/agentzh/lua-resty-redis/tarball/master/
XPKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}
XDISTNAME=	lua-${PORTNAME}-${DISTVERSION}-${GITVERSION}
X
XMAINTAINER=	lidl@pix.net
XCOMMENT=	Lua module for redis control
X
XLICENSE=	BSD2CLAUSE
X
XGITVERSION=     0-g1dc183d
XWRKSRC=         ${WRKDIR}/agentzh-lua-resty-redis-${GITVERSION:S/^0-g//}
X
XUSES=		lua
XNO_BUILD=	yes
X
XREDIS_FILES=	lib/resty/redis.lua
X
Xdo-install:
X	@${MKDIR} ${STAGEDIR}${LUA_MODSHAREDIR}/resty
X.for _part in ${REDIS_FILES}
X	${INSTALL_DATA} ${WRKSRC}/${_part} ${STAGEDIR}${LUA_MODSHAREDIR}/resty
X.endfor
X
X.include <bsd.port.mk>
16e801f6cca99a4c3d4580308537900e
echo x - lua-resty-redis/distinfo
sed 's/^X//' >lua-resty-redis/distinfo << '417c2ae1435de0f19d9509dd930522fb'
XSHA256 (lua-resty-redis-0.20-0-g1dc183d.tar.gz) = 3a9bc644a97fa87840b2023b84c6676467d2d37dde0bde3674e478abea4e4fb5
XSIZE (lua-resty-redis-0.20-0-g1dc183d.tar.gz) = 15382
417c2ae1435de0f19d9509dd930522fb
echo x - lua-resty-redis/pkg-descr
sed 's/^X//' >lua-resty-redis/pkg-descr << '07efe3e0547b89081a89a0f9adf4479b'
Xlua-resty-redis is a client driver for nginx_lua module, based on the cosocket API.
X
XWWW: https://github.com/agentzh/lua-resty-redis
07efe3e0547b89081a89a0f9adf4479b
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403191941.s2JJfaYO094703>