]> git.ipfire.org Git - thirdparty/rsync.git/log
thirdparty/rsync.git
8 months agoFix __m128i_u / __m256i_u alignment
Holger Hoffstätte [Mon, 4 Sep 2023 12:00:20 +0000 (14:00 +0200)] 
Fix __m128i_u / __m256i_u alignment

Building with clang-16 complains with:
./simd-checksum-x86_64.cpp:204:25: warning: passing 1-byte aligned argument to
  16-byte aligned parameter 1 of '_mm_store_si128' may result in an unaligned pointer
  access [-Walign-mismatch]

Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
8 months agoMention latest NEWS.
Wayne Davison [Thu, 14 Nov 2024 19:59:12 +0000 (11:59 -0800)] 
Mention latest NEWS.

8 months agoAlways check old==new, even for missing array size.
Wayne Davison [Thu, 14 Nov 2024 19:53:40 +0000 (11:53 -0800)] 
Always check old==new, even for missing array size.

8 months agoImprove packaging/var-checker.
Wayne Davison [Thu, 14 Nov 2024 19:39:21 +0000 (11:39 -0800)] 
Improve packaging/var-checker.

Make var-checker compare the variable type of the extern vars to ensure
that they are all consistent. Fix the remaining issues.

8 months agoacls: correct type/size for orig_umask
Carlo Marcelo Arenas Belón [Sun, 19 May 2024 00:44:22 +0000 (17:44 -0700)] 
acls: correct type/size for orig_umask

Since 05278935 (- Call mkdir_defmode() instead of do_mkdir(). - Define
orig_umask in this file, not options.c. - Made orig_umask a mode_t, not an
int., 2006-02-24), the type for the global was changed, and therefore on
systems where sizeof(mode_t) != sizeof(int), writes or reads to them will
overflow to adjacent bytes.

Change the type to the one used everywhere else and avoid this problem.

While at it, silence again a warning that is being triggered by
Apple's clang 15.

8 months agoMention more NEWS.
Wayne Davison [Sat, 9 Nov 2024 19:05:16 +0000 (11:05 -0800)] 
Mention more NEWS.

8 months agoSome minor option/prompt tweaks.
Wayne Davison [Wed, 6 Nov 2024 01:34:09 +0000 (17:34 -0800)] 
Some minor option/prompt tweaks.

8 months agoMore helper script improvements.
Wayne Davison [Tue, 5 Nov 2024 21:25:34 +0000 (13:25 -0800)] 
More helper script improvements.

8 months agoAdd some info for making a release.
Wayne Davison [Tue, 5 Nov 2024 21:03:04 +0000 (13:03 -0800)] 
Add some info for making a release.

8 months agoAdd helper script for updating samba files.
Wayne Davison [Tue, 5 Nov 2024 20:42:42 +0000 (12:42 -0800)] 
Add helper script for updating samba files.

8 months agoDon't force zsh use.
Wayne Davison [Tue, 5 Nov 2024 19:20:28 +0000 (11:20 -0800)] 
Don't force zsh use.

8 months agoIndentation tweak.
Wayne Davison [Tue, 5 Nov 2024 19:20:17 +0000 (11:20 -0800)] 
Indentation tweak.

8 months agoUpdate to newer artifact version.
Wayne Davison [Tue, 5 Nov 2024 19:14:46 +0000 (11:14 -0800)] 
Update to newer artifact version.

8 months agoAnother cast when multiplying integers.
Wayne Davison [Tue, 5 Nov 2024 19:01:03 +0000 (11:01 -0800)] 
Another cast when multiplying integers.

9 months agoSome checksum buffer fixes.
Wayne Davison [Wed, 30 Oct 2024 05:55:29 +0000 (22:55 -0700)] 
Some checksum buffer fixes.

- Put sum2_array into sum_struct to hold an array of sum2 checksums
  that are each xfer_sum_len bytes.
- Remove sum2 buf from sum_buf.
- Add macro sum2_at() to access each sum2 array element.
- Throw an error if a sums header has an s2length larger than
  xfer_sum_len.

14 months agoadded apple silicon path details
vincent sgherzi [Fri, 19 Apr 2024 07:54:13 +0000 (00:54 -0700)] 
added apple silicon path details

15 months agoMore tweaks for Actions.
Wayne Davison [Wed, 10 Apr 2024 20:12:52 +0000 (13:12 -0700)] 
More tweaks for Actions.

- When a .github/workflows/*.yml file changes, skip running unaffected
  builds.
- We need git to be installed for git-version.h generation.

15 months agoSeparate the builds and make Cygwin always run.
Wayne Davison [Wed, 10 Apr 2024 20:02:34 +0000 (13:02 -0700)] 
Separate the builds and make Cygwin always run.

15 months agoWork around pkg install issue.
Wayne Davison [Wed, 10 Apr 2024 19:39:53 +0000 (12:39 -0700)] 
Work around pkg install issue.

The xxhash, lz4, and zstd libraries aren't getting installed on FreeBSD.
[buildall]

15 months agoGet fetch-depth:0 right.
Wayne Davison [Wed, 10 Apr 2024 19:30:05 +0000 (12:30 -0700)] 
Get fetch-depth:0 right.

15 months agoGet rid of gensend target & cached git version.
Wayne Davison [Wed, 10 Apr 2024 19:15:49 +0000 (12:15 -0700)] 
Get rid of gensend target & cached git version.

- Change the developer flow to not require updating the git-version repo
  that the builds used to download a git-version.h file. The Actions now
  do a full repo fetch so that the .h file can be generated via the git
  history.
- Get rid of the gensend Makefile target that was used for the above.
- Get rid of the pre-push git hook file that called "Make gensend".
- Change the FreeBSD build to save an artifact with its built binaries.

[buildall]

15 months agoGet the "dev" suffix right.
Wayne Davison [Wed, 10 Apr 2024 18:53:07 +0000 (11:53 -0700)] 
Get the "dev" suffix right.

15 months agoRemove duplicate paragraph.
Wayne Davison [Wed, 10 Apr 2024 18:51:59 +0000 (11:51 -0700)] 
Remove duplicate paragraph.

15 months agoCI: added Solaris build
Charalampos Mitrodimas [Mon, 8 Apr 2024 08:40:02 +0000 (11:40 +0300)] 
CI: added Solaris build

Signed-off-by: Charalampos Mitrodimas <charmitro@posteo.net>
15 months agoTweak maintainer messaging.
Wayne Davison [Mon, 8 Apr 2024 20:16:12 +0000 (13:16 -0700)] 
Tweak maintainer messaging.

15 months agoChanges for 3.3.1dev.
Wayne Davison [Mon, 8 Apr 2024 20:14:59 +0000 (13:14 -0700)] 
Changes for 3.3.1dev.

15 months agoCI: fixed rules for when to trigger
Andrew Tridgell [Mon, 8 Apr 2024 05:35:42 +0000 (15:35 +1000)] 
CI: fixed rules for when to trigger

15 months agosupport: added install_deps_ubuntu.sh
Andrew Tridgell [Mon, 8 Apr 2024 00:16:31 +0000 (10:16 +1000)] 
support: added install_deps_ubuntu.sh

convenient way to bootstrap quickly

15 months agocheck for stpcpy
Andrew Tridgell [Mon, 8 Apr 2024 03:40:58 +0000 (13:40 +1000)] 
check for stpcpy

needed for popt on macos

15 months agoupdate to popt 1.19
Andrew Tridgell [Mon, 8 Apr 2024 02:45:59 +0000 (12:45 +1000)] 
update to popt 1.19

15 months agoSilence unused var warning
Rose [Wed, 3 May 2023 13:50:31 +0000 (09:50 -0400)] 
Silence unused var warning

recv_ida_entries still needs to be called regardless, so we cannot take that out. Let's just quiet the compiler instead.

15 months agohint that a proxy can handle plain and ssl stream at the same time
Christian Hesse [Wed, 5 Apr 2023 11:08:02 +0000 (13:08 +0200)] 
hint that a proxy can handle plain and ssl stream at the same time

15 months agoCI: added FreeBSD build
Andrew Tridgell [Sat, 6 Apr 2024 21:11:31 +0000 (07:11 +1000)] 
CI: added FreeBSD build

15 months agoremoved old cirrus CI
Andrew Tridgell [Sat, 6 Apr 2024 21:11:47 +0000 (07:11 +1000)] 
removed old cirrus CI

15 months agoconfigure.ac: fix failing IPv6 check due to missing return type
Ivan Babrou [Tue, 2 Jan 2024 03:31:01 +0000 (19:31 -0800)] 
configure.ac: fix failing IPv6 check due to missing return type

Fixing this warning escalated to an error, resuting in no IPv6 support:

```
configure.sh:7679: checking whether to enable ipv6
configure.sh:7718: clang -o conftest -g -O2 -DHAVE_CONFIG_H -Wall -W   conftest.c  >&5
conftest.c:73:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
main()
^
int
1 error generated.
configure.sh:7718: $? = 1
configure.sh: program exited with status 1
```

15 months agoUpdate github links.
Wayne Davison [Sat, 6 Apr 2024 17:33:42 +0000 (10:33 -0700)] 
Update github links.

15 months agoPreparing for release of 3.3.0 [buildall] v3.3.0
Wayne Davison [Sat, 6 Apr 2024 16:30:21 +0000 (09:30 -0700)] 
Preparing for release of 3.3.0 [buildall]

15 months agoSome year updates.
Wayne Davison [Sat, 6 Apr 2024 16:21:44 +0000 (09:21 -0700)] 
Some year updates.

15 months agoMention latest changes in NEWS.
Wayne Davison [Sat, 6 Apr 2024 16:17:16 +0000 (09:17 -0700)] 
Mention latest changes in NEWS.

15 months agoexclude: fix crashes with fortified strlcpy()
Jiri Slaby [Fri, 18 Aug 2023 06:26:20 +0000 (08:26 +0200)] 
exclude: fix crashes with fortified strlcpy()

Fortified (-D_FORTIFY_SOURCE=2 for gcc) builds make strlcpy() crash when
its third parameter (size) is larger than the buffer:
  $ rsync -FFXHav '--filter=merge global-rsync-filter' Align-37-43/ xxx
  sending incremental file list
  *** buffer overflow detected ***: terminated

It's in the exclude code in setup_merge_file():
  strlcpy(y, save, MAXPATHLEN);

Note the 'y' pointer was incremented, so it no longer points to memory
with MAXPATHLEN "owned" bytes.

Fix it by remembering the number of copied bytes into the 'save' buffer
and use that instead of MAXPATHLEN which is clearly incorrect.

Fixes #511.

15 months agotypo in rsyncd.conf.5.md
Grant Gardner [Sun, 17 Mar 2024 03:00:16 +0000 (14:00 +1100)] 
typo in rsyncd.conf.5.md

2 years agoMake `--max-alloc=0` safer.
Wayne Davison [Tue, 27 Jun 2023 16:01:15 +0000 (09:01 -0700)] 
Make `--max-alloc=0` safer.

Always do size checking in my_alloc(), even for `--max-alloc=0`.

2 years agoConvert mnt-excl into python.
Wayne Davison [Mon, 22 May 2023 15:29:15 +0000 (08:29 -0700)] 
Convert mnt-excl into python.

2 years agoFix old stats bug that counted devices as symlinks.
Wayne Davison [Wed, 17 May 2023 05:44:54 +0000 (22:44 -0700)] 
Fix old stats bug that counted devices as symlinks.

2 years agoA couple more NEWS improvements.
Wayne Davison [Thu, 4 May 2023 15:56:10 +0000 (08:56 -0700)] 
A couple more NEWS improvements.

2 years agoMention updated config files.
Wayne Davison [Thu, 4 May 2023 15:45:42 +0000 (08:45 -0700)] 
Mention updated config files.

2 years agoupdate config.guess config.sub (#478)
zhangwenlong [Thu, 4 May 2023 15:41:52 +0000 (23:41 +0800)] 
update config.guess config.sub (#478)

- curl -sL -o config.guess 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'
- curl -sL -o config.sub 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD'

Signed-off-by: Wenlong Zhang <zhangwenlong@loongson.cn>
2 years agoA couple spelling tweaks; tweak order.
Wayne Davison [Mon, 1 May 2023 00:28:50 +0000 (17:28 -0700)] 
A couple spelling tweaks; tweak order.

2 years agoPreparing for release of 3.3.0pre1 [buildall] v3.3.0pre1
Wayne Davison [Sat, 29 Apr 2023 16:01:43 +0000 (09:01 -0700)] 
Preparing for release of 3.3.0pre1 [buildall]

2 years agoUpdate the NEWS.
Wayne Davison [Sat, 29 Apr 2023 15:52:42 +0000 (08:52 -0700)] 
Update the NEWS.

2 years agoMention that `--crtimes` support is spotty.
Wayne Davison [Sat, 29 Apr 2023 15:20:30 +0000 (08:20 -0700)] 
Mention that `--crtimes` support is spotty.

2 years agoFix issue with trailing --sparse --inplace blocks.
Wayne Davison [Sat, 29 Apr 2023 14:45:52 +0000 (07:45 -0700)] 
Fix issue with trailing --sparse --inplace blocks.
Fixes #450.

2 years agoAdd --force-link-text to md-convert.
Wayne Davison [Sun, 23 Apr 2023 15:26:32 +0000 (08:26 -0700)] 
Add --force-link-text to md-convert.

2 years agoFix overflow of sum2 buffer for sha1 rolling checksums.
Wayne Davison [Sat, 22 Apr 2023 15:49:48 +0000 (08:49 -0700)] 
Fix overflow of sum2 buffer for sha1 rolling checksums.
Fixed #353.

2 years agoMake use of .UR & .UE for links.
Wayne Davison [Sat, 22 Apr 2023 15:37:01 +0000 (08:37 -0700)] 
Make use of .UR & .UE for links.

2 years agoTweak shell protection news to mention a few more characters.
Wayne Davison [Thu, 30 Mar 2023 19:56:33 +0000 (12:56 -0700)] 
Tweak shell protection news to mention a few more characters.

2 years agoadd rrsync option to enforce `--ignore-existing` (#461)
dogvisor [Thu, 30 Mar 2023 19:55:56 +0000 (21:55 +0200)] 
add rrsync option to enforce `--ignore-existing` (#461)

The `-no-overwrite` rrsync option disallows the updating of existing files for incoming rrsync copies.

2 years agoFix flist string comparison issue in tr_TR.utf-8 locale.
Wayne Davison [Mon, 6 Feb 2023 03:46:45 +0000 (19:46 -0800)] 
Fix flist string comparison issue in tr_TR.utf-8 locale.

2 years agoDon't call memcmp() on an empty lastdir.
Wayne Davison [Mon, 9 Jan 2023 05:35:39 +0000 (21:35 -0800)] 
Don't call memcmp() on an empty lastdir.

2 years agoAdd backtick to SHELL_CHARS.
Wayne Davison [Thu, 5 Jan 2023 05:52:48 +0000 (21:52 -0800)] 
Add backtick to SHELL_CHARS.

2 years agoTrust the sender on a local transfer.
Wayne Davison [Fri, 2 Dec 2022 04:16:51 +0000 (20:16 -0800)] 
Trust the sender on a local transfer.

2 years agoA couple manpage links.
Wayne Davison [Wed, 23 Nov 2022 15:58:43 +0000 (07:58 -0800)] 
A couple manpage links.

2 years agoImprove [global] module documentation.
Wayne Davison [Wed, 23 Nov 2022 06:55:52 +0000 (22:55 -0800)] 
Improve [global] module documentation.

2 years agoDuplicate argv data before poptFreeContext().
Wayne Davison [Wed, 23 Nov 2022 05:00:04 +0000 (21:00 -0800)] 
Duplicate argv data before poptFreeContext().

2 years agoAnother python conversion.
Wayne Davison [Sun, 20 Nov 2022 17:38:12 +0000 (09:38 -0800)] 
Another python conversion.

2 years agoConvert a few more scripts to python3.
Wayne Davison [Wed, 16 Nov 2022 08:06:05 +0000 (00:06 -0800)] 
Convert a few more scripts to python3.

2 years agoTweak an older NEWS item to be a bit clearer.
Wayne Davison [Thu, 10 Nov 2022 00:04:02 +0000 (16:04 -0800)] 
Tweak an older NEWS item to be a bit clearer.

2 years agoAvoid quoting of tilde when it's a destination arg.
Wayne Davison [Sat, 5 Nov 2022 16:14:33 +0000 (09:14 -0700)] 
Avoid quoting of tilde when it's a destination arg.

2 years agoUpgrade verion of actions.
Wayne Davison [Thu, 3 Nov 2022 06:54:41 +0000 (23:54 -0700)] 
Upgrade verion of actions.

2 years agoCheck for EVP_MD_CTX_copy in crypto lib instead of MD5_Init.
Wayne Davison [Wed, 26 Oct 2022 04:55:53 +0000 (21:55 -0700)] 
Check for EVP_MD_CTX_copy in crypto lib instead of MD5_Init.

2 years agoCall `OpenSSL_add_all_algorithms()` on older openssl versions.
Wayne Davison [Tue, 25 Oct 2022 16:02:05 +0000 (09:02 -0700)] 
Call `OpenSSL_add_all_algorithms()` on older openssl versions.

2 years agoInit the checksum choices before the daemon auth.
Wayne Davison [Tue, 25 Oct 2022 15:55:07 +0000 (08:55 -0700)] 
Init the checksum choices before the daemon auth.

2 years agoFix protocol <= 29 daemon auth if openssl is handling md4.
Wayne Davison [Mon, 24 Oct 2022 15:38:00 +0000 (08:38 -0700)] 
Fix protocol <= 29 daemon auth if openssl is handling md4.

2 years agoCygwin needs stdout flushed. [buildall]
Wayne Davison [Sat, 22 Oct 2022 19:04:06 +0000 (12:04 -0700)] 
Cygwin needs stdout flushed. [buildall]

2 years agoPreparing for release of 3.2.7 [buildall] v3.2.7
Wayne Davison [Fri, 21 Oct 2022 00:57:22 +0000 (17:57 -0700)] 
Preparing for release of 3.2.7 [buildall]

2 years agoImprove JSON output a bit more.
Wayne Davison [Thu, 20 Oct 2022 17:54:14 +0000 (10:54 -0700)] 
Improve JSON output a bit more.

2 years agoMake use of -VV when checking rsync capabilities.
Wayne Davison [Thu, 20 Oct 2022 16:02:28 +0000 (09:02 -0700)] 
Make use of -VV when checking rsync capabilities.

2 years agoRe-run the exclude test using lsh.sh pull.
Wayne Davison [Thu, 20 Oct 2022 02:18:20 +0000 (19:18 -0700)] 
Re-run the exclude test using lsh.sh pull.

The exclude.test file continues to run local copies (which are a special
kind of "push") while the exclude-lsh.test symlink runs a a "pull" using
the lsh.sh script as the "remote" shell.

2 years agoImprove `--mkpath` a bit more.
Wayne Davison [Sun, 16 Oct 2022 19:23:39 +0000 (12:23 -0700)] 
Improve `--mkpath` a bit more.

2 years agoInclude "buildall" flag in the release commit.
Wayne Davison [Sun, 16 Oct 2022 19:14:37 +0000 (12:14 -0700)] 
Include "buildall" flag in the release commit.

2 years agoYet another manpage tweak.
Wayne Davison [Sun, 16 Oct 2022 19:04:22 +0000 (12:04 -0700)] 
Yet another manpage tweak.

2 years agoFix version verification when "\|" doesn't work in sed.
Wayne Davison [Sun, 16 Oct 2022 18:14:15 +0000 (11:14 -0700)] 
Fix version verification when "\|" doesn't work in sed.

2 years agoSilence autoconf warnings.
Wayne Davison [Sun, 16 Oct 2022 17:28:58 +0000 (10:28 -0700)] 
Silence autoconf warnings.

2 years agoMake the new manpage section better.
Wayne Davison [Sun, 16 Oct 2022 17:23:51 +0000 (10:23 -0700)] 
Make the new manpage section better.

2 years agoA few more manpage clarifications.
Wayne Davison [Sat, 15 Oct 2022 23:56:16 +0000 (16:56 -0700)] 
A few more manpage clarifications.

2 years agoFix autoconf help strings (#389)
Alexponomarev7 [Sat, 15 Oct 2022 23:54:27 +0000 (01:54 +0200)] 
Fix autoconf help strings (#389)

2 years agoAdd info on single-file copying; tweak `--mkpath`.
Wayne Davison [Wed, 12 Oct 2022 17:09:43 +0000 (10:09 -0700)] 
Add info on single-file copying; tweak `--mkpath`.

2 years agoTweak NEWS.
Wayne Davison [Mon, 10 Oct 2022 15:55:09 +0000 (08:55 -0700)] 
Tweak NEWS.

2 years agoChange fgrep to grep.
Wayne Davison [Fri, 7 Oct 2022 05:18:48 +0000 (22:18 -0700)] 
Change fgrep to grep.

2 years agoFix validation of "preN" git tags for git-version.h.
Wayne Davison [Sun, 2 Oct 2022 18:43:46 +0000 (11:43 -0700)] 
Fix validation of "preN" git tags for git-version.h.

2 years agoMention smart-make in a comment.
Wayne Davison [Sun, 2 Oct 2022 18:05:01 +0000 (11:05 -0700)] 
Mention smart-make in a comment.

2 years agoMention the `--list-only` output format.
Wayne Davison [Sun, 2 Oct 2022 17:33:55 +0000 (10:33 -0700)] 
Mention the `--list-only` output format.

2 years agoMention latest changes.
Wayne Davison [Sun, 2 Oct 2022 16:42:55 +0000 (09:42 -0700)] 
Mention latest changes.

2 years agoComplain if the destination arg is empty.
Wayne Davison [Sun, 2 Oct 2022 16:42:17 +0000 (09:42 -0700)] 
Complain if the destination arg is empty.

2 years agoRead a 4-byte mtime as unsigned (old-protocol).
Wayne Davison [Sat, 1 Oct 2022 15:23:47 +0000 (08:23 -0700)] 
Read a 4-byte mtime as unsigned (old-protocol).

When conversing with a protocol 29 or earlier rsync, the modtime values
are arriving as 4-byte integers.  This change interprets these short
values as unsigned integers, allowing the time that can be conveyed to
range from 1-Jan-1970 to 7-Feb-2106 instead of the signed range of
13-Dec-1901 to 19-Jan-2038.  Given that we are fast approaching 2038,
any old-protocol transfers will be better served using the unsigned
range rather than the signed.

It is important to keep in mind that protocol 30 & 31 convey the full
8-byte mtime value (plus nanoseconds), allowing for a huge span of time
that is not affected by this change.

2 years agoUse newer protocol to avoid mtime corruption.
Wayne Davison [Sat, 1 Oct 2022 15:04:00 +0000 (08:04 -0700)] 
Use newer protocol to avoid mtime corruption.

2 years agoPreparing for release of 3.2.7pre1 v3.2.7pre1
Wayne Davison [Fri, 30 Sep 2022 19:36:21 +0000 (12:36 -0700)] 
Preparing for release of 3.2.7pre1

2 years agoA few more doc tweaks & comment tweaks.
Wayne Davison [Fri, 30 Sep 2022 19:34:58 +0000 (12:34 -0700)] 
A few more doc tweaks & comment tweaks.

2 years agoExplicitly ignore snprintf() return value.
Wayne Davison [Fri, 30 Sep 2022 18:50:09 +0000 (11:50 -0700)] 
Explicitly ignore snprintf() return value.

2 years agoMore NEWS updates.
Wayne Davison [Sun, 25 Sep 2022 19:49:45 +0000 (12:49 -0700)] 
More NEWS updates.