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"
|
2016-02-12 00:50:06 +00:00
|
|
|
homepage "https://github.com/royhills/arp-scan"
|
|
|
|
url "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
|
2016-09-17 07:48:31 +00:00
|
|
|
rebuild 1
|
|
|
|
sha256 "70a15f93ba09a4201352165594b2d69d3537fb55ba7c0180619470c2235bb851" => :sierra
|
2016-02-12 01:11:51 +00:00
|
|
|
sha256 "f0fdab57a9d16dc270b9bedba6c5cca5e99e2b5319268261a320dda86fa5da54" => :el_capitan
|
|
|
|
sha256 "4a26a7bb3c586122b4aad81c17bf8427bc820ec4a4353573ffedf79087000232" => :yosemite
|
|
|
|
sha256 "e0570d20ec6c79c1a43c9925eb5c09d7ab9589fbe9d2ce1579927800ac6c53d5" => :mavericks
|
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
|