rsync.git
3 years agoWe only need one capability marked with a "*".
Wayne Davison [Sun, 21 Jun 2020 05:09:08 +0000 (22:09 -0700)]
We only need one capability marked with a "*".

3 years agoMention "asm" instead of "ASM".
Wayne Davison [Sun, 21 Jun 2020 04:59:51 +0000 (21:59 -0700)]
Mention "asm" instead of "ASM".

3 years agoMention openssl-crypto in -VV list.
Wayne Davison [Sun, 21 Jun 2020 04:43:20 +0000 (21:43 -0700)]
Mention openssl-crypto in -VV list.

3 years agoElide -g from CXXFLAGS before the c++ test.
Wayne Davison [Sun, 21 Jun 2020 04:26:21 +0000 (21:26 -0700)]
Elide -g from CXXFLAGS before the c++ test.

3 years agoSome README and man page tweaks.
Wayne Davison [Sun, 21 Jun 2020 03:29:27 +0000 (20:29 -0700)]
Some README and man page tweaks.

3 years agoChange repo to be 3.2.1dev.
Wayne Davison [Sun, 21 Jun 2020 03:08:25 +0000 (20:08 -0700)]
Change repo to be 3.2.1dev.

3 years agoRequire -VV to see SIMD & ASM in version output
Wayne Davison [Sun, 21 Jun 2020 02:42:14 +0000 (19:42 -0700)]
Require -VV to see SIMD & ASM in version output

3 years agoGet rid of -g option in CXXFLAGS (at least for now).
Wayne Davison [Sun, 21 Jun 2020 02:23:07 +0000 (19:23 -0700)]
Get rid of -g option in CXXFLAGS (at least for now).

3 years agoRemove leftover case match.
Wayne Davison [Sun, 21 Jun 2020 02:00:57 +0000 (19:00 -0700)]
Remove leftover case match.

3 years agoWhen fetching gen files, make sure aclocal.m4 is older than configure files.
Wayne Davison [Sun, 21 Jun 2020 01:46:16 +0000 (18:46 -0700)]
When fetching gen files, make sure aclocal.m4 is older than configure files.

3 years agoMore asm improvements
Wayne Davison [Sun, 21 Jun 2020 01:21:27 +0000 (18:21 -0700)]
More asm improvements

- Only use the asm code if we're on x86_64.
- More changes to decouple asm from simd.
- Check if the -Wa,--noexecstack option works.
- Support --disable-asm configure option.

3 years agoInclude more SIMD test code to weed out older compilers.
Wayne Davison [Sun, 21 Jun 2020 00:36:13 +0000 (17:36 -0700)]
Include more SIMD test code to weed out older compilers.

3 years agoDecouple the MD5 asm code from the simd enabling.
Wayne Davison [Sun, 21 Jun 2020 00:01:25 +0000 (17:01 -0700)]
Decouple the MD5 asm code from the simd enabling.

3 years agoRemove asm type & size.
Wayne Davison [Sat, 20 Jun 2020 23:54:24 +0000 (16:54 -0700)]
Remove asm type & size.

3 years agoUse AC_RUN_IFELSE() to make sure we can run the cpp test program.
Wayne Davison [Sat, 20 Jun 2020 21:40:56 +0000 (14:40 -0700)]
Use AC_RUN_IFELSE() to make sure we can run the cpp test program.

3 years agoMention how to turn off simd near the cpp compile.
Wayne Davison [Sat, 20 Jun 2020 18:53:22 +0000 (11:53 -0700)]
Mention how to turn off simd near the cpp compile.

3 years agoSimplify some escaping.
Wayne Davison [Sat, 20 Jun 2020 18:35:56 +0000 (11:35 -0700)]
Simplify some escaping.

4 years agoChange SIMD test to use a compile check.
Wayne Davison [Sat, 20 Jun 2020 17:34:12 +0000 (10:34 -0700)]
Change SIMD test to use a compile check.

4 years agoHandle hard-linking the top-level $VER-NEWS.html file on a final release.
Wayne Davison [Sat, 20 Jun 2020 16:57:35 +0000 (09:57 -0700)]
Handle hard-linking the top-level $VER-NEWS.html file on a final release.

4 years agoThe nightly dir is gone now.
Wayne Davison [Sat, 20 Jun 2020 16:43:25 +0000 (09:43 -0700)]
The nightly dir is gone now.

4 years agoPass --noexecstack to assembler.
Wayne Davison [Sat, 20 Jun 2020 16:23:56 +0000 (09:23 -0700)]
Pass --noexecstack to assembler.

4 years agoFix conditional directives in the asm file
Wayne Davison [Sat, 20 Jun 2020 15:44:04 +0000 (08:44 -0700)]
Fix conditional directives in the asm file

- Switch .s -> .S to enable the preprocessor.
- Move some defines from mdigest.h to md-defines.h.
- Tweak the asm file to use md-defines.h.
- Add a couple missing .h dependencies in the Makefile.

4 years agoExclude the asm code when it's not being used.
Wayne Davison [Sat, 20 Jun 2020 14:59:26 +0000 (07:59 -0700)]
Exclude the asm code when it's not being used.

4 years agoFix compiling in a separate dir.
Wayne Davison [Sat, 20 Jun 2020 14:58:50 +0000 (07:58 -0700)]
Fix compiling in a separate dir.

4 years agolib/md5-asm-x86_64.s: fix build with Apple Clang
Caleb Xu [Sat, 20 Jun 2020 04:12:15 +0000 (00:12 -0400)]
lib/md5-asm-x86_64.s: fix build with Apple Clang

The Mach-O x86-64 model doesn't seem to support ".type" and
".size" directives in assembly. Add ifdefs that should allow for
the file to build without issues in Apple Clang.

4 years agoA slightly modified g++/clang++ check.
Wayne Davison [Sat, 20 Jun 2020 06:23:52 +0000 (23:23 -0700)]
A slightly modified g++/clang++ check.

4 years agoPreparing for release of 3.2.0 v3.2.0
Wayne Davison [Fri, 19 Jun 2020 21:11:01 +0000 (14:11 -0700)]
Preparing for release of 3.2.0

4 years agoSimplify a variable.
Wayne Davison [Fri, 19 Jun 2020 18:07:02 +0000 (11:07 -0700)]
Simplify a variable.

4 years agoYes, we know we're discarding a return value.
Wayne Davison [Fri, 19 Jun 2020 17:56:28 +0000 (10:56 -0700)]
Yes, we know we're discarding a return value.

4 years agoSimple change to recv_token().
Wayne Davison [Fri, 19 Jun 2020 16:55:48 +0000 (09:55 -0700)]
Simple change to recv_token().

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.