Up to [cvs.NetBSD.org] / pkgsrc / net / rrsync
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Pullup ticket #7352 - requested by taca
net/rsync: Security fix
Revisions pulled up:
- net/rrsync/Makefile 1.3
- net/rrsync/distinfo deleted
- net/rsync/Makefile 1.137-1.138
- net/rsync/Makefile.common 1.2-1.4
- net/rsync/distinfo 1.69-1.71
- net/rsync/patches/patch-syscall.c 1.1
- net/rsync/patches/patch-testsuite_symlink-receiver-perms__test.py 1.1
---
Module Name: pkgsrc
Committed By: adam
Date: Tue Sep 22 06:44:46 UTC 2026
Modified Files:
pkgsrc/net/rsync: Makefile Makefile.common distinfo
Log Message:
rsync: updated to 3.5.1
3.5.1
PROTOCOL NUMBER:
The protocol number was changed to 33.
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.
---
Module Name: pkgsrc
Committed By: wiz
Date: Tue Sep 22 20:47:13 UTC 2026
Modified Files:
pkgsrc/net/rrsync: distinfo
Log Message:
rrsync: update distinfo for rsync update
---
Module Name: pkgsrc
Committed By: kim
Date: Tue Sep 22 22:59:31 UTC 2026
Modified Files:
pkgsrc/net/rsync: Makefile.common
Log Message:
rsync: Add DISTINFO_FILE and PATCHDIR to Makefile.common
Try to avoid net/rrsync/distinfo going stale on rsync updates.
---
Module Name: pkgsrc
Committed By: kim
Date: Tue Sep 22 23:03:52 UTC 2026
Modified Files:
pkgsrc/net/rrsync: Makefile
Removed Files:
pkgsrc/net/rrsync: distinfo
Log Message:
rrsync: No local distinfo anymore, and no patching needed
---
Module Name: pkgsrc
Committed By: wiz
Date: Wed Nov 4 16:56:24 UTC 2026
Modified Files:
pkgsrc/net/rsync: Makefile.common distinfo
Log Message:
rsync: update to 3.5.2.
# NEWS for rsync 3.5.2 (4 Nov 2026)
## Changes in this version:
### BUG FIXES:
- Fixed interrupted `--append` and `--inplace` transfers writing the final
256 KiB buffer twice. An interrupted destination now remains a clean prefix
which the next transfer can resume or repair.
- Fixed uploads through `rrsync` when the destination file already exists.
Existing files are now reached beneath a pinned parent directory instead of
being passed as an unwritable `/proc/self/fd/N` destination.
- Fixed poor matching performance on large sparse and repeated-block files
when duplicate checksum chains exhausted the search limit. Valid basis
blocks are no longer hidden behind duplicate entries.
- Bounded strong-checksum work when a malicious receiver supplies weak
checksums that collide with consecutive rolling windows
(CVE-2026-119741).
- Prevented the `--inplace` matcher from advancing its aligned basis index
beyond the available checksum entries. This avoids signed overflow on large
source files when the peer supplies a small block count.
- Recovered from failed hard-link creation without aborting or hanging the
generator. Remaining members fall back to a fresh hard-link group when the
original destination inode cannot accept another link.
- Prevented an out-of-bounds write while invalidating a sender checksum after
a file read error when the negotiated checksum length is zero.
- Fixed a daemon receiver stack overflow when queued deletion output reached
`--max-alloc`. Quiet daemon transfers no longer queue deletion messages
unless the client requested them.
- Fixed a `--files-from` pull from a subdirectory of a daemon module, which
read each listed file from the module root instead. It could send, and with
`--remove-source-files` delete, a same-named file the module's filter
excludes.
- Fixed password files whose first line is empty. The parser no longer skips
the empty line and uses a later password.
- Escaped terminal control characters in filenames and diagnostics written to
standard output, standard error and log files while preserving printable
text in the active locale.
- Preserved Cygwin and MSYS2 UNC roots during ownership-checked path walks.
- Restored daemon startup from accepted named Unix sockets on standard input,
including filesystem and Linux abstract sockets used for socket activation.
Unnamed local socket pairs remain non-daemon channels.
- Fixed forward-DNS hostname entries in daemon `hosts allow` and `hosts deny`
lists for IPv6 peers. Address comparison is now binary and family-aware.
- Preserved Unix symlink permissions on systems which require `fchmodat()` to
change the mode of a symlink rather than its target.
- Restored builds on systems without `O_CLOEXEC` or `O_DIRECTORY`, including
Solaris 10.
### ENHANCEMENTS:
- Added `--nice` to adjust CPU and I/O scheduling priorities for local and
remote rsync processes. Daemon clients and rrsync cannot raise server-side
priorities.
- Human-readable output now uses dynamic precision to show three significant
digits and appends `i` to binary unit suffixes. `--progress` uses the same
formatter for transfer rates and labels byte counts and rates with `B` and
`B/s`. Example output includes `46.7M`, `48.8Mi`, `782,448B` and
`113,295B/s`. File-list, created-directory and skipped-deletion counts also
use thousands separators.
- Added `--delay-symlinks` to defer creating new and changed symlinks until
other transferred files are in place. It implies `--no-inc-recursive` and
requires protocol 29 or newer with support on the receiving side. It cannot
be combined with `--remove-source-files`, `--hard-links`, `--compare-dest`,
`--copy-dest` or `--link-dest`.
---
Module Name: pkgsrc
Committed By: wiz
Date: Fri Nov 6 11:52:40 UTC 2026
Modified Files:
pkgsrc/net/rsync: Makefile distinfo
Added Files:
pkgsrc/net/rsync/patches: patch-syscall.c
patch-testsuite_symlink-receiver-perms__test.py
Log Message:
rsync: update to 3.5.2nb1.
add upstream patch fixing a problem with receiving symlinks.
Bump PKGREVISION.
Add test status.
rrsync: No local distinfo anymore, and no patching needed
rsync, rrsync: put some shared values into Makefile.common
Add net/rrsync