libarchive: pull in patch to support LibresSSL-2.7 (#41395)

This commit is contained in:
qolii 2018-06-03 17:59:43 +00:00 committed by Orivej Desh
parent 9d1d274928
commit 20d83e286d

View File

@ -1,5 +1,5 @@
{
fetchurl, stdenv, pkgconfig,
fetchurl, fetchpatch, stdenv, pkgconfig,
acl, attr, bzip2, e2fsprogs, libxml2, lzo, openssl, sharutils, xz, zlib,
# Optional but increases closure only negligibly.
@ -20,6 +20,12 @@ stdenv.mkDerivation rec {
patches = [
./CVE-2017-14166.patch
./CVE-2017-14502.patch
# LibreSSL patch; this is from upstream, and can be removed when the next release is made.
(fetchpatch {
url = "https://github.com/libarchive/libarchive/commit/5da00ad75b09e262774ec3675bbe4d5a4502a852.patch";
sha256 = "1r5n09dqhs5f8jx4iyqy06f0ryrxnbz60ww9aiww0j4gp5fs77qk";
})
];
outputs = [ "out" "lib" "dev" ];