From 694d7a38b50a71b5931a2ca310bb8af59e9ae7b3 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Thu, 20 Jun 2013 16:07:50 +0200 Subject: [PATCH] star: use ssh for remote access by default Version: 1.5.2-7 Resolves: #976414 --- star-1.5.2-use-ssh-by-default.patch | 13 +++++++++++++ star.spec | 7 +++++++ 2 files changed, 20 insertions(+) create mode 100644 star-1.5.2-use-ssh-by-default.patch 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 f44f2fb..71fbe1b 100644 --- a/star.spec +++ b/star.spec @@ -43,6 +43,11 @@ Patch9: star-1.5.2-aarch64-config.patch # ~> #968980 Patch10: star-1.5.2-rmt-rh-access.patch +# Use ssh rather than rsh by default +# ~> downstream +# ~> related to #968980 +Patch11: star-1.5.2-use-ssh-by-default.patch + Requires(post): %{ALTERNATIVES} Requires(preun): %{ALTERNATIVES} @@ -120,6 +125,7 @@ restoring files from a backup), and tar (an archiving program). %patch8 -p1 -b .man-page-day %patch9 -p1 -b .aarch64 %patch10 -p1 -b .rmt-access-rules +%patch11 -p1 -b .ssh-by-default cp -a star/all.mk star/Makefile @@ -238,6 +244,7 @@ fi %changelog * Thu Jun 20 2013 Pavel Raiskup - 1.5.2-7 - we should provide /etc/rmt symlink for a while (related to #968980) +- use the ssh as the default remote access method * Thu May 30 2013 Pavel Raiskup - 1.5.2-6 - subpackage also 'rmt' (#968980)