]> git.ipfire.org Git - thirdparty/rsync.git/log
thirdparty/rsync.git
2 years agoImprove various things in the checksum code
Wayne Davison [Sat, 10 Sep 2022 16:43:47 +0000 (09:43 -0700)] 
Improve various things in the checksum code

- Size flist checksum data to hold the active size, not the max.
- Add a negotiated hash method to the daemon auth code.
- Use EVP for all openssl digests. This makes it easy to add more
  openssl digest methods and avoids deprecation warnings.
- Support a way to re-enable deprecated digests via openssl conf
  file and allow a default file to be configured.
- Supply a simple openssl-rsync.cnf file to enable legacy digests.

2 years agoTry freebsd-13-1 to fix weird wget issue.
Wayne Davison [Fri, 9 Sep 2022 20:16:27 +0000 (13:16 -0700)] 
Try freebsd-13-1 to fix weird wget issue.

2 years agoWhen deleting a tag, del in the patches dir too.
Wayne Davison [Fri, 9 Sep 2022 19:59:22 +0000 (12:59 -0700)] 
When deleting a tag, del in the patches dir too.

2 years agoStart 3.2.7dev going.
Wayne Davison [Fri, 9 Sep 2022 19:58:22 +0000 (12:58 -0700)] 
Start 3.2.7dev going.

2 years agoPreparing for release of 3.2.6 v3.2.6
Wayne Davison [Fri, 9 Sep 2022 19:23:37 +0000 (12:23 -0700)] 
Preparing for release of 3.2.6

2 years agoMention a potential bash security issue with openssh forced commands.
Wayne Davison [Fri, 9 Sep 2022 17:47:09 +0000 (10:47 -0700)] 
Mention a potential bash security issue with openssh forced commands.

2 years agoA few more minor tweaks.
Wayne Davison [Fri, 2 Sep 2022 05:07:54 +0000 (22:07 -0700)] 
A few more minor tweaks.

2 years agoImprove the daemon info a bit.
Wayne Davison [Fri, 2 Sep 2022 04:56:00 +0000 (21:56 -0700)] 
Improve the daemon info a bit.

2 years agoTweak a couple links.
Wayne Davison [Wed, 24 Aug 2022 04:05:54 +0000 (21:05 -0700)] 
Tweak a couple links.

2 years agoMention that copying to a case-ignoring filesystem can be problematical.
Wayne Davison [Wed, 24 Aug 2022 03:59:13 +0000 (20:59 -0700)] 
Mention that copying to a case-ignoring filesystem can be problematical.

2 years agoFix an unreleased bug handling a leading dot.
Wayne Davison [Wed, 24 Aug 2022 02:38:41 +0000 (19:38 -0700)] 
Fix an unreleased bug handling a leading dot.

2 years agoAnother spelling fix.
Wayne Davison [Tue, 23 Aug 2022 22:44:48 +0000 (15:44 -0700)] 
Another spelling fix.

2 years agoFix a link.
Wayne Davison [Tue, 23 Aug 2022 22:30:37 +0000 (15:30 -0700)] 
Fix a link.

2 years agoFix split limits.
Wayne Davison [Tue, 23 Aug 2022 22:30:16 +0000 (15:30 -0700)] 
Fix split limits.

2 years agoRename `--protect-args` to `--secluded-args`.
Wayne Davison [Tue, 23 Aug 2022 15:28:06 +0000 (08:28 -0700)] 
Rename `--protect-args` to `--secluded-args`.

2 years agoMore NEWS tweaks.
Wayne Davison [Mon, 22 Aug 2022 15:15:35 +0000 (08:15 -0700)] 
More NEWS tweaks.

2 years agoAdd safety check for local --remove-source-files.
Wayne Davison [Sun, 21 Aug 2022 16:56:33 +0000 (09:56 -0700)] 
Add safety check for local --remove-source-files.

A local_server copy now includes the dev+ino info from the destination
file so that the sender can make sure that it is not going to delete
the destination file.  Fixes mistakes such as:

  rsync -aiv --remove-source-files dir .

2 years agoMention the latest changes.
Wayne Davison [Sat, 20 Aug 2022 15:28:48 +0000 (08:28 -0700)] 
Mention the latest changes.

2 years agoMake sure that the configure.sh script is up-to-date in a release.
Wayne Davison [Fri, 19 Aug 2022 15:57:47 +0000 (08:57 -0700)] 
Make sure that the configure.sh script is up-to-date in a release.

2 years agoMention `copy-devices`.
Wayne Davison [Fri, 19 Aug 2022 15:56:42 +0000 (08:56 -0700)] 
Mention `copy-devices`.

2 years agoRemove unneeded var.
Wayne Davison [Fri, 19 Aug 2022 15:55:51 +0000 (08:55 -0700)] 
Remove unneeded var.

2 years agoStop enabling -pedantic-errors.
Wayne Davison [Fri, 19 Aug 2022 00:33:54 +0000 (17:33 -0700)] 
Stop enabling -pedantic-errors.

2 years agoChange name_num_obj struct to use a name_num_item pointer.
Wayne Davison [Fri, 19 Aug 2022 00:33:11 +0000 (17:33 -0700)] 
Change name_num_obj struct to use a name_num_item pointer.

2 years agoFix typos on manpage (#358)
Samuel Henrique [Thu, 18 Aug 2022 04:50:43 +0000 (05:50 +0100)] 
Fix typos on manpage (#358)

2 years agoFix issue when the files-from list isn't nl terminated.
Wayne Davison [Wed, 17 Aug 2022 23:57:39 +0000 (16:57 -0700)] 
Fix issue when the files-from list isn't nl terminated.

2 years agoAnother mkgitver tweak & mention it in NEWS.
Wayne Davison [Tue, 16 Aug 2022 15:38:58 +0000 (08:38 -0700)] 
Another mkgitver tweak & mention it in NEWS.

2 years agoRemove useless comment.
Wayne Davison [Tue, 16 Aug 2022 04:56:37 +0000 (21:56 -0700)] 
Remove useless comment.

2 years agoOnly run git describe if .git exists in the $srcdir.
Wayne Davison [Tue, 16 Aug 2022 04:52:13 +0000 (21:52 -0700)] 
Only run git describe if .git exists in the $srcdir.

2 years agoStart 3.2.6dev going.
Wayne Davison [Tue, 16 Aug 2022 02:01:56 +0000 (19:01 -0700)] 
Start 3.2.6dev going.

2 years agoDo more path cleaning in add_implied_include(); make u.slash_cnt more accurate.
Wayne Davison [Tue, 16 Aug 2022 01:54:07 +0000 (18:54 -0700)] 
Do more path cleaning in add_implied_include(); make u.slash_cnt more accurate.

2 years agoAllow ~/remote/./path with -R if the path has /./ in it.
Wayne Davison [Tue, 16 Aug 2022 01:18:11 +0000 (18:18 -0700)] 
Allow ~/remote/./path with -R if the path has /./ in it.

2 years agoWe must use the CSUM_CHUNK size in the non-openssl MD4 code.
Wayne Davison [Sun, 14 Aug 2022 21:03:02 +0000 (14:03 -0700)] 
We must use the CSUM_CHUNK size in the non-openssl MD4 code.

2 years agoFix another dot-dir implied arg issue. v3.2.5
Wayne Davison [Sun, 14 Aug 2022 19:27:25 +0000 (12:27 -0700)] 
Fix another dot-dir implied arg issue.

2 years agoPreparing for release of 3.2.5
Wayne Davison [Sun, 14 Aug 2022 17:15:08 +0000 (10:15 -0700)] 
Preparing for release of 3.2.5

2 years agoUpdate the NEWS.
Wayne Davison [Sun, 14 Aug 2022 17:12:06 +0000 (10:12 -0700)] 
Update the NEWS.

2 years agoEnsure a dynamically linked xxhash lib is >= 0.8 for XX3.
Wayne Davison [Sun, 14 Aug 2022 17:09:34 +0000 (10:09 -0700)] 
Ensure a dynamically linked xxhash lib is >= 0.8 for XX3.

2 years agoRemove some trailing whitespace.
Wayne Davison [Sat, 13 Aug 2022 17:53:02 +0000 (10:53 -0700)] 
Remove some trailing whitespace.

2 years agoMake a `--trust-sender` a bit clearer.
Wayne Davison [Wed, 10 Aug 2022 23:25:37 +0000 (16:25 -0700)] 
Make a `--trust-sender` a bit clearer.

2 years agoOne more doc tweak.
Wayne Davison [Wed, 10 Aug 2022 15:47:11 +0000 (08:47 -0700)] 
One more doc tweak.

2 years agoAdd packaging note.
Wayne Davison [Wed, 10 Aug 2022 15:42:22 +0000 (08:42 -0700)] 
Add packaging note.

2 years agoFix handling of a character class with an escaped closing bracket.
Wayne Davison [Wed, 10 Aug 2022 00:51:00 +0000 (17:51 -0700)] 
Fix handling of a character class with an escaped closing bracket.

2 years agoBe a little paranoid.
Wayne Davison [Wed, 10 Aug 2022 00:33:45 +0000 (17:33 -0700)] 
Be a little paranoid.

2 years agoA couple manpage tweaks.
Wayne Davison [Wed, 10 Aug 2022 00:26:23 +0000 (17:26 -0700)] 
A couple manpage tweaks.

2 years agoAdd `--trust-sender` option.
Wayne Davison [Tue, 9 Aug 2022 18:45:56 +0000 (11:45 -0700)] 
Add `--trust-sender` option.

2 years agoEscape leading tilde char when "~" or with -R.
Wayne Davison [Tue, 9 Aug 2022 18:42:14 +0000 (11:42 -0700)] 
Escape leading tilde char when "~" or with -R.

2 years agoFix handling of daemon module names in file-list verification; convert some while...
Wayne Davison [Tue, 9 Aug 2022 18:37:37 +0000 (11:37 -0700)] 
Fix handling of daemon module names in file-list verification; convert some while loops to for loops.

2 years agoPreparing for release of 3.2.5pre2 v3.2.5pre2
Wayne Davison [Tue, 9 Aug 2022 05:50:31 +0000 (22:50 -0700)] 
Preparing for release of 3.2.5pre2

2 years agoFix --relative when copying an absolute path.
Wayne Davison [Tue, 9 Aug 2022 04:30:21 +0000 (21:30 -0700)] 
Fix --relative when copying an absolute path.

2 years agoHandle files-from args that span 2 buffers.
Wayne Davison [Tue, 9 Aug 2022 04:18:10 +0000 (21:18 -0700)] 
Handle files-from args that span 2 buffers.

2 years agoA fix for the zlib fix.
Wayne Davison [Tue, 9 Aug 2022 03:05:10 +0000 (20:05 -0700)] 
A fix for the zlib fix.

2 years agoHandle a "[foo]" arg matching the literal wildcards.
Wayne Davison [Tue, 9 Aug 2022 02:31:36 +0000 (19:31 -0700)] 
Handle a "[foo]" arg matching the literal wildcards.

2 years agoFix some issues with backslashed wildcards in args.
Wayne Davison [Tue, 9 Aug 2022 01:30:43 +0000 (18:30 -0700)] 
Fix some issues with backslashed wildcards in args.

2 years agoHandle a trailing "/." at the end of a source arg.
Wayne Davison [Tue, 9 Aug 2022 00:36:36 +0000 (17:36 -0700)] 
Handle a trailing "/." at the end of a source arg.

2 years agoUpdate the NEWS.
Wayne Davison [Sun, 7 Aug 2022 16:59:43 +0000 (09:59 -0700)] 
Update the NEWS.

2 years agoFix zlib bug with a large gzip header extra field
Wayne Davison [Sun, 7 Aug 2022 16:27:57 +0000 (09:27 -0700)] 
Fix zlib bug with a large gzip header extra field

From zlib commit eff308af425b67093bab25f80f1ae950166bece1.
Fixes CVE-2022-37434.

2 years agoMake sure that --read-batch doesn't try to check args.
Wayne Davison [Sun, 7 Aug 2022 15:56:39 +0000 (08:56 -0700)] 
Make sure that --read-batch doesn't try to check args.

2 years agoSome md-convert doc tweaks.
Wayne Davison [Wed, 3 Aug 2022 15:55:26 +0000 (08:55 -0700)] 
Some md-convert doc tweaks.

3 years agoFix typos in NEWS (#339)
Jakub Wilk [Tue, 2 Aug 2022 18:31:04 +0000 (20:31 +0200)] 
Fix typos in NEWS (#339)

3 years agoPreparing for release of 3.2.5pre1 v3.2.5pre1
Wayne Davison [Tue, 2 Aug 2022 01:51:07 +0000 (18:51 -0700)] 
Preparing for release of 3.2.5pre1

3 years agoTweaks to allow for a release.
Wayne Davison [Tue, 2 Aug 2022 01:43:11 +0000 (18:43 -0700)] 
Tweaks to allow for a release.

3 years agoMore NEWS.
Wayne Davison [Tue, 2 Aug 2022 01:34:39 +0000 (18:34 -0700)] 
More NEWS.

3 years agoA few more minor tweaks.
Wayne Davison [Tue, 2 Aug 2022 01:21:28 +0000 (18:21 -0700)] 
A few more minor tweaks.

3 years agoAvoid the getgroups program when cross-compiliing.
Wayne Davison [Mon, 1 Aug 2022 16:00:34 +0000 (09:00 -0700)] 
Avoid the getgroups program when cross-compiliing.

3 years agoMake sure sign is consistend in 2 gid comparisons.
Wayne Davison [Mon, 1 Aug 2022 15:29:15 +0000 (08:29 -0700)] 
Make sure sign is consistend in 2 gid comparisons.

3 years agoA few more minor changes.
Wayne Davison [Mon, 1 Aug 2022 14:29:44 +0000 (07:29 -0700)] 
A few more minor changes.

3 years agoMore improvements to file-list checking
Wayne Davison [Mon, 1 Aug 2022 14:00:51 +0000 (07:00 -0700)] 
More improvements to file-list checking

- Avoid implied rules on generator and (with extra certainty) on server
- Add -R implied-directory path elements as directory includes
- Log about extra file-list checking using a new --debug=FILTER3 level

3 years agoThe latest NEWS.
Wayne Davison [Sun, 31 Jul 2022 23:59:52 +0000 (16:59 -0700)] 
The latest NEWS.

3 years agoSome extra file-list safety checks.
Wayne Davison [Sun, 31 Jul 2022 23:55:34 +0000 (16:55 -0700)] 
Some extra file-list safety checks.

3 years agoA few more minor doc tweaks.
Wayne Davison [Mon, 11 Jul 2022 20:31:30 +0000 (13:31 -0700)] 
A few more minor doc tweaks.

3 years agoA few minor fixes.
Wayne Davison [Mon, 20 Jun 2022 00:21:03 +0000 (17:21 -0700)] 
A few minor fixes.

3 years agoLink to rsyncd.conf page server-setup details.
Wayne Davison [Sun, 19 Jun 2022 23:55:18 +0000 (16:55 -0700)] 
Link to rsyncd.conf page server-setup details.

3 years agoImprove the filter intro.
Wayne Davison [Sun, 19 Jun 2022 23:43:38 +0000 (16:43 -0700)] 
Improve the filter intro.

3 years agoImprove filter discussion.
Wayne Davison [Sun, 19 Jun 2022 20:53:28 +0000 (13:53 -0700)] 
Improve filter discussion.

3 years agoSome proxy improvements (mainly).
Wayne Davison [Sun, 19 Jun 2022 18:15:36 +0000 (11:15 -0700)] 
Some proxy improvements (mainly).

3 years agoSome clarifications about transfer rules.
Wayne Davison [Sun, 19 Jun 2022 18:14:43 +0000 (11:14 -0700)] 
Some clarifications about transfer rules.

3 years agoInclude bsd/strings.h if it exists
Wayne Davison [Sun, 19 Jun 2022 17:02:51 +0000 (10:02 -0700)] 
Include bsd/strings.h if it exists

Some systems apparently put strlcpy() into a separate bsd/strings.h file
without putting the function into a separate library. Thus, configure
finds that the function exists for linking but the build does not have
the declaration (which rsync only supplies if it is also supplying its
own version of the function).

3 years agoFix minor typos (#327)
Yuri Chornoivan [Sun, 19 Jun 2022 16:14:36 +0000 (19:14 +0300)] 
Fix minor typos (#327)

3 years agoFix configure's "signed char" check
Wayne Davison [Sat, 18 Jun 2022 17:19:57 +0000 (10:19 -0700)] 
Fix configure's "signed char" check

When pedantic errors are enabled, SIGNED_CHAR_OK was no longer
being set correctly. This would cause the checksum code to use
"char" instead of "signed char", and if the default for a "char"
was unsigned, the checksum code would fail to compute the right
hash values.  Fixes bug #317.

3 years agoAvoid -pedantic-errors on non-x86 for the moment.
Wayne Davison [Sat, 18 Jun 2022 16:42:16 +0000 (09:42 -0700)] 
Avoid -pedantic-errors on non-x86 for the moment.

3 years agoFix grabbing version value in configure.
Wayne Davison [Thu, 2 Jun 2022 00:41:28 +0000 (17:41 -0700)] 
Fix grabbing version value in configure.

3 years agoImprove discussion of old-args in advanced usage.
Wayne Davison [Sat, 14 May 2022 23:31:50 +0000 (16:31 -0700)] 
Improve discussion of old-args in advanced usage.

3 years agoMake md-convert --test work again.
Wayne Davison [Sat, 7 May 2022 02:37:40 +0000 (19:37 -0700)] 
Make md-convert --test work again.

3 years agoManpage improvements.
Wayne Davison [Sat, 7 May 2022 00:32:48 +0000 (17:32 -0700)] 
Manpage improvements.

3 years agoUse the maintainer's timezone for translating the manpage date.
Wayne Davison [Sat, 7 May 2022 00:24:07 +0000 (17:24 -0700)] 
Use the maintainer's timezone for translating the manpage date.

3 years agoSetup for 3.2.5dev.
Wayne Davison [Sat, 7 May 2022 00:20:24 +0000 (17:20 -0700)] 
Setup for 3.2.5dev.

3 years agoPreparing for release of 3.2.4 v3.2.4
Wayne Davison [Fri, 15 Apr 2022 20:31:16 +0000 (13:31 -0700)] 
Preparing for release of 3.2.4

3 years agoThe latest news.
Wayne Davison [Mon, 11 Apr 2022 16:46:38 +0000 (09:46 -0700)] 
The latest news.

3 years agoAdd debugging comment about read_buf_().
Wayne Davison [Mon, 11 Apr 2022 16:46:32 +0000 (09:46 -0700)] 
Add debugging comment about read_buf_().

3 years agosystemd: restart daemon on-failure (#302)
Simon Deziel [Mon, 11 Apr 2022 16:08:11 +0000 (12:08 -0400)] 
systemd: restart daemon on-failure (#302)

man 5 systemd.service:
> Setting this to on-failure is the recommended choice for long-running services

Partial fix for https://bugzilla.samba.org/show_bug.cgi?id=13463

Signed-off-by: Simon Deziel <simon@sdeziel.info>
3 years agoSpecify log format to avoid malfunctions and unexpected errors. (#305)
Yoichi NAKAYAMA [Mon, 11 Apr 2022 15:57:19 +0000 (00:57 +0900)] 
Specify log format to avoid malfunctions and unexpected errors. (#305)

Solve the following problems:
* mishandling of commit message lines similar to committer lines
* UnicodeDecodeError with commit messages that cannot be interpreted
  as utf-8

3 years agoFix for CVE-2018-25032 in zlib (#306)
Michal Ruprich [Mon, 11 Apr 2022 15:50:50 +0000 (17:50 +0200)] 
Fix for CVE-2018-25032 in zlib (#306)

3 years agoHandle linking with a zlib with external read_buf.
Wayne Davison [Mon, 11 Apr 2022 15:29:54 +0000 (08:29 -0700)] 
Handle linking with a zlib with external read_buf.

3 years agoPreparing for release of 3.2.4pre4 v3.2.4pre4
Wayne Davison [Sun, 27 Mar 2022 21:59:57 +0000 (14:59 -0700)] 
Preparing for release of 3.2.4pre4

3 years agoAdd new & improved `--copy-devices` option.
Wayne Davison [Sun, 27 Mar 2022 20:36:31 +0000 (13:36 -0700)] 
Add new & improved `--copy-devices` option.

3 years agoSome `--write-device` fixes.
Wayne Davison [Sun, 27 Mar 2022 19:26:39 +0000 (12:26 -0700)] 
Some `--write-device` fixes.

3 years agoCombine some alt-dest tests.
Wayne Davison [Sat, 26 Mar 2022 17:00:24 +0000 (10:00 -0700)] 
Combine some alt-dest tests.

3 years agoRename compare-dest test.
Wayne Davison [Sat, 26 Mar 2022 17:01:10 +0000 (10:01 -0700)] 
Rename compare-dest test.

3 years agoExtract unlink_and_reopen from copy_file (#294)
Sam Mikes [Sat, 26 Mar 2022 16:14:10 +0000 (10:14 -0600)] 
Extract unlink_and_reopen from copy_file (#294)

* add tests to exercise copy_file

* Extract new function unlink_and_reopen from copy_file

The argument `ofd` to copy_file is always set to -1 unless
`open_tmpfile()` is called at generator.c:909

This change
 * removes assignment to a function argument
 * renames argument `ofd` to `tmpfilefd` in line with existing uses
 * extracts a new function `unlink_and_reopen` which is static to util1.c
 * rewrites header comments for copy_file

3 years agoSome word fixes.
Wayne Davison [Sat, 26 Mar 2022 15:28:16 +0000 (08:28 -0700)] 
Some word fixes.

3 years agoAlso ignore a root-level rrsync file.
Wayne Davison [Sun, 13 Mar 2022 17:45:09 +0000 (10:45 -0700)] 
Also ignore a root-level rrsync file.