Wayne Davison [Thu, 28 Jul 2005 19:49:47 +0000 (19:49 +0000)]
Changed the version to 2.6.7cvs.
Wayne Davison [Thu, 28 Jul 2005 19:49:24 +0000 (19:49 +0000)]
Updated to reflect new 2.6.7cvs status.
Wayne Davison [Thu, 28 Jul 2005 18:17:56 +0000 (18:17 +0000)]
Removed a duplicated item.
Wayne Davison [Thu, 28 Jul 2005 17:42:56 +0000 (17:42 +0000)]
Mention the recent changes.
Wayne Davison [Thu, 28 Jul 2005 17:15:47 +0000 (17:15 +0000)]
If the user has specified "pre-xfer exec" or "post-xfer exec", run
the indicated command(s), each at the appropriate time.
Wayne Davison [Thu, 28 Jul 2005 17:15:44 +0000 (17:15 +0000)]
Added 2 new config options: "pre-xfer exec" and "post-xfer exec".
Wayne Davison [Thu, 28 Jul 2005 17:15:42 +0000 (17:15 +0000)]
Document the new pre-/post-xfer exec config options.
Wayne Davison [Thu, 28 Jul 2005 16:58:04 +0000 (16:58 +0000)]
Regenerated.
Wayne Davison [Thu, 28 Jul 2005 09:40:08 +0000 (09:40 +0000)]
Removed one more client-oriented command-line syntax sentence.
Wayne Davison [Thu, 28 Jul 2005 09:36:12 +0000 (09:36 +0000)]
Removed erroneous section on using daemon features over a
remote-shell connection -- client-use is better described in the
rsync manpage, and the advanced restricted-ssh section needs a
better treatment (perhaps as a support script).
Wayne Davison [Thu, 28 Jul 2005 09:18:20 +0000 (09:18 +0000)]
Improved the sections dicussing the various types of transfer
connections and how a normal transfer differs from a daemon
transfer.
Wayne Davison [Thu, 28 Jul 2005 01:46:16 +0000 (01:46 +0000)]
Document new --append option.
Wayne Davison [Thu, 28 Jul 2005 01:46:12 +0000 (01:46 +0000)]
Support new --append option.
Wayne Davison [Thu, 28 Jul 2005 01:46:09 +0000 (01:46 +0000)]
Added the --append option.
Wayne Davison [Wed, 27 Jul 2005 23:30:58 +0000 (23:30 +0000)]
- Call set_modtime() with its new mode arg.
- Don't mask the mode bits being sent to do_chmod().
- Don't skip calling set_modtime() or do_chmod() when the item
is a symlink.
Wayne Davison [Wed, 27 Jul 2005 23:30:55 +0000 (23:30 +0000)]
- Fixed the mode comparison in itemize() to mask off the bits
outside of the CHMOD_BITS mask.
- Don't call do_chmod() unless HAVE_CHMOD is defined.
- Don't mask the mode bits being sent to do_chmod().
Wayne Davison [Wed, 27 Jul 2005 23:30:53 +0000 (23:30 +0000)]
- Don't call do_chmod() unless HAVE_CHMOD is defined.
- Made do_chmod() handle symlinks or return 1 if not possible.
- We now mask off the mode bits in do_chmod() sing CHMOD_BITS.
Wayne Davison [Wed, 27 Jul 2005 23:30:51 +0000 (23:30 +0000)]
- Changed set_modtime() to take the file's mode as an arg.
- Made set_modtime() handle symlinks or return 1 if not possible.
Wayne Davison [Wed, 27 Jul 2005 23:18:28 +0000 (23:18 +0000)]
Check for the lchmod() and lutimes() functions.
Wayne Davison [Fri, 22 Jul 2005 19:09:45 +0000 (19:09 +0000)]
Tweaked a comment and some null-char assignments.
Wayne Davison [Fri, 22 Jul 2005 19:05:25 +0000 (19:05 +0000)]
Changed implied_dirs to only be non-0 if relative_paths is non-0.
Wayne Davison [Fri, 22 Jul 2005 17:59:21 +0000 (17:59 +0000)]
Got rid of some unused externs.
Wayne Davison [Fri, 22 Jul 2005 15:54:43 +0000 (15:54 +0000)]
Updated to zlib 1.2.3.
Wayne Davison [Fri, 15 Jul 2005 19:10:03 +0000 (19:10 +0000)]
Avoid newest test when no destination was specified.
Wayne Davison [Fri, 15 Jul 2005 19:06:43 +0000 (19:06 +0000)]
Output a syntax error if both the source and destination are remote.
Wayne Davison [Thu, 7 Jul 2005 22:53:59 +0000 (22:53 +0000)]
Preparing for release of 2.6.6pre1
Wayne Davison [Thu, 7 Jul 2005 22:50:12 +0000 (22:50 +0000)]
Mentioned the zlib changes and tweaked a couple sentences.
Wayne Davison [Thu, 7 Jul 2005 21:33:40 +0000 (21:33 +0000)]
- Attempt to make the discussion of host-specifying args less confusing.
- Fixed the names of the uid and gid daemon options in a sentence.
Wayne Davison [Thu, 7 Jul 2005 21:29:57 +0000 (21:29 +0000)]
Changes for new zlib.
Wayne Davison [Thu, 7 Jul 2005 21:19:14 +0000 (21:19 +0000)]
Fixed a typo.
Wayne Davison [Thu, 7 Jul 2005 21:14:29 +0000 (21:14 +0000)]
Fix latest zlib security exploit (CAN-2005-2096).
Wayne Davison [Thu, 7 Jul 2005 20:48:02 +0000 (20:48 +0000)]
Upgraded to version 1.2.2.
Wayne Davison [Thu, 7 Jul 2005 20:37:31 +0000 (20:37 +0000)]
One more "#undef BAD" for AIX.
Wayne Davison [Thu, 7 Jul 2005 20:17:35 +0000 (20:17 +0000)]
Use a define to handle conflicting function read_buf instead of
renaming it in the code.
Wayne Davison [Thu, 7 Jul 2005 20:16:41 +0000 (20:16 +0000)]
Changed "Overflow" back to "overflow".
Wayne Davison [Thu, 7 Jul 2005 19:49:14 +0000 (19:49 +0000)]
Changed overflow() to overflow_exit().
Wayne Davison [Thu, 7 Jul 2005 19:31:23 +0000 (19:31 +0000)]
Changed zBAD back to BAD (with a simpler kluge for AIX).
Wayne Davison [Thu, 7 Jul 2005 19:22:55 +0000 (19:22 +0000)]
Fixed some whitespace to match the original source.
Wayne Davison [Thu, 7 Jul 2005 19:15:44 +0000 (19:15 +0000)]
Got rid of bogus RCS keyword expansions (that create differences
between these files and the original zlib source).
Wayne Davison [Thu, 30 Jun 2005 17:18:30 +0000 (17:18 +0000)]
Mention the EEXIST fix.
Wayne Davison [Thu, 30 Jun 2005 17:03:14 +0000 (17:03 +0000)]
Ignore EEXIST on second mkdir() call.
Wayne Davison [Tue, 28 Jun 2005 00:15:44 +0000 (00:15 +0000)]
Mention the latest time-comparing fixes.
Wayne Davison [Tue, 28 Jun 2005 00:12:08 +0000 (00:12 +0000)]
Use cmp_modtime() in a couple more spots where a local modtime is
compared with a remote modtime.
Wayne Davison [Fri, 24 Jun 2005 02:14:12 +0000 (02:14 +0000)]
Fixed test to work when objdir != srcdir (thanks to Art Haas).
Wayne Davison [Thu, 23 Jun 2005 15:58:57 +0000 (15:58 +0000)]
Changed the arg-splitting code so that it can handle a literal
backslash prior to whitespace without treating it as escaped
whitespace (e.g. if we receive "foo\\ bar", it is two args,
while "foo\ bar" and "foo\\\ bar" are each just one).
Wayne Davison [Thu, 23 Jun 2005 15:53:26 +0000 (15:53 +0000)]
Tweaked a comment in the perl code we output.
Wayne Davison [Mon, 20 Jun 2005 07:01:29 +0000 (07:01 +0000)]
Improved a couple sentences.
Wayne Davison [Fri, 17 Jun 2005 23:23:00 +0000 (23:23 +0000)]
Changed the code to use the single long-option hash from cull_options.
Wayne Davison [Fri, 17 Jun 2005 23:16:22 +0000 (23:16 +0000)]
- Fixed a bug where the --*-dest options weren't being culled.
- Simplified the output format by putting all the long-name
options into a single hash.
Wayne Davison [Fri, 17 Jun 2005 16:48:02 +0000 (16:48 +0000)]
- Improved some comments (some taken from the new cull-options output).
- Made the user-config sections easier to find.
- Default to running a fully-specified rsync executable so that there
are not PATH surprises.
- A few minor tweaks to the arg-checking code to make it clearer without
actually changing its logic.
Wayne Davison [Fri, 17 Jun 2005 16:29:21 +0000 (16:29 +0000)]
Another readability improvement in the perl code we output.
Wayne Davison [Fri, 17 Jun 2005 16:12:05 +0000 (16:12 +0000)]
Improved some of the comments that are output into the perl code.
Wayne Davison [Fri, 17 Jun 2005 05:14:15 +0000 (05:14 +0000)]
- Make sure that the command contained the '.' arg at the end of the
options.
- Fixed the expanding of wildcards for a restriction of '/'.
Wayne Davison [Fri, 17 Jun 2005 04:50:22 +0000 (04:50 +0000)]
- Be restrictive on matching the --sender option so that the user
can't fool us into thinking we're the sender by using a filename
of --sender (or similar ploy).
- Make sure that our '..' check can't be fooled by sly backslashing.
- Tweaked some comments.
Wayne Davison [Fri, 17 Jun 2005 04:46:02 +0000 (04:46 +0000)]
Output a leading comment and surrounding blank lines.
Wayne Davison [Fri, 17 Jun 2005 01:26:33 +0000 (01:26 +0000)]
Mention rrsync changes.
Wayne Davison [Fri, 17 Jun 2005 01:17:44 +0000 (01:17 +0000)]
If SUBDIR is specified as a non-absolute path, make it absolute.
Wayne Davison [Thu, 16 Jun 2005 19:30:53 +0000 (19:30 +0000)]
- Made it easy to configure the path of the rsync executable.
- Fully parse all legal options that might come from a stock rsync and
validate/restrict any option's args (previously we rejected options
with args).
- Made it easy to disable specific options.
- Properly handle a multi-arg copy's multiple args.
- Make sure that the restricted dir actually exists and we can chdir
to it.
- Just reject any dangerous args that have .. in them instead of trying
to munge them.
- We don't treat single-or double-quotes specially, just backslash-
escaped characters.
- Turn on strict mode.
- Use the array-arg version of exec() so that we don't spawn a shell.
- Use File::Glob to glob wildcards in args.
- Tweaked the log-file format so that it logs the modified command
without any "OK" suffix.
Wayne Davison [Thu, 16 Jun 2005 19:17:47 +0000 (19:17 +0000)]
A developer-oriented script that outputs perl code for valid server
options.
Wayne Davison [Sun, 12 Jun 2005 06:10:14 +0000 (06:10 +0000)]
Mention latest fix.
Wayne Davison [Sun, 12 Jun 2005 06:07:23 +0000 (06:07 +0000)]
In clean_flist(), fixed the setting of the flist->high value for an
empty list so that it can't cause a crash if it gets passed to
flist_find().
Wayne Davison [Fri, 10 Jun 2005 23:36:57 +0000 (23:36 +0000)]
- Added a comment to the filter_outfile function.
- Twiddled where the calls to filter_outfile happen.
Wayne Davison [Fri, 10 Jun 2005 21:56:52 +0000 (21:56 +0000)]
Simplified the regular expressions for sed due to problems on some
OSes.
Wayne Davison [Fri, 10 Jun 2005 20:33:57 +0000 (20:33 +0000)]
- Put the output we're expecting into an chk file, for easier
debugging on failures.
- Added the function filter_outfile() and used it in place of the
various output-filtering commands.
- Use the sed rules for filtering the combination of --itemized
output with double-verbose output so that we're sure there's no
superfluous lines being output (which the old grep filtering
would have ignored).
Wayne Davison [Fri, 10 Jun 2005 20:04:42 +0000 (20:04 +0000)]
Several expansions of $srcdir were not double-quoted.
Wayne Davison [Fri, 10 Jun 2005 20:04:11 +0000 (20:04 +0000)]
One expansion of $srcdir wasn't double-quoted.
Wayne Davison [Fri, 10 Jun 2005 18:02:14 +0000 (18:02 +0000)]
One more instance of the umask kluge was needed.
Wayne Davison [Fri, 10 Jun 2005 17:58:39 +0000 (17:58 +0000)]
Mention backup change.
Wayne Davison [Fri, 10 Jun 2005 17:57:18 +0000 (17:57 +0000)]
Fixed a problem in the backing up of symlinks and devices: we
need to remove any old symlink/device/file to create the backup.
Also fixed a couple minor logic errors in the handling of symlinks
and devices. NOTE: the code still doesn't handle the changing of
a name from a dir to a non-dir or visa versa (which is a very old
deficiency in the code).
Wayne Davison [Fri, 10 Jun 2005 17:51:33 +0000 (17:51 +0000)]
Use umask kluge from fns to try to get rid of a potential
permissions difference when copying symlinks.
Wayne Davison [Fri, 10 Jun 2005 17:21:52 +0000 (17:21 +0000)]
Make the sed commands compatible with Solaris (hopefully).
Wayne Davison [Fri, 10 Jun 2005 17:17:38 +0000 (17:17 +0000)]
Starting NEWS for 2.6.6.
Wayne Davison [Fri, 10 Jun 2005 17:17:24 +0000 (17:17 +0000)]
Aged news from NEWS file.
Wayne Davison [Fri, 10 Jun 2005 17:06:43 +0000 (17:06 +0000)]
Got rid of some potentially unhandled permissions differences.
Wayne Davison [Fri, 10 Jun 2005 16:57:43 +0000 (16:57 +0000)]
Changed the "max verbosity" setting from global to per-module.
Wayne Davison [Fri, 10 Jun 2005 16:50:09 +0000 (16:50 +0000)]
Use the new NOBODY_USER and NOBODY_GROUP configure defines.
Wayne Davison [Fri, 10 Jun 2005 16:46:50 +0000 (16:46 +0000)]
Added a simple check to see if the /etc/group file has the
group "nobody" or "nogroup".
Wayne Davison [Thu, 9 Jun 2005 22:27:59 +0000 (22:27 +0000)]
Test that our outputting of itemized messages (as well as
double-verbose output) is happening correctly.
Wayne Davison [Thu, 9 Jun 2005 22:27:22 +0000 (22:27 +0000)]
- Fixed the overzealous outputting of unchanged hard-linked items
when verbose > 1.
- An unchanged hard-link with -i (log-format w/%i) now changes the
trailing dots to spaces.
Wayne Davison [Thu, 9 Jun 2005 21:57:45 +0000 (21:57 +0000)]
Don't set ITEM_REPORT_TIME when a hard-linked file is already
linked up as it should be and --times was not enabled.
Wayne Davison [Thu, 9 Jun 2005 21:56:11 +0000 (21:56 +0000)]
- Never output the '"FOO" is a hard link' message when -i (%i)
output is enabled.
- Go back to outputting '"FOO" is a hard link' message when -i (%i)
is not enabled and verbose > 1.
Wayne Davison [Thu, 9 Jun 2005 21:18:26 +0000 (21:18 +0000)]
Updated version to 2.6.6cvs.
Wayne Davison [Thu, 2 Jun 2005 03:57:58 +0000 (03:57 +0000)]
Preparing for release of 2.6.5
Wayne Davison [Thu, 2 Jun 2005 03:54:00 +0000 (03:54 +0000)]
Improved a few of the items.
Wayne Davison [Wed, 1 Jun 2005 16:21:41 +0000 (16:21 +0000)]
One more configure item.
Wayne Davison [Tue, 31 May 2005 06:09:42 +0000 (06:09 +0000)]
Mention HAVE_REMSH fix.
Wayne Davison [Fri, 27 May 2005 18:15:18 +0000 (18:15 +0000)]
Simplified the last change a bit.
Wayne Davison [Fri, 27 May 2005 18:09:34 +0000 (18:09 +0000)]
Test for various past problems with --relative.
Wayne Davison [Fri, 27 May 2005 18:04:04 +0000 (18:04 +0000)]
If we unduplicate '.', make sure we also copy FLAG_DEL_HERE (in
addition to FLAG_TOP_DIR), so that the unduplication of a real
dir and an implied dir (implied by --relative) works right.
Wayne Davison [Fri, 27 May 2005 16:41:19 +0000 (16:41 +0000)]
- Only define HAVE_REMSH if it is going to have a non-0 value.
- Got rid of ssh warning that was added for 2.6.0.
Wayne Davison [Thu, 26 May 2005 18:00:09 +0000 (18:00 +0000)]
Improved the opening comment.
Wayne Davison [Wed, 25 May 2005 15:52:03 +0000 (15:52 +0000)]
Mention the latest bug-fix.
Wayne Davison [Wed, 25 May 2005 01:24:01 +0000 (01:24 +0000)]
Handle nested "." dirs (caused by --relative and a trailing slash or
a trailing "/.") in f_name_cmp() when dirname is not an identical
pointer.
Wayne Davison [Sun, 22 May 2005 20:53:18 +0000 (20:53 +0000)]
Mention the output change for a mount-dir when -x is used.
Wayne Davison [Sun, 22 May 2005 20:52:32 +0000 (20:52 +0000)]
- Don't stop deleting in a dir if one item fails.
- Don't skip deleting in a dir if the initial rmdir fails
(2.6.4 only continued if it was a non-empty error).
Wayne Davison [Sun, 22 May 2005 17:19:16 +0000 (17:19 +0000)]
Must check FLAG_MOUNT_POINT in delete_in_dir() to avoid starting a
descent into a mounted directory when -x is specified.
Wayne Davison [Fri, 20 May 2005 17:57:31 +0000 (17:57 +0000)]
Improved the SYMBOLIC LINKS section, as suggested by John.
Wayne Davison [Fri, 20 May 2005 17:39:10 +0000 (17:39 +0000)]
Improved a --files-from example (as suggested by Paul).
Wayne Davison [Thu, 19 May 2005 22:16:50 +0000 (22:16 +0000)]
Tweaked a sentence.
Wayne Davison [Thu, 19 May 2005 21:45:41 +0000 (21:45 +0000)]
Preparing for release of 2.6.5pre2