After applying this patch, run these commands for a successful build:
autoconf
- automake
+ autoheader
./configure --with-acl-support
make proto
make
---- orig/Makefile.in 2004-08-09 21:07:09
+--- orig/Makefile.in 2004-08-13 07:18:58
+++ Makefile.in 2004-07-03 20:11:58
@@ -25,7 +25,7 @@ VERSION=@VERSION@
.SUFFIXES:
free(file);
if (verbose > 1)
---- orig/configure.in 2004-08-02 21:56:58
+--- orig/configure.in 2004-08-13 07:18:59
+++ configure.in 2004-07-03 20:11:58
@@ -434,6 +434,11 @@ if test x"$ac_cv_func_strcasecmp" = x"no
AC_CHECK_LIB(resolv, strcasecmp)
AC_CONFIG_FILES([Makefile lib/dummy zlib/dummy popt/dummy shconfig])
AC_OUTPUT
---- orig/flist.c 2004-08-11 23:42:23
+--- orig/flist.c 2004-08-12 18:34:38
+++ flist.c 2004-07-03 20:11:58
@@ -944,6 +944,8 @@ void send_file_name(int f, struct file_l
next;
}
---- orig/options.c 2004-08-11 23:42:23
-+++ options.c 2004-07-15 16:53:42
+--- orig/options.c 2004-08-12 18:34:38
++++ options.c 2004-08-19 16:58:00
@@ -43,6 +43,7 @@ int keep_dirlinks = 0;
int copy_links = 0;
int preserve_links = 0;
{"owner", 'o', POPT_ARG_NONE, &preserve_uid, 0, 0, 0 },
{"group", 'g', POPT_ARG_NONE, &preserve_gid, 0, 0, 0 },
{"devices", 'D', POPT_ARG_NONE, &preserve_devices, 0, 0, 0 },
-@@ -620,6 +628,31 @@ int parse_arguments(int *argc, const cha
+@@ -620,6 +628,24 @@ int parse_arguments(int *argc, const cha
return 0;
#endif
+ * restrict group and other access in the presence
+ * of any more restrictive ACLs, but this is safe
+ * for now */
-+ /* FIXME: Don't say "server" if this is
-+ * happening on the client. */
-+ /* FIXME: Why do we have the duplicated
-+ * rprintf? Everybody who gets this message
-+ * ought to send it to the client and also to
-+ * the logs. */
+ snprintf(err_buf,sizeof(err_buf),
+ "ACLs are not supported on this %s\n",
+ am_server ? "server" : "client");
-+ rprintf(FERROR,"ERROR: ACLs not supported on this platform\n");
+ return 0;
+#endif /* SUPPORT_ACLS */
+ break;
default:
/* A large opt value means that set_refuse_options()
* turned this option off (opt-BASE is its index). */
-@@ -932,6 +965,8 @@ void server_options(char **args,int *arg
+@@ -932,6 +958,8 @@ void server_options(char **args,int *arg
if (preserve_hard_links)
argstr[x++] = 'H';
#include "proto.h"
/* We have replacement versions of these if they're missing. */
---- orig/rsync.yo 2004-08-11 17:26:27
+--- orig/rsync.yo 2004-08-19 16:30:47
+++ rsync.yo 2004-07-03 20:11:58
-@@ -297,6 +297,7 @@ verb(
+@@ -326,6 +326,7 @@ verb(
--safe-links ignore "unsafe" symlinks
-H, --hard-links preserve hard links
-p, --perms preserve permissions
-o, --owner preserve owner (root only)
-g, --group preserve group
-D, --devices preserve devices (root only)
-@@ -549,6 +550,11 @@ source file's permissions and the umask
+@@ -578,6 +579,11 @@ source file's permissions and the umask
other files (including updated files) retain their existing permissions
(which is the same behavior as other file-copy utilities, such as cp).