]> git.ipfire.org Git - thirdparty/rsync.git/log
thirdparty/rsync.git
4 years agoUnset DISPLAY in environment.
Wayne Davison [Sat, 1 May 2021 16:00:03 +0000 (09:00 -0700)] 
Unset DISPLAY in environment.

Without a DISPLAY var, ssh won't try to forward X11 when making an
ssh connection.  This patch also makes use of setenv() and unsetenv()
if they are available.

4 years agoUpdated GLIBC check in configure.ac (#175)
Bart S [Sat, 1 May 2021 15:23:25 +0000 (17:23 +0200)] 
Updated GLIBC check in configure.ac (#175)

The current GLIBC check does not consider we may see glibc 3.0 in the future.

4 years agoFix plural of --group option.
Wayne Davison [Sun, 4 Apr 2021 04:09:14 +0000 (21:09 -0700)] 
Fix plural of --group option.

4 years agoFix git-set-file-times's handling of staged changed files.
Wayne Davison [Mon, 15 Mar 2021 16:02:00 +0000 (09:02 -0700)] 
Fix git-set-file-times's handling of staged changed files.

4 years agoSwitch to using image_family for Cirrus CI.
Wayne Davison [Wed, 3 Mar 2021 03:16:52 +0000 (19:16 -0800)] 
Switch to using image_family for Cirrus CI.

4 years agoInstall bash on FreeBSD CI.
Wayne Davison [Wed, 3 Mar 2021 03:09:23 +0000 (19:09 -0800)] 
Install bash on FreeBSD CI.

4 years agoUpdate FreeBSD CI to 12.2.
Wayne Davison [Wed, 3 Mar 2021 03:02:08 +0000 (19:02 -0800)] 
Update FreeBSD CI to 12.2.

4 years agoSee if explicitly installing m4 gets FreeBSD CI a newer gm4 version.
Wayne Davison [Tue, 2 Mar 2021 22:13:54 +0000 (14:13 -0800)] 
See if explicitly installing m4 gets FreeBSD CI a newer gm4 version.

4 years agoAllow the generator's msg iobuf to get bigger too.
Wayne Davison [Thu, 25 Feb 2021 20:28:18 +0000 (12:28 -0800)] 
Allow the generator's msg iobuf to get bigger too.

4 years agoRename util.c to util1.c
Wayne Davison [Thu, 25 Feb 2021 17:13:52 +0000 (09:13 -0800)] 
Rename util.c to util1.c

Fixes an issue where the Makefile's glob of *.c could sort util.c &
util2.c in an order that depends on the current collation setting.

4 years agoA few Cygwin build tweaks. [buildall]
Wayne Davison [Wed, 10 Feb 2021 16:06:47 +0000 (08:06 -0800)] 
A few Cygwin build tweaks. [buildall]

4 years agoStop checking for gmake in build scripts
Wayne Davison [Fri, 5 Feb 2021 04:46:00 +0000 (20:46 -0800)] 
Stop checking for gmake in build scripts

Since a non-cygwin gmake trips up the github cygwin action, let's just
require that the user put a good "make" early on their path (a simple
`ln -s `which gmake` ~/bin/make` with the right $PATH works fine).

4 years agoAdd optional netgroup.h include for NetBSD hosts.
Wayne Davison [Tue, 2 Feb 2021 00:31:28 +0000 (16:31 -0800)] 
Add optional netgroup.h include for NetBSD hosts.

4 years agoSome pip-releated tweaking.
Wayne Davison [Mon, 1 Feb 2021 17:00:06 +0000 (09:00 -0800)] 
Some pip-releated tweaking.

4 years agoAdd a link to the man page to the README.
Wayne Davison [Mon, 1 Feb 2021 16:47:44 +0000 (08:47 -0800)] 
Add a link to the man page to the README.

4 years agoCheck for netinet/ip.h after including netinet/in.h.
Wayne Davison [Sun, 31 Jan 2021 19:11:07 +0000 (11:11 -0800)] 
Check for netinet/ip.h after including netinet/in.h.

4 years agoA couple "make" tweaks.
Wayne Davison [Sun, 31 Jan 2021 19:10:38 +0000 (11:10 -0800)] 
A couple "make" tweaks.

4 years agoPut 0 in parens to silence an Xcode warning.
Wayne Davison [Sun, 31 Jan 2021 17:28:34 +0000 (09:28 -0800)] 
Put 0 in parens to silence an Xcode warning.

4 years agoAdd `--with-nobody-user=FOO` configure option.
Wayne Davison [Fri, 15 Jan 2021 15:38:49 +0000 (07:38 -0800)] 
Add `--with-nobody-user=FOO` configure option.

4 years agoCygwin python3 is now 3.8 w/o commonmark lib. [buildall]
Wayne Davison [Fri, 1 Jan 2021 17:29:07 +0000 (09:29 -0800)] 
Cygwin python3 is now 3.8 w/o commonmark lib. [buildall]

4 years agoFix spelling error in man page. (#124)
James Cook [Thu, 10 Dec 2020 17:43:04 +0000 (17:43 +0000)] 
Fix spelling error in man page. (#124)

trasnferred -> transferred

4 years agoFix a typo.
Wayne Davison [Thu, 10 Dec 2020 06:35:16 +0000 (22:35 -0800)] 
Fix a typo.

4 years agoWork around glibc's lchmod() issue a better way.
Wayne Davison [Sun, 29 Nov 2020 17:33:54 +0000 (09:33 -0800)] 
Work around glibc's lchmod() issue a better way.

4 years agoInclude stdlib.h for exit() and consult HAVE_* macros more.
Wayne Davison [Sun, 29 Nov 2020 16:45:55 +0000 (08:45 -0800)] 
Include stdlib.h for exit() and consult HAVE_* macros more.

4 years agoTweak cmd_txt routines in the packaging scripts.
Wayne Davison [Sun, 1 Nov 2020 19:21:06 +0000 (11:21 -0800)] 
Tweak cmd_txt routines in the packaging scripts.

4 years agoForce HAVE_LCHMOD off for Linux (for now).
Wayne Davison [Fri, 30 Oct 2020 22:51:24 +0000 (15:51 -0700)] 
Force HAVE_LCHMOD off for Linux (for now).

4 years agoUse the right powershell env syntax. [buildall]
Wayne Davison [Wed, 7 Oct 2020 21:02:28 +0000 (14:02 -0700)] 
Use the right powershell env syntax. [buildall]

4 years agoAllow cross-compilation with SIMD (x86_84) (#104)
edo [Wed, 7 Oct 2020 05:33:57 +0000 (08:33 +0300)] 
Allow cross-compilation with SIMD (x86_84) (#104)

Replace runtime SIMD check with a compile-only test in case of
cross-compilation.

You can still use '--enable-simd=no' to build x86_64 code without
SIMD instructions.

4 years agoUpdate CI builds to new path-setting idiom.
Wayne Davison [Wed, 7 Oct 2020 05:28:17 +0000 (22:28 -0700)] 
Update CI builds to new path-setting idiom.

4 years agoSilence a few more warnings.
Wayne Davison [Tue, 29 Sep 2020 22:51:03 +0000 (15:51 -0700)] 
Silence a few more warnings.

4 years agoUse a better -Wno-pedantic heuristic.
Wayne Davison [Tue, 29 Sep 2020 22:17:29 +0000 (15:17 -0700)] 
Use a better -Wno-pedantic heuristic.

4 years agoAvoid some pedantic errors & old warnings.
Wayne Davison [Tue, 29 Sep 2020 21:47:31 +0000 (14:47 -0700)] 
Avoid some pedantic errors & old warnings.

4 years agoHandle early gcc versions that don't understand -Wno-pedantic.
Wayne Davison [Tue, 29 Sep 2020 21:22:40 +0000 (14:22 -0700)] 
Handle early gcc versions that don't understand -Wno-pedantic.

4 years agoMake gcc die on init overflow of an array.
Wayne Davison [Tue, 29 Sep 2020 20:04:41 +0000 (13:04 -0700)] 
Make gcc die on init overflow of an array.

- Use -pedantic-errors with gcc to make an array-init fatal.
- Fix all the extra warnings that gcc outputs due to this option.
- Also add -Wno-pedantic to gcc if we're using the internal popt
  code (since it has lots of pedantic issues).

4 years agoExpand the max name_num_item list size.
Wayne Davison [Tue, 29 Sep 2020 19:57:32 +0000 (12:57 -0700)] 
Expand the max name_num_item list size.

4 years agoChange `--info=skip2` messages & add info on attr changes.
Wayne Davison [Wed, 23 Sep 2020 16:26:10 +0000 (09:26 -0700)] 
Change `--info=skip2` messages & add info on attr changes.

4 years agoChange from $build_cpu to $host_cpu as edo1 suggested.
Wayne Davison [Wed, 23 Sep 2020 00:19:45 +0000 (17:19 -0700)] 
Change from $build_cpu to $host_cpu as edo1 suggested.

4 years agoMake the extra info on the "exists" messages optional.
Wayne Davison [Tue, 22 Sep 2020 23:43:18 +0000 (16:43 -0700)] 
Make the extra info on the "exists" messages optional.

4 years agoVarious file comparison improvements
Wayne Davison [Tue, 22 Sep 2020 18:46:36 +0000 (11:46 -0700)] 
Various file comparison improvements

- Rename unchanged_file() to quick_check_ok().
- Enhance quick_check_ok() to work with non-regular files.
- Add a get_file_type() function to the generator.
- Use the new functions in the generator code to make the logic simpler.
- Fix a bug where the `--alt-dest` functions were not checking if a
  special file fully matched the non-permission mode bits before
  deciding if we have found an alt-dest match.
- Enhance the `--info=skip --ignore-existing` output to include extra
  info on if the existing file differs in type or passes the standard
  quick-check logic.
- Add `--info=skip2` that authorizes rsync to perform a slow checksum
  "quick check" when ignoring existing files. This provides the uptodate
  and differs info even if we need to checksum a file to get it.

4 years agoMore NEWS updates.
Wayne Davison [Tue, 22 Sep 2020 02:17:59 +0000 (19:17 -0700)] 
More NEWS updates.

4 years agoA couple whitespace tweaks.
Wayne Davison [Tue, 22 Sep 2020 01:42:21 +0000 (18:42 -0700)] 
A couple whitespace tweaks.

4 years agooptimize avx2 code (#102)
Shark64 [Mon, 21 Sep 2020 22:11:27 +0000 (00:11 +0200)] 
optimize avx2 code (#102)

Optimize avx2 code using only intrinsic functions supported by older gcc versions.

4 years agoSkip an append if sender's file gets shorter.
Wayne Davison [Mon, 21 Sep 2020 21:40:23 +0000 (14:40 -0700)] 
Skip an append if sender's file gets shorter.

Fixes bug #90.  Similar to a pull request by Tomas Korbar.

4 years agoImprove the docs for `--archive`.
Wayne Davison [Mon, 21 Sep 2020 21:05:51 +0000 (14:05 -0700)] 
Improve the docs for `--archive`.

A slightly tweaked version of a patch from Richard Michael.

4 years agoAvoid output variance in protocol 29.
Wayne Davison [Mon, 21 Sep 2020 20:45:42 +0000 (13:45 -0700)] 
Avoid output variance in protocol 29.

4 years agoCheck status of tests that pipe rsync's output & simplify output diffing.
Wayne Davison [Mon, 21 Sep 2020 20:15:43 +0000 (13:15 -0700)] 
Check status of tests that pipe rsync's output & simplify output diffing.

4 years agoPut CAN_HARDLINK_SYMLINK info into --version output.
Wayne Davison [Mon, 21 Sep 2020 20:17:15 +0000 (13:17 -0700)] 
Put CAN_HARDLINK_SYMLINK info into --version output.

4 years agoAvoid spurious "is newer" messages with `--update`.
Wayne Davison [Mon, 21 Sep 2020 17:44:18 +0000 (10:44 -0700)] 
Avoid spurious "is newer" messages with `--update`.

4 years agoUpdate the NEWS.
Wayne Davison [Wed, 9 Sep 2020 05:18:32 +0000 (22:18 -0700)] 
Update the NEWS.

4 years agoHandle a --mkpath failure
Wayne Davison [Tue, 8 Sep 2020 17:53:29 +0000 (10:53 -0700)] 
Handle a --mkpath failure

Fixes bug #96 where --mkpath makes rsync complain when a dest path
exists but the path contains an alt-dest name for the single file.

4 years agoUse new xxhash lib in cygwin build. [buildall]
Wayne Davison [Tue, 8 Sep 2020 02:42:08 +0000 (19:42 -0700)] 
Use new xxhash lib in cygwin build. [buildall]

4 years agoTry using the Windows version of curl. [buildall]
Wayne Davison [Mon, 7 Sep 2020 22:11:32 +0000 (15:11 -0700)] 
Try using the Windows version of curl. [buildall]

4 years agoAnother cygwin build attempt. [buildall]
Wayne Davison [Mon, 7 Sep 2020 21:39:27 +0000 (14:39 -0700)] 
Another cygwin build attempt. [buildall]

4 years agoImprove a sentence about --stderr=all.
Wayne Davison [Mon, 7 Sep 2020 21:31:53 +0000 (14:31 -0700)] 
Improve a sentence about --stderr=all.

4 years agoTry cygwin build again. [buildall]
Wayne Davison [Mon, 7 Sep 2020 21:23:39 +0000 (14:23 -0700)] 
Try cygwin build again. [buildall]

4 years agoAdd git-version.h to "gen" target.
Wayne Davison [Mon, 7 Sep 2020 06:36:08 +0000 (23:36 -0700)] 
Add git-version.h to "gen" target.

4 years agoLeave git-version.h out of GENFILES so it doesn't go in a release tar.
Wayne Davison [Mon, 7 Sep 2020 06:27:28 +0000 (23:27 -0700)] 
Leave git-version.h out of GENFILES so it doesn't go in a release tar.

4 years agoAllow git-version.h to be provided for the build
Wayne Davison [Mon, 7 Sep 2020 05:49:27 +0000 (22:49 -0700)] 
Allow git-version.h to be provided for the build

For a non-git build or for a git build w/o adequate git history, we now
allow the git-version.h file to be provided before the build.  If the
file does not exist, we either create an empty file or put a define of
RSYNC_GITVER in it based on the output of git describe.  The github
builds now snag the git-version.h file that was generated for the last
commit so that they all get the same version string, even with a shallow
checkout.

4 years agoSet CXX_OK=no when cross compiling.
Wayne Davison [Thu, 3 Sep 2020 17:07:36 +0000 (10:07 -0700)] 
Set CXX_OK=no when cross compiling.

4 years agoCreate SECURITY.md
Wayne Davison [Wed, 2 Sep 2020 21:49:20 +0000 (14:49 -0700)] 
Create SECURITY.md

4 years agoSetup for 3.2.4dev.
Wayne Davison [Fri, 28 Aug 2020 02:33:15 +0000 (19:33 -0700)] 
Setup for 3.2.4dev.

4 years agoSimplify the compat logic for local_server
Wayne Davison [Fri, 28 Aug 2020 01:58:21 +0000 (18:58 -0700)] 
Simplify the compat logic for local_server

Change the logic in compat.c to construct the client_info string value
for a local copy so that the various checks of the string don't need to
make an exception for local_server.

4 years agorsync-ssl: Verify the hostname in the certificate when using openssl.
Matt McCutchen [Wed, 26 Aug 2020 16:16:08 +0000 (12:16 -0400)] 
rsync-ssl: Verify the hostname in the certificate when using openssl.

4 years agoAdd some comments about protocol versions.
Wayne Davison [Fri, 7 Aug 2020 23:20:48 +0000 (16:20 -0700)] 
Add some comments about protocol versions.

4 years agoSimplify where version.h is included.
Wayne Davison [Fri, 7 Aug 2020 04:10:46 +0000 (21:10 -0700)] 
Simplify where version.h is included.

4 years agoPreparing for release of 3.2.3 v3.2.3
Wayne Davison [Fri, 7 Aug 2020 03:57:26 +0000 (20:57 -0700)] 
Preparing for release of 3.2.3

4 years agoTweak a comment.
Wayne Davison [Thu, 6 Aug 2020 04:32:44 +0000 (21:32 -0700)] 
Tweak a comment.

4 years agoChange fetch depth.
Wayne Davison [Mon, 3 Aug 2020 21:47:38 +0000 (14:47 -0700)] 
Change fetch depth.

4 years agoDon't use --always to ensure a tag is in gitver.
Wayne Davison [Mon, 3 Aug 2020 21:25:43 +0000 (14:25 -0700)] 
Don't use --always to ensure a tag is in gitver.

4 years agoAvoid a build fail when git isn't installed.
Wayne Davison [Mon, 3 Aug 2020 21:19:13 +0000 (14:19 -0700)] 
Avoid a build fail when git isn't installed.

4 years agoMake my_alloc(NULL) use malloc instead of calloc.
Wayne Davison [Mon, 3 Aug 2020 21:01:18 +0000 (14:01 -0700)] 
Make my_alloc(NULL) use malloc instead of calloc.

4 years agoUse touch for proto.h-tstamp since one awk wasn't updating mtime.
Wayne Davison [Mon, 3 Aug 2020 20:31:56 +0000 (13:31 -0700)] 
Use touch for proto.h-tstamp since one awk wasn't updating mtime.

4 years agoMove SUPPORT_ATIMES to rsync.h.
Wayne Davison [Mon, 3 Aug 2020 20:27:00 +0000 (13:27 -0700)] 
Move SUPPORT_ATIMES to rsync.h.

4 years agoCreate usage.c for smaller awk-dep rebuilds.
Wayne Davison [Mon, 3 Aug 2020 18:33:32 +0000 (11:33 -0700)] 
Create usage.c for smaller awk-dep rebuilds.

4 years agoUse RSYNC_GITVER in more output
Wayne Davison [Mon, 3 Aug 2020 17:42:08 +0000 (10:42 -0700)] 
Use RSYNC_GITVER in more output

4 years agoA couple more mkgitver tweaks
Wayne Davison [Mon, 3 Aug 2020 17:23:43 +0000 (10:23 -0700)] 
A couple more mkgitver tweaks

- Support git worktree checkouts (has non-dir .git)
- Use --always for someone who may be missing a tag.

5 years agoUse --abbrev=8 instead of --tags.
Wayne Davison [Sat, 1 Aug 2020 07:41:53 +0000 (00:41 -0700)] 
Use --abbrev=8 instead of --tags.

5 years agoPut git version in a file for between-release versioning.
Wayne Davison [Sat, 1 Aug 2020 07:15:06 +0000 (00:15 -0700)] 
Put git version in a file for between-release versioning.

5 years agoDon't make .PHONY the first target in a Makefile.
Wayne Davison [Fri, 31 Jul 2020 01:58:34 +0000 (18:58 -0700)] 
Don't make .PHONY the first target in a Makefile.

5 years agoMake configure less annoying
Wayne Davison [Fri, 31 Jul 2020 01:30:51 +0000 (18:30 -0700)] 
Make configure less annoying

- Improve configure's notifications around the new features.
- Improve the info about man page generation and fetching.

5 years agoSome Makefile improvements.
Wayne Davison [Wed, 29 Jul 2020 18:51:55 +0000 (11:51 -0700)] 
Some Makefile improvements.

- Improve distclean.
- Remove proto.h from GENFILES (we don't need to distribute it).
- Improve finddead target.

5 years agoTweak a comment.
Wayne Davison [Wed, 29 Jul 2020 18:50:00 +0000 (11:50 -0700)] 
Tweak a comment.

5 years agoINSTALL changes, including some Fedora packages.
Wayne Davison [Wed, 29 Jul 2020 18:22:23 +0000 (11:22 -0700)] 
INSTALL changes, including some Fedora packages.

5 years agoPreparing for release of 3.2.3pre1 v3.2.3pre1
Wayne Davison [Tue, 28 Jul 2020 00:56:25 +0000 (17:56 -0700)] 
Preparing for release of 3.2.3pre1

5 years agoNeed 3.2.3 line in table & tweak to release script.
Wayne Davison [Tue, 28 Jul 2020 00:49:28 +0000 (17:49 -0700)] 
Need 3.2.3 line in table & tweak to release script.

5 years agoA couple more NEWS updates.
Wayne Davison [Mon, 27 Jul 2020 23:50:47 +0000 (16:50 -0700)] 
A couple more NEWS updates.

5 years agoSet LANG to C to help with some remote build hosts.
Wayne Davison [Mon, 27 Jul 2020 23:48:48 +0000 (16:48 -0700)] 
Set LANG to C to help with some remote build hosts.

5 years agoUse linkat() if available
Wayne Davison [Mon, 27 Jul 2020 23:36:55 +0000 (16:36 -0700)] 
Use linkat() if available

Some OSes have a more capable linkat() function that can hard-link
syslinks, so use linkat() when it is available.

5 years agoAdd a few more skip-compress suffixes.
Wayne Davison [Mon, 27 Jul 2020 22:56:48 +0000 (15:56 -0700)] 
Add a few more skip-compress suffixes.

5 years agoMake the `--append*` options have more warnings.
Wayne Davison [Mon, 27 Jul 2020 22:05:11 +0000 (15:05 -0700)] 
Make the `--append*` options have more warnings.

5 years agoDon't allow a completely empty source arg.
Wayne Davison [Mon, 27 Jul 2020 21:42:21 +0000 (14:42 -0700)] 
Don't allow a completely empty source arg.

5 years agoMention an implied option.
Wayne Davison [Mon, 27 Jul 2020 20:49:19 +0000 (13:49 -0700)] 
Mention an implied option.

5 years agoReplace a couple calloc() calls with new_array0().
Wayne Davison [Mon, 27 Jul 2020 06:30:50 +0000 (23:30 -0700)] 
Replace a couple calloc() calls with new_array0().

5 years agoComplain about a missing/non-dir `--temp-dir`.
Wayne Davison [Sun, 26 Jul 2020 08:56:30 +0000 (01:56 -0700)] 
Complain about a missing/non-dir `--temp-dir`.

5 years agoDon't include config.h in proto.h rule.
Wayne Davison [Sun, 26 Jul 2020 08:40:55 +0000 (01:40 -0700)] 
Don't include config.h in proto.h rule.

5 years agoMention awk/gawk/nawk dependency.
Wayne Davison [Sun, 26 Jul 2020 08:40:43 +0000 (01:40 -0700)] 
Mention awk/gawk/nawk dependency.

5 years agoMention `--protect-args` in `--chown` info.
Wayne Davison [Sun, 26 Jul 2020 07:59:51 +0000 (00:59 -0700)] 
Mention `--protect-args` in `--chown` info.

5 years agoFix issue where rdev major could get out of sync
Wayne Davison [Sun, 26 Jul 2020 06:28:44 +0000 (23:28 -0700)] 
Fix issue where rdev major could get out of sync

If the receiving side read a hard-linked device, it needs to set the
value of rdev_major to the value it snags from the hard-linked data
because the sender set their rdev_major value for that file entry.

5 years agoHave release script use patch-update --make (not --shell)
Wayne Davison [Sat, 25 Jul 2020 17:52:49 +0000 (10:52 -0700)] 
Have release script use patch-update --make (not --shell)

5 years agoFix a grammar error.
Wayne Davison [Sat, 25 Jul 2020 17:40:46 +0000 (10:40 -0700)] 
Fix a grammar error.