BSD Ports

databases/hiredis 1.3.0.15 FreeBSD

Minimalistic C client library for the Redis database

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD3CLAUSE
Categories
databases
Package size
71.0 KiB, 310.8 KiB installed

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
FreeBSDdatabases/hiredis1.3.0.15
NetBSDdatabases/hiredis1.4.1
DragonFlydatabases/hiredis1.2.0.15
MidnightBSDdatabases/hiredis1.2.0.15
HardenedBSDdatabases/hiredis1.3.0.15
GhostBSDdatabases/hiredis1.3.0.15
OPNsensedatabases/hiredis1.3.0.15

Install

Binary package:

pkg install hiredis

From the ports tree:

cd /usr/ports/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

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.3.0.151.3.0.151.0.21.3.0.151.3.0.15
FreeBSD:14:quarterly1.3.0.151.3.0.15n/a1.3.0.151.3.0.15
FreeBSD:15:latest1.3.0.151.3.0.15n/a1.3.0.151.3.0.15
FreeBSD:15:quarterly1.3.0.151.3.0.15n/an/an/a
FreeBSD:16:latest1.3.0.151.3.0.15n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 15

Configuration

No options to configure.

USES
cmake cpe ssl
Service scripts
none

Files

pkg-plist 34
  • 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.a
  • lib/libhiredis.so
  • lib/libhiredis.so.1.2.1
  • lib/libhiredis_ssl.a
  • 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.3.0-15-7ab6b82_GH0.tar.gz128129fb136fc3f5bce774eb92709e1d041fa851e1130e95cc3aea5b871b91ff0ce4c5

Commit history 0

No commits in the history this site was built from.