From cd4649995ed4f276a1e0877edb7227646d889130 Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Fri, 27 Dec 2002 09:29:17 +0000 Subject: [PATCH] ok, finally follow FreeBSD and make SSH the default transport for rsync --- rsync/rsync.patch | 18 ++++++++++++++++++ rsync/rsync.spec | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/rsync/rsync.patch b/rsync/rsync.patch index bcc7bcebf5..a55a52bb84 100644 --- a/rsync/rsync.patch +++ b/rsync/rsync.patch @@ -41,3 +41,21 @@ #endif /* these are needed for the uid/gid mapping code */ +--- main.c.orig Tue Sep 5 19:46:43 2000 ++++ main.c Sat Apr 7 23:32:25 2001 +@@ -134 +134 @@ +- cmd = RSYNC_RSH; ++ cmd = RSYNC_SSH; +--- options.c.orig Thu Mar 8 03:31:32 2001 ++++ options.c Thu Mar 8 03:31:32 2001 +@@ -141 +141 @@ +- rprintf(F," -e, --rsh=COMMAND specify rsh replacement\n"); ++ rprintf(F," -e, --rsh=COMMAND specify rsh replacement (default %s)\n", RSYNC_SSH); +--- rsync.h.orig Sat Aug 19 06:10:39 2000 ++++ rsync.h Sat Apr 7 23:31:00 2001 +@@ -75,4 +75,5 @@ + #define RSYNC_RSH "rsh" + #endif ++#define RSYNC_SSH "ssh" + + #include diff --git a/rsync/rsync.spec b/rsync/rsync.spec index 692ff0f34c..88f74cafe6 100644 --- a/rsync/rsync.spec +++ b/rsync/rsync.spec @@ -33,7 +33,7 @@ Distribution: OpenPKG [CORE] Group: Filesystem License: GPL Version: 2.5.5 -Release: 20021217 +Release: 20021227 # list of sources Source0: http://rsync.samba.org/ftp/rsync/rsync-%{version}.tar.gz