From a1208eba7762e31515f5ad42220723d2b7fb859c Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Sat, 28 Jan 2023 18:43:40 +0100 Subject: [PATCH] perlPackages.libapreq2: 2.16 -> 2.17 Fixes CVE-2022-22728. https://httpd.apache.org/apreq/docs/libapreq2/apreq_changes.html --- pkgs/top-level/perl-packages.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index a25ff5f986de..525d737b8260 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -12911,12 +12911,12 @@ let }; }; - libapreq2 = buildPerlPackage { + libapreq2 = buildPerlPackage rec { pname = "libapreq2"; - version = "2.16"; + version = "2.17"; src = fetchurl { - url = "mirror://cpan/authors/id/S/SH/SHAY/libapreq2-2.16.tar.gz"; - hash = "sha256-4EyFWj6gcLiGNWn7rgL+go9TSsiHVbI+JNOGPMlZg0k="; + url = "mirror://apache/httpd/libapreq/${pname}-${version}.tar.gz"; + hash = "sha256-BGSH8ITBL6HIIq/8X33lbv7ZtIkFpCbmMaa5ScEU2Gw="; }; outputs = [ "out" ]; buildInputs = [ pkgs.apacheHttpd pkgs.apr pkgs.aprutil ApacheTest ExtUtilsXSBuilder ];