Subject: CVS commit: pkgsrc/sysutils/rsnapshot
To: None <>
From: David Brownlee <>
List: pkgsrc-changes
Date: 09/13/2005 11:47:49
Module Name:	pkgsrc
Committed By:	abs
Date:		Tue Sep 13 11:47:49 UTC 2005

Modified Files:
	pkgsrc/sysutils/rsnapshot: Makefile distinfo
Removed Files:
	pkgsrc/sysutils/rsnapshot/patches: patch-aa

Log Message:
Update rsnapshot to 1.2.1.  Changes since 1.1.6
Note that config file format has changed, but rsnapshot will detect an
old config and refuse to run until config is updated.

VERSION 1.2.1 (Apr 09 15:10 2005)
- Fixed security bug when neither cmd_cp or link_dest are enabled

VERSION 1.2.0 (Jan 31 21:43 2005)
- Turned off buffering ($|=1)
- Changed default lockfile to /var/run/, for FHS compliance
- Clarified man page licensing (GPL)
- Fixed is_real_local_abs_path() to handle dangling symlinks
- Changed utils/ to re-order the smbtar arguments
- Added "-uroot" to utils/ example file
- Changed regex in is_blank() subroutine
- Changed rsync include/exclude mode to relative
- Peter Palfrader <> enhanced error reporting to include
  command line options
- Bharat Mediratta <> improved the exclusion rules to avoid
  backing up the snapshot root. The old way was also kept for users who can't
  or don't want to upgrade their destination paths in their backup points.
- Bharat Mediratta <> added a "+" feature to the per-backup
  point args to allow additive include/exclude rules.
- Added safe_rename() subroutine to work around a semi-obscure timestamp bug
  in certain Linux kernels
- Clarified error message about local/relative paths in config file parsing
- Added check for leading/trailing spaces in remote (ssh) paths
- Added du(1) and crontab(1) to man page references
- Added config.guess and config.sub for automake
- Changed default destination paths for backup points in example config file
  for compatibility with --relative rsync flag
- Added formatting fix to show one slash only when invoking backup_script
  with link_dest option enabled
- Broke backwards compatibility for the benefit of fixing several outstanding
  issues. The default value for rsync_long_args is now different.
- Changed add_lockfile() verbose message to "echo $$ > /path/to/"
  which is actually what the code is doing
- Added check to make sure backup_scripts can't share destination path with
  backup points
- Added check to make sure different backup_script destinations don't overlap
  and don't clobber backup point destinations
- Added "cmd_du" parameter to allow specifying the path to "du"
- Nicolas Kaiser <> provided various typo fixes in the program
  and man page
- Fixed "missing rsync/configtest ok" bug
- Added config_version parameter, which is now required
- All autoconf files were updated with the ones from Debian sarge
- Added upgrade-config-file feature for "make upgrade" target and manual use
- Added upgrade feature to RPM spec file
- Added check-config-version feature for use with shell scripts, etc.
- Changed version_only argument to version-only, for consistency with new
- Conditionalized configure script to only advise the user to copy the
  rsnapshot.conf.default file to rsnapshot.conf if it's a new installation
- Added rollback feature to restore interval.0 snapshots when using link_dest
- Added second option for du, to compare subdirectories or files
- Added "du_args" to pass arguments to du
- Relaxed cmd line option validation, but only when du is the command
- Now only show command invocation for logger on verbose level 4
- Added rsync cleanup after native_cp_al() to preserve special files
- Removed warning messages from native_cp_al() about special files
- Modified error printing so full run string is displayed once at the top
  of a list of error messages
- Fixed bug in old method of preventing the snapshot root from being backed
  up, which occurred when snapshot root was more than one level down from a
  backup point
- Added commented out du_args to
- Added descriptive error if "du" fails

To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 pkgsrc/sysutils/rsnapshot/Makefile
cvs rdiff -r1.3 -r1.4 pkgsrc/sysutils/rsnapshot/distinfo
cvs rdiff -r1.1 -r0 pkgsrc/sysutils/rsnapshot/patches/patch-aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.