Merge pull request #117270 from aanderse/libapreq2

perlPackages.libapreq2: 2.13 -> 2.16
This commit is contained in:
Sandro 2021-03-23 02:43:11 +01:00 committed by GitHub
commit b8ed926d78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10976,19 +10976,11 @@ let
libapreq2 = buildPerlPackage {
pname = "libapreq2";
version = "2.13";
version = "2.16";
src = fetchurl {
url = "mirror://cpan/authors/id/I/IS/ISAAC/libapreq2-2.13.tar.gz";
sha256 = "5731e6833b32d88e4a5c690e45ddf20fcf969ce3da666c5627d775e92da0cf6e";
url = "mirror://cpan/authors/id/S/SH/SHAY/libapreq2-2.16.tar.gz";
sha256 = "e04c855a3ea070b8863569fbae02fe828f534ac88755b23e24d3863cc9598349";
};
patches = [
(fetchpatch {
name = "CVE-2019-12412.patch";
url = "https://svn.apache.org/viewvc/httpd/apreq/trunk/library/parser_multipart.c?r1=1866760&r2=1866759&pathrev=1866760&view=patch";
sha256 = "08zaw5pb2i4w1y8crhxmlf0d8gzpvi9z49x4nwlkg4j87x7gjvaa";
stripLen = 2;
})
];
outputs = [ "out" ];
buildInputs = [ pkgs.apacheHttpd pkgs.apr pkgs.aprutil ApacheTest ExtUtilsXSBuilder ];
propagatedBuildInputs = [ (pkgs.apacheHttpdPackages.mod_perl.override { inherit perl; }) ];