mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
Merge pull request #103176 from snicket2100/firejail-64
firejail: 0.9.62 -> 0.9.64
This commit is contained in:
commit
b6bba58aef
@ -3,10 +3,10 @@ let
|
|||||||
s = # Generated upstream information
|
s = # Generated upstream information
|
||||||
rec {
|
rec {
|
||||||
baseName="firejail";
|
baseName="firejail";
|
||||||
version="0.9.62";
|
version="0.9.64";
|
||||||
name="${baseName}-${version}";
|
name="${baseName}-${version}";
|
||||||
url="mirror://sourceforge/firejail/firejail/firejail-${version}.tar.xz";
|
url="mirror://sourceforge/firejail/firejail/firejail-${version}.tar.xz";
|
||||||
sha256="1q2silgy882fl61p5qa9f9jqkxcqnwa71jig3c729iahx4f0hs05";
|
sha256="1zgjwy2k57nx0r63fzr15gijah098ig0bll66jd615vc9q3snfz5";
|
||||||
};
|
};
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
which
|
which
|
||||||
@ -20,19 +20,6 @@ stdenv.mkDerivation {
|
|||||||
name = "${s.name}.tar.bz2";
|
name = "${s.name}.tar.bz2";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
name = "CVE-2020-17367.patch";
|
|
||||||
url = "https://github.com/netblue30/firejail/commit/2c734d6350ad321fccbefc5ef0382199ac331b37.patch";
|
|
||||||
sha256 = "1gxz4jxp80gxnn46195qxcpmikwqab9d0ylj9zkm62lycp84ij6n";
|
|
||||||
})
|
|
||||||
(fetchpatch {
|
|
||||||
name = "CVE-2020-17368.patch";
|
|
||||||
url = "https://github.com/netblue30/firejail/commit/34193604fed04cad2b7b6b0f1a3a0428afd9ed5b.patch";
|
|
||||||
sha256 = "0n4ch3qykxx870201l8lz81f7h84vk93pzz77f5cjbd30cxnbddl";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
# Allow whitelisting ~/.nix-profile
|
# Allow whitelisting ~/.nix-profile
|
||||||
substituteInPlace etc/firejail.config --replace \
|
substituteInPlace etc/firejail.config --replace \
|
||||||
|
Loading…
Reference in New Issue
Block a user