rsync/rsync.git
14 years agoAnother xattr "internal abbrev" fix for an xattr object that is
Wayne Davison [Sun, 13 Jan 2008 05:41:21 +0000 (21:41 -0800)]
Another xattr "internal abbrev" fix for an xattr object that is
shared by multiple files:  handle the case where one file has an
abbreviated item set correctly, but a following item does not.
Also extended testsuite/xattrs.test to verify that this works.

14 years agoPreparing for release of 3.0.0pre8
Wayne Davison [Sat, 12 Jan 2008 18:53:10 +0000 (10:53 -0800)]
Preparing for release of 3.0.0pre8

14 years ago- Make sure the Makefile is up-to-date before running "make gen".
Wayne Davison [Sat, 12 Jan 2008 18:20:25 +0000 (10:20 -0800)]
- Make sure the Makefile is up-to-date before running "make gen".
- The release-rsync script now creates the generated patches in a
  separate dir from the normal patches.

14 years agoFixed a bug with truncated xattr data requests when the receiver
Wayne Davison [Sat, 12 Jan 2008 17:14:56 +0000 (09:14 -0800)]
Fixed a bug with truncated xattr data requests when the receiver
needs to discard some of the items from the sender's list.

14 years agoIf "make gensend" fails, abort the script.
Wayne Davison [Fri, 11 Jan 2008 21:20:14 +0000 (13:20 -0800)]
If "make gensend" fails, abort the script.

14 years agoImproved check_for_finished_files() to be really, really sure
Wayne Davison [Fri, 11 Jan 2008 21:13:15 +0000 (13:13 -0800)]
Improved check_for_finished_files() to be really, really sure
that we've processed all the items on the hard-linked and redo
queues before we return.

14 years agoFixed a length problem parsing an arg of "./".
Wayne Davison [Wed, 9 Jan 2008 19:51:44 +0000 (11:51 -0800)]
Fixed a length problem parsing an arg of "./".

14 years agoDon't allow a slash to be specified in a module name.
Wayne Davison [Wed, 9 Jan 2008 16:59:02 +0000 (08:59 -0800)]
Don't allow a slash to be specified in a module name.
Document the module-name limitations in rsyncd.conf.yo.

14 years agoMade read_arg_from_pipe() handle EINTR.
Wayne Davison [Thu, 3 Jan 2008 01:20:44 +0000 (17:20 -0800)]
Made read_arg_from_pipe() handle EINTR.

14 years agoRebuild the Makefile when it is not up-to-date.
Wayne Davison [Tue, 1 Jan 2008 18:43:55 +0000 (10:43 -0800)]
Rebuild the Makefile when it is not up-to-date.

14 years agoRenamed mkrounding.c to rounding.c.
Wayne Davison [Tue, 1 Jan 2008 18:34:27 +0000 (10:34 -0800)]
Renamed mkrounding.c to rounding.c.

14 years agoChanged the creation of rounding.h to use a set of compile-time checks
Wayne Davison [Tue, 1 Jan 2008 18:27:19 +0000 (10:27 -0800)]
Changed the creation of rounding.h to use a set of compile-time checks
similar to how configure determines the size of variables.

14 years agoIf we're cross-compiling, tell the user to run mkrounding on the
Wayne Davison [Tue, 1 Jan 2008 16:59:26 +0000 (08:59 -0800)]
If we're cross-compiling, tell the user to run mkrounding on the
target machine to build the rounding.h file.

14 years agoSome minor tweaks:
Wayne Davison [Tue, 1 Jan 2008 04:27:40 +0000 (20:27 -0800)]
Some minor tweaks:
- Improved some comments in hlink.c.
- Changed "the" to "a" in rsyncd.conf.yo.
- Improved the PATCH.name filtering loop in patch-update.

14 years agoFixed a case where the receiver indicates a successful update when the
Wayne Davison [Mon, 31 Dec 2007 18:18:22 +0000 (10:18 -0800)]
Fixed a case where the receiver indicates a successful update when the
transfer succeeded, but the final rename failed.

14 years agoMade some user-/group-name pointers "const".
Wayne Davison [Sun, 30 Dec 2007 06:52:42 +0000 (22:52 -0800)]
Made some user-/group-name pointers "const".

14 years agoSome minor tweaking to name_to_uid() and name_to_gid().
Wayne Davison [Sun, 30 Dec 2007 06:52:04 +0000 (22:52 -0800)]
Some minor tweaking to name_to_uid() and name_to_gid().

14 years agoAdded check for libiconv_open when iconv_open isn't found.
Wayne Davison [Sat, 29 Dec 2007 17:53:37 +0000 (09:53 -0800)]
Added check for libiconv_open when iconv_open isn't found.

14 years agoAdded reconfigure target to re-run configure.
Wayne Davison [Sat, 29 Dec 2007 17:44:58 +0000 (09:44 -0800)]
Added reconfigure target to re-run configure.

14 years agoFixed Source URL and changed from ftp to http.
Wayne Davison [Wed, 19 Dec 2007 17:36:05 +0000 (09:36 -0800)]
Fixed Source URL and changed from ftp to http.

14 years agoImproved prepare-source to make it more flexible. The script now
Wayne Davison [Tue, 18 Dec 2007 07:09:35 +0000 (23:09 -0800)]
Improved prepare-source to make it more flexible.  The script now
lets the user choose which actions to perform and their order.

14 years agoFixed a FALL THROUGH comment.
Wayne Davison [Mon, 17 Dec 2007 01:51:36 +0000 (17:51 -0800)]
Fixed a FALL THROUGH comment.

14 years agoOnly ignore ENOSYS error from lutimes().
Wayne Davison [Mon, 17 Dec 2007 01:18:01 +0000 (17:18 -0800)]
Only ignore ENOSYS error from lutimes().

14 years agoAdded the 'h' option to the tar command that creates the patches
Wayne Davison [Sun, 16 Dec 2007 23:41:59 +0000 (15:41 -0800)]
Added the 'h' option to the tar command that creates the patches
tar file just in case the patches directory is a symlink.

14 years agoPreparing for release of 3.0.0pre7
Wayne Davison [Sun, 16 Dec 2007 23:09:43 +0000 (15:09 -0800)]
Preparing for release of 3.0.0pre7

14 years agoFixed extracting files from old tar file.
Wayne Davison [Sun, 16 Dec 2007 23:09:21 +0000 (15:09 -0800)]
Fixed extracting files from old tar file.

14 years agoMention 2 more changes in the NEWS.
Wayne Davison [Sun, 16 Dec 2007 23:03:50 +0000 (15:03 -0800)]
Mention 2 more changes in the NEWS.

14 years agoAdded a "fetchall" option.
Wayne Davison [Sun, 16 Dec 2007 23:02:42 +0000 (15:02 -0800)]
Added a "fetchall" option.

14 years agoFixed the check_filter() calls that might be checking an absolute path
Wayne Davison [Sun, 16 Dec 2007 22:16:37 +0000 (14:16 -0800)]
Fixed the check_filter() calls that might be checking an absolute path
in "use chroot = no" mode against a daemon's exclude restriction.

14 years agoMoved the dir_count increment into an even better spot and make sure that
Wayne Davison [Sun, 16 Dec 2007 22:14:35 +0000 (14:14 -0800)]
Moved the dir_count increment into an even better spot and make sure that
send_file_name() returned a non-NULL pointer before doing any DOT_NAME
processing in inc_recurse mode.

14 years agoFixed a potential memory leak in make_file().
Wayne Davison [Sat, 15 Dec 2007 19:57:34 +0000 (11:57 -0800)]
Fixed a potential memory leak in make_file().

14 years agoRefer to delta-transfer algorithm rather than rsync algorithm.
Wayne Davison [Sat, 15 Dec 2007 16:35:45 +0000 (08:35 -0800)]
Refer to delta-transfer algorithm rather than rsync algorithm.

14 years agoCheck on the alternate destination dirs and report any problems.
Wayne Davison [Sat, 15 Dec 2007 16:13:06 +0000 (08:13 -0800)]
Check on the alternate destination dirs and report any problems.

14 years agoMake push_dir() output where we are when verbosity is high.
Wayne Davison [Sat, 15 Dec 2007 15:39:33 +0000 (07:39 -0800)]
Make push_dir() output where we are when verbosity is high.

14 years agoMove incrementing of dir_count so that it can't get incremented
Wayne Davison [Thu, 13 Dec 2007 15:00:38 +0000 (07:00 -0800)]
Move incrementing of dir_count so that it can't get incremented
for a directory that isn't going to be included in the transfer.

14 years agoUpdated indexing for accurate progress and improved raw ndx values.
Wayne Davison [Sat, 8 Dec 2007 19:39:03 +0000 (11:39 -0800)]
Updated indexing for accurate progress and improved raw ndx values.
The sending side now has a sorted file-list in iconv mode so that it
can output progress in sorted order.  Simplified the over-the-wire
index values to ensure both sides will always agree on the values.
Optimized the allocation of the dir_flist->sorted array on the
receiving side with --iconv and incremental recursion.

14 years agoA few more additions of $(srcdir) to Makefile.in.
Wayne Davison [Sat, 1 Dec 2007 03:08:54 +0000 (19:08 -0800)]
A few more additions of $(srcdir) to Makefile.in.

14 years agoFixed a build problem for those building in a different dir from
Wayne Davison [Sat, 1 Dec 2007 03:02:50 +0000 (19:02 -0800)]
Fixed a build problem for those building in a different dir from
the srcdir.  Also got rid of "cd" code in configure stub.

14 years agoReorganize the build-farm "prepare-source" magic a little.
Wayne Davison [Sat, 1 Dec 2007 02:01:18 +0000 (18:01 -0800)]
Reorganize the build-farm "prepare-source" magic a little.
This makes it easier for a user to request a copy of the
configure scripts via rsync ("./prepare-source fetch").

14 years agoImproved header-file dependency rules even more.
Wayne Davison [Fri, 30 Nov 2007 15:42:47 +0000 (07:42 -0800)]
Improved header-file dependency rules even more.

14 years agoMake sure that the test programs get rebuilt when a header
Wayne Davison [Fri, 30 Nov 2007 07:44:40 +0000 (23:44 -0800)]
Make sure that the test programs get rebuilt when a header
file changes.

14 years agoOne build-farm system needs to fetch the proto.h* files too.
Wayne Davison [Fri, 30 Nov 2007 07:21:51 +0000 (23:21 -0800)]
One build-farm system needs to fetch the proto.h* files too.

14 years agoSimplified the time_t overflow check and moved an extra_len rounding
Wayne Davison [Fri, 30 Nov 2007 06:52:20 +0000 (22:52 -0800)]
Simplified the time_t overflow check and moved an extra_len rounding
check into the right spot in recv_file_entry().

14 years agoMake sure that the inc_recurse value is always set to
Wayne Davison [Fri, 30 Nov 2007 06:46:43 +0000 (22:46 -0800)]
Make sure that the inc_recurse value is always set to
either 0 or 1.

14 years agoGet rid of some compiler warnings in the AIX sysacls code.
Wayne Davison [Fri, 30 Nov 2007 01:12:54 +0000 (17:12 -0800)]
Get rid of some compiler warnings in the AIX sysacls code.

14 years agoDon't try to process hard-link data in list-only mode.
Wayne Davison [Thu, 29 Nov 2007 18:27:16 +0000 (10:27 -0800)]
Don't try to process hard-link data in list-only mode.

14 years agoRevised release-rsync and nightly-rsync code to create a tar files
Wayne Davison [Wed, 28 Nov 2007 19:52:16 +0000 (11:52 -0800)]
Revised release-rsync and nightly-rsync code to create a tar files
with the right timestamps.

14 years agoPreparing for release of 3.0.0pre6
Wayne Davison [Wed, 28 Nov 2007 09:00:37 +0000 (01:00 -0800)]
Preparing for release of 3.0.0pre6

14 years agoFixed a problem with extracting the previous release's
Wayne Davison [Wed, 28 Nov 2007 08:57:23 +0000 (00:57 -0800)]
Fixed a problem with extracting the previous release's
generated files (used to create the release diff).

14 years agoMentioned the latest changes in the NEWS.
Wayne Davison [Wed, 28 Nov 2007 08:40:34 +0000 (00:40 -0800)]
Mentioned the latest changes in the NEWS.

14 years agoSwitching over to a dynamic hash method for really large files.
Wayne Davison [Wed, 28 Nov 2007 08:39:02 +0000 (00:39 -0800)]
Switching over to a dynamic hash method for really large files.
This code has been reported to be better for large files than the
file-chunking code that was included in pre3.

14 years agoAdding --contimeout=SECONDS option.
Wayne Davison [Wed, 28 Nov 2007 08:28:26 +0000 (00:28 -0800)]
Adding --contimeout=SECONDS option.

14 years agoDon't use git-FOO command to call git sub-commands.
Wayne Davison [Tue, 27 Nov 2007 23:53:43 +0000 (15:53 -0800)]
Don't use git-FOO command to call git sub-commands.

14 years agoWhen the new "munge symlinks" option is off, a non-chroot
Wayne Davison [Tue, 27 Nov 2007 21:11:08 +0000 (13:11 -0800)]
When the new "munge symlinks" option is off, a non-chroot
daemon should sanitize its symlinks, as it used to do.

14 years agoAdd a new daemon security option: "munge symlinks".
Wayne Davison [Tue, 27 Nov 2007 05:58:19 +0000 (21:58 -0800)]
Add a new daemon security option:  "munge symlinks".

14 years agoUse a non-printing command for proto.h's build-rule.
Wayne Davison [Sun, 25 Nov 2007 23:12:06 +0000 (15:12 -0800)]
Use a non-printing command for proto.h's build-rule.

14 years agoGive proto.h a build rule so that make re-checks its timestamp.
Wayne Davison [Sun, 25 Nov 2007 23:03:19 +0000 (15:03 -0800)]
Give proto.h a build rule so that make re-checks its timestamp.

14 years agoReturn to the master branch at the end.
Wayne Davison [Sun, 25 Nov 2007 22:46:33 +0000 (14:46 -0800)]
Return to the master branch at the end.

14 years agoModified the discovery of the generated files & use "make gen".
Wayne Davison [Sun, 25 Nov 2007 22:36:30 +0000 (14:36 -0800)]
Modified the discovery of the generated files & use "make gen".

14 years agoRe-run autoconf and autoheader, as needed.
Wayne Davison [Sun, 25 Nov 2007 22:08:19 +0000 (14:08 -0800)]
Re-run autoconf and autoheader, as needed.

14 years agoWe now call set_stat_xattr() before set_xattr().
Wayne Davison [Sun, 25 Nov 2007 21:49:41 +0000 (13:49 -0800)]
We now call set_stat_xattr() before set_xattr().

14 years agoVarious xattr fixes:
Wayne Davison [Sun, 25 Nov 2007 21:48:54 +0000 (13:48 -0800)]
Various xattr fixes:
- Fake-super mode no longer strips the RSYNC_PREFIX from a "%name" item.
- Make various places skip the fake-super xattr when --fake-super is enabled.
- If we fail to re-read the xattr value of an xattr we are trying to un-
  abbreviate, send a zero for its length (avoiding a protocol problem).

14 years agoImproved proto.h-tstamp handling, including cleanup.
Wayne Davison [Sat, 24 Nov 2007 19:50:41 +0000 (11:50 -0800)]
Improved proto.h-tstamp handling, including cleanup.

14 years agoMade the (re-)building of the proto.h file automatic in the
Wayne Davison [Sat, 24 Nov 2007 18:54:35 +0000 (10:54 -0800)]
Made the (re-)building of the proto.h file automatic in the
main Makefile rules, and the (re-)building of the man pages
automatic if yodl2man is present.

14 years agoFixed a problem with --fake-super not getting the fully tweaked new_mode
Wayne Davison [Sat, 24 Nov 2007 18:50:45 +0000 (10:50 -0800)]
Fixed a problem with --fake-super not getting the fully tweaked new_mode
value.  Also fixed the removal of rsync-internal xattr values on the
destination files when we aren't copying rsync-internal xattr values.

14 years agoA daemon needs to set dry_run with --only-write-batch.
Wayne Davison [Thu, 22 Nov 2007 19:19:34 +0000 (11:19 -0800)]
A daemon needs to set dry_run with --only-write-batch.

14 years agoNew logging categories added to allow differentiation between
Wayne Davison [Thu, 22 Nov 2007 17:56:21 +0000 (09:56 -0800)]
New logging categories added to allow differentiation between
transfer errors, normal errors, and warnings.  New messages are
translated into old FERROR/FINFO categories for older protocols.

14 years agoUse FLOG instead of FERROR for config errors.
Wayne Davison [Thu, 22 Nov 2007 17:51:21 +0000 (09:51 -0800)]
Use FLOG instead of FERROR for config errors.

14 years agoFix two iconv problems that Lennart Lövstrand pointed out in bug 5075.
Wayne Davison [Thu, 22 Nov 2007 15:57:03 +0000 (07:57 -0800)]
Fix two iconv problems that Lennart L√∂vstrand pointed out in bug 5075.

14 years agoDon't try to delete when list_only is set.
Wayne Davison [Wed, 21 Nov 2007 15:09:26 +0000 (07:09 -0800)]
Don't try to delete when list_only is set.

14 years agoGot rid of the unused symlink parameter to sanitize_path().
Wayne Davison [Wed, 21 Nov 2007 01:37:53 +0000 (17:37 -0800)]
Got rid of the unused symlink parameter to sanitize_path().

14 years agoMake sure that a failure to build configure.sh or config.h.in
Wayne Davison [Wed, 21 Nov 2007 01:22:47 +0000 (17:22 -0800)]
Make sure that a failure to build configure.sh or config.h.in
doesn't leave a file lying around that could deceive us on the
next run.

14 years agoOnly allow the build farm to rsync the latest generated
Wayne Davison [Tue, 20 Nov 2007 16:40:15 +0000 (08:40 -0800)]
Only allow the build farm to rsync the latest generated
configure files when building them fails.

14 years agoMade some code that handles hard-linking of symlinks be
Wayne Davison [Mon, 19 Nov 2007 01:54:35 +0000 (17:54 -0800)]
Made some code that handles hard-linking of symlinks be
omitted if symlinks can't be hard-linked.

14 years agoAdding a support script that can be used to make the checked-out
Wayne Davison [Sat, 17 Nov 2007 18:29:13 +0000 (10:29 -0800)]
Adding a support script that can be used to make the checked-out
file-times of an initial clone nicer.

14 years agoImproved F_RDEV_P() define to use DEV_EXTRA_CNT count.
Wayne Davison [Sat, 17 Nov 2007 18:26:46 +0000 (10:26 -0800)]
Improved F_RDEV_P() define to use DEV_EXTRA_CNT count.

14 years agoMake sure we process a parent patch before a dependent patch.
Wayne Davison [Fri, 16 Nov 2007 15:22:02 +0000 (07:22 -0800)]
Make sure we process a parent patch before a dependent patch.

14 years agoA couple minor improvments to the tar-creation code.
Wayne Davison [Thu, 15 Nov 2007 22:05:09 +0000 (14:05 -0800)]
A couple minor improvments to the tar-creation code.

14 years agoUpdated to work with git instead of cvs.
Wayne Davison [Thu, 15 Nov 2007 15:48:13 +0000 (07:48 -0800)]
Updated to work with git instead of cvs.

14 years agoHandle new PATCH-$name files, improved $last_touch code,
Wayne Davison [Mon, 12 Nov 2007 23:10:52 +0000 (15:10 -0800)]
Handle new PATCH-$name files, improved $last_touch code,
fixed handling of dependent patches.

14 years agoGetting rid of all .cvsignore files.
Wayne Davison [Mon, 12 Nov 2007 21:32:10 +0000 (13:32 -0800)]
Getting rid of all .cvsignore files.

14 years agoMention the change for protocol 30.
Wayne Davison [Mon, 12 Nov 2007 15:12:48 +0000 (07:12 -0800)]
Mention the change for protocol 30.

14 years agoExit if something goes wrong with commit or tag.
Wayne Davison [Mon, 12 Nov 2007 14:44:16 +0000 (06:44 -0800)]
Exit if something goes wrong with commit or tag.

14 years agoMake sure that time has progressed when we need change branches
Wayne Davison [Mon, 12 Nov 2007 14:30:24 +0000 (06:30 -0800)]
Make sure that time has progressed when we need change branches
in order to run prepare-source.

14 years agoIf we start a sub-shell to let the user fix a rebase, output a
Wayne Davison [Mon, 12 Nov 2007 08:13:52 +0000 (00:13 -0800)]
If we start a sub-shell to let the user fix a rebase, output a
message and change the prompt.

14 years agoUpdated to work with latest git repository and to package
Wayne Davison [Mon, 12 Nov 2007 07:58:01 +0000 (23:58 -0800)]
Updated to work with latest git repository and to package
the patches directory in a separate tar file.

14 years agoThis script transforms one or more patch/* branches into
Wayne Davison [Mon, 12 Nov 2007 07:15:40 +0000 (23:15 -0800)]
This script transforms one or more patch/* branches into
one or more patches/*.diff files.

14 years agoIgnore a couple more items.
Wayne Davison [Mon, 12 Nov 2007 06:52:25 +0000 (22:52 -0800)]
Ignore a couple more items.

14 years agoIncluding my extern-squishing script, which just found an
Wayne Davison [Mon, 12 Nov 2007 06:51:50 +0000 (22:51 -0800)]
Including my extern-squishing script, which just found an
extraneous extern in exclude.c.

14 years agoThis helper script exists to create the generated files that are needed
Wayne Davison [Sat, 10 Nov 2007 05:37:01 +0000 (21:37 -0800)]
This helper script exists to create the generated files that are needed
for a build.  It pretends to be a configure script so that the build
steps are still the normal sequence of ./configure, make, make install
(which is particularly helpful with the samba build farm).  Once the
generated files are ready, the configure.sh script is called to do the
real configure work.

14 years agoSwitched prototype generation from awk to perl.
Wayne Davison [Fri, 9 Nov 2007 22:57:14 +0000 (22:57 +0000)]
Switched prototype generation from awk to perl.

14 years agoIgnore generated files and dirs.
Wayne Davison [Fri, 9 Nov 2007 19:55:00 +0000 (19:55 +0000)]
Ignore generated files and dirs.

14 years agoTweaked gensend to upload man pages too.
Wayne Davison [Fri, 9 Nov 2007 19:31:20 +0000 (19:31 +0000)]
Tweaked gensend to upload man pages too.

14 years agoInclude the arg name for the lp_*() funtions.
Wayne Davison [Fri, 9 Nov 2007 19:28:27 +0000 (19:28 +0000)]
Include the arg name for the lp_*() funtions.

14 years agoSimplified script even more for HP-UX.
Wayne Davison [Fri, 9 Nov 2007 19:14:51 +0000 (19:14 +0000)]
Simplified script even more for HP-UX.

14 years agoUse older open() style for compatibility with older perl versions.
Wayne Davison [Fri, 9 Nov 2007 18:15:52 +0000 (18:15 +0000)]
Use older open() style for compatibility with older perl versions.

14 years agoImproved the manpage install rules.
Wayne Davison [Fri, 9 Nov 2007 18:12:40 +0000 (18:12 +0000)]
Improved the manpage install rules.

14 years agoDon't fail the install if the man pages aren't there.
Wayne Davison [Fri, 9 Nov 2007 18:04:50 +0000 (18:04 +0000)]
Don't fail the install if the man pages aren't there.

14 years agoClean generated files for distclean.
Wayne Davison [Fri, 9 Nov 2007 17:56:00 +0000 (17:56 +0000)]
Clean generated files for distclean.

14 years agoAdded gensend target.
Wayne Davison [Fri, 9 Nov 2007 17:50:10 +0000 (17:50 +0000)]
Added gensend target.