rsync.git
4 years agoPrevent unnecessary xattr warning by reordering header inclusion. (#22)
Holger Hoffstätte [Fri, 19 Jun 2020 15:22:54 +0000 (17:22 +0200)]
Prevent unnecessary xattr warning by reordering header inclusion. (#22)

xattr headers have been provided by glibc (at least on Linux/glibc)
for many years now. Reorder the inclusion of xattr headers to
attempt compatibility/legacy after the common case.
This prevents the warning without changing compatibility to
non-glibc systems.

* Add dependency on lib/sysxattrs.h header in Makefile

Co-authored-by: Wayne Davison <wayne@opencoder.net>
4 years agoA few minor man page tweaks.
Wayne Davison [Fri, 19 Jun 2020 07:11:49 +0000 (00:11 -0700)]
A few minor man page tweaks.

4 years agoMore non-breaking space/dash improvements
Wayne Davison [Fri, 19 Jun 2020 06:51:15 +0000 (23:51 -0700)]
More non-breaking space/dash improvements

- In html, use css more for non-breakability.
- In nroff, mark more dashes as non-breaking in code->bold sections,
  and get rid of backslashed dashes in preformatted blocks.

4 years agoUse `-&#8288;` instead of `&#8209;`
Wayne Davison [Fri, 19 Jun 2020 05:52:47 +0000 (22:52 -0700)]
Use `-&#8288;` instead of `&#8209;`

Using a non-breaking zero-width char after a dash makes the browser
avoiding breaking on that dash and also makes it match a dash in a
search.  This is better than a non-breaking dash char, which does not
match a dash in a search.

4 years agoComment must be indented to avoid ending the list item.
Wayne Davison [Fri, 19 Jun 2020 04:55:50 +0000 (21:55 -0700)]
Comment must be indented to avoid ending the list item.

4 years agoHandle a missing c++ too.
Wayne Davison [Fri, 19 Jun 2020 00:02:46 +0000 (17:02 -0700)]
Handle a missing c++ too.

4 years agoMake SIMD enabled by default again (for x86_64)
Wayne Davison [Thu, 18 Jun 2020 23:27:05 +0000 (16:27 -0700)]
Make SIMD enabled by default again (for x86_64)

4 years agoCheck extra rounding using an int64.
Wayne Davison [Thu, 18 Jun 2020 22:45:39 +0000 (15:45 -0700)]
Check extra rounding using an int64.

4 years agoWe need to use nawk or gawk on Solaris, not their weird awk.
Wayne Davison [Thu, 18 Jun 2020 21:53:51 +0000 (14:53 -0700)]
We need to use nawk or gawk on Solaris, not their weird awk.

4 years agoComplain if we can't enable simd on non-x86_64.
Wayne Davison [Thu, 18 Jun 2020 21:27:00 +0000 (14:27 -0700)]
Complain if we can't enable simd on non-x86_64.

4 years agoFix clang check.
Wayne Davison [Thu, 18 Jun 2020 20:46:01 +0000 (13:46 -0700)]
Fix clang check.

4 years agoGet rid of useless -e with sed.
Wayne Davison [Thu, 18 Jun 2020 20:21:33 +0000 (13:21 -0700)]
Get rid of useless -e with sed.

4 years agox86-64 SIMD build fixes (#20)
Chainfire [Thu, 18 Jun 2020 20:20:44 +0000 (22:20 +0200)]
x86-64 SIMD build fixes (#20)

* x86-64 SIMD build fixes

configure.ac was modified to detect g++ >=5 and clang++ >=7. Additionally
some script malfunctions on FreeBSD were corrected.

The get_checksum1() code has been modified to fix clang and g++ 10
compilation.

This version of the code and configure.ac has been tested on:

Ubuntu 16 - gcc 7.3.0, clang 6.0.0
Debian 10 - gcc 5.4.0, 6.4.0, 7.2.0, 8.4.0, 9.2.1, 10.0.1, clang 5.0.2,
6.0.1, 7.0.1, 8.0.0, 9.0.0, 10.0.0
ArchLinux 20200605 - gcc 10.1.0, clang 10.0.0
FreeBSD 12.1 - gcc 9.3.0, clang 8.0.1

It is unknown if it will work on gcc 5.0-5.3, but the script currently
allows it.

4 years agoUse documentation to extract 2 more .h lists
Wayne Davison [Thu, 18 Jun 2020 17:49:34 +0000 (10:49 -0700)]
Use documentation to extract 2 more .h lists

- Change default_cvsignore char[] into a define.
- Make the DEFAULT_DONT_COMPRESS and DEFAULT_CVSIGNORE defines get set
  based on their info in rsync.1.md.
- Add a few more don't-compress suffixes from Simon Matter.

4 years agoMake the g++ check more lenient.
Wayne Davison [Thu, 18 Jun 2020 16:31:47 +0000 (09:31 -0700)]
Make the g++ check more lenient.

4 years agoA few minor man page improvements.
Wayne Davison [Wed, 17 Jun 2020 18:25:38 +0000 (11:25 -0700)]
A few minor man page improvements.

4 years agoEnhance compatibility with older python3 versions.
Wayne Davison [Wed, 17 Jun 2020 17:52:02 +0000 (10:52 -0700)]
Enhance compatibility with older python3 versions.

4 years agoA couple more NEWS tweaks.
Wayne Davison [Wed, 17 Jun 2020 17:30:32 +0000 (10:30 -0700)]
A couple more NEWS tweaks.

4 years agoPreparing for release of 3.2.0pre3 v3.2.0pre3
Wayne Davison [Wed, 17 Jun 2020 17:12:09 +0000 (10:12 -0700)]
Preparing for release of 3.2.0pre3

4 years agoBe a little more explicit with override info.
Wayne Davison [Wed, 17 Jun 2020 16:31:48 +0000 (09:31 -0700)]
Be a little more explicit with override info.

4 years agoadd a systemd socket unit for rsync
Christian Hesse [Wed, 17 Jun 2020 08:17:26 +0000 (10:17 +0200)]
add a systemd socket unit for rsync

4 years agoupdate rsync systemd unit, add more security features
Christian Hesse [Wed, 17 Jun 2020 08:15:32 +0000 (10:15 +0200)]
update rsync systemd unit, add more security features

4 years agoChange SIMD back to disabled unless requested.
Wayne Davison [Wed, 17 Jun 2020 05:59:54 +0000 (22:59 -0700)]
Change SIMD back to disabled unless requested.

4 years agoSome fixes after compiling on cygwin.
Wayne Davison [Wed, 17 Jun 2020 05:40:55 +0000 (22:40 -0700)]
Some fixes after compiling on cygwin.

4 years agoUpdate config.guess & config.sub.
Wayne Davison [Wed, 17 Jun 2020 04:24:23 +0000 (21:24 -0700)]
Update config.guess & config.sub.

4 years agoHave --disable-md2man affect the Makefile.
Wayne Davison [Wed, 17 Jun 2020 02:05:05 +0000 (19:05 -0700)]
Have --disable-md2man affect the Makefile.

4 years agoFix /usr/bin/env with script args.
Wayne Davison [Wed, 17 Jun 2020 01:32:16 +0000 (18:32 -0700)]
Fix /usr/bin/env with script args.

4 years agoUse /usr/bin/env for increased portability.
Wayne Davison [Wed, 17 Jun 2020 01:02:45 +0000 (18:02 -0700)]
Use /usr/bin/env for increased portability.

4 years agoA few more NEWS tweaks.
Wayne Davison [Tue, 16 Jun 2020 22:27:03 +0000 (15:27 -0700)]
A few more NEWS tweaks.

4 years agoenh(configure) Promote OpenSSL crypto lib support
benrubson [Tue, 16 Jun 2020 21:42:12 +0000 (23:42 +0200)]
enh(configure) Promote OpenSSL crypto lib support

4 years agoA few more trivial tweaks.
Wayne Davison [Tue, 16 Jun 2020 21:42:41 +0000 (14:42 -0700)]
A few more trivial tweaks.

4 years agoFix `md2man --test` on a fresh checkout.
Wayne Davison [Tue, 16 Jun 2020 21:03:16 +0000 (14:03 -0700)]
Fix `md2man --test` on a fresh checkout.

4 years agoAdd g++ failure info; add mention of SSL rsyncd examples.
Wayne Davison [Tue, 16 Jun 2020 19:10:41 +0000 (12:10 -0700)]
Add g++ failure info; add mention of SSL rsyncd examples.

4 years agoOnly complain about lack of g++ on linux for now.
Wayne Davison [Tue, 16 Jun 2020 18:35:54 +0000 (11:35 -0700)]
Only complain about lack of g++ on linux for now.

4 years agoAdd configure check for md2man functioning; split long error lines.
Wayne Davison [Tue, 16 Jun 2020 18:11:54 +0000 (11:11 -0700)]
Add configure check for md2man functioning; split long error lines.

4 years agoChange configure to make new features more likely to get included in a build.
Wayne Davison [Tue, 16 Jun 2020 16:56:46 +0000 (09:56 -0700)]
Change configure to make new features more likely to get included in a build.

4 years agoFix bug in CXXFLAGS tweak.
Wayne Davison [Tue, 16 Jun 2020 16:14:28 +0000 (09:14 -0700)]
Fix bug in CXXFLAGS tweak.

4 years agoRemove the new $< use from the Makefile.
Wayne Davison [Tue, 16 Jun 2020 15:46:44 +0000 (08:46 -0700)]
Remove the new $< use from the Makefile.

4 years agoTweak my email.
Wayne Davison [Tue, 16 Jun 2020 14:55:42 +0000 (07:55 -0700)]
Tweak my email.

4 years agoMore spelling fixes from Fossies
Wayne Davison [Tue, 16 Jun 2020 14:46:25 +0000 (07:46 -0700)]
More spelling fixes from Fossies

https://fossies.org/linux/test/rsync-master.tar.gz/codespell.html

4 years agoTurn help-from-md into an awk script.
Wayne Davison [Tue, 16 Jun 2020 01:14:08 +0000 (18:14 -0700)]
Turn help-from-md into an awk script.

4 years agoAvoid -e option to sed for BSD.
Wayne Davison [Mon, 15 Jun 2020 22:08:42 +0000 (15:08 -0700)]
Avoid -e option to sed for BSD.

4 years agoA few small tweaks.
Wayne Davison [Mon, 15 Jun 2020 20:35:14 +0000 (13:35 -0700)]
A few small tweaks.

4 years agoPreparing for release of 3.2.0pre2 v3.2.0pre2
Wayne Davison [Mon, 15 Jun 2020 18:53:19 +0000 (11:53 -0700)]
Preparing for release of 3.2.0pre2

4 years agoFixed setting of rsync_lastver var.
Wayne Davison [Mon, 15 Jun 2020 18:52:54 +0000 (11:52 -0700)]
Fixed setting of rsync_lastver var.

4 years agoDocument how to setup rsyncd behind a TLS proxy.
Wayne Davison [Mon, 15 Jun 2020 18:31:01 +0000 (11:31 -0700)]
Document how to setup rsyncd behind a TLS proxy.

4 years agoRename "haproxy header" to "proxy protocol".
Wayne Davison [Mon, 15 Jun 2020 18:23:27 +0000 (11:23 -0700)]
Rename "haproxy header" to "proxy protocol".

4 years agoAdd preliminary gnutls support.
Wayne Davison [Mon, 15 Jun 2020 17:27:05 +0000 (10:27 -0700)]
Add preliminary gnutls support.

4 years agoChoose openssl before stunnel.
Wayne Davison [Mon, 15 Jun 2020 16:51:20 +0000 (09:51 -0700)]
Choose openssl before stunnel.

4 years agoTweak the stunnel4 Verify config; tweak the rsync-ssl docs/usage.
Wayne Davison [Mon, 15 Jun 2020 16:21:28 +0000 (09:21 -0700)]
Tweak the stunnel4 Verify config; tweak the rsync-ssl docs/usage.

4 years agoA minor NEWS tweak.
Wayne Davison [Mon, 15 Jun 2020 16:21:26 +0000 (09:21 -0700)]
A minor NEWS tweak.

4 years agoAdd a warning header to the generated help-*.h files.
Wayne Davison [Mon, 15 Jun 2020 01:49:38 +0000 (18:49 -0700)]
Add a warning header to the generated help-*.h files.

4 years agoA few more md -> html improvements
Wayne Davison [Mon, 15 Jun 2020 01:28:30 +0000 (18:28 -0700)]
A few more md -> html improvements

4 years agoMore NEWS improvements.
Wayne Davison [Mon, 15 Jun 2020 01:00:18 +0000 (18:00 -0700)]
More NEWS improvements.

4 years agoOutput who_am_i() info in all rsyserr() messages.
Wayne Davison [Sun, 14 Jun 2020 22:54:42 +0000 (15:54 -0700)]
Output who_am_i() info in all rsyserr() messages.

4 years agoImprove some md files.
Wayne Davison [Sun, 14 Jun 2020 06:08:28 +0000 (23:08 -0700)]
Improve some md files.

4 years agoAdd handling of non-breaking space & double-dash.
Wayne Davison [Sun, 14 Jun 2020 07:01:59 +0000 (00:01 -0700)]
Add handling of non-breaking space & double-dash.

4 years agoUpdate rrsync & its opt-culling script.
Wayne Davison [Sun, 14 Jun 2020 05:11:37 +0000 (22:11 -0700)]
Update rrsync & its opt-culling script.

4 years agoNeed to indent a code block in the README.
Wayne Davison [Sun, 14 Jun 2020 04:31:26 +0000 (21:31 -0700)]
Need to indent a code block in the README.

4 years agoMore release improvements.
Wayne Davison [Sun, 14 Jun 2020 04:10:13 +0000 (21:10 -0700)]
More release improvements.

4 years agoMention renamed .md files.
Wayne Davison [Sun, 14 Jun 2020 03:42:33 +0000 (20:42 -0700)]
Mention renamed .md files.

4 years agoDon't use c++ comments.
Wayne Davison [Sun, 14 Jun 2020 03:12:15 +0000 (20:12 -0700)]
Don't use c++ comments.

4 years agoA few more release script fixes.
Wayne Davison [Sun, 14 Jun 2020 03:11:06 +0000 (20:11 -0700)]
A few more release script fixes.

4 years agoPreparing for release of 3.2.0pre1 v3.2.0pre1
Wayne Davison [Sun, 14 Jun 2020 02:16:26 +0000 (19:16 -0700)]
Preparing for release of 3.2.0pre1

4 years agoMake -4 & -6 also able to affect an ssh remote shell.
Wayne Davison [Sun, 14 Jun 2020 01:49:52 +0000 (18:49 -0700)]
Make -4 & -6 also able to affect an ssh remote shell.

4 years agoSome indentation fixes.
Wayne Davison [Sun, 14 Jun 2020 01:19:12 +0000 (18:19 -0700)]
Some indentation fixes.

4 years agoSome fixes for the release script & other helpers.
Wayne Davison [Sun, 14 Jun 2020 01:03:01 +0000 (18:03 -0700)]
Some fixes for the release script & other helpers.

4 years agoChange alt_dest_name() to alt_dest_opt().
Wayne Davison [Sat, 13 Jun 2020 19:04:13 +0000 (12:04 -0700)]
Change alt_dest_name() to alt_dest_opt().

4 years agoChange 3 alt-dest vars to just one + some defines.
Wayne Davison [Sat, 13 Jun 2020 18:47:08 +0000 (11:47 -0700)]
Change 3 alt-dest vars to just one + some defines.

4 years agoTweak a couple var names.
Wayne Davison [Sat, 13 Jun 2020 18:24:30 +0000 (11:24 -0700)]
Tweak a couple var names.

4 years agoChange a function name.
Wayne Davison [Sat, 13 Jun 2020 10:03:33 +0000 (03:03 -0700)]
Change a function name.

4 years agoFix overzealous setting of mtime & tweak time comparisons
Wayne Davison [Sat, 13 Jun 2020 09:32:15 +0000 (02:32 -0700)]
Fix overzealous setting of mtime & tweak time comparisons

- Stop setting the mtime on a file we didn't transfer (or didn't verify
  the checksum) when the time diff is within the modify window.
- Stop computing a time difference (-1|0|1) when all we care about is
  time equality.

4 years agoConvert a couple files to UTF-8; more Copyright years.
Wayne Davison [Sat, 13 Jun 2020 09:31:00 +0000 (02:31 -0700)]
Convert a couple files to UTF-8; more Copyright years.

4 years agoMake use of poptDupArgv().
Wayne Davison [Sat, 13 Jun 2020 06:10:44 +0000 (23:10 -0700)]
Make use of poptDupArgv().

4 years agoThe unalias argv array needs room for a trailing NULL.
Wayne Davison [Sat, 13 Jun 2020 06:10:32 +0000 (23:10 -0700)]
The unalias argv array needs room for a trailing NULL.

4 years agoAdd hashtable to delete_in_dir() to fix -x deletions
Wayne Davison [Fri, 12 Jun 2020 23:52:54 +0000 (16:52 -0700)]
Add hashtable to delete_in_dir() to fix -x deletions

4 years agoTweak the hashtable routines to be a little clearer and easier.
Wayne Davison [Fri, 12 Jun 2020 23:39:29 +0000 (16:39 -0700)]
Tweak the hashtable routines to be a little clearer and easier.

4 years agoTweak a usage message.
Wayne Davison [Fri, 12 Jun 2020 17:20:33 +0000 (10:20 -0700)]
Tweak a usage message.

4 years agoFix running prepare-source from a separate build dir.
Wayne Davison [Fri, 12 Jun 2020 16:29:30 +0000 (09:29 -0700)]
Fix running prepare-source from a separate build dir.

4 years agoImprove how the help lines are harvested from the md file.
Wayne Davison [Fri, 12 Jun 2020 15:42:59 +0000 (08:42 -0700)]
Improve how the help lines are harvested from the md file.

4 years agoEnable SIMD by default (if g++ is around).
Wayne Davison [Fri, 12 Jun 2020 15:02:51 +0000 (08:02 -0700)]
Enable SIMD by default (if g++ is around).

4 years agoUse the refused-option code to disable options that aren't compiled into the source.
Wayne Davison [Fri, 12 Jun 2020 05:26:59 +0000 (22:26 -0700)]
Use the refused-option code to disable options that aren't compiled into the source.

4 years agoImprove checkcsum/compress info that may differ between packaged versions.
Wayne Davison [Fri, 12 Jun 2020 04:57:37 +0000 (21:57 -0700)]
Improve checkcsum/compress info that may differ between packaged versions.

4 years agoAdd packaging notes to NEWS.
Wayne Davison [Fri, 12 Jun 2020 03:32:44 +0000 (20:32 -0700)]
Add packaging notes to NEWS.

4 years agoTranslate man page's option list into .h files for options.h to use.
Wayne Davison [Fri, 12 Jun 2020 03:24:53 +0000 (20:24 -0700)]
Translate man page's option list into .h files for options.h to use.

4 years agoSimplify the install of rsync-ssl by unifying 2 scripts.
Wayne Davison [Fri, 12 Jun 2020 01:47:43 +0000 (18:47 -0700)]
Simplify the install of rsync-ssl by unifying 2 scripts.

4 years agoPromote newer compressors to the start of the list.
Wayne Davison [Fri, 12 Jun 2020 01:01:50 +0000 (18:01 -0700)]
Promote newer compressors to the start of the list.

4 years agoRemove generated doc files via make clean.
Wayne Davison [Fri, 12 Jun 2020 00:34:17 +0000 (17:34 -0700)]
Remove generated doc files via make clean.

4 years agoAllow maintainer to build with /usr/local prefix but document /usr.
Wayne Davison [Fri, 12 Jun 2020 00:09:33 +0000 (17:09 -0700)]
Allow maintainer to build with /usr/local prefix but document /usr.

4 years agoCreate a get_device_size() helper function.
Wayne Davison [Thu, 11 Jun 2020 23:08:15 +0000 (16:08 -0700)]
Create a get_device_size() helper function.

4 years agoImprove the haproxy header docs.
Wayne Davison [Thu, 11 Jun 2020 22:16:17 +0000 (15:16 -0700)]
Improve the haproxy header docs.

4 years agoUse /dev/shm instead of requiring /dev/shm/tmp.
Wayne Davison [Thu, 11 Jun 2020 21:33:25 +0000 (14:33 -0700)]
Use /dev/shm instead of requiring /dev/shm/tmp.

4 years agoAdd `haproxy header` parameter to rsync daemon
Wayne Davison [Thu, 11 Jun 2020 21:03:11 +0000 (14:03 -0700)]
Add `haproxy header` parameter to rsync daemon

4 years agoAdd `early exec` daemon parameter.
Wayne Davison [Thu, 11 Jun 2020 03:10:53 +0000 (20:10 -0700)]
Add `early exec` daemon parameter.

Inspired by Ciprian Dorin Craciun's `bootstrap exec` patch.

4 years agoMake sure the tmpdir2 dir is writable.
Wayne Davison [Wed, 10 Jun 2020 20:58:43 +0000 (13:58 -0700)]
Make sure the tmpdir2 dir is writable.

4 years agoMention how to run a single test.
Wayne Davison [Wed, 10 Jun 2020 20:57:25 +0000 (13:57 -0700)]
Mention how to run a single test.

4 years agoUpdate copyright year in runtests.sh too.
Wayne Davison [Wed, 10 Jun 2020 20:58:42 +0000 (13:58 -0700)]
Update copyright year in runtests.sh too.

4 years agoAdd support for /run/shm/tmp dir so the CI action doesn't skip a test.
Wayne Davison [Wed, 10 Jun 2020 20:14:27 +0000 (13:14 -0700)]
Add support for /run/shm/tmp dir so the CI action doesn't skip a test.

4 years agoHave the CI actions run make check29 & check30.
Wayne Davison [Wed, 10 Jun 2020 18:51:44 +0000 (11:51 -0700)]
Have the CI actions run make check29 & check30.

4 years agoFix a couple batchfile issues.
Wayne Davison [Wed, 10 Jun 2020 18:05:09 +0000 (11:05 -0700)]
Fix a couple batchfile issues.