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:
http://cygwin.com/#beta-test

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.
http://thread.gmane.org/gmane.os.cygwin/110581

--- origsrc/rsync-3.0.6/configure.in    2009-05-08 19:07:14.000000000 +0200
+++ src/rsync-3.0.6/configure.in        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
+yes
+#endif],
+                               [ipv6type=$i;
+                               AC_DEFINE(INET6, 1, [true if you have IPv6])
+                               ])
+                       ;;
                inria)
                        # http://www.kame.net/
                        AC_EGREP_CPP(yes, [
@@ -940,7 +950,7 @@ if test x"$enable_xattr_support" = x"no"
     AC_MSG_RESULT(no)
 else
     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])
        AC_DEFINE(SUPPORT_XATTRS, 1)

-- 
Lapo Luchini - http://lapo.it/

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to