mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
Merge #72054: gdal: add patch for CVE-2019-17545
This commit is contained in:
commit
019fcab7f5
@ -16,6 +16,15 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "09qgy36z0jc9w05373m4n0vm4j54almdzql6z9p9zr9pdp61syf3";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "CVE-2019-17545.patch";
|
||||
url = "https://github.com/OSGeo/gdal/commit/8cd2d2eb6327cf782a74dae263ffa6f89f46c93d.patch";
|
||||
stripLen = 1;
|
||||
sha256 = "06h88a659jcqf6ps1m91qy78s6s9krbkwnz28f5qh7032vlp6qpw";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ unzip libjpeg libtiff libgeotiff libpng proj openssl sqlite
|
||||
libspatialite poppler hdf4 qhull giflib expat libxml2 proj ]
|
||||
++ (with pythonPackages; [ python numpy wrapPython ])
|
||||
|
@ -20,7 +20,15 @@ stdenv.mkDerivation rec {
|
||||
|
||||
sourceRoot = "source/gdal";
|
||||
|
||||
patches = [ ./001.3_0_1.darwin.patch ];
|
||||
patches = [
|
||||
./001.3_0_1.darwin.patch
|
||||
(fetchpatch {
|
||||
name = "CVE-2019-17545.patch";
|
||||
url = "https://github.com/OSGeo/gdal/commit/148115fcc40f1651a5d15fa34c9a8c528e7147bb.patch";
|
||||
stripLen = 1;
|
||||
sha256 = "0hai59hhvrci9xwjw4lp3wc1brn00imngmqrbbs8v9yr3b0fzbgs";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user