head 1.10; access; symbols pkgsrc-2013Q2:1.10.0.46 pkgsrc-2013Q2-base:1.10 pkgsrc-2012Q4:1.10.0.44 pkgsrc-2012Q4-base:1.10 pkgsrc-2011Q4:1.10.0.42 pkgsrc-2011Q4-base:1.10 pkgsrc-2011Q2:1.10.0.40 pkgsrc-2011Q2-base:1.10 pkgsrc-2009Q4:1.10.0.38 pkgsrc-2009Q4-base:1.10 pkgsrc-2008Q4:1.10.0.36 pkgsrc-2008Q4-base:1.10 pkgsrc-2008Q3:1.10.0.34 pkgsrc-2008Q3-base:1.10 cube-native-xorg:1.10.0.32 cube-native-xorg-base:1.10 pkgsrc-2008Q2:1.10.0.30 pkgsrc-2008Q2-base:1.10 pkgsrc-2008Q1:1.10.0.28 pkgsrc-2008Q1-base:1.10 pkgsrc-2007Q4:1.10.0.26 pkgsrc-2007Q4-base:1.10 pkgsrc-2007Q3:1.10.0.24 pkgsrc-2007Q3-base:1.10 pkgsrc-2007Q2:1.10.0.22 pkgsrc-2007Q2-base:1.10 pkgsrc-2007Q1:1.10.0.20 pkgsrc-2007Q1-base:1.10 pkgsrc-2006Q4:1.10.0.18 pkgsrc-2006Q4-base:1.10 pkgsrc-2006Q3:1.10.0.16 pkgsrc-2006Q3-base:1.10 pkgsrc-2006Q2:1.10.0.14 pkgsrc-2006Q2-base:1.10 pkgsrc-2006Q1:1.10.0.12 pkgsrc-2006Q1-base:1.10 pkgsrc-2005Q4:1.10.0.10 pkgsrc-2005Q4-base:1.10 pkgsrc-2005Q3:1.10.0.8 pkgsrc-2005Q3-base:1.10 pkgsrc-2005Q2:1.10.0.6 pkgsrc-2005Q2-base:1.10 pkgsrc-2005Q1:1.10.0.4 pkgsrc-2005Q1-base:1.10 pkgsrc-2004Q4:1.10.0.2 pkgsrc-2004Q4-base:1.10 pkgsrc-2004Q3:1.9.0.2 pkgsrc-2004Q3-base:1.9 pkgsrc-2004Q2:1.8.0.4 pkgsrc-2004Q2-base:1.8 pkgsrc-2004Q1:1.8.0.2 pkgsrc-2004Q1-base:1.8 pkgsrc-2003Q4:1.7.0.2 pkgsrc-2003Q4-base:1.7 buildlink2-base:1.6 netbsd-1-3-PATCH003:1.3; locks; strict; comment @# @; 1.10 date 2004.10.21.19.54.26; author tv; state dead; branches; next 1.9; 1.9 date 2004.08.14.14.15.51; author tron; state Exp; branches; next 1.8; 1.8 date 2004.01.20.05.16.42; author grant; state dead; branches; next 1.7; 1.7 date 2003.03.06.20.44.14; author salo; state Exp; branches; next 1.6; 1.6 date 98.11.05.01.42.43; author mycroft; state dead; branches; next 1.5; 1.5 date 98.11.05.00.24.38; author mycroft; state Exp; branches; next 1.4; 1.4 date 98.09.28.10.53.29; author frueauf; state Exp; branches; next 1.3; 1.3 date 98.08.07.11.10.51; author agc; state Exp; branches; next 1.2; 1.2 date 98.07.25.23.42.20; author frueauf; state Exp; branches; next 1.1; 1.1 date 98.07.10.06.23.12; author mycroft; state Exp; branches; next ; desc @@ 1.10 log @NEWS for rsync 2.6.3 (30 Sep 2004) Protocol: 28 (unchanged) Changes since 2.6.2: SECURITY FIXES: - A bug in the sanitize_path routine (which affects a non-chrooted rsync daemon) could allow a user to craft a pathname that would get transformed into an absolute path for certain options (but not for file-transfer names). If you're running an rsync daemon with chroot disabled, *please upgrade*, ESPECIALLY if the user privs you run rsync under is anything above "nobody". OUTPUT CHANGES (ATTN: those using a script to parse the verbose output): - Please note that the 2-line footer (output when verbose) now uses the term "sent" instead of "wrote" and "received" instead of "read". If you are not parsing the numeric values out of this footer, a script would be better off using the empty line prior to the footer as the indicator that the verbose output is over. - The output from the --stats option was similarly affected to change "written" to "sent" and "read" to "received". - Rsync ensures that a filename that contains a newline gets mentioned with each newline transformed into a question mark (which prevents a filename from causing an empty line to be output). - The "backed up ..." message that is output when at least 2 --verbose options are specified is now the same both with and without the --backup-dir option. BUG FIXES: - Fixed a crash bug that might appear when --delete was used and multiple source directories were specified. - Fixed a 32-bit truncation of the file length when generating the checksums. - The --backup code no longer attempts to create some directories over and over again (generating warnings along the way). - Fixed a bug in the reading of the secrets file (by the daemon) and the password file (by the client): the files no longer need to be terminated by a newline for their content to be read in. - If a file has a read error on the sending side or the reconstructed data doesn't match the expected checksum (perhaps due to the basis file changing during the transfer), the receiver will no longer retain the resulting file unless the --partial option was specified. (Note: for the read-error detection to work, neither side can be older than 2.6.3 -- older receivers will always retain the file, and older senders don't tell the receiver that the file had a read error.) - If a file gets resent in a single transfer and the --backup option is enabled, rsync no longer performs a duplicate backup (it used to overwrite the original file in the backup area). - Files specified in the daemon's "exclude" or "exclude from" config items are now excluded from being uploaded (assuming that the module allows uploading at all) in addition to the old download exclusion. - Got rid of a potential hang in the receiver when near the end of a phase. - When using --backup without a --backup-dir, rsync no longer preserves the modify time on directories. This avoids confusing NFS. - When --copy-links (-L) is specified, we now output a separate error for a symlink that has no referent instead of claiming that a file "vanished". - The --copy-links (-L) option no longer has the side-effect of telling the receiving side to follow symlinks. See the --keep-dirlinks option (mentioned below) for a way to specify that behavior. - Error messages from the daemon server's option-parsing (such as refused options) are now successfully transferred back to the client (the server used to fail to send the message because the socket wasn't in the right state for the message to get through). - Most transfer errors that occur during a daemon transfer are now returned to the user in addition to being logged (some messages are intended to be daemon-only and are not affected by this). - Fixed a bug in the daemon authentication code when using one of the batch-processing options. - We try to work around some buggy IPv6 implementations that fail to implement IPV6_V6ONLY. This should fix the "address in use" error that some daemons get when running on an OS with a buggy IPv6 implementation. Also, if the new code gets this error, we might suggest that the user specify --ipv4 or --ipv6 (if we think it will help). - When the remote rsync dies, make a better effort to recover any error messages it may have sent before dying (the local rsync used to just die with a socket-write error). - When using --delete and a --backup-dir that contains files that are hard-linked to their destination equivalents, rsync now makes sure that removed files really get removed (avoids a really weird rename() behavior). - Avoid a bogus run-time complaint about a lack of 64-bit integers when the int64 type is defined as an off_t and it actually has 64-bits. - Added a configure check for open64() without mkstemp64() so that we can avoid using mkstemp() when such a combination is encountered. This bypasses a problem writing out large temp files on OSes such as AIX and HP-UX. - Fixed an age-old crash problem with --read-batch on a local copy (rsync was improperly assuming --whole-file for the local copy). - When --dry-run (-n) is used and the destination directory does not exist, rsync now produces a correct report of files that would be sent instead of dying with a chdir() error. - Fixed a bug that could cause a slow-to-connect rsync daemon to die with an error instead of waiting for the connection to finish. - Fixed an ssh interaction that could cause output to be lost when the user chose to combine the output of rsync's stdout and stderr (e.g. using the "2>&1"). ENHANCEMENTS: - Added the --partial-dir=DIR option that lets you specify where to (temporarily) put a partially transferred file (instead of over- writing the destination file). E.g. --partial-dir=.rsync-partial Also added support for the RSYNC_PARTIAL_DIR environment variable that, when found, transforms a regular --partial option (such as the convenient -P option) into one that also specifies a directory. - Added --keep-dirlinks (-K), which allows you to symlink a directory onto another partition on the receiving side and have rsync treat it as matching a normal directory from the sender. - Added the --inplace option that tells rsync to write each destination file without using a temporary file. The matching of existing data in the destination file can be severely limited by this, but there are also cases where this is more efficient (such as appending data). Use only when needed (see the man page for more details). - Added the "write only" option for the daemon's config file. - Added long-option names for -4 and -6 (namely --ipv4 and --ipv6) and documented all these options in the man page. - Improved the handling of the --bwlimit option so that it's less bursty, more accurate, and works properly over a larger range of values. - The rsync daemon-over-ssh code now looks for SSH_CONNECTION and SSH2_CLIENT in addition to SSH_CLIENT to figure out the IP address. - Added the --checksum-seed=N option for advanced users. - Batch writing/reading has a brand-new implementation that is simpler, fixes a few weird problems with the old code (such as no longer sprinkling the batch files into different dirs or even onto different systems), and is much less intrusive into the code (making it easier to maintain for the future). The new code generates just one data file instead of three, which makes it possible to read the batch on stdin via a remote shell. Also, the old requirement of forcing the same fixed checksum-seed for all batch processing has been removed. - If an rsync daemon has a module set with "list = no" (which hides its presence in the list of available modules), a user that fails to authenticate gets the same "unknown module" error that they would get if the module were actually unknown (while still logging the real error to the daemon's log file). This prevents fishing for module names. - The daemon's "refuse options" config item now allows you to match option names using wildcards and/or the single-letter option names. - Each transferred file now gets its permissions and modified-time updated before the temp-file gets moved into place. Previously, the finished file would have a very brief window where its permissions disallowed all group and world access. - Added the ability to parse a literal IPv6 address in an "rsync:" URL (e.g. rsync://[2001:638:500:101::21]:873/module/dir). - The daemon's wildcard expanding code can now handle more than 1000 filenames (it's now limited by memory instead of having a hard-wired limit). INTERNAL: - Some cleanup in the exclude code has saved some per-exclude memory and made the code easier to maintain. - Improved the argv-overflow checking for a remote command that has a lot of args. - Use rsyserr() in the various places that were still calling rprintf() with strerror() as an arg. - If an rsync daemon is listening on multiple sockets (to handle both IPv4 and IPv6 to a single port), we now close all the unneeded file handles after we accept a connection (we used to close just one of them). - Optimized the handling of larger block sizes (rsync used to slow to a crawl if the block size got too large). - Optimized away a loop in hash_search(). - Some improvements to the sanitize_path() and clean_fname() functions makes them more efficient and produce better results (while still being compatible with the file-name cleaning that gets done on both sides when sending the file-list). - Got rid of alloc_sanitize_path() after adding a destination-buffer arg to sanitize_path() made it possible to put all the former's functionality into the latter. - The file-list that is output when at least 4 verbose options are specified reports the uid value on the sender even when rsync is not running as root (since we might be sending to a root receiver). BUILD CHANGES: - Added a "gen" target to rebuild most of the generated files, including configure, config.h.in, the man pages, and proto.h. - If "make proto" doesn't find some changes in the prototypes, the proto.h file is left untouched (its time-stamp used to always be updated). - The variable $STRIP (that is optionally set by the install-strip target's rule) was changed to $INSTALL_STRIP because some systems have $STRIP already set in the environment. - Fixed a build problem when SUPPORT_HARD_LINKS isn't defined. - When cross-compiling, the gettimeofday() function is now assumed to be a modern version that takes two-args (since we can't test it). DEVELOPER RELATED: - The scripts in the testsuite dir were cleaned up a bit and a few new tests added. - Some new diffs were added to the patches dir, and some accepted ones were removed. @ text @$NetBSD: patch-ac,v 1.9 2004/08/14 14:15:51 tron Exp $ --- util.c.orig 2004-04-27 21:59:37.000000000 +0200 +++ util.c 2004-08-14 16:11:22.000000000 +0200 @@@@ -743,7 +743,7 @@@@ allowdotdot = 1; } else { p += 2; - if (*p == '/') + while (*p == '/') p++; if (sanp != start) { /* back up sanp one level */ @ 1.9 log @Fix path-sanitizing bug which allows unauthorized remote file access. Bump package revision because of that. @ text @d1 1 a1 1 $NetBSD$ @ 1.8 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 @d1 1 a1 1 $NetBSD: patch-ac,v 1.7 2003/03/06 20:44:14 salo Exp $ d3 11 a13 11 --- rsync.h.orig 2003-01-26 21:11:16.000000000 +0100 +++ rsync.h 2003-03-06 21:25:18.000000000 +0100 @@@@ -26,7 +26,7 @@@@ #define RSYNC_RSH_ENV "RSYNC_RSH" #define RSYNC_NAME "rsync" -#define RSYNCD_SYSCONF "/etc/rsyncd.conf" +#define RSYNCD_SYSCONF "@@PKG_SYSCONFDIR@@/rsyncd.conf" #define RSYNCD_USERCONF "rsyncd.conf" #define DEFAULT_LOCK_FILE "/var/run/rsyncd.lock" @ 1.7 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.6 log @Per discussion with the author, these changes were a bad idea. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.5 1998/11/05 00:24:38 mycroft Exp $ d3 9 a11 5 --- configure.orig Tue Nov 3 17:00:45 1998 +++ configure Wed Nov 4 19:01:13 1998 @@@@ -2246,18 +2246,73 @@@@ fi done d13 1 a13 373 +for ac_func in mkstemp +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:2253: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { (eval echo configure:2281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + echo $ac_n "checking for working fnmatch... $ac_c" if test "$cross_compiling" = yes; then { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < main() { exit(fnmatch("*.o", "x.o", 0) == 0? 0: 1); } EOF -if { (eval echo configure:2261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then echo yes;cat >> confdefs.h <<\EOF #define HAVE_FNMATCH 1 @@@@ -2274,7 +2329,7 @@@@ echo $ac_n "checking for long long""... $ac_c" 1>&6 -echo "configure:2278: checking for long long" >&5 +echo "configure:2333: checking for long long" >&5 if eval "test \"`echo '$''{'rsync_cv_have_longlong'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@@@ -2283,12 +2338,12 @@@@ rsync_cv_have_longlong=cross else cat > conftest.$ac_ext < main() { long long x = 1000000; x *= x; exit(((x/1000000) == 1000000)? 0: 1); } EOF -if { (eval echo configure:2292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then rsync_cv_have_longlong=yes else @@@@ -2311,7 +2366,7 @@@@ fi echo $ac_n "checking for off64_t""... $ac_c" 1>&6 -echo "configure:2315: checking for off64_t" >&5 +echo "configure:2370: checking for off64_t" >&5 if eval "test \"`echo '$''{'rsync_cv_HAVE_OFF64_T'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@@@ -2320,13 +2375,13 @@@@ rsync_cv_HAVE_OFF64_T=cross else cat > conftest.$ac_ext < #include main() { struct stat64 st; off64_t s; if (sizeof(off_t) == sizeof(off64_t)) exit(1); exit((lstat64("/dev/null", &st)==0)?0:1); } EOF -if { (eval echo configure:2330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then rsync_cv_HAVE_OFF64_T=yes else @@@@ -2353,14 +2408,14 @@@@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < #include #include main() { if (sizeof(ino_t) < sizeof(unsigned int)) return 0; return 1; } EOF -if { (eval echo configure:2364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then echo yes;cat >> confdefs.h <<\EOF #define HAVE_SHORT_INO_T 1 @@@@ -2377,7 +2432,7 @@@@ echo $ac_n "checking for unsigned char""... $ac_c" 1>&6 -echo "configure:2381: checking for unsigned char" >&5 +echo "configure:2436: checking for unsigned char" >&5 if eval "test \"`echo '$''{'rsync_cv_HAVE_UNSIGNED_CHAR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@@@ -2386,12 +2441,12 @@@@ rsync_cv_HAVE_UNSIGNED_CHAR=cross else cat > conftest.$ac_ext < main() { char c; c=250; exit((c > 0)?0:1); } EOF -if { (eval echo configure:2395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then rsync_cv_HAVE_UNSIGNED_CHAR=yes else @@@@ -2414,7 +2469,7 @@@@ fi echo $ac_n "checking for broken readdir""... $ac_c" 1>&6 -echo "configure:2418: checking for broken readdir" >&5 +echo "configure:2473: checking for broken readdir" >&5 if eval "test \"`echo '$''{'rsync_cv_HAVE_BROKEN_READDIR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@@@ -2423,7 +2478,7 @@@@ rsync_cv_HAVE_BROKEN_READDIR=cross else cat > conftest.$ac_ext < #include @@@@ -2431,7 +2486,7 @@@@ if (di && di->d_name[-2] == '.' && di->d_name[-1] == 0 && di->d_name[0] == 0) exit(0); exit(1);} EOF -if { (eval echo configure:2435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then rsync_cv_HAVE_BROKEN_READDIR=yes else @@@@ -2454,13 +2509,13 @@@@ fi echo $ac_n "checking for utimbuf""... $ac_c" 1>&6 -echo "configure:2458: checking for utimbuf" >&5 +echo "configure:2513: checking for utimbuf" >&5 if eval "test \"`echo '$''{'rsync_cv_HAVE_UTIMBUF'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@@@ -2468,7 +2523,7 @@@@ struct utimbuf tbuf; tbuf.actime = 0; tbuf.modtime = 1; exit(utime("foo.c",&tbuf)); ; return 0; } EOF -if { (eval echo configure:2472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* rsync_cv_HAVE_UTIMBUF=yes else @@@@ -2489,7 +2544,7 @@@@ fi echo $ac_n "checking for broken inet_ntoa""... $ac_c" 1>&6 -echo "configure:2493: checking for broken inet_ntoa" >&5 +echo "configure:2548: checking for broken inet_ntoa" >&5 if eval "test \"`echo '$''{'rsync_cv_REPLACE_INET_NTOA'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@@@ -2498,7 +2553,7 @@@@ rsync_cv_REPLACE_INET_NTOA=cross else cat > conftest.$ac_ext < @@@@ -2510,7 +2565,7 @@@@ strcmp(inet_ntoa(ip),"120.86.52.18")) { exit(0); } exit(1);} EOF -if { (eval echo configure:2514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then rsync_cv_REPLACE_INET_NTOA=yes else @@@@ -2541,12 +2596,12 @@@@ for ac_func in connect do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2545: checking for $ac_func" >&5 +echo "configure:2600: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@@@ -2597,7 +2652,7 @@@@ case "$LIBS" in *-lnsl*) ;; *) echo $ac_n "checking for printf in -lnsl_s""... $ac_c" 1>&6 -echo "configure:2601: checking for printf in -lnsl_s" >&5 +echo "configure:2656: checking for printf in -lnsl_s" >&5 ac_lib_var=`echo nsl_s'_'printf | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -2605,7 +2660,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-lnsl_s $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -2647,7 +2702,7 @@@@ case "$LIBS" in *-lnsl*) ;; *) echo $ac_n "checking for printf in -lnsl""... $ac_c" 1>&6 -echo "configure:2651: checking for printf in -lnsl" >&5 +echo "configure:2706: checking for printf in -lnsl" >&5 ac_lib_var=`echo nsl'_'printf | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -2655,7 +2710,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -2697,7 +2752,7 @@@@ case "$LIBS" in *-lsocket*) ;; *) echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 -echo "configure:2701: checking for connect in -lsocket" >&5 +echo "configure:2756: checking for connect in -lsocket" >&5 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -2705,7 +2760,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-lsocket $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@@@ -2747,7 +2802,7 @@@@ case "$LIBS" in *-linet*) ;; *) echo $ac_n "checking for connect in -linet""... $ac_c" 1>&6 -echo "configure:2751: checking for connect in -linet" >&5 +echo "configure:2806: checking for connect in -linet" >&5 ac_lib_var=`echo inet'_'connect | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -2755,7 +2810,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-linet $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @ 1.5 log @2.2.0 @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Update rsync to 2.1.1. @ text @d3 3 a5 3 --- configure.orig Wed Sep 9 09:06:49 1998 +++ configure Tue Sep 15 14:44:48 1998 @@@@ -2036,18 +2036,73 @@@@ d12 1 a12 1 +echo "configure:2043: checking for $ac_func" >&5 d17 1 a17 1 +#line 2048 "configure" d40 1 a40 1 +if { (eval echo configure:2071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d70 2 a71 2 -#line 2046 "configure" +#line 2101 "configure" d76 2 a77 2 -if { (eval echo configure:2051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d81 11 a91 2 @@@@ -2068,12 +2123,12 @@@@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } d94 2 a95 2 -#line 2072 "configure" +#line 2127 "configure" d100 2 a101 2 -if { (eval echo configure:2077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d103 13 a115 4 echo yes;cat >> confdefs.h <<\EOF #define HAVE_LONGLONG 1 @@@@ -2094,13 +2149,13 @@@@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } d118 2 a119 2 -#line 2098 "configure" +#line 2153 "configure" d123 1 a123 1 main() { struct stat64 st; off64_t s; if (sizeof(off_t) == sizeof(off64_t)) return 1; exit((lstat64("/dev/null", &st)==0)?0:1); } d125 2 a126 2 -if { (eval echo configure:2104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d128 3 a130 3 echo yes;cat >> confdefs.h <<\EOF #define HAVE_OFF64_T 1 @@@@ -2121,14 +2176,14 @@@@ d134 2 a135 2 -#line 2125 "configure" +#line 2180 "configure" d142 2 a143 2 -if { (eval echo configure:2132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d147 11 a157 2 @@@@ -2149,12 +2204,12 @@@@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } d160 2 a161 2 -#line 2153 "configure" +#line 2208 "configure" d166 2 a167 2 -if { (eval echo configure:2158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d169 13 a181 4 echo yes;cat >> confdefs.h <<\EOF #define HAVE_UNSIGNED_CHAR 1 @@@@ -2175,7 +2230,7 @@@@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } d184 2 a185 2 -#line 2179 "configure" +#line 2234 "configure" d189 1 a189 1 @@@@ -2183,7 +2238,7 @@@@ d191 1 a191 1 di->d_name[0] == 0) return 0; return 1;} d193 2 a194 2 -if { (eval echo configure:2187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d196 4 a199 3 echo yes - you are using the broken /usr/ucb/cc;cat >> confdefs.h <<\EOF #define HAVE_BROKEN_READDIR 1 @@@@ -2201,7 +2256,7 @@@@ d201 7 a207 1 echo $ac_n "checking for utimbuf ... $ac_c" d209 2 a210 2 -#line 2205 "configure" +#line 2260 "configure" d214 2 a215 2 @@@@ -2209,7 +2264,7 @@@@ struct utimbuf tbuf; tbuf.actime = 0; tbuf.modtime = 1; return utime("foo.c",&tbuf); d218 2 a219 2 -if { (eval echo configure:2213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d221 36 a256 9 echo yes;cat >> confdefs.h <<\EOF #define HAVE_UTIMBUF 1 @@@@ -2230,12 +2285,12 @@@@ # only looks in /etc/hosts), so we only look for -lsocket if we need # it. echo $ac_n "checking for connect""... $ac_c" 1>&6 -echo "configure:2234: checking for connect" >&5 +echo "configure:2289: checking for connect" >&5 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then d260 2 a261 2 -#line 2239 "configure" +#line 2294 "configure" d264 2 a265 2 which can conflict with char connect(); below. */ @@@@ -2258,7 +2313,7 @@@@ d269 2 a270 2 -if { (eval echo configure:2262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d272 1 a272 1 eval "ac_cv_func_connect=yes" d274 6 a279 6 @@@@ -2278,7 +2333,7 @@@@ case "$LIBS" in *-lnsl*) ;; *) echo $ac_n "checking for printf in -lnsl_s""... $ac_c" 1>&6 -echo "configure:2282: checking for printf in -lnsl_s" >&5 +echo "configure:2337: checking for printf in -lnsl_s" >&5 d283 1 a283 1 @@@@ -2286,7 +2341,7 @@@@ d287 2 a288 2 -#line 2290 "configure" +#line 2345 "configure" d292 1 a292 1 @@@@ -2297,7 +2352,7 @@@@ d296 2 a297 2 -if { (eval echo configure:2301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d301 6 a306 6 @@@@ -2328,7 +2383,7 @@@@ case "$LIBS" in *-lnsl*) ;; *) echo $ac_n "checking for printf in -lnsl""... $ac_c" 1>&6 -echo "configure:2332: checking for printf in -lnsl" >&5 +echo "configure:2387: checking for printf in -lnsl" >&5 d310 1 a310 1 @@@@ -2336,7 +2391,7 @@@@ d314 2 a315 2 -#line 2340 "configure" +#line 2395 "configure" d319 1 a319 1 @@@@ -2347,7 +2402,7 @@@@ d323 2 a324 2 -if { (eval echo configure:2351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d328 6 a333 6 @@@@ -2378,7 +2433,7 @@@@ case "$LIBS" in *-lsocket*) ;; *) echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 -echo "configure:2382: checking for connect in -lsocket" >&5 +echo "configure:2437: checking for connect in -lsocket" >&5 d337 1 a337 1 @@@@ -2386,7 +2441,7 @@@@ d341 2 a342 2 -#line 2390 "configure" +#line 2445 "configure" d346 1 a346 1 @@@@ -2397,7 +2452,7 @@@@ d350 2 a351 2 -if { (eval echo configure:2401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d355 6 a360 6 @@@@ -2428,7 +2483,7 @@@@ case "$LIBS" in *-linet*) ;; *) echo $ac_n "checking for connect in -linet""... $ac_c" 1>&6 -echo "configure:2432: checking for connect in -linet" >&5 +echo "configure:2487: checking for connect in -linet" >&5 d364 1 a364 1 @@@@ -2436,7 +2491,7 @@@@ d368 2 a369 2 -#line 2440 "configure" +#line 2495 "configure" d373 1 a373 1 @@@@ -2447,7 +2502,7 @@@@ d377 2 a378 2 -if { (eval echo configure:2451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then @ 1.3 log @Add NetBSD RCS Ids. @ text @d3 3 a5 3 --- configure.orig Fri Jul 17 16:46:51 1998 +++ configure Sun Jul 26 00:35:46 1998 @@@@ -1996,18 +1996,73 @@@@ d12 1 a12 1 +echo "configure:2003: checking for $ac_func" >&5 d17 1 a17 1 +#line 2008 "configure" d40 1 a40 1 +if { (eval echo configure:2031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d70 2 a71 2 -#line 2006 "configure" +#line 2061 "configure" d76 2 a77 2 -if { (eval echo configure:2011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d81 1 a81 1 @@@@ -2028,12 +2083,12 @@@@ d85 2 a86 2 -#line 2032 "configure" +#line 2087 "configure" d91 2 a92 2 -if { (eval echo configure:2037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d96 1 a96 1 @@@@ -2054,13 +2109,13 @@@@ d100 2 a101 2 -#line 2058 "configure" +#line 2113 "configure" d107 2 a108 2 -if { (eval echo configure:2064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d112 1 a112 1 @@@@ -2081,14 +2136,14 @@@@ d116 2 a117 2 -#line 2085 "configure" +#line 2140 "configure" d124 2 a125 2 -if { (eval echo configure:2092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d129 1 a129 1 @@@@ -2109,12 +2164,12 @@@@ d133 2 a134 2 -#line 2113 "configure" +#line 2168 "configure" d139 2 a140 2 -if { (eval echo configure:2118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d144 1 a144 1 @@@@ -2135,7 +2190,7 @@@@ d148 2 a149 2 -#line 2139 "configure" +#line 2194 "configure" d153 1 a153 1 @@@@ -2143,7 +2198,7 @@@@ d157 2 a158 2 -if { (eval echo configure:2147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d162 1 a162 1 @@@@ -2161,7 +2216,7 @@@@ d166 2 a167 2 -#line 2165 "configure" +#line 2220 "configure" d171 1 a171 1 @@@@ -2169,7 +2224,7 @@@@ d175 2 a176 2 -if { (eval echo configure:2173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d180 1 a180 1 @@@@ -2190,12 +2245,12 @@@@ d184 2 a185 2 -echo "configure:2194: checking for connect" >&5 +echo "configure:2249: checking for connect" >&5 d190 2 a191 2 -#line 2199 "configure" +#line 2254 "configure" d195 1 a195 1 @@@@ -2218,7 +2273,7 @@@@ d199 2 a200 2 -if { (eval echo configure:2222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d204 1 a204 1 @@@@ -2238,7 +2293,7 @@@@ d208 2 a209 2 -echo "configure:2242: checking for printf in -lnsl_s" >&5 +echo "configure:2297: checking for printf in -lnsl_s" >&5 d213 1 a213 1 @@@@ -2246,7 +2301,7 @@@@ d217 2 a218 2 -#line 2250 "configure" +#line 2305 "configure" d222 1 a222 1 @@@@ -2257,7 +2312,7 @@@@ d226 2 a227 2 -if { (eval echo configure:2261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d231 1 a231 1 @@@@ -2288,7 +2343,7 @@@@ d235 2 a236 2 -echo "configure:2292: checking for printf in -lnsl" >&5 +echo "configure:2347: checking for printf in -lnsl" >&5 d240 1 a240 1 @@@@ -2296,7 +2351,7 @@@@ d244 2 a245 2 -#line 2300 "configure" +#line 2355 "configure" d249 1 a249 1 @@@@ -2307,7 +2362,7 @@@@ d253 2 a254 2 -if { (eval echo configure:2311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d258 1 a258 1 @@@@ -2338,7 +2393,7 @@@@ d262 2 a263 2 -echo "configure:2342: checking for connect in -lsocket" >&5 +echo "configure:2397: checking for connect in -lsocket" >&5 d267 1 a267 1 @@@@ -2346,7 +2401,7 @@@@ d271 2 a272 2 -#line 2350 "configure" +#line 2405 "configure" d276 1 a276 1 @@@@ -2357,7 +2412,7 @@@@ d280 2 a281 2 -if { (eval echo configure:2361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d285 1 a285 1 @@@@ -2388,7 +2443,7 @@@@ d289 2 a290 2 -echo "configure:2392: checking for connect in -linet" >&5 +echo "configure:2447: checking for connect in -linet" >&5 d294 1 a294 1 @@@@ -2396,7 +2451,7 @@@@ d298 2 a299 2 -#line 2400 "configure" +#line 2455 "configure" d303 1 a303 1 @@@@ -2407,7 +2462,7 @@@@ d307 2 a308 2 -if { (eval echo configure:2411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then @ 1.2 log @Update to rsync 2.1.0. @ text @d1 2 @ 1.1 log @Use mkstemp(3). @ text @d1 2 a2 2 --- configure.orig Thu Jun 18 06:30:21 1998 +++ configure Sat Jul 4 05:46:58 1998 d110 1 a110 1 @@@@ -2081,12 +2136,12 @@@@ d118 17 d137 2 a138 2 -if { (eval echo configure:2090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d142 1 a142 1 @@@@ -2107,7 +2162,7 @@@@ d146 2 a147 2 -#line 2111 "configure" +#line 2166 "configure" d151 1 a151 1 @@@@ -2115,7 +2170,7 @@@@ d155 2 a156 2 -if { (eval echo configure:2119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d160 1 a160 1 @@@@ -2133,7 +2188,7 @@@@ d164 2 a165 2 -#line 2137 "configure" +#line 2192 "configure" d169 1 a169 1 @@@@ -2141,7 +2196,7 @@@@ d173 2 a174 2 -if { (eval echo configure:2145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d178 1 a178 1 @@@@ -2162,12 +2217,12 @@@@ d182 2 a183 2 -echo "configure:2166: checking for connect" >&5 +echo "configure:2221: checking for connect" >&5 d188 2 a189 2 -#line 2171 "configure" +#line 2226 "configure" d193 1 a193 1 @@@@ -2190,7 +2245,7 @@@@ d197 2 a198 2 -if { (eval echo configure:2194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d202 1 a202 1 @@@@ -2210,7 +2265,7 @@@@ d206 2 a207 2 -echo "configure:2214: checking for printf in -lnsl_s" >&5 +echo "configure:2269: checking for printf in -lnsl_s" >&5 d211 1 a211 1 @@@@ -2218,7 +2273,7 @@@@ d215 2 a216 2 -#line 2222 "configure" +#line 2277 "configure" d220 1 a220 1 @@@@ -2229,7 +2284,7 @@@@ d224 2 a225 2 -if { (eval echo configure:2233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d229 1 a229 1 @@@@ -2260,7 +2315,7 @@@@ d233 2 a234 2 -echo "configure:2264: checking for printf in -lnsl" >&5 +echo "configure:2319: checking for printf in -lnsl" >&5 d238 1 a238 1 @@@@ -2268,7 +2323,7 @@@@ d242 2 a243 2 -#line 2272 "configure" +#line 2327 "configure" d247 1 a247 1 @@@@ -2279,7 +2334,7 @@@@ d251 2 a252 2 -if { (eval echo configure:2283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d256 1 a256 1 @@@@ -2310,7 +2365,7 @@@@ d260 2 a261 2 -echo "configure:2314: checking for connect in -lsocket" >&5 +echo "configure:2369: checking for connect in -lsocket" >&5 d265 1 a265 1 @@@@ -2318,7 +2373,7 @@@@ d269 2 a270 2 -#line 2322 "configure" +#line 2377 "configure" d274 1 a274 1 @@@@ -2329,7 +2384,7 @@@@ d278 2 a279 2 -if { (eval echo configure:2333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d283 1 a283 1 @@@@ -2360,7 +2415,7 @@@@ d287 2 a288 2 -echo "configure:2364: checking for connect in -linet" >&5 +echo "configure:2419: checking for connect in -linet" >&5 d292 1 a292 1 @@@@ -2368,7 +2423,7 @@@@ d296 2 a297 2 -#line 2372 "configure" +#line 2427 "configure" d301 1 a301 1 @@@@ -2379,7 +2434,7 @@@@ d305 2 a306 2 -if { (eval echo configure:2383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then @