Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 2010 01:26:53 GMT
From:      Grzegorz Blach <magik@roorback.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/153535: New Port: databases/hiredis
Message-ID:  <201012300126.oBU1QrZU093862@red.freebsd.org>
Resent-Message-ID: <201012300130.oBU1UAZB093363@freefall.freebsd.org>

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

>Number:         153535
>Category:       ports
>Synopsis:       New Port: databases/hiredis
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 30 01:30:10 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Grzegorz Blach
>Release:        8.2-RC1 amd64
>Organization:
>Environment:
FreeBSD silver.nine 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #4 r216778: Tue Dec 28 23:09:11 CET 2010     root@silver.nine:/usr/obj/usr/src/sys/SILVER  amd64

>Description:
Hiredis is a minimalistic C client library for the Redis database.

https://github.com/antirez/hiredis

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	databases/hiredis
#	databases/hiredis/pkg-plist
#	databases/hiredis/distinfo
#	databases/hiredis/pkg-descr
#	databases/hiredis/Makefile
#
echo c - databases/hiredis
mkdir -p databases/hiredis > /dev/null 2>&1
echo x - databases/hiredis/pkg-plist
sed 's/^X//' >databases/hiredis/pkg-plist << '4849c399f8eec77b416ccdf7c36f464c'
Xinclude/hiredis/async.h
Xinclude/hiredis/hiredis.h
Xinclude/hiredis/adapters/ae.h
Xinclude/hiredis/adapters/libev.h
Xinclude/hiredis/adapters/libevent.h
Xlib/libhiredis.a
Xlib/libhiredis.so
X@dirrm include/hiredis/adapters
X@dirrm include/hiredis
4849c399f8eec77b416ccdf7c36f464c
echo x - databases/hiredis/distinfo
sed 's/^X//' >databases/hiredis/distinfo << 'c0772a1265e77f9943787145cd84977f'
XSHA256 (antirez-hiredis-v0.9.2-0-g0fbfa45.tar.gz) = 02cf8653bb1afa8e56545103e00b4d7cd64bc34db6cae44465bde9919e420b4d
XSIZE (antirez-hiredis-v0.9.2-0-g0fbfa45.tar.gz) = 29669
c0772a1265e77f9943787145cd84977f
echo x - databases/hiredis/pkg-descr
sed 's/^X//' >databases/hiredis/pkg-descr << '0ce57b4b5ef32fe5f357b93054253e70'
XHiredis is a minimalistic C client library for the Redis database.
X
XIt is minimalistic because it just adds minimal support for the protocol,
Xbut at the same time it uses an high level printf-alike API in order to make
Xit much higher level than otherwise suggested by its minimal code base and
Xthe lack of explicit bindings for every Redis command.
X
XApart from supporting sending commands and receiving replies, it comes with
Xa reply parser that is decoupled from the I/O layer. It is a stream parser
Xdesigned for easy reusability, which can for instance be used in higher
Xlevel language bindings for efficient reply parsing.
X
XHiredis only supports the binary-safe Redis protocol, so you can use it with
Xany Redis version >= 1.2.0.
X
XThe library comes with multiple APIs. There is the synchronous API, the
Xasynchronous API and the reply parsing API.
X
XWWW: https://github.com/antirez/hiredis
0ce57b4b5ef32fe5f357b93054253e70
echo x - databases/hiredis/Makefile
sed 's/^X//' >databases/hiredis/Makefile << '805ab54265c4ad1af0370c4910a99f37'
X# New ports collection makefile for:	hiredis
X# Date created:	   29 December 2010
X# Whom:		   Grzegorz Blach <magik@roorback.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	hiredis
XDISTVERSION=	0.9.2
XCATEGORIES=	databases
XMASTER_SITES=	https://github.com/antirez/hiredis/tarball/v${DISTVERSION}/
XDISTNAME=	antirez-${PORTNAME}-v${DISTVERSION}-0-g${GITVERSION}
X
XMAINTAINER=	magik@roorback.net
XCOMMENT=	Minimalistic C client library for the Redis database
X
XLICENSE=	BSD
X
XGITVERSION=	0fbfa45
XFETCH_ARGS=	-pRr
XWRKSRC=		${WRKDIR}/antirez-${PORTNAME}-${GITVERSION}
X
XUSE_GMAKE=	yes
XCFLAGS+=	-fPIC
XUSE_LDCONFIG=	yes
X
X.include <bsd.port.mk>
805ab54265c4ad1af0370c4910a99f37
exit



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



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