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