homebrew-core/Formula/testssl.rb
Mike McQuaid 7a4dabfc1a Use hash rockets again. (#5177)
This restores 1.8 hash rockets because they look nicer with e.g. `depends_on :foo => :bar`
2016-09-24 16:45:48 +01:00

22 lines
619 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.6.tar.gz"
sha256 "286b3285f096a5d249de1507eee88b14848514696bc5bbc4faceffa46b563ebd"
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"
end
end