libxslt: 1.1.29 -> 1.1.32

This commit is contained in:
Franz Pletz 2018-01-28 16:16:27 +01:00
parent e5523cd7f6
commit 413d1844ac
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -11,22 +11,15 @@ with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libxslt"; pname = "libxslt";
version = "1.1.29"; version = "1.1.32";
name = pname + "-" + version; name = pname + "-" + version;
src = fetchurl { src = fetchurl {
url = "http://xmlsoft.org/sources/${name}.tar.gz"; url = "http://xmlsoft.org/sources/${name}.tar.gz";
sha256 = "1klh81xbm9ppzgqk339097i39b7fnpmlj8lzn8bpczl3aww6x5xm"; sha256 = "0q2l6m56iv3ysxgm2walhg4c9wp7q183jb328687i9zlp85csvjj";
}; };
patches = [ patches = stdenv.lib.optional stdenv.isSunOS ./patch-ah.patch;
(fetchpatch {
name = "CVE-2017-5029";
url = "https://git.gnome.org/browse/libxslt/"
+ "patch/?id=08ab2774b870de1c7b5a48693df75e8154addae5";
sha256 = "10azfmyffjf9d7b5js4ipxw9f20qi0kw3zq34bpqmbcpq3l338ky";
})
] ++ stdenv.lib.optional stdenv.isSunOS ./patch-ah.patch;
# fixes: can't build x86_64-unknown-cygwin shared library unless -no-undefined is specified # fixes: can't build x86_64-unknown-cygwin shared library unless -no-undefined is specified
postPatch = optionalString hostPlatform.isCygwin '' postPatch = optionalString hostPlatform.isCygwin ''