23 lines
784 B
Ruby
23 lines
784 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
|
|
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
|