Skip to content

Commit

Permalink
p7zip: add commit ID to the patch
Browse files Browse the repository at this point in the history
We still do mirror the patch (I think), as `nix-build -Q -A p7zip.patches`
downloaded it on my machine.  I verified that only the diff headers differ;
it's still better to have another working download and Fedora's URLs are
less likely to disappear than Debian's.
/cc #27075.
  • Loading branch information
vcunat committed Jul 3, 2017
1 parent 674e46d commit 6cad339
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/tools/archivers/p7zip/default.nix
Expand Up @@ -10,8 +10,9 @@ stdenv.mkDerivation rec {
};

patches = [
(fetchpatch {
url = "https://src.fedoraproject.org/cgit/rpms/p7zip.git/plain/CVE-2016-9296.patch";
(fetchpatch rec {
name = "CVE-2016-9296.patch";
url = "https://src.fedoraproject.org/cgit/rpms/p7zip.git/plain/${name}?id=4b3973f6a5d";
sha256 = "09wbkzai46bwm8zmplsz0m4jck3qn7snr68i9p1gsih300zidj0m";
})
];
Expand Down

0 comments on commit 6cad339

Please sign in to comment.