rsync: add patch for CVE-2020-14387
(cherry picked from commit a08ee2292caa8a676332c695d7d46bd38c235931)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ lib, fetchurl }:
|
||||
{ lib, fetchurl, fetchpatch }:
|
||||
|
||||
rec {
|
||||
version = "3.2.3";
|
||||
@@ -12,6 +12,13 @@ rec {
|
||||
url = "mirror://samba/rsync/rsync-patches-${version}.tar.gz";
|
||||
sha256 = "1wj21v57v135n6fnmlm2dxmb9lhrrg62jgkggldp1gb7d6s4arny";
|
||||
};
|
||||
extraPatches = [
|
||||
(fetchpatch {
|
||||
name = "CVE-2020-14387.patch";
|
||||
url = "https://git.samba.org/?p=rsync.git;a=patch;h=c3f7414;hp=4c4fce51072c9189cfb11b52aa54fed79f5741bd";
|
||||
sha256 = "000lyx48lns84p53nsdlr45mb9558lrvnsz3yic0y3z6h2izv82x";
|
||||
})
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fast incremental file transfer utility";
|
||||
|
||||
Reference in New Issue
Block a user