Merge pull request #35421 from flokli/CVE-zziplib-0.13.67

zziplib: 0.13.67 -> 0.13.68
This commit is contained in:
adisbladis 2018-02-24 22:49:24 +08:00 committed by GitHub
commit 6f13032b6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,21 +1,26 @@
{ fetchurl, stdenv, perl, python2, zip, xmlto, zlib }: { docbook_xml_dtd_412, fetchurl, stdenv, perl, python2, zip, xmlto, zlib }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "zziplib-${version}"; name = "zziplib-${version}";
version = "0.13.67"; version = "0.13.68";
src = fetchurl { src = fetchurl {
url = "https://github.com/gdraheim/zziplib/archive/v${version}.tar.gz"; url = "https://github.com/gdraheim/zziplib/archive/v${version}.tar.gz";
sha256 = "0802kdxwxx9zanpwb4w4wfi3blwhv0ri05mzdgd35j5sva5ify0j"; sha256 = "0chhl6m02562z6c4hjy568mh11pbq2qngw6g2x924ajr8sdr2q4l";
}; };
patchPhase = '' postPatch = ''
sed -i -e s,--export-dynamic,, configure sed -i -e s,--export-dynamic,, configure
''; '';
buildInputs = [ perl python2 zip xmlto zlib ]; # TODO: still an issue: https://github.com/gdraheim/zziplib/issues/27
doCheck = true; buildInputs = [ docbook_xml_dtd_412 perl python2 zip xmlto zlib ];
# tests are broken (https://github.com/gdraheim/zziplib/issues/20),
# and test/zziptests.py requires network access
# (https://github.com/gdraheim/zziplib/issues/24)
doCheck = false;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Library to extract data from files archived in a zip file"; description = "Library to extract data from files archived in a zip file";