Commit graph

103 commits

Author SHA1 Message Date
Thomas Gerbet aac197ee00 redis: 7.0.10 -> 7.0.11
Fixes CVE-2023-28856.

https://github.com/redis/redis/releases/tag/7.0.11
2023-04-17 22:56:11 +02:00
Mario Rodas 92f8db870c redis: 7.0.9 -> 7.0.10
Security Fixes:

- (CVE-2023-28425) Specially crafted MSETNX command can lead to assertion and denial-of-service

https://github.com/redis/redis/releases/tag/7.0.10
2023-03-20 04:20:00 +00:00
Thomas Gerbet a2fe9a01e5 redis: fix flaky test tests/unit/memefficiency.tcl 2023-03-11 13:11:46 +01:00
Mario Rodas b70230f026 redis: 7.0.8 -> 7.0.9
https://github.com/redis/redis/releases/tag/7.0.9
2023-03-01 04:20:00 +00:00
Artturin 3251013cc1 treewide: env.NIX_CFLAGS_COMPILE use toString on result of optionals
env values must be strings
2023-02-22 21:23:05 +02:00
Artturin f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Mario Rodas 7179752a9b
Merge pull request #211378 from marsam/update-redis
redis: 7.0.7 -> 7.0.8
2023-01-22 09:15:09 -05:00
Adam Joseph 42815b4a0c treewide: systemdSupport: use lib.meta.availableOn
Many packages have some kind of flag indicating whether or not to build with
systemd support.  Most of these default to `stdenv.isLinux`, but systemd does
not build on (and is marked `broken` for) `isStatic`.  Only a few packages have
the needed `&& !isStatic` in the default value for their parameter.

This commit moves the logic for the default value of these flags into
`systemd.meta.{platforms,badPlatforms}` and evaluates those conditions using
`lib.meta.availableOn`.

This provides three benefits:

1. The default values are set correctly (i.e. including `&& isStatic`)

2. The default values are set consistently

3. The way is paved for any future non-Linux systemd platforms (FreeBSD is
   reported to have experimental systemd support)
2023-01-22 00:27:19 -08:00
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Mario Rodas 53dbec2944 redis: 7.0.7 -> 7.0.8
https://github.com/redis/redis/releases/tag/7.0.8
2023-01-18 04:20:00 +00:00
Thomas Gerbet b84a4ccb9f 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.
2023-01-02 18:33:34 +01:00
Thomas Gerbet ad221e06d0 pkgsStatic.redis: make checkPhase pass
`getconf` is needed otherwise some tests fail.
2022-11-30 23:18:15 +01:00
Maximilian Bosch c1135fc57d
redis: patch for CVE-2022-3647
https://nvd.nist.gov/vuln/detail/CVE-2022-3647
2022-11-12 12:22:32 +01:00
Artturin 7e49471316 treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
ajs124 d699b10068 redis: 7.0.4 -> 7.0.5
Fixes CVE-2022-35951

Release notes: https://github.com/redis/redis/releases/tag/7.0.5
2022-09-22 19:01:24 +02:00
squalus 2d4e801866 redis: fix cross compile
Remove a past cross compilation fix that's now causing it to break.
2022-08-25 18:08:49 -07:00
Mario Rodas 48b7d7fc38 redis: 7.0.3 -> 7.0.4
https://github.com/redis/redis/releases/tag/7.0.4
2022-07-19 04:20:00 +00:00
Mario Rodas 1238884090 redis: 7.0.2 -> 7.0.3
https://github.com/redis/redis/releases/tag/7.0.3
2022-07-14 00:04:20 +00:00
Mario Rodas b661c34a10 redis: 7.0.0 -> 7.0.2
https://github.com/redis/redis/releases/tag/7.0.1
https://github.com/redis/redis/releases/tag/7.0.2
2022-06-12 04:20:00 +00:00
Mario Rodas 5ca04535ec redis: 6.2.6 -> 7.0.0
https://github.com/redis/redis/releases/tag/7.0.0
2022-04-30 04:20:00 +00:00
Robert Scott 835c3419d9 redis: enable tests 2022-03-14 00:12:49 +00:00
Alyssa Ross a2e92ff6ad pkgsMusl.redis: enable systemd support
We previously weren't able to build systemd for Musl, but now we
can!  (But not statically.)  So there's no longer any reason to have
systemd support in Redis disabled by default for pkgsMusl.
2021-11-04 10:44:01 +00:00
Mario Rodas 6ea41eaabb redis: 6.2.5 -> 6.2.6
https://github.com/redis/redis/releases/tag/6.2.6
2021-10-04 04:20:00 +00:00
Matthieu Coudron 89032313ca redis: set mainProgram to redis-cli 2021-10-03 03:33:09 +02:00
Jörg Thalheim 6d9eed42d9 pkgsStatic.redis: fix build 2021-09-22 17:38:49 +02:00
Mario Rodas b155b06e1d redis: 6.2.4 -> 6.2.5
https://github.com/redis/redis/releases/tag/6.2.5
2021-07-21 04:20:00 +00:00
Mario Rodas 8d34fb204c
redis: 6.2.3 -> 6.2.4 (#125444)
https://github.com/redis/redis/releases/tag/6.2.4
2021-06-02 22:29:28 -04:00
Jörg Thalheim d59217b5f8
Merge pull request #124189 from Mic92/redis
redis: enable pie
2021-05-24 12:21:31 +01:00
Jörg Thalheim c266643ae2
redis: enable pie 2021-05-23 21:00:53 +02:00
Thomas Gerbet 0d1b14161a redis: 6.2.1 -> 6.2.3
Fixes CVE-2021-29477 and CVE-2021-29478.

https://github.com/redis/redis/blob/6.2.3/00-RELEASENOTES
2021-05-23 13:40:58 +02:00
Dmitry Kalinkin e8b81fe04d
redis: add withSystemd argument 2021-04-18 09:40:25 -04:00
R. RyanTM 7b9ed57ea2 redis: 6.2.0 -> 6.2.1 2021-03-09 11:04:15 +00:00
Mario Rodas 806a797463 redis: add marsam to maintainers 2021-02-23 04:20:00 +00:00
Mario Rodas b5d02a4182 redis: update meta 2021-02-23 04:20:00 +00:00
Mario Rodas 2ff821ed77 redis: 6.0.10 -> 6.2.0
https://github.com/redis/redis/blob/6.2.0/00-RELEASENOTES
2021-02-23 04:20:00 +00:00
Andrew Childs d9ed03a388 redis: 6.0.6 -> 6.0.10 2021-01-22 12:44:25 +09:00
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Ben Siraphob 872973d7d1 pkgs/servers: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Thomas Dy 17f33c9be1 redis: move pkgconfig to nativeBuildInputs 2021-01-04 11:12:14 +09:00
Thomas Dy c33e078c01 redis: build with TLS support 2021-01-04 11:12:14 +09:00
Jörg Thalheim baf2814f48
redis: disable systemd in musl build 2020-11-29 11:15:28 +01:00
Daniël de Kok 28ce0b968b redis: 6.0.5 -> 6.0.6
Release notes:

https://groups.google.com/g/redis-db/c/7tuERP0dN9c/m/HddqH3X5BwAJ?pli=1
2020-07-23 10:47:44 +02:00
R. RyanTM 520e4fdae0 redis: 6.0.3 -> 6.0.5 2020-07-07 07:27:17 +00:00
Jamie McClymont 68a09ca2d4 redis: 6.0.1 -> 6.0.3
================================================================================
Redis 6.0.3     Released Sat May 16 18:10:21 CEST 2020
================================================================================

Upgrade urgency CRITICAL: a crash introduced in 6.0.2 is now fixed.

1eab62f7e Remove the client from CLOSE_ASAP list before caching the master.

================================================================================
Redis 6.0.2     Released Fri May 15 22:24:36 CEST 2020
================================================================================

Upgrade urgency MODERATE: many not critical bugfixes in different areas.
                          Critical fix to client side caching when
                          keys are evicted from the tracking table but
                          no notifications are sent.

The following are the most serious fix:

* XPENDING should not update consumer's seen-time
* optimize memory usage of deferred replies - fixed
* Fix CRC64 initialization outside the Redis server itself.
* stringmatchlen() should not expect null terminated strings.
* Cluster nodes availability checks improved when there is
  high Pub/Sub load on the cluster bus.
* Redis Benchmark: Fix coredump because of double free
* Tracking: send eviction messages when evicting entries.
* rax.c updated from upstream antirez/rax.
* fix redis 6.0 not freeing closed connections during loading.

New features:

* Support setcpuaffinity on linux/bsd
* Client Side Caching: Add Tracking Prefix Number Stats in Server Info
* Add --user argument to redis-benchmark.c (ACL)
2020-05-17 21:14:52 +12:00
Jamie McClymont 8cdc8687bf redis: handle changes to systemd support
The 6.0 changelog notes that systemd support was rewritten. The effects
of that seem to be twofold:

* Redis will silently fail to sd_notify if not built with libsystemd,
  breaking our unit configuration.
* It also appears to misbehave if told to daemonize when running under
  systemd -- note that upstream's sample unit configuration does not
  daemonize:
  https://github.com/antirez/redis/blob/unstable/utils/systemd-redis_server.service
2020-05-17 20:23:48 +12:00
R. RyanTM 4a07eb225b redis: 5.0.8 -> 6.0.1 2020-05-10 06:25:56 +00:00
R. RyanTM b3b610831e redis: 5.0.7 -> 5.0.8 2020-03-17 05:00:56 +00:00
Merijn Broeren 133103d709
treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
Jörg Thalheim 56e98fefee
redis: 5.0.6 -> 5.0.7 (#74621)
redis: 5.0.6 -> 5.0.7
2019-11-29 22:57:12 +00:00