lol

rsync: 3.3.0 -> 3.4.1 (#373845)

(cherry picked from commit 0c5891d7d4529fb6af8dde020bda2145db5f873d)

+3 -20
-12
pkgs/applications/networking/sync/rsync/configure.ac-fix-failing-IPv6-check.patch
··· 1 - diff -rup rsync-3.2.7/configure.sh rsync-3.2.7-fixed/configure.sh 2 - --- rsync-3.2.7/configure.sh 2022-10-20 17:57:22 3 - +++ rsync-3.2.7-fixed/configure.sh 2024-01-01 19:51:58 4 - @@ -7706,7 +7706,7 @@ else $as_nop 5 - #include <stdlib.h> 6 - #include <sys/types.h> 7 - #include <sys/socket.h> 8 - -main() 9 - +int main() 10 - { 11 - if (socket(AF_INET6, SOCK_STREAM, 0) < 0) 12 - exit(1);
+3 -8
pkgs/applications/networking/sync/rsync/default.nix
··· 22 22 23 23 stdenv.mkDerivation rec { 24 24 pname = "rsync"; 25 - version = "3.3.0"; 25 + version = "3.4.1"; 26 26 27 27 src = fetchurl { 28 - # signed with key 0048 C8B0 26D4 C96F 0E58 9C2F 6C85 9FB1 4B96 A8C5 28 + # signed with key 9FEF 112D CE19 A0DC 7E88 2CB8 1BB2 4997 A853 5F6F 29 29 url = "mirror://samba/rsync/src/rsync-${version}.tar.gz"; 30 - hash = "sha256-c5nppnCMMtZ4pypjIZ6W8jvgviM25Q/RNISY0HBB35A="; 30 + hash = "sha256-KSS8s6Hti1UfwQH3QLnw/gogKxFQJ2R89phQ1l/YjFI="; 31 31 }; 32 32 33 33 nativeBuildInputs = [ 34 34 updateAutotoolsGnuConfigScriptsHook 35 35 perl 36 36 ]; 37 - 38 - patches = [ 39 - # https://github.com/WayneD/rsync/pull/558 40 - ./configure.ac-fix-failing-IPv6-check.patch 41 37 ./CVE-2024-12084/0001-Some-checksum-buffer-fixes.patch 42 38 ./CVE-2024-12084/0002-Another-cast-when-multiplying-integers.patch 43 39 ./CVE-2024-12085/0001-prevent-information-leak-off-the-stack.patch ··· 50 46 ./CVE-2024-12088/0001-make-safe-links-stricter.patch 51 47 ./CVE-2024-12747/0001-fixed-symlink-race-condition-in-sender.patch 52 48 ./raise-protocol-version-to-32.patch 53 - ]; 54 49 55 50 buildInputs = 56 51 [