2016-09-25 16:22:01 +01:00
|
|
|
{ stdenv, fetchurl, fetchpatch, pkgconfig, fuse, zlib, glib }:
|
2015-08-30 11:15:06 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2015-08-30 11:15:06 +01:00
|
|
|
name = "fuseiso-20070708";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2016-08-20 14:31:55 +01:00
|
|
|
url = "mirror://sourceforge/project/fuseiso/fuseiso/20070708/fuseiso-20070708.tar.bz2";
|
2016-09-25 16:22:01 +01:00
|
|
|
sha256 = "127xql52dcdhmh7s5m9xc6q39jdlj3zhbjar1j821kb6gl3jw94b";
|
2015-08-30 11:15:06 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ fuse zlib glib ];
|
2015-08-30 11:15:06 +01:00
|
|
|
|
2016-09-25 16:22:01 +01:00
|
|
|
patches = let fetchPatchFromDebian = { patch, sha256 }:
|
|
|
|
fetchpatch {
|
|
|
|
inherit sha256;
|
|
|
|
url = "https://sources.debian.net/data/main/f/fuseiso/20070708-3.2/debian/patches/${patch}";
|
|
|
|
};
|
|
|
|
in [
|
|
|
|
(fetchPatchFromDebian {
|
|
|
|
patch = "00-support_large_iso.patch";
|
|
|
|
sha256 = "1lmclb1qwzz5f4wlq693g83bblwnjjl73qhgfxbsaac5hnn2shjw";
|
|
|
|
})
|
|
|
|
(fetchPatchFromDebian { # CVE-2015-8837
|
|
|
|
patch = "02-prevent-buffer-overflow.patch";
|
|
|
|
sha256 = "1ls2pp3mh91pdb51qz1fsd8pwhbky6988bpd156bn7wgfxqzh8ig";
|
|
|
|
})
|
|
|
|
(fetchPatchFromDebian { # CVE-2015-8836
|
|
|
|
patch = "03-prevent-integer-overflow.patch";
|
|
|
|
sha256 = "100cw07fk4sa3hl7a1gk2hgz4qsxdw99y20r7wpidwwwzy463zcv";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2015-08-30 11:15:06 +01:00
|
|
|
meta = {
|
2017-11-10 21:13:27 +00:00
|
|
|
homepage = https://sourceforge.net/projects/fuseiso;
|
2015-08-30 11:15:06 +01:00
|
|
|
description = "FUSE module to mount ISO filesystem images";
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|