[arch-commits] Commit in hiredis/trunk (PKGBUILD)
Remi Rgacogne
rgacogne at gemini.archlinux.org
Tue Oct 5 15:18:29 UTC 2021
Date: Tuesday, October 5, 2021 @ 15:18:28
Author: rgacogne
Revision: 1027739
upgpkg: hiredis 1.0.1-1: update to 1.0.1, fixing CVE-2021-32765
Modified:
hiredis/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-05 15:16:17 UTC (rev 1027738)
+++ PKGBUILD 2021-10-05 15:18:28 UTC (rev 1027739)
@@ -1,8 +1,8 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Maintainer: Remi Gacogne <rgacogne at archlinux.org>
# Contributor: Vladimir Tsanev <tsachev at gmail.com>
pkgname=hiredis
-pkgver=1.0.0
+pkgver=1.0.1
pkgrel=1
pkgdesc='Minimalistic C client library for Redis'
arch=('x86_64')
@@ -11,8 +11,15 @@
depends=('glibc')
checkdepends=('redis')
source=(https://github.com/redis/$pkgname/archive/v$pkgver/hiredis-$pkgver.tar.gz)
-sha256sums=('2a0b5fe5119ec973a0c1966bfc4bd7ed39dbce1cb6d749064af9121fe971936f')
+sha256sums=('a420df40775ac7b4b46550dd4df78ffe6620616333496a17c9c9fc556815ba4b')
+prepare() {
+ # work around the accidental soname bump in 1.0.1
+ # https://github.com/redis/hiredis/issues/987
+ cd $pkgname-$pkgver
+ sed -i "s,#define HIREDIS_SONAME 1.0.1,#define HIREDIS_SONAME 1.0.0," hiredis.h
+}
+
build() {
cd $pkgname-$pkgver
make PREFIX=/usr
More information about the arch-commits
mailing list