2021-07-17 23:08:00 +00:00
|
|
|
{ lib, fetchurl, fetchpatch }:
|
2016-02-13 17:50:07 +00:00
|
|
|
|
2016-02-21 08:59:00 +00:00
|
|
|
rec {
|
2020-09-29 04:44:42 +00:00
|
|
|
version = "3.2.3";
|
2016-02-13 17:50:07 +00:00
|
|
|
src = fetchurl {
|
|
|
|
# signed with key 0048 C8B0 26D4 C96F 0E58 9C2F 6C85 9FB1 4B96 A8C5
|
|
|
|
url = "mirror://samba/rsync/src/rsync-${version}.tar.gz";
|
2020-09-29 04:44:42 +00:00
|
|
|
sha256 = "03p5dha9g9krq61mdbcrjkpz5nglri0009ks2vs9k97f9i83rk5y";
|
2018-01-29 12:39:35 +00:00
|
|
|
};
|
|
|
|
upstreamPatchTarball = fetchurl {
|
|
|
|
# signed with key 0048 C8B0 26D4 C96F 0E58 9C2F 6C85 9FB1 4B96 A8C5
|
|
|
|
url = "mirror://samba/rsync/rsync-patches-${version}.tar.gz";
|
2020-09-29 04:44:42 +00:00
|
|
|
sha256 = "1wj21v57v135n6fnmlm2dxmb9lhrrg62jgkggldp1gb7d6s4arny";
|
2016-02-13 17:50:07 +00:00
|
|
|
};
|
2021-07-17 23:08:00 +00:00
|
|
|
extraPatches = [
|
|
|
|
(fetchpatch {
|
|
|
|
name = "CVE-2020-14387.patch";
|
|
|
|
url = "https://git.samba.org/?p=rsync.git;a=patch;h=c3f7414;hp=4c4fce51072c9189cfb11b52aa54fed79f5741bd";
|
|
|
|
sha256 = "000lyx48lns84p53nsdlr45mb9558lrvnsz3yic0y3z6h2izv82x";
|
|
|
|
})
|
|
|
|
];
|
2016-02-13 17:50:07 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-01-29 12:39:35 +00:00
|
|
|
description = "Fast incremental file transfer utility";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://rsync.samba.org/";
|
2016-02-13 17:50:07 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
2016-02-21 08:59:00 +00:00
|
|
|
}
|