Commit Graph

120 Commits

Author SHA1 Message Date
Marcel
74aa519ba2
redis: 7.2.5 -> 7.2.6
Fixes CVE-2024-31449
Fixes CVE-2024-31227
Fixes CVE-2024-31228
2024-10-03 20:54:57 +02:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Alyssa Ross
3df6bb2c85
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/applications/blockchains/polkadot/default.nix
2024-06-09 22:47:12 +01:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Sandro Jäckel
19e30cb963
redis: 7.2.4 -> 7.2.5 2024-05-19 17:08:13 +02:00
Mario Rodas
2becf6e837 maintainers: drop marsam 2024-04-24 04:20:00 +00:00
Simon Hauser
b3642388fe
keydb: init at 6.3.4 2024-04-11 10:47:07 +02:00
Thomas Gerbet
31e067a257
Merge pull request #281035 from SuperSandro2000/redis
redis: fix oom-score-adj test due to no permission
2024-01-15 19:21:54 +01:00
Sandro Jäckel
5cd9b0a6ba
redis: fix oom-score-adj test due to no permission 2024-01-14 23:42:01 +01:00
Thomas Gerbet
08e61ec0c3 redis: 7.2.3 -> 7.2.4
Fixes CVE-2023-41056.

https://github.com/redis/redis/releases/tag/7.2.4
2024-01-11 22:38:50 +01:00
Mario Rodas
529fd47f28
redis: 7.2.2 -> 7.2.3 (#264857)
Changelog: https://github.com/redis/redis/raw/7.2.3/00-RELEASENOTES
2023-11-03 00:33:12 +01:00
Muhammad Falak R Wani
dc4d0c3c2a redis: 7.2.1 -> 7.2.2
Changelog: https://github.com/redis/redis/raw/7.2.2/00-RELEASENOTES
2023-10-18 22:22:22 +05:30
Aaron Jheng
9f69adde0d redis: use finalAttrs 2023-09-24 13:03:34 +02:00
Mario Rodas
a454cd9df7 redis: 7.2.0 -> 7.2.1
Changelog: https://github.com/redis/redis/raw/7.2.1/00-RELEASENOTES
2023-09-08 04:20:00 +00:00
Mario Rodas
0f4de63e33 redis: 7.0.12 -> 7.2.0
Changelog: https://github.com/redis/redis/raw/7.2.0/00-RELEASENOTES
2023-08-30 04:20:00 +00:00
Yureka
e16a75d3be
redis: use system jemalloc (#243398)
* redis: use system jemalloc
2023-07-15 13:02:13 -05:00
Mario Rodas
5b9b2e5fbb redis: 7.0.11 -> 7.0.12
Changelog: https://github.com/redis/redis/raw/7.0.12/00-RELEASENOTES
2023-07-10 04:20:00 +00:00
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