rsync.git
4 years agoRename "haproxy header" to "proxy protocol".
Wayne Davison [Mon, 15 Jun 2020 18:23:27 +0000 (11:23 -0700)]
Rename "haproxy header" to "proxy protocol".

4 years agoAdd preliminary gnutls support.
Wayne Davison [Mon, 15 Jun 2020 17:27:05 +0000 (10:27 -0700)]
Add preliminary gnutls support.

4 years agoChoose openssl before stunnel.
Wayne Davison [Mon, 15 Jun 2020 16:51:20 +0000 (09:51 -0700)]
Choose openssl before stunnel.

4 years agoTweak the stunnel4 Verify config; tweak the rsync-ssl docs/usage.
Wayne Davison [Mon, 15 Jun 2020 16:21:28 +0000 (09:21 -0700)]
Tweak the stunnel4 Verify config; tweak the rsync-ssl docs/usage.

4 years agoA minor NEWS tweak.
Wayne Davison [Mon, 15 Jun 2020 16:21:26 +0000 (09:21 -0700)]
A minor NEWS tweak.

4 years agoAdd a warning header to the generated help-*.h files.
Wayne Davison [Mon, 15 Jun 2020 01:49:38 +0000 (18:49 -0700)]
Add a warning header to the generated help-*.h files.

4 years agoA few more md -> html improvements
Wayne Davison [Mon, 15 Jun 2020 01:28:30 +0000 (18:28 -0700)]
A few more md -> html improvements

4 years agoMore NEWS improvements.
Wayne Davison [Mon, 15 Jun 2020 01:00:18 +0000 (18:00 -0700)]
More NEWS improvements.

4 years agoOutput who_am_i() info in all rsyserr() messages.
Wayne Davison [Sun, 14 Jun 2020 22:54:42 +0000 (15:54 -0700)]
Output who_am_i() info in all rsyserr() messages.

4 years agoImprove some md files.
Wayne Davison [Sun, 14 Jun 2020 06:08:28 +0000 (23:08 -0700)]
Improve some md files.

4 years agoAdd handling of non-breaking space & double-dash.
Wayne Davison [Sun, 14 Jun 2020 07:01:59 +0000 (00:01 -0700)]
Add handling of non-breaking space & double-dash.

4 years agoUpdate rrsync & its opt-culling script.
Wayne Davison [Sun, 14 Jun 2020 05:11:37 +0000 (22:11 -0700)]
Update rrsync & its opt-culling script.

4 years agoNeed to indent a code block in the README.
Wayne Davison [Sun, 14 Jun 2020 04:31:26 +0000 (21:31 -0700)]
Need to indent a code block in the README.

4 years agoMore release improvements.
Wayne Davison [Sun, 14 Jun 2020 04:10:13 +0000 (21:10 -0700)]
More release improvements.

4 years agoMention renamed .md files.
Wayne Davison [Sun, 14 Jun 2020 03:42:33 +0000 (20:42 -0700)]
Mention renamed .md files.

4 years agoDon't use c++ comments.
Wayne Davison [Sun, 14 Jun 2020 03:12:15 +0000 (20:12 -0700)]
Don't use c++ comments.

4 years agoA few more release script fixes.
Wayne Davison [Sun, 14 Jun 2020 03:11:06 +0000 (20:11 -0700)]
A few more release script fixes.

4 years agoPreparing for release of 3.2.0pre1 v3.2.0pre1
Wayne Davison [Sun, 14 Jun 2020 02:16:26 +0000 (19:16 -0700)]
Preparing for release of 3.2.0pre1

4 years agoMake -4 & -6 also able to affect an ssh remote shell.
Wayne Davison [Sun, 14 Jun 2020 01:49:52 +0000 (18:49 -0700)]
Make -4 & -6 also able to affect an ssh remote shell.

4 years agoSome indentation fixes.
Wayne Davison [Sun, 14 Jun 2020 01:19:12 +0000 (18:19 -0700)]
Some indentation fixes.

4 years agoSome fixes for the release script & other helpers.
Wayne Davison [Sun, 14 Jun 2020 01:03:01 +0000 (18:03 -0700)]
Some fixes for the release script & other helpers.

4 years agoChange alt_dest_name() to alt_dest_opt().
Wayne Davison [Sat, 13 Jun 2020 19:04:13 +0000 (12:04 -0700)]
Change alt_dest_name() to alt_dest_opt().

4 years agoChange 3 alt-dest vars to just one + some defines.
Wayne Davison [Sat, 13 Jun 2020 18:47:08 +0000 (11:47 -0700)]
Change 3 alt-dest vars to just one + some defines.

4 years agoTweak a couple var names.
Wayne Davison [Sat, 13 Jun 2020 18:24:30 +0000 (11:24 -0700)]
Tweak a couple var names.

4 years agoChange a function name.
Wayne Davison [Sat, 13 Jun 2020 10:03:33 +0000 (03:03 -0700)]
Change a function name.

4 years agoFix overzealous setting of mtime & tweak time comparisons
Wayne Davison [Sat, 13 Jun 2020 09:32:15 +0000 (02:32 -0700)]
Fix overzealous setting of mtime & tweak time comparisons

- Stop setting the mtime on a file we didn't transfer (or didn't verify
  the checksum) when the time diff is within the modify window.
- Stop computing a time difference (-1|0|1) when all we care about is
  time equality.

4 years agoConvert a couple files to UTF-8; more Copyright years.
Wayne Davison [Sat, 13 Jun 2020 09:31:00 +0000 (02:31 -0700)]
Convert a couple files to UTF-8; more Copyright years.

4 years agoMake use of poptDupArgv().
Wayne Davison [Sat, 13 Jun 2020 06:10:44 +0000 (23:10 -0700)]
Make use of poptDupArgv().

4 years agoThe unalias argv array needs room for a trailing NULL.
Wayne Davison [Sat, 13 Jun 2020 06:10:32 +0000 (23:10 -0700)]
The unalias argv array needs room for a trailing NULL.

4 years agoAdd hashtable to delete_in_dir() to fix -x deletions
Wayne Davison [Fri, 12 Jun 2020 23:52:54 +0000 (16:52 -0700)]
Add hashtable to delete_in_dir() to fix -x deletions

4 years agoTweak the hashtable routines to be a little clearer and easier.
Wayne Davison [Fri, 12 Jun 2020 23:39:29 +0000 (16:39 -0700)]
Tweak the hashtable routines to be a little clearer and easier.

4 years agoTweak a usage message.
Wayne Davison [Fri, 12 Jun 2020 17:20:33 +0000 (10:20 -0700)]
Tweak a usage message.

4 years agoFix running prepare-source from a separate build dir.
Wayne Davison [Fri, 12 Jun 2020 16:29:30 +0000 (09:29 -0700)]
Fix running prepare-source from a separate build dir.

4 years agoImprove how the help lines are harvested from the md file.
Wayne Davison [Fri, 12 Jun 2020 15:42:59 +0000 (08:42 -0700)]
Improve how the help lines are harvested from the md file.

4 years agoEnable SIMD by default (if g++ is around).
Wayne Davison [Fri, 12 Jun 2020 15:02:51 +0000 (08:02 -0700)]
Enable SIMD by default (if g++ is around).

4 years agoUse the refused-option code to disable options that aren't compiled into the source.
Wayne Davison [Fri, 12 Jun 2020 05:26:59 +0000 (22:26 -0700)]
Use the refused-option code to disable options that aren't compiled into the source.

4 years agoImprove checkcsum/compress info that may differ between packaged versions.
Wayne Davison [Fri, 12 Jun 2020 04:57:37 +0000 (21:57 -0700)]
Improve checkcsum/compress info that may differ between packaged versions.

4 years agoAdd packaging notes to NEWS.
Wayne Davison [Fri, 12 Jun 2020 03:32:44 +0000 (20:32 -0700)]
Add packaging notes to NEWS.

4 years agoTranslate man page's option list into .h files for options.h to use.
Wayne Davison [Fri, 12 Jun 2020 03:24:53 +0000 (20:24 -0700)]
Translate man page's option list into .h files for options.h to use.

4 years agoSimplify the install of rsync-ssl by unifying 2 scripts.
Wayne Davison [Fri, 12 Jun 2020 01:47:43 +0000 (18:47 -0700)]
Simplify the install of rsync-ssl by unifying 2 scripts.

4 years agoPromote newer compressors to the start of the list.
Wayne Davison [Fri, 12 Jun 2020 01:01:50 +0000 (18:01 -0700)]
Promote newer compressors to the start of the list.

4 years agoRemove generated doc files via make clean.
Wayne Davison [Fri, 12 Jun 2020 00:34:17 +0000 (17:34 -0700)]
Remove generated doc files via make clean.

4 years agoAllow maintainer to build with /usr/local prefix but document /usr.
Wayne Davison [Fri, 12 Jun 2020 00:09:33 +0000 (17:09 -0700)]
Allow maintainer to build with /usr/local prefix but document /usr.

4 years agoCreate a get_device_size() helper function.
Wayne Davison [Thu, 11 Jun 2020 23:08:15 +0000 (16:08 -0700)]
Create a get_device_size() helper function.

4 years agoImprove the haproxy header docs.
Wayne Davison [Thu, 11 Jun 2020 22:16:17 +0000 (15:16 -0700)]
Improve the haproxy header docs.

4 years agoUse /dev/shm instead of requiring /dev/shm/tmp.
Wayne Davison [Thu, 11 Jun 2020 21:33:25 +0000 (14:33 -0700)]
Use /dev/shm instead of requiring /dev/shm/tmp.

4 years agoAdd `haproxy header` parameter to rsync daemon
Wayne Davison [Thu, 11 Jun 2020 21:03:11 +0000 (14:03 -0700)]
Add `haproxy header` parameter to rsync daemon

4 years agoAdd `early exec` daemon parameter.
Wayne Davison [Thu, 11 Jun 2020 03:10:53 +0000 (20:10 -0700)]
Add `early exec` daemon parameter.

Inspired by Ciprian Dorin Craciun's `bootstrap exec` patch.

4 years agoMake sure the tmpdir2 dir is writable.
Wayne Davison [Wed, 10 Jun 2020 20:58:43 +0000 (13:58 -0700)]
Make sure the tmpdir2 dir is writable.

4 years agoMention how to run a single test.
Wayne Davison [Wed, 10 Jun 2020 20:57:25 +0000 (13:57 -0700)]
Mention how to run a single test.

4 years agoUpdate copyright year in runtests.sh too.
Wayne Davison [Wed, 10 Jun 2020 20:58:42 +0000 (13:58 -0700)]
Update copyright year in runtests.sh too.

4 years agoAdd support for /run/shm/tmp dir so the CI action doesn't skip a test.
Wayne Davison [Wed, 10 Jun 2020 20:14:27 +0000 (13:14 -0700)]
Add support for /run/shm/tmp dir so the CI action doesn't skip a test.

4 years agoHave the CI actions run make check29 & check30.
Wayne Davison [Wed, 10 Jun 2020 18:51:44 +0000 (11:51 -0700)]
Have the CI actions run make check29 & check30.

4 years agoFix a couple batchfile issues.
Wayne Davison [Wed, 10 Jun 2020 18:05:09 +0000 (11:05 -0700)]
Fix a couple batchfile issues.

4 years agoImprove gensend rule & list of PHONY targets.
Wayne Davison [Wed, 10 Jun 2020 16:44:23 +0000 (09:44 -0700)]
Improve gensend rule & list of PHONY targets.

4 years agoImprovements for release process; a gensend hook.
Wayne Davison [Wed, 10 Jun 2020 16:21:21 +0000 (09:21 -0700)]
Improvements for release process; a gensend hook.

4 years agoFix double-gen of manpages.
Wayne Davison [Wed, 10 Jun 2020 07:39:30 +0000 (00:39 -0700)]
Fix double-gen of manpages.

4 years agoFix the output with -D; a few minor tweaks.
Wayne Davison [Wed, 10 Jun 2020 07:26:29 +0000 (00:26 -0700)]
Fix the output with -D; a few minor tweaks.

4 years agoMention the github rsync home.
Wayne Davison [Wed, 10 Jun 2020 00:41:15 +0000 (17:41 -0700)]
Mention the github rsync home.

4 years agoThe samba rsync server now requires ssl.
Wayne Davison [Wed, 10 Jun 2020 00:21:51 +0000 (17:21 -0700)]
The samba rsync server now requires ssl.

4 years agoMore man processing improvements
Wayne Davison [Tue, 9 Jun 2020 22:21:38 +0000 (15:21 -0700)]
More man processing improvements

- Support the commonmark library in addition to cmarkgfm.
- Remove github-flavor from the markup.
- A few more html style improvements.

4 years agoA few more man page script improvements.
Wayne Davison [Tue, 9 Jun 2020 16:12:32 +0000 (09:12 -0700)]
A few more man page script improvements.

4 years agoOutput the files at the end; fix a missing double-quote.
Wayne Davison [Tue, 9 Jun 2020 07:23:15 +0000 (00:23 -0700)]
Output the files at the end; fix a missing double-quote.

4 years agoFix the html title.
Wayne Davison [Tue, 9 Jun 2020 05:52:58 +0000 (22:52 -0700)]
Fix the html title.

4 years agoA couple man page tweaks.
Wayne Davison [Tue, 9 Jun 2020 05:45:41 +0000 (22:45 -0700)]
A couple man page tweaks.

4 years agoChange man page src format from yodl to markdown.
Wayne Davison [Tue, 9 Jun 2020 02:21:42 +0000 (19:21 -0700)]
Change man page src format from yodl to markdown.

This removes the yodl dependency, which is sometimes hard to track down.
Instead, this uses a python3 script that leverages the cmarkgfm library
to turn the source file into html.  Then, the script parses the html in
order to turn the tag stream into a nroff stream using a simple state
machine. While it's doing that it also implements one added format rule
that turns an ordinal list that starts at 0 into a description list
(since markdown doesn't have an easy description list idiom).

4 years agoTweak the new heading
Wayne Davison [Mon, 8 Jun 2020 02:43:08 +0000 (19:43 -0700)]
Tweak the new heading

4 years agoAdd OpenSSL license exception also to COPYING
Sebastian Andrzej Siewior [Sun, 7 Jun 2020 19:54:49 +0000 (21:54 +0200)]
Add OpenSSL license exception also to COPYING

Add the OpenSSL license exception also to the COPYING file which
contains the license related information.

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
4 years agoUse ZSTD_CLEVEL_DEFAULT define.
Wayne Davison [Mon, 8 Jun 2020 01:58:30 +0000 (18:58 -0700)]
Use ZSTD_CLEVEL_DEFAULT define.

4 years agoPut the rsync-ssl-rsh helper script into a lib dir.
Wayne Davison [Mon, 8 Jun 2020 00:20:58 +0000 (17:20 -0700)]
Put the rsync-ssl-rsh helper script into a lib dir.

4 years agoA couple minor fixes.
Wayne Davison [Fri, 5 Jun 2020 05:54:38 +0000 (22:54 -0700)]
A couple minor fixes.

4 years agoOnly sender can output non-final stats on error
Wayne Davison [Fri, 5 Jun 2020 04:21:05 +0000 (21:21 -0700)]
Only sender can output non-final stats on error

The receiving side's stats are split between 2 processes until the very end.

4 years agoMake use of O_NOFOLLOW if it is defined.
Wayne Davison [Fri, 5 Jun 2020 02:47:59 +0000 (19:47 -0700)]
Make use of O_NOFOLLOW if it is defined.

4 years agoMention more NEWS items.
Wayne Davison [Fri, 5 Jun 2020 02:05:56 +0000 (19:05 -0700)]
Mention more NEWS items.

4 years agoUse a lock to not fail on a left-over pid file.
Wayne Davison [Fri, 5 Jun 2020 00:55:20 +0000 (17:55 -0700)]
Use a lock to not fail on a left-over pid file.

4 years agoUse more switch statements.
Wayne Davison [Thu, 4 Jun 2020 23:17:12 +0000 (16:17 -0700)]
Use more switch statements.

4 years agoMake -V the short opt for --version.
Wayne Davison [Thu, 4 Jun 2020 22:50:57 +0000 (15:50 -0700)]
Make -V the short opt for --version.

4 years agoAvoid a deadlock due to huge amounts of verbose messages.
Wayne Davison [Thu, 4 Jun 2020 21:11:07 +0000 (14:11 -0700)]
Avoid a deadlock due to huge amounts of verbose messages.

Allow the receiver to increase their iobuf.msg xbuf if it fills up. This
ensures that the receiver will never block trying to output a message,
and thus it will always drain the data from the sender and keep the
whole thing from clogging up.

4 years agoTweak --copy-as docs a bit more.
Wayne Davison [Thu, 4 Jun 2020 20:07:50 +0000 (13:07 -0700)]
Tweak --copy-as docs a bit more.

4 years agoAdd hostname "lh" as a --no-cd localhost.
Wayne Davison [Thu, 4 Jun 2020 19:37:07 +0000 (12:37 -0700)]
Add hostname "lh" as a --no-cd localhost.

4 years agoFix change_dir() leaving appended slash in curr_dir on failure.
Wayne Davison [Thu, 4 Jun 2020 19:35:19 +0000 (12:35 -0700)]
Fix change_dir() leaving appended slash in curr_dir on failure.

4 years agoHandle --skip-compress right for new compressors
Wayne Davison [Wed, 3 Jun 2020 00:58:24 +0000 (17:58 -0700)]
Handle --skip-compress right for new compressors

Some compressors can't completely turn off, so minimize the level
when a file is being "skipped".

4 years agoMention that `rsync --version` outputs checksum & compress lists.
Wayne Davison [Wed, 3 Jun 2020 00:21:51 +0000 (17:21 -0700)]
Mention that `rsync --version` outputs checksum & compress lists.

4 years agoUpdate ccpp.yml
Wayne Davison [Wed, 3 Jun 2020 00:20:22 +0000 (17:20 -0700)]
Update ccpp.yml

Switch to ubuntu-20.04 and add a couple dev libs.

4 years agoSome improvements to the release mechanism
Wayne Davison [Tue, 2 Jun 2020 19:43:38 +0000 (12:43 -0700)]
Some improvements to the release mechanism

- Some manpage changes to make them more consistent and to add a section
  that the release script expects in rsync-ssl.
- Fixed some issues in release-rsync pertaining to various file changes,
  such as the .md file changes.
- Change the gpg handling to stop prompting for a passphrase since gpg
  now makes use of gpg-agent (and the old gpg script is apparently not
  passing through fd 2 that git needs to get status).

4 years agoMove the CSUM defines.
Wayne Davison [Tue, 2 Jun 2020 01:49:15 +0000 (18:49 -0700)]
Move the CSUM defines.

4 years agoA few style tweaks.
Wayne Davison [Tue, 2 Jun 2020 01:36:22 +0000 (18:36 -0700)]
A few style tweaks.

4 years agoMove OpenSSL-related MD4/5 defines and imports to lib/mdigest.h
Jorrit Jongma [Mon, 25 May 2020 16:16:19 +0000 (18:16 +0200)]
Move OpenSSL-related MD4/5 defines and imports to lib/mdigest.h

Works just as well, prevents having to repeat them across files

4 years agoSome improvements for --msgs2stderr and --daemon.
Wayne Davison [Sun, 31 May 2020 22:25:11 +0000 (15:25 -0700)]
Some improvements for --msgs2stderr and --daemon.

- Set am_daemon to -1 (from 1) when the daemon is run via rsh.
- Only disable --msgs2stderr for a normal (socket) daemon.
- Forward a -q to the server if --msgs2stderr was also specified.
- Added --no-msgs2stderr option to allow it to be overridden.

4 years agoMention the latest NEWS items.
Wayne Davison [Sat, 30 May 2020 12:54:09 +0000 (05:54 -0700)]
Mention the latest NEWS items.

4 years agoAvoid noop_io_until_death() if --msgs2stderr was specified.
Wayne Davison [Sat, 30 May 2020 12:53:59 +0000 (05:53 -0700)]
Avoid noop_io_until_death() if --msgs2stderr was specified.

4 years agoSearch for double-fuzzy files only when needed
benrubson [Tue, 26 May 2020 14:06:07 +0000 (16:06 +0200)]
Search for double-fuzzy files only when needed

4 years agoSilence a strncpy() warning.
Wayne Davison [Sat, 30 May 2020 00:35:56 +0000 (17:35 -0700)]
Silence a strncpy() warning.

4 years agoSilence some g++ warnings.
Wayne Davison [Fri, 29 May 2020 21:38:19 +0000 (14:38 -0700)]
Silence some g++ warnings.

4 years agoGive configure's snprintf() test a guaranteed short string at the start.
Wayne Davison [Fri, 29 May 2020 21:37:49 +0000 (14:37 -0700)]
Give configure's snprintf() test a guaranteed short string at the start.

4 years agoSilence gcc7.1 warnings about snprintf().
Wayne Davison [Fri, 29 May 2020 21:18:08 +0000 (14:18 -0700)]
Silence gcc7.1 warnings about snprintf().

4 years agoFix regex issue due to python 3.8 bug.
Wayne Davison [Fri, 29 May 2020 03:48:24 +0000 (20:48 -0700)]
Fix regex issue due to python 3.8 bug.

4 years agoA few minor xxhash changes.
Wayne Davison [Fri, 29 May 2020 03:21:54 +0000 (20:21 -0700)]
A few minor xxhash changes.

4 years agoMerge pull request #5 from benrubson/daemonstats
Wayne Davison [Thu, 28 May 2020 20:42:47 +0000 (13:42 -0700)]
Merge pull request #5 from benrubson/daemonstats

Have daemon log data sent/received even when exiting with an error.

4 years agoAdd stub for canonical_checksum().
Wayne Davison [Thu, 28 May 2020 19:46:46 +0000 (12:46 -0700)]
Add stub for canonical_checksum().