BSD Ports

databases/hiredis 1.2.0.15 MidnightBSD

Minimalistic C client library for the Redis database

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd3
Categories
databases

Description

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.

In the other systems

SystemPortVersion
MidnightBSDdatabases/hiredis1.2.0.15
FreeBSDdatabases/hiredis1.3.0.15
NetBSDdatabases/hiredis1.4.1
DragonFlydatabases/hiredis1.2.0.15
HardenedBSDdatabases/hiredis1.3.0.15
GhostBSDdatabases/hiredis1.3.0.15
OPNsensedatabases/hiredis1.3.0.15

Install

Binary package:

mport install hiredis

From mports:

cd /usr/mports/databases/hiredis && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	hiredis>0:databases/hiredis
LIB_DEPENDS=	libhiredis.so:databases/hiredis

Dependencies

Configuration

No options to configure.

USES
cpe cmake pathfix ssl
Service scripts
none

Files

pkg-plist 32
  • include/hiredis/adapters/ae.h
  • include/hiredis/adapters/glib.h
  • include/hiredis/adapters/ivykis.h
  • include/hiredis/adapters/libev.h
  • include/hiredis/adapters/libevent.h
  • include/hiredis/adapters/libhv.h
  • include/hiredis/adapters/libsdevent.h
  • include/hiredis/adapters/libuv.h
  • include/hiredis/adapters/macosx.h
  • include/hiredis/adapters/poll.h
  • include/hiredis/adapters/qt.h
  • include/hiredis/adapters/redismoduleapi.h
  • include/hiredis/alloc.h
  • include/hiredis/async.h
  • include/hiredis/hiredis.h
  • include/hiredis/hiredis_ssl.h
  • include/hiredis/read.h
  • include/hiredis/sds.h
  • include/hiredis/sockcompat.h
  • lib/cmake/hiredis/hiredis-config-version.cmake
  • lib/cmake/hiredis/hiredis-config.cmake
  • lib/cmake/hiredis/hiredis-targets-.cmake
  • lib/cmake/hiredis/hiredis-targets.cmake
  • lib/cmake/hiredis_ssl/hiredis_ssl-config.cmake
  • lib/cmake/hiredis_ssl/hiredis_ssl-targets-.cmake
  • lib/cmake/hiredis_ssl/hiredis_ssl-targets.cmake
  • lib/libhiredis.so
  • lib/libhiredis.so.1.2.1
  • lib/libhiredis_ssl.so
  • lib/libhiredis_ssl.so.1.2.1
  • libdata/pkgconfig/hiredis.pc
  • libdata/pkgconfig/hiredis_ssl.pc
distinfo 1
FileSizeSHA256
redis-hiredis-v1.2.0-15-7ab6b82_GH0.tar.gz128129fb136fc3f5bce774eb92709e1d041fa851e1130e95cc3aea5b871b91ff0ce4c5