Merge #29431: libxml2: 2.9.4 -> 2.9.5

This commit is contained in:
Vladimír Čunát 2017-09-17 08:41:06 +02:00
commit f6763a4561
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -10,22 +10,13 @@ let
in stdenv.mkDerivation rec {
name = "libxml2-${version}";
version = "2.9.4";
version = "2.9.5";
src = fetchurl {
url = "http://xmlsoft.org/sources/${name}.tar.gz";
sha256 = "0g336cr0bw6dax1q48bblphmchgihx9p1pjmxdnrd6sh3qci3fgz";
sha256 = "0f6d5nkvcfx8yqis2dwrnv6qaj0nhiifz49y657vmrwwxvnc2ca0";
};
patches = [
(fetchpatch {
# Contains fixes for CVE-2016-{4658,5131} and other bugs.
name = "misc.patch";
url = "https://git.gnome.org/browse/libxml2/patch/?id=e905f081&id2=v2.9.4";
sha256 = "14rnzilspmh92bcpwbd6kqikj36gx78al42ilgpqgl1609krb5m5";
})
];
outputs = [ "bin" "dev" "out" "man" "doc" ]
++ lib.optional pythonSupport "py";
propagatedBuildOutputs = "out bin" + lib.optionalString pythonSupport " py";