[star/f19] star: use ssh for remote access by default

Pavel Raiskup praiskup at fedoraproject.org
Thu Jun 20 14:20:40 UTC 2013


commit a3b8c87cee2b58eac3faefa9b3d3160d82db608a
Author: Pavel Raiskup <praiskup at redhat.com>
Date:   Thu Jun 20 16:07:50 2013 +0200

    star: use ssh for remote access by default
    
    (cherry pick from fc20)
    
    Version: 1.5.2-6
    Resolves: #976414

 star-1.5.2-use-ssh-by-default.patch |   13 +++++++++++++
 star.spec                           |   11 ++++++++++-
 2 files changed, 23 insertions(+), 1 deletions(-)
---
diff --git a/star-1.5.2-use-ssh-by-default.patch b/star-1.5.2-use-ssh-by-default.patch
new file mode 100644
index 0000000..1ccc321
--- /dev/null
+++ b/star-1.5.2-use-ssh-by-default.patch
@@ -0,0 +1,13 @@
+diff --git a/librmt/remote.c b/librmt/remote.c
+index 4606484..298ecef 100644
+--- a/librmt/remote.c
++++ b/librmt/remote.c
+@@ -1462,7 +1462,7 @@ _rcmdrsh(ahost, inport, locuser, remuser, cmd, rsh)
+ 	int	pid;
+ 
+ 	if (rsh == 0)
+-		rsh = "rsh";
++		rsh = "ssh";
+ 
+ 	/*
+ 	 * Verify that 'locuser' is present on local host.
diff --git a/star.spec b/star.spec
index a9429a3..4a2b395 100644
--- a/star.spec
+++ b/star.spec
@@ -7,7 +7,7 @@
 Summary:  An archiving tool with ACL support
 Name: star
 Version: 1.5.2
-Release: 5%{?dist}
+Release: 6%{?dist}
 URL: http://cdrecord.berlios.de/old/private/star.html
 Source: ftp://ftp.berlios.de/pub/star/%{name}-%{version}.tar.bz2
 
@@ -38,6 +38,11 @@ Patch8: star-1.5.2-man-page-day.patch
 # ~> #926571
 Patch9: star-1.5.2-aarch64-config.patch
 
+# Use ssh rather than rsh by default
+# ~> downstream
+# ~> related to #968980
+Patch10: star-1.5.2-use-ssh-by-default.patch
+
 Requires(post):  %{ALTERNATIVES}
 Requires(preun): %{ALTERNATIVES}
 
@@ -103,6 +108,7 @@ copies files from one directory tree to another.
 %patch7 -p1 -b .crc
 %patch8 -p1 -b .man-page-day
 %patch9 -p1 -b .aarch64
+%patch10 -p1 -b .ssh-by-default
 
 cp -a star/all.mk star/Makefile
 
@@ -206,6 +212,9 @@ fi
 %ghost %verify(not md5 size mode mtime) %{ALT_SL1_LINK}
 
 %changelog
+* Thu Jun 20 2013 Pavel Raiskup <praiskup at redhat.com> - 1.5.2-6
+- use the ssh as the default remote access method
+
 * Fri May 24 2013 Pavel Raiskup <praiskup at redhat.com> - 1.5.2-5
 - add missing ghost files (#960007)
 - fix the upgrade path, sorry for the noise (#959917, #960007)


More information about the scm-commits mailing list