From 257368fd1cbd63a77ef8d34b0dbe98a447faa8d9 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Mon, 21 Sep 2026 05:14:20 +0000 Subject: [PATCH] rsync: upgrade 3.5.0 -> 3.5.1 Source: NEWS.md # NEWS for rsync 3.5.1 (21 Sep 2026) ## Changes in this version: ### PROTOCOL NUMBER: - The protocol number was changed to 33. ### MAINTAINERS AND CONTRIBUTORS: Zen Dodd (@steadytao) now has release authority as an rsync maintainer. Thanks to Omar Elsayed (@seks99x) for the path-handling fixes and new block statistics and to Samuel Henrique (@samueloph) for the `--max-alloc=0` fix and test improvements. ### BUG FIXES: - Fixed several path-handling regressions from 3.5.0. Explicit sender paths can again traverse symlinked ancestors without weakening confinement of paths found during recursive scans. Local and remote-shell `--files-from` paths are handled as operator-supplied paths rather than paths beneath the transfer root. - Fixed access to `/dev/stdin`, `/dev/stdout`, `/dev/stderr` and `/dev/fd/N` when they refer to pipes or descriptors inside user namespaces. Reading batch data from a FIFO or process substitution works again. - Restored `--max-alloc=0` as a spelling for the parser's maximum allocation limit rather than disabling that limit. - Fixed restricted-root paths in `rrsync` and detection of an inetd connection when a daemon is started with a local socket on standard input, as can happen under ADB without a PTY. - Allowed `--contimeout` for daemon connections made through `--rsh` without applying it to ordinary remote-shell transfers. - Tightened validation of partial-directory state and alternate-destination paths on the receiver. An alternate-destination leaf symlink is no longer followed as a basis file. - Fixed undefined shifts in the bundled zlib code and a FreeBSD amd64 build failure involving the assembly and SIMD objects. ### ENHANCEMENTS: - Added support for internationalised domain names when the required library is available at build time. - Added the number of 4 KiB logical blocks touched to `--stats`. This counts distinct logical file regions written by the receiver, not physical disk blocks or disk I/O. It is reported when both peers negotiate protocol 33. ### BUILD AND TESTS: - `install-strip` now honours `STRIP` including during cross-compilation. - Updated platform tests and fleet-test coverage for the 3.5.0 fixes. ------------------------------------------------------------------------------ | 21 Sep 2026 | 3.5.1 | 21 Sep 2026 | 33 | --- ...01-Add-missing-prototypes-to-function-declarations.patch | 4 ++-- meta/recipes-devtools/rsync/files/determism.patch | 6 +++--- meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch | 6 +++--- .../rsync/{rsync_3.5.0.bb => rsync_3.5.1.bb} | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) rename meta/recipes-devtools/rsync/{rsync_3.5.0.bb => rsync_3.5.1.bb} (97%) diff --git a/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch b/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch index 5aed93e458..1f1fc3f3b3 100644 --- a/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch +++ b/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch @@ -1,4 +1,4 @@ -From 64e62c659649593239ed39ed40a3ae689bf2d593 Mon Sep 17 00:00:00 2001 +From 56a785a7d964f797a786b2d5b75d9cee51b530b1 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 29 Aug 2022 19:53:28 -0700 Subject: [PATCH] Add missing prototypes to function declarations @@ -63,7 +63,7 @@ index 889b57b..19e5e98 100644 int options = LOG_PID; diff --git a/main.c b/main.c -index 6050d0e..45722c4 100644 +index ed6e554..b5f9448 100644 --- a/main.c +++ b/main.c @@ -250,7 +250,7 @@ void read_del_stats(int f) diff --git a/meta/recipes-devtools/rsync/files/determism.patch b/meta/recipes-devtools/rsync/files/determism.patch index 2eea267bb2..890275f6d7 100644 --- a/meta/recipes-devtools/rsync/files/determism.patch +++ b/meta/recipes-devtools/rsync/files/determism.patch @@ -1,4 +1,4 @@ -From c4c9b52a864c3b9ff67771b9d881a78276448100 Mon Sep 17 00:00:00 2001 +From e784131e4ccbaf8ad7107d1f7a7f13da8c675827 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 21 Feb 2021 09:45:48 +0000 Subject: [PATCH] rsync: Fix a file sorting determinism issue @@ -25,10 +25,10 @@ https://github.com/WayneD/rsync/commit/d3085f7add38a5cf833a0b31cb0637ff46c80f8d 1 file changed, 5 insertions(+) diff --git a/Makefile.in b/Makefile.in -index 91807d6..c18b4be 100644 +index de24949..bb9bb27 100644 --- a/Makefile.in +++ b/Makefile.in -@@ -27,6 +27,11 @@ MKDIR_P=@MKDIR_P@ +@@ -28,6 +28,11 @@ MKDIR_P=@MKDIR_P@ VPATH=$(srcdir) SHELL=/bin/sh diff --git a/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch b/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch index 4ff070ea3c..59255d15e7 100644 --- a/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch +++ b/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch @@ -1,4 +1,4 @@ -From bab7abb3c7c1c1db8ef6c3084c1ffb5152f5bf1e Mon Sep 17 00:00:00 2001 +From 0e1f2aec0dbfc150013860b42b41645cebe236b7 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 12 Apr 2016 15:51:54 +0100 Subject: [PATCH] rsync: remove upstream's rebuild logic @@ -13,10 +13,10 @@ Signed-off-by: Ross Burton 1 file changed, 54 deletions(-) diff --git a/Makefile.in b/Makefile.in -index 801e864..91807d6 100644 +index 716171d..de24949 100644 --- a/Makefile.in +++ b/Makefile.in -@@ -265,60 +265,6 @@ conf: configure.sh config.h.in +@@ -267,60 +267,6 @@ conf: configure.sh config.h.in .PHONY: gen gen: conf proto.h man git-version.h diff --git a/meta/recipes-devtools/rsync/rsync_3.5.0.bb b/meta/recipes-devtools/rsync/rsync_3.5.1.bb similarity index 97% rename from meta/recipes-devtools/rsync/rsync_3.5.0.bb rename to meta/recipes-devtools/rsync/rsync_3.5.1.bb index d9a4884d96..71a3225e24 100644 --- a/meta/recipes-devtools/rsync/rsync_3.5.0.bb +++ b/meta/recipes-devtools/rsync/rsync_3.5.1.bb @@ -16,7 +16,7 @@ SRC_URI = "https://download.samba.org/pub/${BPN}/src/${BP}.tar.gz \ file://determism.patch \ file://0001-Add-missing-prototypes-to-function-declarations.patch \ " -SRC_URI[sha256sum] = "c7ffd1ef653e99540f661e47cb00b7f9cad1ee6b972399b16f93d672656e0d33" +SRC_URI[sha256sum] = "c55f9c9dc10fb8bec397b399a0fdded53cc9a2d8e30891bb0d63724d25c37bef" # Out-of-tree builds don't install the documentation currently # https://github.com/RsyncProject/rsync/issues/846 -- 2.47.1