Package: rsync Version: 3.3.0+ds1-1 Severity: important Tags: ipv6 patch X-Debbugs-Cc: si...@ruderich.org
Hi, the latest update broke IPv6 for me. Now rsync appends -4 to all ssh commands which breaks rsync for IPv6-only hosts. $ rsync --version | grep IPv6 hardlink-symlinks, no IPv6, atimes, batchfiles, inplace, append, ACLs, The following patch (also attached) fixes the problem: Without this patch the check fails due to this build error: x.c:4:1: error: return type defaults to 'int' [-Wimplicit-int] 4 | main() | ^~~~ Index: rsync-3.3.0+ds1/configure.ac =================================================================== --- rsync-3.3.0+ds1.orig/configure.ac +++ rsync-3.3.0+ds1/configure.ac @@ -392,7 +392,7 @@ AS_HELP_STRING([--disable-ipv6],[disable #include <stdlib.h> #include <sys/types.h> #include <sys/socket.h> -main() +int main() { if (socket(AF_INET6, SOCK_STREAM, 0) < 0) exit(1); Best, Simon -- + privacy is necessary + using gnupg http://gnupg.org + public key id: 0x92FEFDB7E44C32F9
Without this patch the check fails due to this build error: x.c:4:1: error: return type defaults to 'int' [-Wimplicit-int] 4 | main() | ^~~~ Index: rsync-3.3.0+ds1/configure.ac =================================================================== --- rsync-3.3.0+ds1.orig/configure.ac +++ rsync-3.3.0+ds1/configure.ac @@ -392,7 +392,7 @@ AS_HELP_STRING([--disable-ipv6],[disable #include <stdlib.h> #include <sys/types.h> #include <sys/socket.h> -main() +int main() { if (socket(AF_INET6, SOCK_STREAM, 0) < 0) exit(1);
signature.asc
Description: PGP signature