rsync: update to 3.2.1

Disable several options to enable compilation.

Simplified several configure options.

Remove pointless configure var.

Added ssh hinting patch. Some SSH incompatibility.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-06-25 16:01:34 -07:00
parent f10023094e
commit 3f00aed153
2 changed files with 36 additions and 30 deletions

View File

@@ -0,0 +1,19 @@
diff --git a/main.c b/main.c
index b41a394..dd49f87 100644
--- a/main.c
+++ b/main.c
@@ -572,14 +572,6 @@ static pid_t do_cmd(char *cmd, char *machine, char *user, char **remote_argv, in
args[argc++] = "-l";
args[argc++] = user;
}
-#ifdef AF_INET
- if (default_af_hint == AF_INET && strcmp(t, "ssh") == 0)
- args[argc++] = "-4"; /* we're using ssh so we can add a -4 option */
-#endif
-#ifdef AF_INET6
- if (default_af_hint == AF_INET6 && strcmp(t, "ssh") == 0)
- args[argc++] = "-6"; /* we're using ssh so we can add a -6 option */
-#endif
args[argc++] = machine;
#endif