head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.52 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.50 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.48 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.46 pkgsrc-2011Q2-base:1.6 pkgsrc-2009Q4:1.6.0.44 pkgsrc-2009Q4-base:1.6 pkgsrc-2008Q4:1.6.0.42 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.40 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.38 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.36 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.34 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.32 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.30 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.28 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.26 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.24 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.22 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.20 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.18 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.16 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.14 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.12 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.10 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.8 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.6.0.6 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.6.0.4 pkgsrc-2004Q2-base:1.6 pkgsrc-2004Q1:1.6.0.2 pkgsrc-2004Q1-base:1.6 pkgsrc-2003Q4:1.5.0.2 pkgsrc-2003Q4-base:1.5 buildlink2-base:1.4 netbsd-1-3-PATCH003:1.2; locks; strict; comment @# @; 1.6 date 2004.01.20.05.16.42; author grant; state dead; branches; next 1.5; 1.5 date 2003.03.06.20.44.15; author salo; state Exp; branches; next 1.4; 1.4 date 98.11.05.01.42.44; author mycroft; state dead; branches; next 1.3; 1.3 date 98.11.05.00.24.38; author mycroft; state Exp; branches; next 1.2; 1.2 date 98.08.07.11.10.51; author agc; state Exp; branches; next 1.1; 1.1 date 98.07.25.23.42.20; author frueauf; state Exp; branches; next ; desc @@ 1.6 log @Updated rsync to 2.6.0. Major changes since 2.5.7: * "ssh" is now the default remote shell for rsync. If you want to change this, configure like this: "./configure --with-rsh=rsh". * Added --files-from, --no-relative, --no-implied-dirs, and --from0. Note that --from0 affects the line-ending character for all the files read by the --*-from options. (Wayne Davison) * Length of csum2 is now per-file starting with protocol version 27. (J.W. Schultz) * Per-file dynamic block size is now sqrt(file length). The per-file checksum size is determined according to an algorithm provided by Donovan Baarda which reduces the probability of rsync algorithm corrupting data and falling back using the whole md4 checksums. (J.W. Schultz, Donovan Baarda) * The --stats option no longer includes the (debug) malloc summary unless the verbose option was specified at least twice. * Added a new error/warning code for when files vanish from the sending side. Made vanished source files not interfere with the file-deletion pass when --delete-after was specified. * Various trailing-info sections are now preceded by a newline. * Many bug-fixes. Update provided by Min Sik Kim in PR pkg/24146. @ text @$NetBSD: patch-ae,v 1.5 2003/03/06 20:44:15 salo Exp $ --- rsync.1.orig 2003-01-28 04:11:57.000000000 +0100 +++ rsync.1 2003-03-06 21:00:02.000000000 +0100 @@@@ -236,7 +236,7 @@@@ .PP An rsync server is configured using a config file\&. Please see the rsyncd\&.conf(5) man page for more information\&. By default the configuration -file is called /etc/rsyncd\&.conf, unless rsync is running over a remote +file is called @@PKG_SYSCONFDIR@@/rsyncd\&.conf, unless rsync is running over a remote shell program and is not running as root; in that case, the default name is rsyncd\&.conf in the current directory on the remote computer (typically $HOME)\&. @@@@ -860,7 +860,7 @@@@ .IP "\fB--config=FILE\fP" This specifies an alternate config file than the default\&. This is only relevant when --daemon is specified\&. -The default is /etc/rsyncd\&.conf unless the daemon is running over +The default is @@PKG_SYSCONFDIR@@/rsyncd\&.conf unless the daemon is running over a remote shell program and the remote user is not root; in that case the default is rsyncd\&.conf in the current directory (typically $HOME)\&. .IP @@@@ -1258,7 +1258,7 @@@@ .PP .SH "FILES" .PP -/etc/rsyncd\&.conf or rsyncd\&.conf +@@PKG_SYSCONFDIR@@/rsyncd\&.conf or rsyncd\&.conf .PP .SH "SEE ALSO" .PP @ 1.5 log @Updated to version 2.5.6. Changes: - follow PKG_SYSCONFDIR - fix paths in manpages - minor cleanups 2.5.6: ====== ENHANCEMENTS: ============= - The --delete-after option now implies --delete. (Wayne Davison) - The --suffix option can now be used with --backup-dir. (Michael Zimmerman) - Combining "::" syntax with the -rsh/-e option now uses the specified remote-shell as a transport to talk to a (newly-spawned) server-daemon. This allows someone to use daemon features, such as modules, over a secure protocol, such as ssh. (JD Paul) - The rsync:// syntax for daemon connections is now accepted in the destination field. - If the file name given to --include-from or --exclude-from is "-", rsync will read from standard input. (J.W. Schultz) - New option --link-dest which is like --compare-dest except that unchanged files are hard-linked in to the destination directory. (J.W. Schultz) - Don't report an error if an excluded file disappears during an rsync run. (Eugene Chupriyanov and Bo Kersey) - Added .svn to --cvs-exclude list to support subversion. (Jon Middleton) - Properly support IPv6 addresses in the rsyncd.conf "hosts allow" And "hosts deny" fields. (Hideaki Yoshifuji) - Changed exclude file handling to permit DOS or MAC style line terminations. (J.W. Schultz) - Ignore errors from chmod when -p/-a/--preserve-perms is not set. (Dave Dykstra) BUG FIXES: ========== - Fix "forward name lookup failed" errors on AIX 4.3.3. (John L. Allen, Martin Pool) - Generate each file's rolling-checksum data as we send it, not in a separate (memory-eating) pass before hand. This prevents timeout errors on really large files. (Stefan Nehlsen) - Fix compilation on Tru64. (Albert Chin, Zoong Pham) - Better handling of some client-server errors. (Martin Pool) - Fixed a crash that would occur when sending a list of files that contains a duplicate name (if it sorts to the end of the file list) and using --delete. (Wayne Davison) - Fixed the file-name duplicate-removal code when dealing with multiple dups in a row. (Wayne Davison) - Fixed a bug that caused rsync to lose the exit status of its child processes and sometimes return an exit code of 0 instead of showing an error. (David R. Staples, Dave Dykstra) - Fixed bug in --copy-unsafe-links that caused it to be completely broken. (Dave Dykstra) - Prevent infinite recursion in cleanup code under certain circumstances. (Sviatoslav Sviridov and Marc Espie) - Fixed a bug that prevented rsync from creating intervening directories when --relative-paths/-R is set. (Craig Barratt) - Prevent "Connection reset by peer" messages from Cygwin. (Randy O'Meara) INTERNAL: ========= - Many code cleanups and improved internal documentation. (Martin Pool, Nelson Beebe) - Portability fixes. (Dave Dykstra and Wayne Davison) - More test cases. (Martin Pool) - Some test-case fixes. (Brian Poole, Wayne Davison) - Updated included popt to the latest vendor drop, version 1.6.4. (Jos Backus) - Updated config.guess and config.sub to latest versions; this means rsync should build on more platforms. (Paul Green) @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Per discussion with the author, these changes were a bad idea. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.3 1998/11/05 00:24:38 mycroft Exp $ d3 29 a31 24 --- syscall.c.orig Tue May 26 10:43:43 1998 +++ syscall.c Wed Nov 4 19:11:19 1998 @@@@ -103,12 +103,21 @@@@ return mkdir(fname, mode); } +#ifdef HAVE_MKSTEMP +int do_mkstemp(char *template) +{ + if (dry_run) return -1; + if (read_only) {errno = EROFS; return -1;} + return mkstemp(template); +} +#else char *do_mktemp(char *template) { if (dry_run) return NULL; if (read_only) {errno = EROFS; return NULL;} return mktemp(template); } +#endif int do_stat(const char *fname, STRUCT_STAT *st) { @ 1.3 log @2.2.0 @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Add NetBSD RCS Ids. @ text @d3 3 a5 3 --- syscall.c-orig Tue May 26 16:43:43 1998 +++ syscall.c Sun Jul 26 00:50:22 1998 @@@@ -103,12 +103,14 @@@@ d9 8 a16 1 +#ifndef HAVE_MKSTEMP @ 1.1 log @Update to rsync 2.1.0. @ text @d1 2 @