2013-04-03 15:14:01 +00:00
|
|
|
class Dhcpdump < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Monitor DHCP traffic for debugging purposes"
|
2015-05-11 22:05:31 +00:00
|
|
|
homepage "http://www.mavetju.org"
|
|
|
|
url "http://www.mavetju.org/download/dhcpdump-1.8.tar.gz"
|
|
|
|
sha256 "6d5eb9418162fb738bc56e4c1682ce7f7392dd96e568cc996e44c28de7f77190"
|
2013-04-03 15:14:01 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "make"
|
|
|
|
bin.install "dhcpdump"
|
|
|
|
man8.install "dhcpdump.8"
|
|
|
|
end
|
2015-05-11 22:05:31 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/dhcpdump", "-h"
|
|
|
|
end
|
2013-04-03 15:14:01 +00:00
|
|
|
end
|