redis: 7.0.4 -> 7.0.5
Fixes CVE-2022-35951 Release notes: https://github.com/redis/redis/releases/tag/7.0.5
This commit is contained in:
parent
7198c8e1b5
commit
d699b10068
1 changed files with 3 additions and 3 deletions
|
@ -7,11 +7,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "redis";
|
pname = "redis";
|
||||||
version = "7.0.4";
|
version = "7.0.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.redis.io/releases/${pname}-${version}.tar.gz";
|
url = "https://download.redis.io/releases/${pname}-${version}.tar.gz";
|
||||||
sha256 = "sha256-8OZf2nTESj3U+p1RLU1Ngz3Qk5yTTpRqXGIqYw0Ffy8=";
|
hash = "sha256-ZwVMw3tYwSXfk714AAJh7A70Q2omtA84Jix4DlYxXMM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||||
# Note: this enables libc malloc as a temporary fix for cross-compiling.
|
# Note: this enables libc malloc as a temporary fix for cross-compiling.
|
||||||
# Due to hardcoded configure flags in jemalloc, we can't cross-compile vendored jemalloc properly, and so we're forced to use libc allocator.
|
# Due to hardcoded configure flags in jemalloc, we can't cross-compile vendored jemalloc properly, and so we're forced to use libc allocator.
|
||||||
# It's weird that the build isn't failing because of failure to compile dependencies, it's from failure to link them!
|
# It's weird that the build isn't failing because of failure to compile dependencies, it's from failure to link them!
|
||||||
makeFlags = [ "PREFIX=$(out)" ]
|
makeFlags = [ "PREFIX=${placeholder "out"}" ]
|
||||||
++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ "AR=${stdenv.cc.targetPrefix}ar" "RANLIB=${stdenv.cc.targetPrefix}ranlib" "MALLOC=libc" ]
|
++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ "AR=${stdenv.cc.targetPrefix}ar" "RANLIB=${stdenv.cc.targetPrefix}ranlib" "MALLOC=libc" ]
|
||||||
++ lib.optional withSystemd [ "USE_SYSTEMD=yes" ]
|
++ lib.optional withSystemd [ "USE_SYSTEMD=yes" ]
|
||||||
++ lib.optionals tlsSupport [ "BUILD_TLS=yes" ];
|
++ lib.optionals tlsSupport [ "BUILD_TLS=yes" ];
|
||||||
|
|
Loading…
Reference in a new issue