Unverified Commit f7dea8a8 authored by Pol Dellaiera's avatar Pol Dellaiera
Browse files

php81: 8.1.28 -> 8.1.29

diff: https://github.com/php/php-src/compare/php-8.1.28..php-8.1.29
changelog: https://github.com/php/php-src/blob/PHP-8.1.29/NEWS

Fix: CVE-2024-4577, CVE-2024-5458, CVE-2024-2408, CVE-2024-5585
parent 568ecee1
Loading
Loading
Loading
Loading
+4 −12
Original line number Diff line number Diff line
{ callPackage, fetchpatch, ... }@_args:
{ callPackage, ... }@_args:

let
  base = callPackage ./generic.nix ((removeAttrs _args [ "fetchpatch" ]) // {
    version = "8.1.28";
    hash = "sha256-i+RQCW4BU8R9dThOfdWVzIl/HVPOAGBwjOlYm8wxQe4=";
    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=";
      })
    ];
  base = callPackage ./generic.nix (_args // {
    version = "8.1.29";
    hash = "sha256-h6YDEyY/L1M/GA5xknLKXkfNmITU7DyTcgGY6v+uCCc=";
  });
in
base.withExtensions ({ all, ... }: with all; ([