Skip to content

Commit

Permalink
Merge pull request #303711 from Ma27/bump-phps
Browse files Browse the repository at this point in the history
php: 8.1.27 -> 8.1.28, 8.2.17 -> 8.2.18, 8.3.4 -> 8.3.6, fix CVE-2024-2756, CVE-2024-3096, CVE-2024-2757
  • Loading branch information
drupol committed Apr 13, 2024
2 parents a8b040a + c6e4e72 commit 4370f64
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 15 deletions.
14 changes: 3 additions & 11 deletions pkgs/development/interpreters/php/8.1.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
{ callPackage, fetchpatch, ... }@_args:
{ callPackage, ... }@_args:

let
base = callPackage ./generic.nix ((removeAttrs _args [ "fetchpatch" ]) // {
version = "8.1.27";
hash = "sha256-oV/XPqRPLfMLB9JHhuB9GUiw6j7tC4uEVzXVANwov/E=";
extraPatches = [
# Fix build with libxml 2.12+.
# Patch from https://github.com/php/php-src/commit/0a39890c967aa57225bb6bdf4821aff7a3a3c082
(fetchpatch {
url = "https://github.com/php/php-src/commit/0a39890c967aa57225bb6bdf4821aff7a3a3c082.patch";
hash = "sha256-HvpTL7aXO9gr4glFdhqUWQPrG8TYTlvbNINq33M3zS0=";
})
];
version = "8.1.28";
hash = "sha256-i+RQCW4BU8R9dThOfdWVzIl/HVPOAGBwjOlYm8wxQe4=";
});
in
base.withExtensions ({ all, ... }: with all; ([
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/interpreters/php/8.2.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

let
base = callPackage ./generic.nix (_args // {
version = "8.2.17";
hash = "sha256-GRMWwgMmfZYWC0fSL5VdTcEXk96KXzJ+DCp2J1polOo=";
version = "8.2.18";
hash = "sha256-ygsHwlQgAyD1GKxbPfVAqc8U2GbzyT7cMBO1Lgb6x5Y=";
});
in
base.withExtensions ({ all, ... }: with all; ([
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/interpreters/php/8.3.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

let
base = callPackage ./generic.nix (_args // {
version = "8.3.4";
hash = "sha256-PFyvGODAokOq7JE6OeywkgQxla3eTD/ELpRdpbkndpU=";
version = "8.3.6";
hash = "sha256-YySx3djrMCWwQQNLiNwrwLSBmwAiEp7q66N+R4AxCLw=";
});
in
base.withExtensions ({ all, ... }: with all; ([
Expand Down

0 comments on commit 4370f64

Please sign in to comment.