d2faae4d33
### 0.14.0 **Fixes**: * Catch a buffer overflow when formatting the error message * Import latest upstream sds. This breaks applications that are linked against the old hiredis v0.13 * Fix warnings, when compiled with -Wshadow * Make hiredis compile in Cygwin on Windows, now CI-tested * Bulk and multi-bulk lengths less than -1 or greater than `LLONG_MAX` are now protocol errors. This is consistent with the RESP specification. On 32-bit platforms, the upper bound is lowered to `SIZE_MAX`. **BREAKING CHANGES**: * Change `redisReply.len` to `size_t`, as it denotes the the size of a string User code should compare this to `size_t` values as well. If it was used to compare to other values, casting might be necessary or can be removed, if casting was applied before. * Remove backwards compatibility macro's This removes the following old function aliases, use the new name now: | Old | New | | --------------------------- | ---------------------- | | redisReplyReaderCreate | redisReaderCreate | | redisReplyReaderCreate | redisReaderCreate | | redisReplyReaderFree | redisReaderFree | | redisReplyReaderFeed | redisReaderFeed | | redisReplyReaderGetReply | redisReaderGetReply | | redisReplyReaderSetPrivdata | redisReaderSetPrivdata | | redisReplyReaderGetObject | redisReaderGetObject | | redisReplyReaderGetError | redisReaderGetError | * The `DEBUG` variable in the Makefile was renamed to `DEBUG_FLAGS` Previously it broke some builds for people that had `DEBUG` set to some arbitrary value, due to debugging other software. By renaming we avoid unintentional name clashes. Simply rename `DEBUG` to `DEBUG_FLAGS` in your environment to make it working again.
17 lines
437 B
Makefile
17 lines
437 B
Makefile
# $NetBSD: Makefile,v 1.5 2019/11/26 12:43:42 wiz Exp $
|
|
|
|
DISTNAME= hiredis-0.14.0
|
|
CATEGORIES= databases
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=redis/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= wiedi@frubar.net
|
|
HOMEPAGE= https://github.com/redis/hiredis/
|
|
COMMENT= Minimalistic C client library for the Redis database
|
|
LICENSE= modified-bsd
|
|
|
|
USE_TOOLS+= gmake
|
|
USE_LIBTOOL= yes
|
|
MAKE_ENV+= DESTDIR=${DESTDIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|