summaryrefslogtreecommitdiff
path: root/databases/hiredis
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2020-03-22 18:20:11 +0000
committerwiz <wiz@pkgsrc.org>2020-03-22 18:20:11 +0000
commit58d371f0b49331e2a19da40dbc00af9188ff9179 (patch)
tree4c5938a3b206dec76f7950515bab571cd528e89f /databases/hiredis
parent05abc70714a6326c8b92242be3a57eed509bd605 (diff)
downloadpkgsrc-58d371f0b49331e2a19da40dbc00af9188ff9179.tar.gz
hiredis: update to 0.14.1.
### 0.14.1 (2020-03-13) * Adds safe allocation wrappers (CVE-2020-7105, #747, #752) (Michael Grunder)
Diffstat (limited to 'databases/hiredis')
-rw-r--r--databases/hiredis/Makefile4
-rw-r--r--databases/hiredis/PLIST3
-rw-r--r--databases/hiredis/distinfo12
-rw-r--r--databases/hiredis/patches/patch-Makefile14
4 files changed, 17 insertions, 16 deletions
diff --git a/databases/hiredis/Makefile b/databases/hiredis/Makefile
index 5390878d8fa..4dea95011b7 100644
--- a/databases/hiredis/Makefile
+++ b/databases/hiredis/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2019/11/26 12:43:42 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2020/03/22 18:20:11 wiz Exp $
-DISTNAME= hiredis-0.14.0
+DISTNAME= hiredis-0.14.1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_GITHUB:=redis/}
GITHUB_TAG= v${PKGVERSION_NOREV}
diff --git a/databases/hiredis/PLIST b/databases/hiredis/PLIST
index 98c212aa3c2..665f7d7fa1e 100644
--- a/databases/hiredis/PLIST
+++ b/databases/hiredis/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2015/09/02 15:12:37 wiedi Exp $
+@comment $NetBSD: PLIST,v 1.4 2020/03/22 18:20:11 wiz Exp $
include/hiredis/adapters/ae.h
include/hiredis/adapters/glib.h
include/hiredis/adapters/ivykis.h
@@ -7,6 +7,7 @@ include/hiredis/adapters/libevent.h
include/hiredis/adapters/libuv.h
include/hiredis/adapters/macosx.h
include/hiredis/adapters/qt.h
+include/hiredis/alloc.h
include/hiredis/async.h
include/hiredis/hiredis.h
include/hiredis/read.h
diff --git a/databases/hiredis/distinfo b/databases/hiredis/distinfo
index d50be91b63c..e301dd3d323 100644
--- a/databases/hiredis/distinfo
+++ b/databases/hiredis/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.8 2019/11/26 12:43:42 wiz Exp $
+$NetBSD: distinfo,v 1.9 2020/03/22 18:20:11 wiz Exp $
-SHA1 (hiredis-0.14.0.tar.gz) = d668b86756d2c68f0527e845dc10ace5a053bbd9
-RMD160 (hiredis-0.14.0.tar.gz) = 59427d0df9a7738ebf7aa3ed31ee24d13ae5c907
-SHA512 (hiredis-0.14.0.tar.gz) = 57a81a35b4750f0ca9dba830789483667f8ca1559f13b0ebdc3fab3e34ad16b2809f9734cf88157041263784e11447556b7a748bfb7ef318a60bb5dda3e358a0
-Size (hiredis-0.14.0.tar.gz) = 63061 bytes
-SHA1 (patch-Makefile) = b501dfef63c608c4514a68bfb1a1942efef54009
+SHA1 (hiredis-0.14.1.tar.gz) = a422493d601aa36cd14504a6791e7609093af8ed
+RMD160 (hiredis-0.14.1.tar.gz) = d87b275f8d3c16ad91fff664044faa5e731d53ae
+SHA512 (hiredis-0.14.1.tar.gz) = a7310f2d65075df0c17636a0220e16487759471a3442b1de2595ab747565f6b6262e37131613b13e396b31050bcbe5529c35d420cd43fd7d500d9d563d469c4f
+Size (hiredis-0.14.1.tar.gz) = 64372 bytes
+SHA1 (patch-Makefile) = 7291b7a6014160a871e8ec1a50fa11ed18df2ee7
diff --git a/databases/hiredis/patches/patch-Makefile b/databases/hiredis/patches/patch-Makefile
index 330604cdb81..027b4c6067f 100644
--- a/databases/hiredis/patches/patch-Makefile
+++ b/databases/hiredis/patches/patch-Makefile
@@ -1,8 +1,8 @@
-$NetBSD: patch-Makefile,v 1.6 2019/11/26 12:43:42 wiz Exp $
+$NetBSD: patch-Makefile,v 1.7 2020/03/22 18:20:11 wiz Exp $
use libtool
---- Makefile.orig 2018-09-25 22:59:34.000000000 +0000
+--- Makefile.orig 2020-03-14 18:46:35.000000000 +0000
+++ Makefile
@@ -51,13 +51,14 @@ DYLIB_MAJOR_NAME=$(LIBNAME).$(DYLIBSUFFI
DYLIBNAME=$(LIBNAME).$(DYLIBSUFFIX)
@@ -28,8 +28,8 @@ use libtool
+all: $(LANAME) $(PKGCONFNAME)
# Deps (use make dep to generate this)
- async.o: async.c fmacros.h async.h hiredis.h read.h sds.h net.h dict.c dict.h
-@@ -82,6 +83,11 @@ $(DYLIBNAME): $(OBJ)
+ alloc.o: alloc.c fmacros.h alloc.h
+@@ -83,6 +84,11 @@ $(DYLIBNAME): $(OBJ)
$(STLIBNAME): $(OBJ)
$(STLIB_MAKE_CMD) $(OBJ)
@@ -41,7 +41,7 @@ use libtool
dynamic: $(DYLIBNAME)
static: $(STLIBNAME)
-@@ -152,7 +158,7 @@ check: hiredis-test
+@@ -153,7 +159,7 @@ check: hiredis-test
kill `cat /tmp/hiredis-test-redis.pid`
.c.o:
@@ -50,9 +50,9 @@ use libtool
clean:
rm -rf $(DYLIBNAME) $(STLIBNAME) $(TESTS) $(PKGCONFNAME) examples/hiredis-example* *.o *.gcda *.gcno *.gcov
-@@ -179,9 +185,7 @@ install: $(DYLIBNAME) $(STLIBNAME) $(PKG
+@@ -180,9 +186,7 @@ install: $(DYLIBNAME) $(STLIBNAME) $(PKG
mkdir -p $(INSTALL_INCLUDE_PATH) $(INSTALL_INCLUDE_PATH)/adapters $(INSTALL_LIBRARY_PATH)
- $(INSTALL) hiredis.h async.h read.h sds.h $(INSTALL_INCLUDE_PATH)
+ $(INSTALL) hiredis.h async.h read.h sds.h alloc.h $(INSTALL_INCLUDE_PATH)
$(INSTALL) adapters/*.h $(INSTALL_INCLUDE_PATH)/adapters
- $(INSTALL) $(DYLIBNAME) $(INSTALL_LIBRARY_PATH)/$(DYLIB_MINOR_NAME)
- cd $(INSTALL_LIBRARY_PATH) && ln -sf $(DYLIB_MINOR_NAME) $(DYLIBNAME)