rsync is a replacement for rcp that has many more features.
rsync uses the "rsync algorithm" which provides a very fast method for
bringing remote files into sync. It does this by sending just the
differences in the files across the link, without requiring that both
sets of files are present at one of the ends of the link beforehand.
This makes rsync a good remote file distribution/synchronization utility
in a dialup PPP/SLIP environment.
Note, requires rsync on the destination machine.
There is a Computer Science Technical Report on the rsync algorithm is
included in the distribution, and is available as
ftp://samba.anu.edu.au/pub/rsync/tech_report.ps
WWW: http://rsync.samba.org/
===> The following configuration options are available for rsync-3.2.5:
DOCS=on: Build and/or install documentation
ICONV=on: Encoding conversion support via iconv
POPT_PORT=off: Use popt from devel/popt instead of bundled one
SSH=on: Use SSH instead of RSH
ZLIB_BASE=on: Use zlib from base instead of bundled one
====> Functionality provided by third party patches: you can only select none or one of them
FLAGS=on: File system flags support patch, adds --fileflags
RENAMED=off: Add support for renamed file detection
===> Use 'make config' to modify these settings
net/rsync: Remove duplicate entries in distinfo
This is a quick fix to unbreak the port.
The issue was caused by multiple additional patched
coming from the same distfile archive. If you enable
more than one of those options makesum script add a
distinfo description for each option.
PR: 265896
(cherry picked from commit 1c2e6a5f3eeeae1b80acd25e32ada9685804ec8b)
net/rsync: Update to 3.2.5
Major changes:
* CVE-2022-29154 Added some file-list safety checking
* CVE-2022-37434 Fix in the bundled zlib (buffer overflow issue)
* Fix the handling of filenames specified with backslash-quoted wildcards
whith the remote-arg-escaping
* Fix configure check for signed char that causes bogus checksums
* rsync is compiled with an xxhash 0.8 library
* New --trust-sender option to bypass the extra file-list safety checking
Full changelog: https://github.com/WayneD/rsync/blob/master/NEWS.md
PR: 265633
Reported by: rob2g2 <rob2g2-freebsd@bitbert.com>
Relnotes: yes
Security: CVE-2022-29154
Security: CVE-2022-37434
(cherry picked from commit d7990faa348a894f6d8c4563abcaadc2cebaafc7)