BSD Ports

databases/hiredis 1.4.1 NetBSD

Minimalistic C client library for the Redis database

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
0b29e7edb2
License
modified-bsd
Categories
databases
Package size
75.0 KiB, 230.9 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
NetBSDdatabases/hiredis1.4.1
FreeBSDdatabases/hiredis1.3.0.15
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:

pkgin install hiredis

From pkgsrc:

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

Packages

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

RepositoryVersion
NetBSD 10.1 x86_641.4.1
NetBSD 10.1 aarch641.4.0
SmartOS / illumos x86_641.5.0
macOS 15 arm641.5.0

Dependencies

Commit history 2

DateCommitCreditsLog message
0b29e7edb2 wiz hiredis: update to 1.5.0.
Breaking Changes Add optional TLS peer certificate name verification @hristostaykov-del (#1355) Bug Fixes Fix use after free in redisMacOSAttach on CF failure @Hashim1999164 (#1368) Drain Linux socket error queue after nonblocking TCP connect @swills (#1375) Guard Windows wincert check when cacert_filename is NULL @Hashim1999164 (#1370) Add a maxdepth redisReader configuration member. @michael-grunder (#1335) Protect against overflow of map elements @michael-grunder (#1323) Maintenance Fix Release Drafter release naming and draft isolation @uglide (#1385) Remove spellcheck CI and modernise Release Drafter config @uglide (#1384) Other Changes Document that Windows is not officially supported @uglide (#1383) …
1b29abb87e wiz hiredis: update to 1.4.1.
This is a security fix release. All users of hiredis 1.4.x are strongly encouraged to upgrade.