homebrew-core/Formula/testssl.rb
2017-09-21 02:44:59 -07:00

22 lines
663 B
Ruby

class Testssl < Formula
desc "Tool which checks for the support of TLS/SSL ciphers and flaws"
homepage "https://testssl.sh/"
url "https://github.com/drwetter/testssl.sh/archive/v2.9.5-1.tar.gz"
version "2.9.5-1"
sha256 "505ba9400e1a49759ba84d0cf6ae79f3787f111c64a319094de69635b786c72a"
head "https://github.com/drwetter/testssl.sh.git"
bottle :unneeded
depends_on "openssl"
def install
ENV.prepend_create_path "PATH", Formula["openssl"].opt_prefix.to_s
bin.install "testssl.sh"
bin.env_script_all_files(libexec+"bin", :PATH => ENV["PATH"])
end
test do
system "#{bin}/testssl.sh", "--local", "--warnings", "off"
end
end