shutter: add patch for CVE-2015-0854 with remote code

This commit is contained in:
Graham Christensen 2016-11-16 13:57:45 -05:00 committed by Graham Christensen
parent 7ed55dc9e4
commit d0d3330866
No known key found for this signature in database
GPG Key ID: ACA1C1D120C83D5C

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl, perlPackages, makeWrapper, imagemagick, gdk_pixbuf, librsvg }:
{ stdenv, fetchurl, fetchpatch, perl, perlPackages, makeWrapper, imagemagick, gdk_pixbuf, librsvg }:
let
perlModules = with perlPackages;
@ -18,6 +18,14 @@ stdenv.mkDerivation rec {
sha256 = "09cn3scwy98wqxkrjhnmxhpfnnynlbb41856yn5m3zwzqrxiyvak";
};
patches = [
(fetchpatch {
url = "http://svnweb.mageia.org/packages/cauldron/shutter/current/SOURCES/CVE-2015-0854.patch?revision=880308&view=co";
name = "CVE-2015-0854.patch";
sha256 = "14r18sxz3ylf39cn9b85snjhjxdk6ngq4vnpljwghw2q5430nb12";
})
];
buildInputs = [ perl makeWrapper gdk_pixbuf librsvg ] ++ perlModules;
installPhase = ''