rsync.git
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.

3 years agoAvoid bloating the src-dir scan.
Wayne Davison [Tue, 30 Jun 2020 04:45:56 +0000 (21:45 -0700)]
Avoid bloating the src-dir scan.

3 years agoMove the new target after "all".
Wayne Davison [Tue, 30 Jun 2020 03:04:54 +0000 (20:04 -0700)]
Move the new target after "all".

3 years agoMore patch-update improvements; configure.ac tweak; Makefile tweaks.
Wayne Davison [Tue, 30 Jun 2020 02:46:45 +0000 (19:46 -0700)]
More patch-update improvements; configure.ac tweak; Makefile tweaks.

3 years agoPreparing for release of 3.2.2pre2 v3.2.2pre2
Wayne Davison [Mon, 29 Jun 2020 02:54:38 +0000 (19:54 -0700)]
Preparing for release of 3.2.2pre2

3 years agoImprove the per-branch build dir support
Wayne Davison [Sun, 28 Jun 2020 22:21:43 +0000 (15:21 -0700)]
Improve the per-branch build dir support

The release script & the patch management script now require the use of
an auto-build-save dir that makes it much easier to keep the generated
files from melding together, and remembers the configure setup for each
patch branch.

3 years agoImprove alternate build-dir support
Wayne Davison [Sun, 28 Jun 2020 20:22:15 +0000 (13:22 -0700)]
Improve alternate build-dir support

We now put the configure.sh, config.h.in, and aclocal.m4 files in the
alternate build dir along with the other generated files.  This requires
that we create symlinks for configure.ac & m4 in the build dir, which is
handled on the first run of configure or prepare-source.  I also changed
the patch-branch handling away from the .gen-stash dir to an automatic
build/$PATCH subdir idiom that will keep each branch's configuration
separated.  These automatic build dirs are only used when there is a
.git dir, a build/master dir, and no top-dir Makefile.  You'll also
want to have package/make early on your path for optimal ease of use.

3 years agoMove the version string out of configure.ac.
Wayne Davison [Sun, 28 Jun 2020 20:46:48 +0000 (13:46 -0700)]
Move the version string out of configure.ac.

3 years agoFix rebuilding configure.sh in an alternate build dir
Wayne Davison [Sun, 28 Jun 2020 18:18:55 +0000 (11:18 -0700)]
Fix rebuilding configure.sh in an alternate build dir

3 years agoA bit more man page & NEWS tweaking.
Wayne Davison [Sun, 28 Jun 2020 16:14:57 +0000 (09:14 -0700)]
A bit more man page & NEWS tweaking.

3 years agoLack of "saw" values now reported as "INVALID"; tweak a comment.
Wayne Davison [Sun, 28 Jun 2020 06:13:25 +0000 (23:13 -0700)]
Lack of "saw" values now reported as "INVALID"; tweak a comment.

3 years agoPreparing for release of 3.2.2pre1 v3.2.2pre1
Wayne Davison [Sun, 28 Jun 2020 04:22:49 +0000 (21:22 -0700)]
Preparing for release of 3.2.2pre1

3 years agoSome misc cleanup
Wayne Davison [Sun, 28 Jun 2020 04:19:52 +0000 (21:19 -0700)]
Some misc cleanup

Remove some extraneous vars, update some years, add an  rrsync opt, &
ensure some less options are set right when running release-rsync.

3 years agoImprove the NSTR differentiation idiom.
Wayne Davison [Sun, 28 Jun 2020 02:25:03 +0000 (19:25 -0700)]
Improve the NSTR differentiation idiom.

3 years agoSome more doc & NEWS improvements.
Wayne Davison [Sun, 28 Jun 2020 01:51:09 +0000 (18:51 -0700)]
Some more doc & NEWS improvements.

3 years agoChange the CI name
Wayne Davison [Sun, 28 Jun 2020 01:40:21 +0000 (18:40 -0700)]
Change the CI name

3 years agoSome patch-update & vim ft improvements
Wayne Davison [Sat, 27 Jun 2020 19:06:13 +0000 (12:06 -0700)]
Some patch-update & vim ft improvements

- Stash off some gen files when switching patch branches.
- Set the filetype in "env -S" files that vim can't handle.

3 years agoImprove the output when a negotiation fails.
Wayne Davison [Sat, 27 Jun 2020 17:39:16 +0000 (10:39 -0700)]
Improve the output when a negotiation fails.

3 years agoMore NEWS and man page changes.
Wayne Davison [Sat, 27 Jun 2020 17:39:12 +0000 (10:39 -0700)]
More NEWS and man page changes.

3 years agoNegotation env lists can specify "client & server"
Wayne Davison [Fri, 26 Jun 2020 23:51:30 +0000 (16:51 -0700)]
Negotation env lists can specify "client & server"

3 years agoA few more simple changes & fixes.
Wayne Davison [Fri, 26 Jun 2020 20:10:10 +0000 (13:10 -0700)]
A few more simple changes & fixes.

3 years agoSome man page changes.
Wayne Davison [Fri, 26 Jun 2020 18:27:27 +0000 (11:27 -0700)]
Some man page changes.