mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 12:26:27 -04:00
Hiredis is a minimalistic C client library for the Redis database.
It is minimalistic because it just adds minimal support for the protocol, but at the same time it uses an high level printf-alike API in order to make it much higher level than otherwise suggested by its minimal code base and the lack of explicit bindings for every Redis command. Apart from supporting sending commands and receiving replies, it comes with a reply parser that is decoupled from the I/O layer. It is a stream parser designed for easy reusability, which can for instance be used in higher level language bindings for efficient reply parsing. Hiredis only supports the binary-safe Redis protocol, so you can use it with any Redis version >= 1.2.0. The library comes with multiple APIs. There is the synchronous API, the asynchronous API and the reply parsing API. WWW: https://github.com/antirez/hiredis PR: ports/153535 Submitted by: Grzegorz Blach <magik at roorback.net> Feature safe: yes
This commit is contained in:
parent
6cc92f6964
commit
b344c7f3cc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=268480
5 changed files with 58 additions and 0 deletions
|
@ -113,6 +113,7 @@
|
|||
SUBDIR += grass
|
||||
SUBDIR += gtksql
|
||||
SUBDIR += hamsterdb
|
||||
SUBDIR += hiredis
|
||||
SUBDIR += hk_classes
|
||||
SUBDIR += hsqldb
|
||||
SUBDIR += hypertable
|
||||
|
|
27
databases/hiredis/Makefile
Normal file
27
databases/hiredis/Makefile
Normal file
|
@ -0,0 +1,27 @@
|
|||
# New ports collection makefile for: hiredis
|
||||
# Date created: 29 December 2010
|
||||
# Whom: Grzegorz Blach <magik@roorback.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= hiredis
|
||||
DISTVERSION= 0.9.2
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= https://github.com/antirez/hiredis/tarball/v${DISTVERSION}/
|
||||
DISTNAME= antirez-${PORTNAME}-v${DISTVERSION}-0-g${GITVERSION}
|
||||
|
||||
MAINTAINER= magik@roorback.net
|
||||
COMMENT= Minimalistic C client library for the Redis database
|
||||
|
||||
LICENSE= BSD
|
||||
|
||||
GITVERSION= 0fbfa45
|
||||
FETCH_ARGS= -pRr
|
||||
WRKSRC= ${WRKDIR}/antirez-${PORTNAME}-${GITVERSION}
|
||||
|
||||
USE_GMAKE= yes
|
||||
CFLAGS+= -fPIC
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
.include <bsd.port.mk>
|
2
databases/hiredis/distinfo
Normal file
2
databases/hiredis/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (antirez-hiredis-v0.9.2-0-g0fbfa45.tar.gz) = 02cf8653bb1afa8e56545103e00b4d7cd64bc34db6cae44465bde9919e420b4d
|
||||
SIZE (antirez-hiredis-v0.9.2-0-g0fbfa45.tar.gz) = 29669
|
19
databases/hiredis/pkg-descr
Normal file
19
databases/hiredis/pkg-descr
Normal file
|
@ -0,0 +1,19 @@
|
|||
Hiredis is a minimalistic C client library for the Redis database.
|
||||
|
||||
It is minimalistic because it just adds minimal support for the protocol,
|
||||
but at the same time it uses an high level printf-alike API in order to make
|
||||
it much higher level than otherwise suggested by its minimal code base and
|
||||
the lack of explicit bindings for every Redis command.
|
||||
|
||||
Apart from supporting sending commands and receiving replies, it comes with
|
||||
a reply parser that is decoupled from the I/O layer. It is a stream parser
|
||||
designed for easy reusability, which can for instance be used in higher
|
||||
level language bindings for efficient reply parsing.
|
||||
|
||||
Hiredis only supports the binary-safe Redis protocol, so you can use it with
|
||||
any Redis version >= 1.2.0.
|
||||
|
||||
The library comes with multiple APIs. There is the synchronous API, the
|
||||
asynchronous API and the reply parsing API.
|
||||
|
||||
WWW: https://github.com/antirez/hiredis
|
9
databases/hiredis/pkg-plist
Normal file
9
databases/hiredis/pkg-plist
Normal file
|
@ -0,0 +1,9 @@
|
|||
include/hiredis/async.h
|
||||
include/hiredis/hiredis.h
|
||||
include/hiredis/adapters/ae.h
|
||||
include/hiredis/adapters/libev.h
|
||||
include/hiredis/adapters/libevent.h
|
||||
lib/libhiredis.a
|
||||
lib/libhiredis.so
|
||||
@dirrm include/hiredis/adapters
|
||||
@dirrm include/hiredis
|
Loading…
Add table
Reference in a new issue