28 lines
1.1 KiB
Ruby
28 lines
1.1 KiB
Ruby
class SshAudit < Formula
|
|
include Language::Python::Virtualenv
|
|
|
|
desc "SSH server & client auditing"
|
|
homepage "https://github.com/jtesta/ssh-audit"
|
|
url "https://files.pythonhosted.org/packages/53/77/7db9fc7f87ece1978942aa3e8b905032da0862c62ede8112f9bb99c22232/ssh-audit-2.4.0.tar.gz"
|
|
sha256 "197ec4e8c3f5ffca5627d944b85ed677faa798c218dc3ebb18430f5671c14d6d"
|
|
license "MIT"
|
|
head "https://github.com/jtesta/ssh-audit.git"
|
|
|
|
bottle do
|
|
sha256 cellar: :any_skip_relocation, arm64_big_sur: "8bb5287d63d9ac17380fd712b1e263b13f88cff456685bb1f34a21812491f807"
|
|
sha256 cellar: :any_skip_relocation, big_sur: "68ef1fb06d02ac84edd2409a4988353684279f717dc9678411ac3a6eec37b12e"
|
|
sha256 cellar: :any_skip_relocation, catalina: "03faa5f6e250751b1247704617e78e7e4a27387d7c2c586a3f373576898cfc81"
|
|
sha256 cellar: :any_skip_relocation, mojave: "f01d8bd0cb8b9d461c8b9f93b765def198756cacbe623a8345efabf93a9984f9"
|
|
end
|
|
|
|
depends_on "python@3.9"
|
|
|
|
def install
|
|
virtualenv_install_with_resources
|
|
end
|
|
|
|
test do
|
|
assert_match "[exception]", shell_output("#{bin}/ssh-audit -nt 0 ssh.github.com", 1)
|
|
end
|
|
end
|