mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
rsync: fix CVE-2014-2855 by upstream patch
This commit is contained in:
parent
3bb121e50e
commit
8c918bdc2c
@ -20,7 +20,12 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
srcs = [mainSrc] ++ stdenv.lib.optional enableCopyDevicesPatch patchesSrc;
|
||||
patches = [] ++ stdenv.lib.optional enableCopyDevicesPatch "./patches/copy-devices.diff";
|
||||
patches = [(fetchurl {
|
||||
url = "https://git.samba.org/?p=rsync.git;a=commitdiff_plain;h=0dedfbce2c1b851684ba658861fe9d620636c56a";
|
||||
sha256 = "1jpwwdf07naqxc8fv1lspc95jgk50j5j3wvf037bjay2qzpwjmvf";
|
||||
name = "CVE-2014-2855.patch";
|
||||
})]
|
||||
++ stdenv.lib.optional enableCopyDevicesPatch "./patches/copy-devices.diff";
|
||||
|
||||
buildInputs = stdenv.lib.optional enableACLs acl;
|
||||
nativeBuildInputs = [perl];
|
||||
|
Loading…
Reference in New Issue
Block a user