2011-12-08 17:37:14 +00:00
|
|
|
class ArpScan < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "ARP scanning and fingerprinting tool"
|
2014-11-08 05:58:29 +00:00
|
|
|
homepage "http://www.nta-monitor.com/tools-resources/security-tools/arp-scan"
|
|
|
|
url "http://www.nta-monitor.com/files/arp-scan/arp-scan-1.9.tar.gz"
|
|
|
|
mirror "https://github.com/royhills/arp-scan/releases/download/1.9/arp-scan-1.9.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "ce908ac71c48e85dddf6dd4fe5151d13c7528b1f49717a98b2a2535bd797d892"
|
2011-12-08 17:37:14 +00:00
|
|
|
|
2014-06-29 03:47:43 +00:00
|
|
|
bottle do
|
2015-11-19 15:45:31 +00:00
|
|
|
sha256 "542d9f8244c398dfa828e673ab38a6dba15ca3bfb85222011f7a76f7171cf38e" => :mavericks
|
|
|
|
sha256 "d734f9537f9ffbf2312dfcd12fc04192b0b361cd120179e3b1c459946c5b82a9" => :mountain_lion
|
|
|
|
sha256 "61952c8d01c234974eb7f10ac85c0816b3f2e88e2a8c9eaf8da4a72f34ab4123" => :lion
|
2014-06-29 03:47:43 +00:00
|
|
|
end
|
|
|
|
|
2014-11-08 05:58:29 +00:00
|
|
|
head do
|
|
|
|
url "https://github.com/royhills/arp-scan.git"
|
|
|
|
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "autoconf" => :build
|
|
|
|
end
|
|
|
|
|
|
|
|
depends_on "homebrew/dupes/libpcap" => :optional
|
|
|
|
|
2011-12-08 17:37:14 +00:00
|
|
|
def install
|
2014-11-08 05:58:29 +00:00
|
|
|
system "autoreconf", "--install" if build.head?
|
2011-12-08 17:37:14 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2014-11-08 05:58:29 +00:00
|
|
|
system "make", "install"
|
2011-12-08 17:37:14 +00:00
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/arp-scan", "-V"
|
2011-12-08 17:37:14 +00:00
|
|
|
end
|
|
|
|
end
|