aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMandar Gokhale2014-01-25 13:42:49 -0500
committerMike McQuaid2014-01-26 18:04:20 +0100
commit390b989d24c24d2178daff8971862888f3197fb1 (patch)
tree4722ff31a8c128a35200e1b55413302b7e93d950 /Library/Formula
parent222864afc848dfce1ee4255b08bcd1f667b26854 (diff)
downloadhomebrew-390b989d24c24d2178daff8971862888f3197fb1.tar.bz2
bittwist 2.0 (new formula) generate and edit pcaps
bittwist can be used to: - Send multiple packet traces at a time - Send packets at a specific speed or line rate in Mbps - Edit fields in Ethernet, ARP, IP, ICMP, TCP, and UDP headers - Automatic header checksum correction - Append user payload to existing packets after a specific header - Select a specific range of packets and save them in another trace file Closes #26169. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/bittwist.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/bittwist.rb b/Library/Formula/bittwist.rb
new file mode 100644
index 000000000..2b7655b7d
--- /dev/null
+++ b/Library/Formula/bittwist.rb
@@ -0,0 +1,17 @@
+require "formula"
+
+class Bittwist < Formula
+ homepage "http://bittwist.sourceforge.net"
+ url "http://downloads.sourceforge.net/project/bittwist/Mac%20OS%20X/Bit-Twist%202.0/bittwist-macosx-2.0.tar.gz"
+ sha1 "fcc652f838858edbf86546af945a71b815cf4d6b"
+
+ def install
+ system "make"
+ system "make", "install", "prefix=#{prefix}"
+ end
+
+ test do
+ system "#{bin}/bittwist -help"
+ system "#{bin}/bittwiste -help"
+ end
+end