diff options
| author | Mike McQuaid | 2014-12-27 16:11:11 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-12-27 16:31:48 +0000 |
| commit | 39ff44a621c94fcffa4ba3608924e03caa24fafc (patch) | |
| tree | 2c4a2c0b22a8ad3e2a45dd63c714edd6e40d0cce /Library | |
| parent | 56418133d6e1294c47c4c415b0049e9c978edce9 (diff) | |
| download | homebrew-39ff44a621c94fcffa4ba3608924e03caa24fafc.tar.bz2 | |
ssh-copy-id: fix strict audit failures.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ssh-copy-id.rb | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/Library/Formula/ssh-copy-id.rb b/Library/Formula/ssh-copy-id.rb index 490f7262b..4f5acb0df 100644 --- a/Library/Formula/ssh-copy-id.rb +++ b/Library/Formula/ssh-copy-id.rb @@ -1,11 +1,9 @@ -require 'formula' - class SshCopyId < Formula - homepage 'http://www.openssh.com/' - url 'http://ftp.usa.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-6.7p1.tar.gz' - mirror 'http://ftp3.usa.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-6.7p1.tar.gz' - version '6.7p1' - sha1 '14e5fbed710ade334d65925e080d1aaeb9c85bf6' + homepage "http://www.openssh.com/" + url "http://ftp.usa.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-6.7p1.tar.gz" + mirror "http://ftp3.usa.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-6.7p1.tar.gz" + version "6.7p1" + sha1 "14e5fbed710ade334d65925e080d1aaeb9c85bf6" bottle do cellar :any @@ -15,7 +13,11 @@ class SshCopyId < Formula end def install - bin.install 'contrib/ssh-copy-id' - man1.install 'contrib/ssh-copy-id.1' + bin.install "contrib/ssh-copy-id" + man1.install "contrib/ssh-copy-id.1" + end + + test do + shell_output bin/"ssh-copy-id -h", 1 end end |
