redis: 7.0.5 -> 7.0.7

https://github.com/redis/redis/releases/tag/7.0.6
https://github.com/redis/redis/releases/tag/7.0.7

Patch to fix CVE-2022-3647 can be dropped as it now available in the
released versions.
This commit is contained in:
Thomas Gerbet
2023-01-01 12:00:51 +01:00
parent 037d4463a0
commit b84a4ccb9f

View File

@@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl, lua, pkg-config, nixosTests
, tcl, which, ps, getconf, fetchpatch
, tcl, which, ps, getconf
, withSystemd ? stdenv.isLinux && !stdenv.hostPlatform.isStatic, systemd
# dependency ordering is broken at the moment when building with openssl
, tlsSupport ? !stdenv.hostPlatform.isStatic, openssl
@@ -7,22 +7,13 @@
stdenv.mkDerivation rec {
pname = "redis";
version = "7.0.5";
version = "7.0.7";
src = fetchurl {
url = "https://download.redis.io/releases/${pname}-${version}.tar.gz";
hash = "sha256-ZwVMw3tYwSXfk714AAJh7A70Q2omtA84Jix4DlYxXMM=";
hash = "sha256-jTJ9foh9G7MI/Deq9xegv3n1gSnjc5Bpqu6uiJVaxYY=";
};
patches = [
# https://nvd.nist.gov/vuln/detail/CVE-2022-3647
(fetchpatch {
name = "CVE-2022-3647.patch";
url = "https://github.com/redis/redis/commit/0bf90d944313919eb8e63d3588bf63a367f020a3.patch";
sha256 = "sha256-R5Tj/bHFTRnvWXiOYvRulqePzU5zvKbGfpO87TLfLWk=";
})
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ lua ]