Wayne Davison [Tue, 20 Feb 2007 05:35:43 +0000 (05:35 +0000)]
Fixed failing hunks.
Wayne Davison [Sat, 3 Feb 2007 05:47:37 +0000 (05:47 +0000)]
Fixed a failing hunk.
Wayne Davison [Tue, 30 Jan 2007 04:07:41 +0000 (04:07 +0000)]
Fixed failing hunks.
Wayne Davison [Sat, 27 Jan 2007 15:01:01 +0000 (15:01 +0000)]
Fixed failing hunks.
Wayne Davison [Sun, 21 Jan 2007 05:29:19 +0000 (05:29 +0000)]
Fixed some patch fuzz.
Wayne Davison [Sun, 21 Jan 2007 05:28:57 +0000 (05:28 +0000)]
Restored a "return;" at the end of a void function that is actually
needed to allow the user to disable ACL support.
Wayne Davison [Sun, 21 Jan 2007 04:55:07 +0000 (04:55 +0000)]
Applied Matt's fix for a misplaced hunk.
Wayne Davison [Thu, 28 Dec 2006 16:11:25 +0000 (16:11 +0000)]
Updated to apply cleanly.
Wayne Davison [Thu, 28 Dec 2006 16:06:41 +0000 (16:06 +0000)]
Updated to apply to latest source.
Wayne Davison [Thu, 28 Dec 2006 16:06:23 +0000 (16:06 +0000)]
- Updated to apply to latest source.
- Use ACL-compatibility mode when talking protocol_version < 30.
Wayne Davison [Wed, 27 Dec 2006 18:01:25 +0000 (18:01 +0000)]
- Make sure that our patched files can end up with the same mtime as
a file patched by a dependency.
- Use --del instead of --delete when running rsync.
Wayne Davison [Wed, 27 Dec 2006 07:28:22 +0000 (07:28 +0000)]
Fixed some patch fuzz.
Wayne Davison [Wed, 27 Dec 2006 07:26:16 +0000 (07:26 +0000)]
Fixed failing hunks.
Wayne Davison [Mon, 18 Dec 2006 07:38:15 +0000 (07:38 +0000)]
Adding the manpage writeup from Matt.
Wayne Davison [Mon, 18 Dec 2006 07:30:55 +0000 (07:30 +0000)]
Fixed failing hunks.
Wayne Davison [Sun, 17 Dec 2006 02:36:00 +0000 (02:36 +0000)]
Fixed a compilation problem.
Wayne Davison [Sun, 17 Dec 2006 02:29:19 +0000 (02:29 +0000)]
Updated to work once more (using the new file_struct idioms).
Wayne Davison [Sun, 17 Dec 2006 01:34:26 +0000 (01:34 +0000)]
Fixed a compilation error that crept into the code.
Wayne Davison [Sun, 17 Dec 2006 01:32:37 +0000 (01:32 +0000)]
Fixed some compilation errors that crept into the code.
Wayne Davison [Sun, 17 Dec 2006 01:04:09 +0000 (01:04 +0000)]
Fixed failing hunks.
Wayne Davison [Sat, 16 Dec 2006 19:30:11 +0000 (19:30 +0000)]
Fixing failing hunks.
Wayne Davison [Sat, 16 Dec 2006 07:26:32 +0000 (07:26 +0000)]
Update the man page concerning the current ACL compatibility support.
Wayne Davison [Fri, 15 Dec 2006 23:05:02 +0000 (23:05 +0000)]
Fixed failing hunks.
Wayne Davison [Fri, 15 Dec 2006 03:14:31 +0000 (03:14 +0000)]
Removing this patch for now, as I'm not considering using threads
to replace the two receiver-side processes at the moment.
Wayne Davison [Fri, 15 Dec 2006 03:12:59 +0000 (03:12 +0000)]
Fixed a failing hunk.
Wayne Davison [Tue, 12 Dec 2006 20:25:19 +0000 (20:25 +0000)]
Fixed failing hunks.
Wayne Davison [Sat, 9 Dec 2006 17:40:17 +0000 (17:40 +0000)]
Got rid of some commented-out code.
Wayne Davison [Sat, 9 Dec 2006 02:05:16 +0000 (02:05 +0000)]
Got rid of some patch fuzz.
Wayne Davison [Sat, 9 Dec 2006 02:03:39 +0000 (02:03 +0000)]
Fixed failing hunks.
Wayne Davison [Fri, 8 Dec 2006 23:59:17 +0000 (23:59 +0000)]
Fixed failing hunks.
Wayne Davison [Fri, 8 Dec 2006 23:58:59 +0000 (23:58 +0000)]
Fixed patch to work with --delete-delay.
Wayne Davison [Thu, 7 Dec 2006 04:43:43 +0000 (04:43 +0000)]
Fixed a couple compile glitches.
Wayne Davison [Thu, 7 Dec 2006 04:40:03 +0000 (04:40 +0000)]
Updated to work with new rsync.h defines.
Wayne Davison [Thu, 7 Dec 2006 04:32:04 +0000 (04:32 +0000)]
Fixed failing hunks.
Wayne Davison [Thu, 7 Dec 2006 04:08:04 +0000 (04:08 +0000)]
Fixed failing hunks.
Wayne Davison [Tue, 5 Dec 2006 18:32:37 +0000 (18:32 +0000)]
Fixed failing hunks.
Wayne Davison [Mon, 4 Dec 2006 03:30:35 +0000 (03:30 +0000)]
Decided against this patch.
Wayne Davison [Mon, 4 Dec 2006 03:27:41 +0000 (03:27 +0000)]
Fixed failing hunks.
Wayne Davison [Sun, 3 Dec 2006 09:35:26 +0000 (09:35 +0000)]
Fixed failing hunks.
Wayne Davison [Sun, 3 Dec 2006 09:34:29 +0000 (09:34 +0000)]
- Added a lock file.
- Check that the generated files handled by prepare_source have
their date values set right after a CVS checkout.
Wayne Davison [Fri, 1 Dec 2006 18:39:13 +0000 (18:39 +0000)]
Fixed failing hunks and added preallocate.diff.
Wayne Davison [Sat, 25 Nov 2006 02:49:13 +0000 (02:49 +0000)]
Matt added "const" to a couple char pointers.
Wayne Davison [Fri, 24 Nov 2006 08:41:23 +0000 (08:41 +0000)]
Fixed failing hunks.
Wayne Davison [Thu, 23 Nov 2006 04:07:50 +0000 (04:07 +0000)]
Fixed failing hunks.
Wayne Davison [Tue, 21 Nov 2006 08:52:10 +0000 (08:52 +0000)]
Fixed failing hunks.
Wayne Davison [Sun, 19 Nov 2006 05:56:21 +0000 (05:56 +0000)]
Fixed failing hunks.
Wayne Davison [Tue, 14 Nov 2006 08:37:29 +0000 (08:37 +0000)]
Simplified the patch a bit.
Wayne Davison [Sat, 11 Nov 2006 17:32:27 +0000 (17:32 +0000)]
Fixed failing hunks.
Wayne Davison [Sat, 11 Nov 2006 07:58:28 +0000 (07:58 +0000)]
Added missing no-delete check.
Wayne Davison [Sat, 11 Nov 2006 07:45:25 +0000 (07:45 +0000)]
Fixed failing hunks.
Wayne Davison [Fri, 10 Nov 2006 20:41:43 +0000 (20:41 +0000)]
Fixed some patch fuzz.
Wayne Davison [Fri, 10 Nov 2006 20:40:55 +0000 (20:40 +0000)]
Fixed failing hunks.
Wayne Davison [Fri, 10 Nov 2006 20:34:48 +0000 (20:34 +0000)]
Fixed the combining of --delete with --xattrs.
Wayne Davison [Fri, 10 Nov 2006 15:29:19 +0000 (15:29 +0000)]
Fixed the combination of --acls with --delete-*.
Wayne Davison [Fri, 10 Nov 2006 07:40:36 +0000 (07:40 +0000)]
Fixed failing hunks.
Wayne Davison [Fri, 10 Nov 2006 05:58:10 +0000 (05:58 +0000)]
Use the new isDigit() function.
Wayne Davison [Fri, 10 Nov 2006 05:57:10 +0000 (05:57 +0000)]
Fixed failing hunks.
Wayne Davison [Thu, 9 Nov 2006 02:50:26 +0000 (02:50 +0000)]
Fixed failing hunk.
Wayne Davison [Tue, 7 Nov 2006 04:37:59 +0000 (04:37 +0000)]
- Fixed the setting of extra_len in receive_xattr().
- Fixed name_len in Linux code when prepending "user.rsync.".
- Got rid of CENT_POS to make use of RPRE_LEN consistent.
Wayne Davison [Tue, 7 Nov 2006 04:35:23 +0000 (04:35 +0000)]
Fixed the setting of extra_len in receive_xattr().
Wayne Davison [Sun, 5 Nov 2006 06:20:49 +0000 (06:20 +0000)]
Make sure that any weird mode bits (if they exist up beyond the
format bits) can't cause problems for the mode comparisons in
set_stat_xattr().
Wayne Davison [Sat, 4 Nov 2006 18:18:58 +0000 (18:18 +0000)]
Tweaked the increment style of a "for" loop.
Wayne Davison [Sat, 4 Nov 2006 18:05:27 +0000 (18:05 +0000)]
Moved the %-name preserving code into the regular xattr patch.
Wayne Davison [Sat, 4 Nov 2006 18:01:30 +0000 (18:01 +0000)]
The non-linux version should not strip the "" prefix from any
name that starts with a '%'. This makes all xattr-enabled rsync
versions compatible with xattrs generated by a fake-super enabled
version, and supports any future %-names that we might want to put
in this hierarchy.
Wayne Davison [Sat, 4 Nov 2006 17:49:56 +0000 (17:49 +0000)]
- The non-Linux version now preserves the user namespace on our
rsync.%stat xattr when transferring it with -X and without
--fake-super.
- A change in the xattr patch fixed a bug in a "for" loop when
we need to tweak a name that is losing our user.rsync prefix.
Wayne Davison [Sat, 4 Nov 2006 17:40:52 +0000 (17:40 +0000)]
- Improved the error messages.
- Tweaked a "for" loop for the fake-super patch's sake.
Wayne Davison [Sat, 4 Nov 2006 16:04:10 +0000 (16:04 +0000)]
Simplified the prefix defines and made to work with the latest
xattr patch.
Wayne Davison [Sat, 4 Nov 2006 15:49:10 +0000 (15:49 +0000)]
The non-Linux version should also discard non-user-space attrs
when not running as root (for consistency).
Wayne Davison [Sat, 4 Nov 2006 08:14:39 +0000 (08:14 +0000)]
Fixed length check when excluding XSTAT_ATTR.
Wayne Davison [Sat, 4 Nov 2006 07:36:03 +0000 (07:36 +0000)]
Fixed the value of CENT_POS for non-Linux systems.
Wayne Davison [Sat, 4 Nov 2006 07:35:13 +0000 (07:35 +0000)]
Must bump the value of name_len when adding the rsync prefix.
Wayne Davison [Sat, 4 Nov 2006 00:31:41 +0000 (00:31 +0000)]
- We save our extended stat attributes using the name
rsync.%stat now. This keeps all our attriubutes in the
rsync hierarchy, and the name should avoid a conflict with
any namespace values that we might alias.
- If a Linux receiver is not running as root, it discards any
non-user namespaces. If it is running as fake-root, the non-
user namespaces are stored in the rsync hierarchy.
Wayne Davison [Sat, 4 Nov 2006 00:24:24 +0000 (00:24 +0000)]
- Changed the xattr namespaces check to filter out system xattrs
instead of looking for specific namespace prefixes. This will
ensure that we send a namespace such as "security".
- Changed the positions of the xattr name & datum in the combined
buffer so that we can change the name pointer without affecting
the base pointer of the buffer (which needs to be unchanged so
that we can free it).
- If a non-Linux system gets a non-user namespace, we now store
namespace FOO as rsync.FOO. This allows us to strip the rsync
prefix when sending the values back.
- Fixed a memory leak when handling an error.
- Improved some of the variable names.
Wayne Davison [Fri, 3 Nov 2006 07:59:02 +0000 (07:59 +0000)]
Fixed a compile problem in the non-Linux code.
Wayne Davison [Thu, 2 Nov 2006 17:31:08 +0000 (17:31 +0000)]
Namespace improvements.
Wayne Davison [Thu, 2 Nov 2006 00:40:11 +0000 (00:40 +0000)]
Fixed to work with the latest xattr.diff.
Wayne Davison [Thu, 2 Nov 2006 00:31:09 +0000 (00:31 +0000)]
Preliminary xattr support for FreeBSD supplied by Wesley W. Terpstra
(with an extra fix by me). Untested, but looks promising.
Wayne Davison [Wed, 1 Nov 2006 21:33:37 +0000 (21:33 +0000)]
We now look for extra "patch -p1 <patches/FOO" commands instead
of looking for "Depends-On-Patch: FOO" lines.
Wayne Davison [Wed, 1 Nov 2006 21:33:37 +0000 (21:33 +0000)]
Updated the opening comments to mention how to apply the patch
prior to the build. Also updated to apply cleanly.
Wayne Davison [Mon, 30 Oct 2006 20:19:17 +0000 (20:19 +0000)]
Got rid of a superfluous extern.
Wayne Davison [Mon, 30 Oct 2006 20:17:02 +0000 (20:17 +0000)]
Got rid of superfluous externs.
Wayne Davison [Mon, 30 Oct 2006 19:36:21 +0000 (19:36 +0000)]
Got rid of a comment on an #endif.
Wayne Davison [Mon, 30 Oct 2006 15:59:50 +0000 (15:59 +0000)]
- Tweaked the opening comments.
- The change in receiver.c to the do_fstat() call isn't really needed.
Wayne Davison [Mon, 30 Oct 2006 06:41:50 +0000 (06:41 +0000)]
- Make sure we don't write out any extraneous mode bits as part of
the stat-xattr value.
- Complain if somone uses --fake-super in a patch rsync that was
compiled without xattr support.
- Don't try to read the stat-xattr value from a device/special file
(since such a combination can never be created by the code).
- Improved the --fake-super man section.
- Got rid of the change to generator.c (since it is not specific to
this patch, it needs to be considered separately).
Wayne Davison [Sat, 28 Oct 2006 21:09:02 +0000 (21:09 +0000)]
- Really fixed the ability to configure without xattr support.
- Support the new, less-wide --version output.
Wayne Davison [Sat, 28 Oct 2006 21:08:02 +0000 (21:08 +0000)]
- Improved the build when ACL support is disabled.
- Make the output of "rsync --version" less wide.
Wayne Davison [Sat, 28 Oct 2006 21:06:21 +0000 (21:06 +0000)]
- Put the config.cache file in the parent dir of the workdir so that
it can be reused across patches.
- Added a "patches" symlink so that the patches/tmp dir can be moved
do a different disk, replaced by a symlink, and the the tmp dir can
still find the place where the patch files live.
Wayne Davison [Sat, 28 Oct 2006 20:16:59 +0000 (20:16 +0000)]
Fixed a typo in configure.in that always enabled xattr support.
Wayne Davison [Sat, 28 Oct 2006 20:08:03 +0000 (20:08 +0000)]
- Improved the error handling.
- We will now affect symlinks if it's possible.
- The owner of a symlink without a stat-xattr defaults to 0:0.
- Improved the code to work properly without --fake-super.
- Fixed the code to compile without xattrs enabled.
Wayne Davison [Sat, 28 Oct 2006 19:16:05 +0000 (19:16 +0000)]
- Make sure that we don't write an ACL in read-only or list-only modes.
- Check for acl/libacl.h and include it if found.
Wayne Davison [Sat, 28 Oct 2006 19:04:12 +0000 (19:04 +0000)]
Make sure we don't write any xattrs in read-only or list-only mode.
Wayne Davison [Sat, 28 Oct 2006 06:26:40 +0000 (06:26 +0000)]
- I decided that we should leave as much of the real mode attached
to the real file as we can.
- Added the --fake-super option to the rsync.yo manpage.
- Added the "fake super" setting to the rsyncd.conf.yo manpage.
Wayne Davison [Sat, 28 Oct 2006 00:20:00 +0000 (00:20 +0000)]
Changed the unique_prefix and upre_len vars into defines.
Wayne Davison [Fri, 27 Oct 2006 23:50:29 +0000 (23:50 +0000)]
One more fix to get the consistent-chmod value right.
Wayne Davison [Fri, 27 Oct 2006 22:54:24 +0000 (22:54 +0000)]
Fixed the code that maintains the files with a consistent mode (so
that the owner can always read/write files and scan directories).
Wayne Davison [Fri, 27 Oct 2006 22:10:55 +0000 (22:10 +0000)]
Changed the way the fake xattr-stat data gets read. The do_stat()
functions are no longer modified, but instead new x_stat() functions
have been added that return both stat() and xattr-stat data, either
merged into one stat struct or in separate stat structs.
Wayne Davison [Fri, 27 Oct 2006 22:07:04 +0000 (22:07 +0000)]
Fixed a problem with the new fgetxattr() stubs.
Wayne Davison [Fri, 27 Oct 2006 21:11:41 +0000 (21:11 +0000)]
Added sys_fgetxattr().
Wayne Davison [Fri, 27 Oct 2006 15:21:22 +0000 (15:21 +0000)]
- Fixed a problem with the sscanf() count (now 5, not 4).
- Make sure we only create an xattr stat value when we need it
and we delete it when it's not needed.
Wayne Davison [Fri, 27 Oct 2006 08:24:58 +0000 (08:24 +0000)]
Split the major & minor device numbers.