]> git.ipfire.org Git - thirdparty/rsync.git/log
thirdparty/rsync.git
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.

3 years agoA few more tweaks.
Wayne Davison [Fri, 26 Jun 2020 04:32:00 +0000 (21:32 -0700)] 
A few more tweaks.

3 years agoSome memory allocation improvements
Wayne Davison [Fri, 26 Jun 2020 02:59:19 +0000 (19:59 -0700)] 
Some memory allocation improvements

 - All the memory-allocation macros now auto-check for failure and exit
   with a failure message that incudes the caller's file and lineno
   info.  This includes strdup().

 - Added the `--max-alloc=SIZE` option to be able to override the memory
   allocator's sanity-check limit.  It defaults to 1G (as before).
   Fixes bugzilla bug 12769.

3 years agoAdd missing semicolon in man page
Christian Hesse [Wed, 24 Jun 2020 12:06:56 +0000 (14:06 +0200)] 
Add missing semicolon in man page

All nginx configuration directives end in semicolon.

3 years agoTweak alloc args to size_t w/proper realloc order.
Wayne Davison [Thu, 25 Jun 2020 00:35:02 +0000 (17:35 -0700)] 
Tweak alloc args to size_t w/proper realloc order.

3 years agoUse normal C comment style.
Wayne Davison [Wed, 24 Jun 2020 04:45:32 +0000 (21:45 -0700)] 
Use normal C comment style.

3 years agoPrepare for future release of XXH3 & XXH128.
Wayne Davison [Wed, 24 Jun 2020 03:48:01 +0000 (20:48 -0700)] 
Prepare for future release of XXH3 & XXH128.

3 years agoAnother NEWS update.
Wayne Davison [Wed, 24 Jun 2020 02:32:44 +0000 (19:32 -0700)] 
Another NEWS update.

3 years agoAvoid negotiating a "none" choice by default
Wayne Davison [Wed, 24 Jun 2020 02:14:11 +0000 (19:14 -0700)] 
Avoid negotiating a "none" choice by default

The client does not pass "none" as a negotiation choice unless it's from
the user's environment list.  The server still passes the "none" value
to the client unless its environment var excludes it.

3 years agoSetup for 3.2.2dev.
Wayne Davison [Wed, 24 Jun 2020 01:56:44 +0000 (18:56 -0700)] 
Setup for 3.2.2dev.

3 years agoThe server side can enforce its negotiation limits
Wayne Davison [Wed, 24 Jun 2020 01:45:50 +0000 (18:45 -0700)] 
The server side can enforce its negotiation limits

3 years agoImprove how the env restricts negotiated strings
Wayne Davison [Wed, 24 Jun 2020 00:19:58 +0000 (17:19 -0700)] 
Improve how the env restricts negotiated strings

- The env on the server side now affects the negotiated strings
  that are sent to the client.
- A too-old remote rsync gets a default negotiated string value
  so that an env restriction now handles old clients the same way
  as new ones.

3 years agoAvoid -U if --atimes is disabled.
Wayne Davison [Tue, 23 Jun 2020 22:53:47 +0000 (15:53 -0700)] 
Avoid -U if --atimes is disabled.

3 years agoApple needs a leading underscore.
Wayne Davison [Tue, 23 Jun 2020 22:47:27 +0000 (15:47 -0700)] 
Apple needs a leading underscore.

3 years agoMakefile.in: Use srcdir for installing rsync-ssl
Hiroshi Takekawa [Tue, 23 Jun 2020 10:17:53 +0000 (19:17 +0900)] 
Makefile.in: Use srcdir for installing rsync-ssl

When building out of source tree, we can't find rsync-ssl in the current
directory and installation fails.  Fix it by using the srcdir variable for the
path to rsync-ssl.

Signed-off-by: Hiroshi Takekawa <sian.ht@gmail.com>