rsync: fix CVE-2014-2855 by upstream patch

This commit is contained in:
Vladimír Čunát 2014-05-03 11:27:10 +02:00
parent 3bb121e50e
commit 8c918bdc2c

View File

@ -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];