homebrew-core/Formula/synscan.rb
2016-10-01 06:51:14 -04:00

25 lines
982 B
Ruby

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"
bottle do
cellar :any_skip_relocation
sha256 "98648d8ae9cce116cd800d7773ca84e44af92d37059bc62b02b548f3e5b8cbe8" => :sierra
sha256 "d9d3cfbe1016ff7d314cf9db8b7fa796e3d3a43e78b2552e84b224e53f73f541" => :el_capitan
sha256 "3298295fda8028da39ddbc6c3f2d26b42de9dd4f6e3a46a4e19bb871fa545035" => :yosemite
sha256 "4cacc06fdeda9a24bb681cb90c52c4692d5bf3993f18db496c5de19ab9d46dac" => :mavericks
sha256 "e27c723f84d94d6d209c40387fb4816365e11af1c09e296661b67dcaa254c36d" => :mountain_lion
end
def install
system "./configure", "--prefix=#{prefix}"
system "make", "macos"
system "make", "install"
end
test do
system "#{bin}/synscan", "-V"
end
end