2015-02-10 17:01:08 +00:00
|
|
|
class Ipsumdump < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Summarizes TCP/IP dump files into a self-describing ASCII format easily readable"
|
2015-02-10 17:01:08 +00:00
|
|
|
homepage "http://www.read.seas.harvard.edu/~kohler/ipsumdump/"
|
2015-02-23 05:37:01 +00:00
|
|
|
url "http://www.read.seas.harvard.edu/~kohler/ipsumdump/ipsumdump-1.85.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "98feca0f323605a022ba0cabcd765a8fcad1b308461360a5ae6c4c293740dc32"
|
2015-02-10 17:01:08 +00:00
|
|
|
head "https://github.com/kohler/ipsumdump.git"
|
|
|
|
|
2015-02-11 11:31:46 +00:00
|
|
|
bottle do
|
2015-02-23 15:58:31 +00:00
|
|
|
sha1 "5ae94f24b2a5bd37e86babecd1848ed18a8d2dcc" => :yosemite
|
|
|
|
sha1 "139139a0c3fcc8f0e6fdedeb396e3e65b85b758e" => :mavericks
|
|
|
|
sha1 "4acd0be3df8c6c81de7b9e28e20d93f84076f4fd" => :mountain_lion
|
2015-02-11 11:31:46 +00:00
|
|
|
end
|
|
|
|
|
2015-02-10 17:01:08 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}"
|
|
|
|
system "make"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/ipsumdump", "-c", "-r", "#{test_fixtures("test.pcap")}"
|
|
|
|
end
|
|
|
|
end
|