rsync.git
3 years agoLet's try cygwin again. (#69)
Wayne Davison [Wed, 15 Jul 2020 21:30:22 +0000 (14:30 -0700)]
Let's try cygwin again. (#69)

Setup an optional cygwin build that is currently triggered when a [buildall] is in the commit message (the build is currently quite slow).

3 years agoGitHub artifact test didn't work.
Wayne Davison [Wed, 15 Jul 2020 20:53:40 +0000 (13:53 -0700)]
GitHub artifact test didn't work.

3 years agoTweak the save path.
Wayne Davison [Wed, 15 Jul 2020 20:42:36 +0000 (13:42 -0700)]
Tweak the save path.

3 years agoAvoid normal build on cygwin-save change.
Wayne Davison [Wed, 15 Jul 2020 20:20:40 +0000 (13:20 -0700)]
Avoid normal build on cygwin-save change.

3 years agoTry to get cygwin-save to run.
Wayne Davison [Wed, 15 Jul 2020 20:16:36 +0000 (13:16 -0700)]
Try to get cygwin-save to run.

3 years agoTry to save cygwin install in an artifact.
Wayne Davison [Wed, 15 Jul 2020 19:31:38 +0000 (12:31 -0700)]
Try to save cygwin install in an artifact.

3 years agoForce git line endings (#68)
Ben RUBSON [Wed, 15 Jul 2020 17:20:52 +0000 (19:20 +0200)]
Force git line endings (#68)

3 years agoTweak the workflows filename.
Wayne Davison [Wed, 15 Jul 2020 04:47:50 +0000 (21:47 -0700)]
Tweak the workflows filename.

3 years agoDisable cygwin for now.
Wayne Davison [Wed, 15 Jul 2020 04:47:11 +0000 (21:47 -0700)]
Disable cygwin for now.

3 years agoTry a couple different way to fix the build.
Wayne Davison [Wed, 15 Jul 2020 04:32:41 +0000 (21:32 -0700)]
Try a couple different way to fix the build.

3 years agoTry Cygwin build in actions.
Wayne Davison [Wed, 15 Jul 2020 04:18:52 +0000 (21:18 -0700)]
Try Cygwin build in actions.

3 years agoLet's try a Cygwin build on Cirrus.
Wayne Davison [Wed, 15 Jul 2020 03:41:44 +0000 (20:41 -0700)]
Let's try a Cygwin build on Cirrus.

3 years agoMention the auto-build-save setup.
Wayne Davison [Wed, 15 Jul 2020 03:01:54 +0000 (20:01 -0700)]
Mention the auto-build-save setup.

3 years agoEnable FreeBSD CI ssl (#66)
Ben RUBSON [Tue, 14 Jul 2020 20:22:55 +0000 (22:22 +0200)]
Enable FreeBSD CI ssl (#66)

3 years agoReduce the installed pkg items since they are so slow.
Wayne Davison [Mon, 13 Jul 2020 23:26:58 +0000 (16:26 -0700)]
Reduce the installed pkg items since they are so slow.

3 years agoA few more NEWS & man tweaks.
Wayne Davison [Mon, 13 Jul 2020 23:07:46 +0000 (16:07 -0700)]
A few more NEWS & man tweaks.

3 years agoTry using cmarkgfm.
Wayne Davison [Mon, 13 Jul 2020 22:44:43 +0000 (15:44 -0700)]
Try using cmarkgfm.

3 years agoAvoid a failed test on Cygwin.
Wayne Davison [Mon, 13 Jul 2020 22:33:07 +0000 (15:33 -0700)]
Avoid a failed test on Cygwin.

3 years agoSearch for cmark.
Wayne Davison [Mon, 13 Jul 2020 21:09:24 +0000 (14:09 -0700)]
Search for cmark.

3 years agoAdd new code to recv_group_name() too.
Wayne Davison [Mon, 13 Jul 2020 20:43:17 +0000 (13:43 -0700)]
Add new code to recv_group_name() too.

3 years agoGive up on commonmark.
Wayne Davison [Mon, 13 Jul 2020 20:42:28 +0000 (13:42 -0700)]
Give up on commonmark.

3 years agoAvoid a crash if id-0 doesn't exist.
Wayne Davison [Mon, 13 Jul 2020 20:18:38 +0000 (13:18 -0700)]
Avoid a crash if id-0 doesn't exist.

3 years agoOne more commonmark try.
Wayne Davison [Mon, 13 Jul 2020 20:12:39 +0000 (13:12 -0700)]
One more commonmark try.

3 years agoAvoid a test failure if `id` didn't work.
Wayne Davison [Mon, 13 Jul 2020 19:59:22 +0000 (12:59 -0700)]
Avoid a test failure if `id` didn't work.

3 years agoTry another way to get commonmark working.
Wayne Davison [Mon, 13 Jul 2020 19:59:07 +0000 (12:59 -0700)]
Try another way to get commonmark working.

3 years agoInstall commonmark on FreeBSD.
Wayne Davison [Mon, 13 Jul 2020 19:18:13 +0000 (12:18 -0700)]
Install commonmark on FreeBSD.

3 years agoTweak lsh's Usage message & opening comment.
Wayne Davison [Mon, 13 Jul 2020 19:01:00 +0000 (12:01 -0700)]
Tweak lsh's Usage message & opening comment.

3 years agoSearch for commonmark pkg.
Wayne Davison [Mon, 13 Jul 2020 19:00:44 +0000 (12:00 -0700)]
Search for commonmark pkg.

3 years agoTweak brew run.
Wayne Davison [Mon, 13 Jul 2020 17:41:26 +0000 (10:41 -0700)]
Tweak brew run.

3 years agoSetup a macOS CI.
Wayne Davison [Mon, 13 Jul 2020 17:38:17 +0000 (10:38 -0700)]
Setup a macOS CI.

3 years agoA couple more NEWS items.
Wayne Davison [Mon, 13 Jul 2020 06:45:55 +0000 (23:45 -0700)]
A couple more NEWS items.

3 years agoMention file & line on OOM and overflow errors.
Wayne Davison [Mon, 13 Jul 2020 05:46:21 +0000 (22:46 -0700)]
Mention file & line on OOM and overflow errors.

Also simplify output of src file paths in errors & warnings when
built in a alternate build dir.

3 years agoCheck for overflow the right way.
Wayne Davison [Mon, 13 Jul 2020 04:51:51 +0000 (21:51 -0700)]
Check for overflow the right way.

3 years agoFix a typo.
Wayne Davison [Mon, 13 Jul 2020 03:51:21 +0000 (20:51 -0700)]
Fix a typo.

3 years agoMore NEWS tweaks.
Wayne Davison [Mon, 13 Jul 2020 03:49:01 +0000 (20:49 -0700)]
More NEWS tweaks.

3 years agoAdd "@netgroup" names to host matching.
Wayne Davison [Mon, 13 Jul 2020 02:15:50 +0000 (19:15 -0700)]
Add "@netgroup" names to host matching.

3 years agoAdd the --stop-after & --stop-at options.
Wayne Davison [Mon, 13 Jul 2020 01:32:41 +0000 (18:32 -0700)]
Add the --stop-after & --stop-at options.

3 years agoA few word tweaks.
Wayne Davison [Sun, 12 Jul 2020 19:38:12 +0000 (12:38 -0700)]
A few word tweaks.

3 years agoImprove FreeBSD tests (#61)
Ben RUBSON [Sun, 12 Jul 2020 19:36:02 +0000 (21:36 +0200)]
Improve FreeBSD tests (#61)

Improve FreeBSD tests & use a ZFS mount for the CI's testtmp.

3 years agoGet my yaml continuation line right.
Wayne Davison [Sat, 11 Jul 2020 23:13:06 +0000 (16:13 -0700)]
Get my yaml continuation line right.

3 years agoMore CI tweaks
Wayne Davison [Sat, 11 Jul 2020 23:05:34 +0000 (16:05 -0700)]
More CI tweaks

- Add to ubuntu build: make install & rsync-ssl test run
- Don't fail a build if samba.org daemon list has an issue.

3 years agoMake sure FreeBSD has bash installed.
Wayne Davison [Sat, 11 Jul 2020 22:50:29 +0000 (15:50 -0700)]
Make sure FreeBSD has bash installed.

3 years agoMore FreeBSD script separation.
Wayne Davison [Sat, 11 Jul 2020 22:37:51 +0000 (15:37 -0700)]
More FreeBSD script separation.

3 years agoAdd a little more FreeBSD testing.
Wayne Davison [Sat, 11 Jul 2020 22:32:51 +0000 (15:32 -0700)]
Add a little more FreeBSD testing.

3 years agoAdd FreeBSD test & re-enable linux build.
Wayne Davison [Sat, 11 Jul 2020 22:03:31 +0000 (15:03 -0700)]
Add FreeBSD test & re-enable linux build.

3 years agoJust disable md2man on FreeBSD for now.
Wayne Davison [Sat, 11 Jul 2020 19:28:05 +0000 (12:28 -0700)]
Just disable md2man on FreeBSD for now.

3 years agoAdd 2 more FreeBSD pkg installs.
Wayne Davison [Sat, 11 Jul 2020 19:22:05 +0000 (12:22 -0700)]
Add 2 more FreeBSD pkg installs.

3 years agoAdd some FreeBSD pkg installs and pause on linux.
Wayne Davison [Sat, 11 Jul 2020 19:09:34 +0000 (12:09 -0700)]
Add some FreeBSD pkg installs and pause on linux.

3 years agoAdd FreeBSD CI
benrubson [Thu, 9 Jul 2020 16:23:11 +0000 (18:23 +0200)]
Add FreeBSD CI

3 years agoSome number & string improvements
Wayne Davison [Sat, 11 Jul 2020 17:32:59 +0000 (10:32 -0700)]
Some number & string improvements

- Use strdup(do_big_num(...)) to replace num_to_byte_string(...).
- Allow a ',' for a decimal point in a SIZE option in some locales.
- Get rid of old (now unused) strdup() compatibility function.
- Try harder to include the newline in a single error message write.

3 years agoAllow --block-size's size to have a suffix.
Wayne Davison [Fri, 10 Jul 2020 19:54:33 +0000 (12:54 -0700)]
Allow --block-size's size to have a suffix.

Change the block_size global to be an int32.

3 years agoAdd missing "M" in SIZE suffixes; mention bytes are the default.
Wayne Davison [Fri, 10 Jul 2020 16:58:48 +0000 (09:58 -0700)]
Add missing "M" in SIZE suffixes; mention bytes are the default.

3 years agoFix see_token zstd case.
Wayne Davison [Fri, 10 Jul 2020 16:47:16 +0000 (09:47 -0700)]
Fix see_token zstd case.

3 years agoClean more built .h files.
Wayne Davison [Thu, 9 Jul 2020 22:17:00 +0000 (15:17 -0700)]
Clean more built .h files.

3 years agoMust read the nsec val even w/o CAN_SET_NSEC.
Wayne Davison [Wed, 8 Jul 2020 21:17:01 +0000 (14:17 -0700)]
Must read the nsec val even w/o CAN_SET_NSEC.

3 years agoWarning fixes & impossible-failure improvements
Wayne Davison [Wed, 8 Jul 2020 19:19:16 +0000 (12:19 -0700)]
Warning fixes & impossible-failure improvements

- Silence a couple warnings for less-common builds.
- Use a better impossible-failure idiom than assert(0).

3 years agoAvoid non-updating proto.h on Alpine.
Wayne Davison [Wed, 8 Jul 2020 06:49:37 +0000 (23:49 -0700)]
Avoid non-updating proto.h on Alpine.

3 years agoAvoid a test failure on Alpine.
Wayne Davison [Wed, 8 Jul 2020 06:05:41 +0000 (23:05 -0700)]
Avoid a test failure on Alpine.

3 years agoFix xattr issue with MIGHT_NEED_PRE.
Wayne Davison [Wed, 8 Jul 2020 03:07:31 +0000 (20:07 -0700)]
Fix xattr issue with MIGHT_NEED_PRE.
Fixes bugzilla 13113.

3 years agoTweak the NEWS.
Wayne Davison [Wed, 8 Jul 2020 02:50:13 +0000 (19:50 -0700)]
Tweak the NEWS.

3 years agoFix an xattr free of the wrong object.
Wayne Davison [Tue, 7 Jul 2020 21:18:28 +0000 (14:18 -0700)]
Fix an xattr free of the wrong object.

In uncache_tmp_xattrs() the code used to find the value to unlink,
update the single-linked list, and then free the wrong pointer.
This fixes bug #50.

3 years agoDon't use UNUSED() when an arg is used sometimes.
Wayne Davison [Tue, 7 Jul 2020 20:12:51 +0000 (13:12 -0700)]
Don't use UNUSED() when an arg is used sometimes.

3 years agoUpdate the NEWS.
Wayne Davison [Tue, 7 Jul 2020 19:38:20 +0000 (12:38 -0700)]
Update the NEWS.

3 years agoAllow --max-alloc=0 for unlimited.
Wayne Davison [Tue, 7 Jul 2020 18:56:23 +0000 (11:56 -0700)]
Allow --max-alloc=0 for unlimited.

3 years agoAllow --bwlimit=0 again.
Wayne Davison [Tue, 7 Jul 2020 18:40:27 +0000 (11:40 -0700)]
Allow --bwlimit=0 again.

3 years agoOne more TANDEM include.
Wayne Davison [Mon, 6 Jul 2020 16:41:31 +0000 (09:41 -0700)]
One more TANDEM include.

3 years agoRemove another file_struct kluge.
Wayne Davison [Mon, 6 Jul 2020 16:31:22 +0000 (09:31 -0700)]
Remove another file_struct kluge.

3 years agoMore TANDEM changes
Wayne Davison [Mon, 6 Jul 2020 07:00:36 +0000 (00:00 -0700)]
More TANDEM changes

- Handle a non-0 root uid.
- Handle alternate major/minor/MAKEDEV funcs.
- Other misc compatibility tweaks.

3 years agoSend the uid/gid 0 name since not all systems use 0 for root.
Wayne Davison [Mon, 6 Jul 2020 05:51:12 +0000 (22:51 -0700)]
Send the uid/gid 0 name since not all systems use 0 for root.

3 years agoChange name map funcs to return a const char*.
Wayne Davison [Mon, 6 Jul 2020 05:17:09 +0000 (22:17 -0700)]
Change name map funcs to return a const char*.

3 years agoSome TANDEM ACL support.
Wayne Davison [Mon, 6 Jul 2020 02:57:30 +0000 (19:57 -0700)]
Some TANDEM ACL support.

3 years agoSome whitespace & paren cleanup.
Wayne Davison [Mon, 6 Jul 2020 03:07:10 +0000 (20:07 -0700)]
Some whitespace & paren cleanup.

3 years agoA bit more configure tweaking.
Wayne Davison [Mon, 6 Jul 2020 02:12:48 +0000 (19:12 -0700)]
A bit more configure tweaking.

3 years agoSome configure tweaks for TANDEM.
Wayne Davison [Mon, 6 Jul 2020 02:08:44 +0000 (19:08 -0700)]
Some configure tweaks for TANDEM.

3 years agoSome C99 flexible array changes
Wayne Davison [Mon, 6 Jul 2020 00:04:37 +0000 (17:04 -0700)]
Some C99 flexible array changes

- Use C99 flexible arrays when possible, and fall back on the existing
  fname[1] kluges on older compilers.
- Avoid static initialization of a flexible array, which is not really
  in the C standard.

3 years agoTweak a comment.
Wayne Davison [Sun, 5 Jul 2020 21:41:53 +0000 (14:41 -0700)]
Tweak a comment.

3 years agoTweak a couple var names.
Wayne Davison [Sun, 5 Jul 2020 16:33:03 +0000 (09:33 -0700)]
Tweak a couple var names.

3 years agoSetup for 3.2.3dev.
Wayne Davison [Sun, 5 Jul 2020 16:26:40 +0000 (09:26 -0700)]
Setup for 3.2.3dev.

3 years agoPreparing for release of 3.2.2 v3.2.2
Wayne Davison [Sun, 5 Jul 2020 06:12:59 +0000 (23:12 -0700)]
Preparing for release of 3.2.2

3 years agoHandle tweaked NEWS headings & protocol change.
Wayne Davison [Sun, 5 Jul 2020 05:41:16 +0000 (22:41 -0700)]
Handle tweaked NEWS headings & protocol change.

3 years agoGet rid of some superfluous lz4 code.
Wayne Davison [Sat, 4 Jul 2020 22:58:56 +0000 (15:58 -0700)]
Get rid of some superfluous lz4 code.

3 years agoTweak indentation.
Wayne Davison [Sat, 4 Jul 2020 22:27:47 +0000 (15:27 -0700)]
Tweak indentation.

3 years agoInitialize values string in a more consistent spot.
Wayne Davison [Sat, 4 Jul 2020 21:16:01 +0000 (14:16 -0700)]
Initialize values string in a more consistent spot.

3 years agoUse module_id more consistently after it is set.
Wayne Davison [Sat, 4 Jul 2020 17:26:56 +0000 (10:26 -0700)]
Use module_id more consistently after it is set.

3 years agoDon't turn off the user's open-noatime unless the module is forcing the value.
Wayne Davison [Sat, 4 Jul 2020 17:23:17 +0000 (10:23 -0700)]
Don't turn off the user's open-noatime unless the module is forcing the value.

3 years agoAdd "open noatime" module option to rsyncd.conf
Paul Slootman [Sat, 4 Jul 2020 14:28:50 +0000 (16:28 +0200)]
Add "open noatime" module option to rsyncd.conf

3 years agoFix issue in --compress-level doc.
Wayne Davison [Fri, 3 Jul 2020 18:58:36 +0000 (11:58 -0700)]
Fix issue in --compress-level doc.

3 years agoSome NEWS and man page tweaks.
Wayne Davison [Fri, 3 Jul 2020 05:33:40 +0000 (22:33 -0700)]
Some NEWS and man page tweaks.

3 years agoTweak a var name.
Wayne Davison [Thu, 2 Jul 2020 16:22:43 +0000 (09:22 -0700)]
Tweak a var name.

3 years agoAnother table tweak.
Wayne Davison [Wed, 1 Jul 2020 21:20:14 +0000 (14:20 -0700)]
Another table tweak.

3 years agoChange how protocol changes are mentioned; fix table in html.
Wayne Davison [Wed, 1 Jul 2020 20:56:12 +0000 (13:56 -0700)]
Change how protocol changes are mentioned; fix table in html.

3 years agoA few more systemd tweaks.
Wayne Davison [Wed, 1 Jul 2020 18:36:00 +0000 (11:36 -0700)]
A few more systemd tweaks.

3 years agoDon't set systemd ProtectHome=on by default.
Wayne Davison [Wed, 1 Jul 2020 17:40:02 +0000 (10:40 -0700)]
Don't set systemd ProtectHome=on by default.

3 years agoMove name exceptions into the txt file.
Wayne Davison [Wed, 1 Jul 2020 16:05:21 +0000 (09:05 -0700)]
Move name exceptions into the txt file.

3 years agoAdd support for the remaining parser types.
Wayne Davison [Wed, 1 Jul 2020 15:07:07 +0000 (08:07 -0700)]
Add support for the remaining parser types.

3 years agoPreparing for release of 3.2.2pre3 v3.2.2pre3
Wayne Davison [Wed, 1 Jul 2020 06:17:50 +0000 (23:17 -0700)]
Preparing for release of 3.2.2pre3

3 years agoPut the optimizations into their own list.
Wayne Davison [Wed, 1 Jul 2020 02:11:28 +0000 (19:11 -0700)]
Put the optimizations into their own list.

3 years agoSimplify the daemon parameter definitions
Wayne Davison [Wed, 1 Jul 2020 01:16:55 +0000 (18:16 -0700)]
Simplify the daemon parameter definitions

The code now derives all the struct defines, default value assignments,
parser-param defines, and lp_foo() accessor functions from a single list
of daemon parameters.

3 years agoAvoid crash of transfer logging w/default log format.
Wayne Davison [Tue, 30 Jun 2020 19:02:48 +0000 (12:02 -0700)]
Avoid crash of transfer logging w/default log format.

3 years agoAvoid strdup redefinition warning.
Wayne Davison [Tue, 30 Jun 2020 15:27:20 +0000 (08:27 -0700)]
Avoid strdup redefinition warning.