aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBirger J. Nordølum2013-04-10 10:47:45 +0200
committerJack Nagel2013-04-11 02:14:34 -0500
commitf740006005114bf35769e25b2fd3c242dba94dc9 (patch)
tree44435a8f80f87d649d287a549e4b75f71e20eb96
parent222b9ebc1bbaa2ec297b96bfe422aaeb48a62239 (diff)
downloadhomebrew-f740006005114bf35769e25b2fd3c242dba94dc9.tar.bz2
ssh-copy-id 6.2p1
Closes #19098. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
-rw-r--r--Library/Formula/ssh-copy-id.rb29
1 files changed, 4 insertions, 25 deletions
diff --git a/Library/Formula/ssh-copy-id.rb b/Library/Formula/ssh-copy-id.rb
index 9ab5cb2f6..5b262b8a2 100644
--- a/Library/Formula/ssh-copy-id.rb
+++ b/Library/Formula/ssh-copy-id.rb
@@ -2,34 +2,13 @@ require 'formula'
class SshCopyId < Formula
homepage 'http://openssh.org/'
- url 'http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-6.0p1.tar.gz'
- mirror 'http://ftp.spline.de/pub/OpenBSD/OpenSSH/portable/openssh-6.0p1.tar.gz'
- version '6.0p1'
- sha1 'f691e53ef83417031a2854b8b1b661c9c08e4422'
+ url 'http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-6.2p1.tar.gz'
+ mirror 'http://ftp.spline.de/pub/OpenBSD/OpenSSH/portable/openssh-6.2p1.tar.gz'
+ version '6.2p1'
+ sha256 '58690267d7455f444e87c2f8cd9be91fc686ffc0c02d1ebd0be2ab68149f7160'
def install
bin.install 'contrib/ssh-copy-id'
man1.install 'contrib/ssh-copy-id.1'
end
-
- def patches
- # /bin/sh on the host (fixes an issue with fish shell)
- # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=390344#10
- DATA
- end
end
-
-__END__
-diff --git a/contrib/ssh-copy-id b/contrib/ssh-copy-id
-index 9451ace..2e4e9ac 100644
---- a/contrib/ssh-copy-id
-+++ b/contrib/ssh-copy-id
-@@ -41,7 +41,7 @@ fi
- # strip any trailing colon
- host=`echo $1 | sed 's/:$//'`
-
--{ eval "$GET_ID" ; } | ssh $host "umask 077; test -d ~/.ssh || mkdir ~/.ssh ; cat >> ~/.ssh/authorized_keys" || exit 1
-+{ eval "$GET_ID" ; } | ssh $host "sh -c 'umask 077; test -d .ssh || mkdir .ssh ; cat >> .ssh/authorized_keys'" || exit 1
-
- cat <<EOF
- Now try logging into the machine, with "ssh '$host'", and check in: