mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 08:28:20 +04:00
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:
19
net/rsync/patches/010-disable-ssh-46-hint.patch
Normal file
19
net/rsync/patches/010-disable-ssh-46-hint.patch
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user