rsync-3.0.6 on cygwin-1.7

Lapo Luchini lapo at
Thu Sep 17 23:55:52 MDT 2009

A new 3.0.6 package is now available on cygwin-1.7; I don't plan to
upgrade Cygwin-1.5 packages anymore, so if you want newer releases on
rsync please upgrade to 1.7, with proper care:

This release includes a small patch on rsync configure to detect IPv6
and xattr on Cygwin, please consider including them (or a modification
of them) upstream to help people have a full-featured rsync on cygwin
also when compiling it manually and not thru the cygport package.

xattr right now should work on SMB and will be fixed on NTFS very soon.
The xattrs test fails because Cygwin doesn't currently have a setfattr
utility, so right now the xattr feature is not thoroughly tested and is
considered experimental.

--- origsrc/rsync-3.0.6/    2009-05-08 19:07:14.000000000 +0200
+++ src/rsync-3.0.6/        2009-09-17 06:53:08.927125000 +0200
@@ -196,8 +196,18 @@ AC_ARG_ENABLE(ipv6,
                [don't even try to use IPv6]))
 if test x"$enable_ipv6" != x"no"; then
        AC_MSG_CHECKING([ipv6 stack type])
-       for i in inria kame linux-glibc linux-inet6 toshiba v6d zeta; do
+       for i in cygwin inria kame linux-glibc linux-inet6 toshiba v6d
zeta; do
                case $i in
+               cygwin)
+                       AC_EGREP_CPP(yes, [
+#include <netinet/in.h>
+#ifdef _CYGWIN_IN6_H
+                               [ipv6type=$i;
+                               AC_DEFINE(INET6, 1, [true if you have IPv6])
+                               ])
+                       ;;
                        AC_EGREP_CPP(yes, [
@@ -940,7 +950,7 @@ if test x"$enable_xattr_support" = x"no"
     case "$host_os" in
-    *linux*)
+    *linux* | *cygwin*)
        AC_MSG_RESULT(Using Linux xattrs)
        AC_DEFINE(HAVE_LINUX_XATTRS, 1, [True if you have Linux xattrs])

Lapo Luchini -

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 896 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the rsync mailing list