homebrew-core/Formula/synscan.rb

24 lines
706 B
Ruby
Raw Normal View History

class Synscan < Formula
desc "Asynchronous half-open TCP portscanner"
homepage "http://www.digit-labs.org/files/tools/synscan/"
url "http://www.digit-labs.org/files/tools/synscan/releases/synscan-5.02.tar.gz"
sha256 "c4e6bbcc6a7a9f1ea66f6d3540e605a79e38080530886a50186eaa848c26591e"
2014-11-26 11:56:38 +00:00
bottle do
cellar :any
sha1 "e09f75a92648543f7b716b1fe032aa7c0e392a2f" => :yosemite
sha1 "1f20a172f16c90c75ed182bc69aa11f2008984ae" => :mavericks
sha1 "126a969ae17f84535a71333ba1372caca7efabd5" => :mountain_lion
end
def install
system "./configure", "--prefix=#{prefix}"
system "make", "macos"
system "make", "install"
end
test do
system "#{bin}/synscan", "-V"
end
end