From 0367855b5508681c5bd658f44e9d396872e8d469 Mon Sep 17 00:00:00 2001 From: frueauf Date: Sat, 25 Jul 1998 23:42:20 +0000 Subject: Update to rsync 2.1.0. --- net/rsync/Makefile | 6 +- net/rsync/files/md5 | 2 +- net/rsync/patches/patch-ab | 6 +- net/rsync/patches/patch-ac | 139 +++++++++++++++++++++++++-------------------- net/rsync/patches/patch-ae | 17 ++++++ 5 files changed, 102 insertions(+), 68 deletions(-) create mode 100644 net/rsync/patches/patch-ae (limited to 'net/rsync') diff --git a/net/rsync/Makefile b/net/rsync/Makefile index fff03e7154d..cb901b71df2 100644 --- a/net/rsync/Makefile +++ b/net/rsync/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.9 1998/07/04 09:58:43 mycroft Exp $ +# $NetBSD: Makefile,v 1.10 1998/07/25 23:42:20 frueauf Exp $ # -DISTNAME= rsync-2.0.18 +DISTNAME= rsync-2.1.0 CATEGORIES= net MASTER_SITES= ftp://samba.anu.edu.au/pub/rsync/ \ ftp://sunsite.auc.dk/pub/unix/rsync/ \ @@ -10,7 +10,7 @@ MASTER_SITES= ftp://samba.anu.edu.au/pub/rsync/ \ MAINTAINER= mycroft@netbsd.org -CONFLICTS= rsync-1.6.9 +CONFLICTS= rsync-1.6.9 rsync-2.0.18 GNU_CONFIGURE= yes diff --git a/net/rsync/files/md5 b/net/rsync/files/md5 index 3dd657c5b4b..5ba2d0a7b70 100644 --- a/net/rsync/files/md5 +++ b/net/rsync/files/md5 @@ -1 +1 @@ -MD5 (rsync-2.0.18.tar.gz) = ffdbb121d522521d12e770e9b02bc728 +MD5 (rsync-2.1.0.tar.gz) = 6b711d9ed8675f03a87e44160443e179 diff --git a/net/rsync/patches/patch-ab b/net/rsync/patches/patch-ab index 76aabf69406..d9a0b0499ba 100644 --- a/net/rsync/patches/patch-ab +++ b/net/rsync/patches/patch-ab @@ -1,9 +1,9 @@ ---- configure.in.orig Thu Jun 18 06:30:21 1998 -+++ configure.in Sat Jul 4 05:46:36 1998 +--- configure.in.orig Fri Jul 17 16:46:51 1998 ++++ configure.in Sun Jul 26 00:38:05 1998 @@ -42,6 +42,7 @@ AC_CHECK_FUNCS(mmap munmap waitpid getcwd strdup strerror chown chmod mknod) AC_CHECK_FUNCS(fchmod fstat strchr readlink link utime utimes) - AC_CHECK_FUNCS(memmove getopt_long lchown setlinebuf vsnprintf setsid glob strpbrk) + AC_CHECK_FUNCS(memmove getopt_long lchown vsnprintf setsid glob strpbrk) +AC_CHECK_FUNCS(mkstemp) echo $ac_n "checking for working fnmatch... $ac_c" diff --git a/net/rsync/patches/patch-ac b/net/rsync/patches/patch-ac index 520c257e367..5e87f532ff2 100644 --- a/net/rsync/patches/patch-ac +++ b/net/rsync/patches/patch-ac @@ -1,5 +1,5 @@ ---- configure.orig Thu Jun 18 06:30:21 1998 -+++ configure Sat Jul 4 05:46:58 1998 +--- configure.orig Fri Jul 17 16:46:51 1998 ++++ configure Sun Jul 26 00:35:46 1998 @@ -1996,18 +1996,73 @@ fi done @@ -107,186 +107,203 @@ then echo yes;cat >> confdefs.h <<\EOF #define HAVE_OFF64_T 1 -@@ -2081,12 +2136,12 @@ +@@ -2081,14 +2136,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: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 + then + echo yes;cat >> confdefs.h <<\EOF + #define HAVE_SHORT_INO_T 1 +@@ -2109,12 +2164,12 @@ + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } + else + cat > conftest.$ac_ext < main() { char c; c=250; exit((c > 0)?0:1); } EOF --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 +-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 then echo yes;cat >> confdefs.h <<\EOF #define HAVE_UNSIGNED_CHAR 1 -@@ -2107,7 +2162,7 @@ +@@ -2135,7 +2190,7 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < #include -@@ -2115,7 +2170,7 @@ +@@ -2143,7 +2198,7 @@ if (di && di->d_name[-2] == '.' && di->d_name[-1] == 0 && di->d_name[0] == 0) return 0; return 1;} EOF --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 +-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 then echo yes - you are using the broken /usr/ucb/cc;cat >> confdefs.h <<\EOF #define HAVE_BROKEN_READDIR 1 -@@ -2133,7 +2188,7 @@ +@@ -2161,7 +2216,7 @@ echo $ac_n "checking for utimbuf ... $ac_c" cat > conftest.$ac_ext < #include -@@ -2141,7 +2196,7 @@ +@@ -2169,7 +2224,7 @@ struct utimbuf tbuf; tbuf.actime = 0; tbuf.modtime = 1; return utime("foo.c",&tbuf); ; return 0; } EOF --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 +-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 rm -rf conftest* echo yes;cat >> confdefs.h <<\EOF #define HAVE_UTIMBUF 1 -@@ -2162,12 +2217,12 @@ +@@ -2190,12 +2245,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:2166: checking for connect" >&5 -+echo "configure:2221: checking for connect" >&5 +-echo "configure:2194: checking for connect" >&5 ++echo "configure:2249: checking for connect" >&5 if eval "test \"`echo '$''{'ac_cv_func_connect'+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:2249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +-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 rm -rf conftest* eval "ac_cv_func_connect=yes" else -@@ -2210,7 +2265,7 @@ +@@ -2238,7 +2293,7 @@ case "$LIBS" in *-lnsl*) ;; *) echo $ac_n "checking for printf in -lnsl_s""... $ac_c" 1>&6 --echo "configure:2214: checking for printf in -lnsl_s" >&5 -+echo "configure:2269: checking for printf in -lnsl_s" >&5 +-echo "configure:2242: checking for printf in -lnsl_s" >&5 ++echo "configure:2297: 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 -@@ -2218,7 +2273,7 @@ +@@ -2246,7 +2301,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:2288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +-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 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else -@@ -2260,7 +2315,7 @@ +@@ -2288,7 +2343,7 @@ case "$LIBS" in *-lnsl*) ;; *) echo $ac_n "checking for printf in -lnsl""... $ac_c" 1>&6 --echo "configure:2264: checking for printf in -lnsl" >&5 -+echo "configure:2319: checking for printf in -lnsl" >&5 +-echo "configure:2292: checking for printf in -lnsl" >&5 ++echo "configure:2347: 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 -@@ -2268,7 +2323,7 @@ +@@ -2296,7 +2351,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:2338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +-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 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else -@@ -2310,7 +2365,7 @@ +@@ -2338,7 +2393,7 @@ case "$LIBS" in *-lsocket*) ;; *) echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 --echo "configure:2314: checking for connect in -lsocket" >&5 -+echo "configure:2369: checking for connect in -lsocket" >&5 +-echo "configure:2342: checking for connect in -lsocket" >&5 ++echo "configure:2397: 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 -@@ -2318,7 +2373,7 @@ +@@ -2346,7 +2401,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:2388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +-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 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else -@@ -2360,7 +2415,7 @@ +@@ -2388,7 +2443,7 @@ case "$LIBS" in *-linet*) ;; *) echo $ac_n "checking for connect in -linet""... $ac_c" 1>&6 --echo "configure:2364: checking for connect in -linet" >&5 -+echo "configure:2419: checking for connect in -linet" >&5 +-echo "configure:2392: checking for connect in -linet" >&5 ++echo "configure:2447: 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 -@@ -2368,7 +2423,7 @@ +@@ -2396,7 +2451,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:2438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +-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 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else diff --git a/net/rsync/patches/patch-ae b/net/rsync/patches/patch-ae new file mode 100644 index 00000000000..55b7b1e1af2 --- /dev/null +++ b/net/rsync/patches/patch-ae @@ -0,0 +1,17 @@ +--- syscall.c-orig Tue May 26 16:43:43 1998 ++++ syscall.c Sun Jul 26 00:50:22 1998 +@@ -103,12 +103,14 @@ + return mkdir(fname, mode); + } + ++#ifndef HAVE_MKSTEMP + 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) + { -- cgit v1.2.3