homebrew-core/Formula/ssh-audit.rb
Dustin Rodrigues d1b8b17db9
ssh-audit: use system python
Closes #39717.

Signed-off-by: Izaak Beekman <zbeekman@gmail.com>
2019-05-22 22:09:22 -04:00

19 lines
530 B
Ruby

class SshAudit < Formula
desc "SSH server auditing"
homepage "https://github.com/arthepsy/ssh-audit"
url "https://github.com/arthepsy/ssh-audit/archive/v1.7.0.tar.gz"
sha256 "cba29cc19ec2932e4f43c720b2c49a7d179219e23482476aeb472f7463713b68"
revision 1
head "https://github.com/arthepsy/ssh-audit.git"
bottle :unneeded
def install
bin.install "ssh-audit.py" => "ssh-audit"
end
test do
output = shell_output("#{bin}/ssh-audit -h 2>&1", 1)
assert_match "force ssh version 1 only", output
end
end