]> git.ipfire.org Git - thirdparty/rsync.git/log
thirdparty/rsync.git
5 years agoFix a bug in the writing of the batch.sh file
Wayne Davison [Fri, 22 May 2020 15:10:41 +0000 (08:10 -0700)] 
Fix a bug in the writing of the batch.sh file

Fix the code that writes the options and the default destination path
into the batch.sh file to be able to handle options being specified
after source/dest args.

5 years agoSSE2/SSSE3 optimized version of get_checksum1() for x86-64
Jorrit Jongma [Tue, 19 May 2020 12:52:40 +0000 (14:52 +0200)] 
SSE2/SSSE3 optimized version of get_checksum1() for x86-64

Requires compilation using GCC C++ front end, build scripts have been
modified accordingly. C++ is only used when the optimization is enabled
(g++ as compiler, x86-64 build target, --enable-sse2 is passed to
configure).

(Wayne made a few tweaks, including making it disabled by default.)

5 years agoTweak the accept/refuse strings a bit.
Wayne Davison [Mon, 18 May 2020 07:03:09 +0000 (00:03 -0700)] 
Tweak the accept/refuse strings a bit.

5 years agoAdd back a lost "*" and document the refusing of log-file* opts.
Wayne Davison [Mon, 18 May 2020 06:26:13 +0000 (23:26 -0700)] 
Add back a lost "*" and document the refusing of log-file* opts.

5 years agoMore manpage improvements for "refuse options".
Wayne Davison [Mon, 18 May 2020 05:16:58 +0000 (22:16 -0700)] 
More manpage improvements for "refuse options".

5 years agoAdd the ability to negate matches for the daemon's "refuse options".
Wayne Davison [Mon, 18 May 2020 04:29:11 +0000 (21:29 -0700)] 
Add the ability to negate matches for the daemon's "refuse options".

5 years agoNeed to flush early errors before we exit.
Wayne Davison [Mon, 18 May 2020 03:21:45 +0000 (20:21 -0700)] 
Need to flush early errors before we exit.

5 years agoSome pkglib improvements.
Wayne Davison [Sun, 17 May 2020 21:39:18 +0000 (14:39 -0700)] 
Some pkglib improvements.

5 years agoA couple more manpage fixes.
Wayne Davison [Wed, 13 May 2020 07:20:03 +0000 (00:20 -0700)] 
A couple more manpage fixes.

5 years agoA bit more manpage tweaking.
Wayne Davison [Wed, 13 May 2020 07:11:57 +0000 (00:11 -0700)] 
A bit more manpage tweaking.

5 years agoChange r'\1%s\2' to r'\g<1>%s\2'.
Wayne Davison [Thu, 7 May 2020 00:23:17 +0000 (17:23 -0700)] 
Change r'\1%s\2' to r'\g<1>%s\2'.

5 years agoA couple extra function checks for future features.
Wayne Davison [Thu, 30 Apr 2020 05:14:49 +0000 (22:14 -0700)] 
A couple extra function checks for future features.

5 years agoConvert another packaging script to python3.
Wayne Davison [Thu, 30 Apr 2020 04:24:26 +0000 (21:24 -0700)] 
Convert another packaging script to python3.

5 years agoA few superficial tweaks.
Wayne Davison [Thu, 30 Apr 2020 02:28:23 +0000 (19:28 -0700)] 
A few superficial tweaks.

5 years agoUse a varint to send the file-list flags
Wayne Davison [Thu, 30 Apr 2020 00:55:41 +0000 (17:55 -0700)] 
Use a varint to send the file-list flags

If both sides support the "V" compatibility flag, we send the file-list
flags as a varint instead of a 1-or-2 byte value.  This upgrades the
number of reserved flag bits from 1 to 17 with very few extra bytes in
typical file-list data.

5 years agoA resumed partial-dir file is transferred in-place.
Wayne Davison [Wed, 29 Apr 2020 23:51:02 +0000 (16:51 -0700)] 
A resumed partial-dir file is transferred in-place.
Fixed bug #13071.

5 years agoFix a couple issues with the atime file-list value.
Wayne Davison [Mon, 27 Apr 2020 01:39:15 +0000 (18:39 -0700)] 
Fix a couple issues with the atime file-list value.

5 years agoAllow a missing parent dir when --delete-missing-args was specified.
Wayne Davison [Mon, 27 Apr 2020 01:02:17 +0000 (18:02 -0700)] 
Allow a missing parent dir when --delete-missing-args was specified.

5 years agoAdd extensions to the default no-compress list.
Wayne Davison [Mon, 27 Apr 2020 00:05:02 +0000 (17:05 -0700)] 
Add extensions to the default no-compress list.
Fixes bug #13749.

5 years agoAdd a few new opts to rrsync.
Wayne Davison [Sun, 26 Apr 2020 21:50:40 +0000 (14:50 -0700)] 
Add a few new opts to rrsync.

5 years agoSome var cleanup; move test-util vars into t_stub.c.
Wayne Davison [Sun, 26 Apr 2020 21:05:27 +0000 (14:05 -0700)] 
Some var cleanup; move test-util vars into t_stub.c.

5 years agoUpdate a few more copyright years.
Wayne Davison [Sun, 26 Apr 2020 06:34:16 +0000 (23:34 -0700)] 
Update a few more copyright years.

5 years agoChange pending version to 3.2.0 (currently 3.2.0dev).
Wayne Davison [Sun, 26 Apr 2020 06:30:42 +0000 (23:30 -0700)] 
Change pending version to 3.2.0 (currently 3.2.0dev).

5 years agoChange do_setattrlist_times() to use an stp arg.
Wayne Davison [Sun, 26 Apr 2020 04:39:11 +0000 (21:39 -0700)] 
Change do_setattrlist_times() to use an stp arg.

5 years agoChange --set-notime to --open-noatime.
Wayne Davison [Thu, 23 Apr 2020 21:27:44 +0000 (14:27 -0700)] 
Change --set-notime to --open-noatime.

5 years agoAdded --atimes and --set-noatime options.
Wayne Davison [Thu, 23 Apr 2020 20:17:41 +0000 (13:17 -0700)] 
Added --atimes and --set-noatime options.

5 years agoMention more changes in the NEWS.
Wayne Davison [Thu, 23 Apr 2020 20:13:35 +0000 (13:13 -0700)] 
Mention more changes in the NEWS.

5 years agoEliminate .in for rsync-ssl.
Wayne Davison [Wed, 22 Apr 2020 21:53:06 +0000 (14:53 -0700)] 
Eliminate .in for rsync-ssl.

5 years agoTurn nightly-rsync into a python script.
Wayne Davison [Wed, 22 Apr 2020 19:00:08 +0000 (12:00 -0700)] 
Turn nightly-rsync into a python script.

5 years agoSome more rsync-ssl improvements:
Wayne Davison [Wed, 22 Apr 2020 17:53:38 +0000 (10:53 -0700)] 
Some more rsync-ssl improvements:

- Make the rsync-ssl default behavior more user friendly.
- Install rsync-ssl & rsync-ssl-rsh in the regular install rules.
- Add a manpage for rsync-ssl (which is also installed).
- Get rid of the rsync-ssl-client package in our spec file.

5 years agoChange the name of the rsh-ssl-rsync script.
Wayne Davison [Wed, 22 Apr 2020 17:52:01 +0000 (10:52 -0700)] 
Change the name of the rsh-ssl-rsync script.

5 years agoChange the rsync-ssl helper script
Wayne Davison [Sun, 19 Apr 2020 19:08:01 +0000 (12:08 -0700)] 
Change the rsync-ssl helper script

The new rsh-ssl-rsync helper script (replacing stunnel-rsync) supports
openssl in addition to stunnel.  The RSYNC_SSL_TYPE environment variable
can be set to specify which type of connection to use, and the first arg
to rsync-ssl can be --type=stunnel or --type=openssl to override the env
var or the default of "stunnel".  The helper script now looks for
stunnel4 or stunnel on the PATH at runtime instead of having configure
look for it at compile time.

5 years agoTwo more spelling fixes and some year updates.
Wayne Davison [Thu, 16 Apr 2020 16:29:22 +0000 (09:29 -0700)] 
Two more spelling fixes and some year updates.

5 years agoSpelling fixes from a Fossies run done by Jens.
Wayne Davison [Thu, 16 Apr 2020 00:42:23 +0000 (17:42 -0700)] 
Spelling fixes from a Fossies run done by Jens.

5 years agoA few file-data improvements.
Wayne Davison [Sun, 12 Apr 2020 22:45:22 +0000 (15:45 -0700)] 
A few file-data improvements.

5 years agoChange some packaging tools into python3 and make a few improvements.
Wayne Davison [Sun, 12 Apr 2020 07:13:35 +0000 (00:13 -0700)] 
Change some packaging tools into python3 and make a few improvements.

5 years agoAdd a (pending) release line for 3.1.4.
Wayne Davison [Sun, 12 Apr 2020 00:59:22 +0000 (17:59 -0700)] 
Add a (pending) release line for 3.1.4.

5 years agoUse the --quiet option.
Wayne Davison [Fri, 10 Apr 2020 01:42:31 +0000 (18:42 -0700)] 
Use the --quiet option.

5 years agoPut the year-tweak script into packaging dir.
Wayne Davison [Thu, 9 Apr 2020 22:17:09 +0000 (15:17 -0700)] 
Put the year-tweak script into packaging dir.

5 years agoSet Copyright years and make them easier to update
Wayne Davison [Thu, 9 Apr 2020 22:11:37 +0000 (15:11 -0700)] 
Set Copyright years and make them easier to update

I replaced git-set-file-times with an improved version that I wrote
recently (in python3). A new script uses it to figure out the
last-modified year for each *.[ch] file and updates its copyright.
It also puts the latest year into the latest-year.h file for the
output of --version.

5 years agoSwitch RSYNC_PORT to -1 in check_for_hostspec().
Wayne Davison [Wed, 8 Apr 2020 02:21:37 +0000 (19:21 -0700)] 
Switch RSYNC_PORT to -1 in check_for_hostspec().

5 years agoFix the default skip-compress list.
Wayne Davison [Wed, 8 Apr 2020 01:08:05 +0000 (18:08 -0700)] 
Fix the default skip-compress list.

The default value of the skip-compress list actually comes from the
daemon's default lp_dont_compress() value, but a while back the vars
stopped getting default values in a non-daemon run. I added a call to
reset_daemon_vars() so that the "Vars" values get set from "Defaults".

5 years agoTweak the grep to look for sys/sysmacros.h.
Wayne Davison [Tue, 7 Apr 2020 22:32:06 +0000 (15:32 -0700)] 
Tweak the grep to look for sys/sysmacros.h.

5 years agoAvoid the include warnings for major().
Wayne Davison [Tue, 7 Apr 2020 22:16:19 +0000 (15:16 -0700)] 
Avoid the include warnings for major().

5 years agoMake use of the new RSYNC_PORT env var.
Wayne Davison [Tue, 7 Apr 2020 20:29:29 +0000 (13:29 -0700)] 
Make use of the new RSYNC_PORT env var.

5 years agoReplace mkproto.pl with mkproto.awk
Ethan Sommer via rsync [Tue, 7 Apr 2020 20:01:45 +0000 (13:01 -0700)] 
Replace mkproto.pl with mkproto.awk

This replaces the build dependency on perl with one on awk which is
already used throughout the build system and is much more ubiquitous
than perl.

5 years agoSet RSYNC_PORT in the env for a daemon-over-rsh connection.
Wayne Davison [Mon, 6 Apr 2020 02:32:40 +0000 (19:32 -0700)] 
Set RSYNC_PORT in the env for a daemon-over-rsh connection.
Fixes bug #14163.

5 years agoA quick fix for some perl patch-helper scripts.
Wayne Davison [Mon, 6 Apr 2020 00:18:32 +0000 (17:18 -0700)] 
A quick fix for some perl patch-helper scripts.

5 years agoAnother tweak for a change in git status.
Wayne Davison [Mon, 6 Apr 2020 00:12:29 +0000 (17:12 -0700)] 
Another tweak for a change in git status.

5 years agoTweak some indentation.
Wayne Davison [Mon, 6 Apr 2020 00:00:54 +0000 (17:00 -0700)] 
Tweak some indentation.

5 years agoDon't throw an error if a potential fuzzy dir isn't a dir
Wayne Davison [Sun, 5 Apr 2020 23:41:15 +0000 (16:41 -0700)] 
Don't throw an error if a potential fuzzy dir isn't a dir

Add a flag for calling get_dirlist() and for send_directory() that
indicates that the dirname is allowed to not be a directory.  Based
on a patch by Ben Rubson.  Fixes bug #13445.

5 years agoUse "exit 1" in atomic-rsync for error exit.
Wayne Davison [Sun, 5 Apr 2020 23:23:07 +0000 (16:23 -0700)] 
Use "exit 1" in atomic-rsync for error exit.
Fixes bug #15469.

5 years agoSome configure improvements for strict C99 compilers (based on a patch by Florian...
Wayne Davison [Sun, 5 Apr 2020 23:19:54 +0000 (16:19 -0700)] 
Some configure improvements for strict C99 compilers (based on a patch by Florian Weimer).

5 years agoAdd progress output via SIGINFO and SIGVTALRM
Wayne Davison [Sun, 5 Apr 2020 21:52:32 +0000 (14:52 -0700)] 
Add progress output via SIGINFO and SIGVTALRM

On BSD-ish systems you can type Ctrl+T to see the current file and
the progress output (in --info=progress2 format).  On hosts w/o
SIGINFO, use something like "killall -VTALRM rsync" or a more
targetted "kill -VTALRM PID ..." call (as needed).

5 years agoNo need to forward --write-devices to a remote sender.
Wayne Davison [Sun, 5 Apr 2020 19:01:32 +0000 (12:01 -0700)] 
No need to forward --write-devices to a remote sender.

5 years agoAdded the --write-devices option.
Wayne Davison [Sun, 5 Apr 2020 18:21:02 +0000 (11:21 -0700)] 
Added the --write-devices option.

This is a fleshed out version of the old one in the patches repo with
documentation & proper handling of the implied --inplace option for a
daemon's option-rufusing considerations. I ommitted the -w short option
as I would hate for someone to turn this on accidentally.

5 years agoMake exit_cleanup() use _exit() if called from a signal handler.
Wayne Davison [Sun, 5 Apr 2020 17:26:40 +0000 (10:26 -0700)] 
Make exit_cleanup() use _exit() if called from a signal handler.
Fixes bug #13982.

5 years agoEnhance the validation of --block-size for older protocols.
Wayne Davison [Sun, 5 Apr 2020 17:04:05 +0000 (10:04 -0700)] 
Enhance the validation of --block-size for older protocols.
Fixes bug #13974.

5 years agoMake the --copy-links caveat a little clearer.
Wayne Davison [Sun, 5 Apr 2020 16:43:59 +0000 (09:43 -0700)] 
Make the --copy-links caveat a little clearer.

5 years agoUse nanosleep if it is available.
Wayne Davison [Sun, 5 Apr 2020 16:22:00 +0000 (09:22 -0700)] 
Use nanosleep if it is available.
Fixes bug #14328.

5 years agoAdd a --copy-as=USER[:GROUP] option
Wayne Davison [Sun, 29 Mar 2020 20:01:13 +0000 (13:01 -0700)] 
Add a --copy-as=USER[:GROUP] option

This can be used by a root-run rsync to try to make reading or writing
files safer in a situation where you can't run the whole rsync command
as a non-root user.

6 years agoMatch the latest git "clean" text.
Wayne Davison [Tue, 19 Mar 2019 16:35:59 +0000 (09:35 -0700)] 
Match the latest git "clean" text.

6 years agoTry to fix the iconv crash in bug 11338.
Wayne Davison [Sat, 16 Mar 2019 18:49:53 +0000 (11:49 -0700)] 
Try to fix the iconv crash in bug 11338.

Applying Michal Ruprich's suggested patch for the rwrite() function that
should hopefully help with a bug that I couldn't reproduce.

6 years agoFix bug in try_dests_reg that Florian Zumbiehl pointed out.
Wayne Davison [Sat, 16 Mar 2019 18:12:53 +0000 (11:12 -0700)] 
Fix bug in try_dests_reg that Florian Zumbiehl pointed out.

If the alternate-destination code was scanning multiple alt dirs and it
found the right size/mtime/checksum info but not the right xattrs, it
would keep scanning the other dirs for a better xattr match, but it
would omit the unchanged-file check that needs to happen first.

6 years agoClarify the cut-off point for --copy-safe-links.
Wayne Davison [Sat, 16 Mar 2019 17:55:21 +0000 (10:55 -0700)] 
Clarify the cut-off point for --copy-safe-links.

6 years agoSome doc tweaks suggested by Clément Pit-Claudel.
Wayne Davison [Sat, 16 Mar 2019 17:10:14 +0000 (10:10 -0700)] 
Some doc tweaks suggested by Clément Pit-Claudel.

6 years agoFix zlib CVE-2016-9843.
Wayne Davison [Sat, 16 Mar 2019 16:52:46 +0000 (09:52 -0700)] 
Fix zlib CVE-2016-9843.

6 years agoFix zlib CVE-2016-9842.
Wayne Davison [Sat, 16 Mar 2019 16:52:30 +0000 (09:52 -0700)] 
Fix zlib CVE-2016-9842.

6 years agoFix zlib CVE-2016-9841.
Wayne Davison [Sat, 16 Mar 2019 16:48:10 +0000 (09:48 -0700)] 
Fix zlib CVE-2016-9841.

6 years agoFix zlib CVE-2016-9840.
Wayne Davison [Sat, 16 Mar 2019 16:47:55 +0000 (09:47 -0700)] 
Fix zlib CVE-2016-9840.

6 years agoTweak the copyright year.
Wayne Davison [Sat, 16 Mar 2019 16:15:49 +0000 (09:15 -0700)] 
Tweak the copyright year.

6 years agoFix --remove-source-files sanity check w/--copy-links the right way.
Wayne Davison [Sat, 16 Mar 2019 16:09:09 +0000 (09:09 -0700)] 
Fix --remove-source-files sanity check w/--copy-links the right way.
Fixes bug #10494.

6 years agoHandle a run from down inside the checkout tree.
Wayne Davison [Fri, 15 Mar 2019 19:20:55 +0000 (12:20 -0700)] 
Handle a run from down inside the checkout tree.

6 years agoImprove write-only --sender check & handle 2 new options.
Wayne Davison [Tue, 15 Jan 2019 19:18:36 +0000 (11:18 -0800)] 
Improve write-only --sender check & handle 2 new options.

6 years agoUpdate option culling to handle latest changes.
Wayne Davison [Tue, 15 Jan 2019 19:16:50 +0000 (11:16 -0800)] 
Update option culling to handle latest changes.

6 years agoUse a separate pass-by-value pointer for clarity.
Wayne Davison [Tue, 15 Jan 2019 18:41:42 +0000 (10:41 -0800)] 
Use a separate pass-by-value pointer for clarity.

6 years agoAvoid warning about leaked mem (didn't affect rsync's pool use).
Wayne Davison [Tue, 15 Jan 2019 18:40:18 +0000 (10:40 -0800)] 
Avoid warning about leaked mem (didn't affect rsync's pool use).

6 years agoAvoid leaving a file open on error return.
Wayne Davison [Tue, 15 Jan 2019 18:38:00 +0000 (10:38 -0800)] 
Avoid leaving a file open on error return.

6 years agoFix --prealloc to keep file-size 0 when possible.
Wayne Davison [Tue, 15 Jan 2019 16:51:08 +0000 (08:51 -0800)] 
Fix --prealloc to keep file-size 0 when possible.

6 years agoReject --log-file when read-only.
Wayne Davison [Wed, 9 Jan 2019 20:15:31 +0000 (12:15 -0800)] 
Reject --log-file when read-only.

6 years agoImprove check for ".." and guard against dash args.
Wayne Davison [Wed, 9 Jan 2019 19:54:34 +0000 (11:54 -0800)] 
Improve check for ".." and guard against dash args.

6 years agoSave each expanded daemon-config string on first use to
Wayne Davison [Wed, 9 Jan 2019 04:33:58 +0000 (20:33 -0800)] 
Save each expanded daemon-config string on first use to
avoid a new alloc on every use (one that was not freed).

6 years agoNo need to strdup each new section since we stopped using free().
Wayne Davison [Wed, 9 Jan 2019 04:30:58 +0000 (20:30 -0800)] 
No need to strdup each new section since we stopped using free().

6 years agoAvoid a yodl macro warning.
Wayne Davison [Wed, 9 Jan 2019 00:39:48 +0000 (16:39 -0800)] 
Avoid a yodl macro warning.

6 years agoMake sure that some memory zeroing always happens.
Wayne Davison [Tue, 8 Jan 2019 22:46:41 +0000 (14:46 -0800)] 
Make sure that some memory zeroing always happens.

6 years agoAvoid a yodl macro warning.
Wayne Davison [Tue, 8 Jan 2019 21:38:19 +0000 (13:38 -0800)] 
Avoid a yodl macro warning.

6 years agoFix 2 spelling errors pointed out by bug 13734.
Wayne Davison [Tue, 8 Jan 2019 21:29:18 +0000 (13:29 -0800)] 
Fix 2 spelling errors pointed out by bug 13734.

6 years agoAvoid a failed test if dirs report 1 hlink (e.g. WSL weirdness).
Wayne Davison [Sat, 5 Jan 2019 05:43:50 +0000 (21:43 -0800)] 
Avoid a failed test if dirs report 1 hlink (e.g. WSL weirdness).

6 years agoSilence fall-through warnings.
Wayne Davison [Fri, 4 Jan 2019 23:06:30 +0000 (15:06 -0800)] 
Silence fall-through warnings.

6 years agoAvoid a potential out-of-bounds read in daemon mode if argc is 0.
Wayne Davison [Sun, 16 Dec 2018 00:52:53 +0000 (16:52 -0800)] 
Avoid a potential out-of-bounds read in daemon mode if argc is 0.

6 years agoTry to be clearer that --append-verify isn't a general-purpose-copy option.
Wayne Davison [Tue, 20 Nov 2018 22:17:32 +0000 (14:17 -0800)] 
Try to be clearer that --append-verify isn't a general-purpose-copy option.

6 years agoDon't force cygwin to solaris ACLs anymore.
Wayne Davison [Tue, 20 Nov 2018 22:11:42 +0000 (14:11 -0800)] 
Don't force cygwin to solaris ACLs anymore.

6 years agoDocument how a leading comma changes the gid parsing.
Wayne Davison [Tue, 20 Nov 2018 21:44:09 +0000 (13:44 -0800)] 
Document how a leading comma changes the gid parsing.

6 years agoFix itemizing of wrong dir name on some --iconv transfers.
Wayne Davison [Tue, 20 Nov 2018 20:45:36 +0000 (12:45 -0800)] 
Fix itemizing of wrong dir name on some --iconv transfers.

Fixes bug #13492.

7 years agoNeed to mark xattr rules in get_rule_prefix().
Wayne Davison [Thu, 14 Jun 2018 22:19:34 +0000 (15:19 -0700)] 
Need to mark xattr rules in get_rule_prefix().

This fixes the bug of xattr filters getting sent as a normal filter rule
(since the 'x' was dropped in the prefix).

7 years agoAvoid a compiler error/warning about shifting a negative value.
Wayne Davison [Mon, 26 Mar 2018 02:07:22 +0000 (19:07 -0700)] 
Avoid a compiler error/warning about shifting a negative value.
Fixes bug #13268.

7 years agoAllow some pre-/post-xfer exec shell restrictions.
Wayne Davison [Sun, 25 Mar 2018 18:02:50 +0000 (11:02 -0700)] 
Allow some pre-/post-xfer exec shell restrictions.

Support both RSYNC_SHELL & RSYNC_NO_XFER_EXEC environment variables.

7 years agoPrepare the repository for more development.
Wayne Davison [Sun, 25 Mar 2018 17:04:14 +0000 (10:04 -0700)] 
Prepare the repository for more development.

7 years agoPreparing for release of 3.1.3 v3.1.3
Wayne Davison [Sun, 28 Jan 2018 23:24:27 +0000 (15:24 -0800)] 
Preparing for release of 3.1.3

7 years agoMention nanoseconds change.
Wayne Davison [Mon, 15 Jan 2018 19:25:04 +0000 (11:25 -0800)] 
Mention nanoseconds change.