2016-11-10 03:22:31 +01:00
|
|
|
{ stdenv, fetchurl, fetchpatch, zlib, imagemagick, libpng, pkgconfig, glib
|
|
|
|
, freetype, libjpeg, libxml2 }:
|
2009-03-03 14:27:40 +01:00
|
|
|
|
2008-01-30 18:20:48 +01:00
|
|
|
stdenv.mkDerivation {
|
2007-08-18 11:35:54 +02:00
|
|
|
name = "libwmf-0.2.8.4";
|
|
|
|
|
2008-01-30 18:20:48 +01:00
|
|
|
src = fetchurl {
|
2009-03-03 14:27:40 +01:00
|
|
|
url = mirror://sourceforge/wvware/libwmf-0.2.8.4.tar.gz;
|
|
|
|
sha256 = "1y3wba4q8pl7kr51212jwrsz1x6nslsx1gsjml1x0i8549lmqd2v";
|
|
|
|
};
|
2007-08-18 11:35:54 +02:00
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ zlib imagemagick libpng glib freetype libjpeg libxml2 ];
|
2007-08-18 11:35:54 +02:00
|
|
|
|
2015-07-15 23:23:53 +02:00
|
|
|
patches = [
|
|
|
|
./CVE-2006-3376.patch ./CVE-2009-1364.patch
|
|
|
|
./CVE-2015-0848+4588+4695+4696.patch
|
2016-11-10 03:22:31 +01:00
|
|
|
(fetchpatch {
|
|
|
|
name = "libwmf-0.2.8.4-CVE-2016-9011-debian.patch";
|
|
|
|
url = "https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=842090;filename=libwmf-0.2.8.4-CVE-2016-9011-debian.patch;msg=10";
|
|
|
|
sha256 = "15vnqrj1dlvn0g8ccrxj2r2cyb1rv0qf0kfangxfgsi5h8is0c2b";
|
|
|
|
})
|
2015-07-15 23:23:53 +02:00
|
|
|
];
|
|
|
|
|
2007-08-18 11:35:54 +02:00
|
|
|
meta = {
|
2009-03-03 14:27:40 +01:00
|
|
|
description = "WMF library from wvWare";
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2007-08-18 11:35:54 +02:00
|
|
|
};
|
|
|
|
}
|