Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7cd89cd5d1
Fetching contributors…

Cannot retrieve contributors at this time

59 lines (45 sloc) 1.837 kb
require 'formula'
class Wireshark < Formula
homepage ''
url ''
sha1 '3e1322eea5794c71de752b7923af9379bcc95299'
depends_on 'pkg-config' => :build
depends_on 'gnutls' => :optional
depends_on 'libgcrypt' => :optional
depends_on 'c-ares' => :optional
depends_on 'pcre' => :optional
depends_on 'glib'
if build.include? 'with-x'
depends_on :x11
depends_on 'gtk+'
option 'with-x', 'Include X11 support'
option 'with-python', 'Enable experimental Python bindings'
def install
args = ["--disable-dependency-tracking", "--prefix=#{prefix}"]
# Optionally enable experimental python bindings; is known to cause
# some runtime issues, e.g.
# "dlsym(0x8fe467fc, py_create_dissector_handle): symbol not found"
args << '--without-python' unless build.include? 'with-python'
# actually just disables the GTK GUI
args << '--disable-wireshark' unless build.include? 'with-x'
system "./configure", *args
system "make"
ENV.deparallelize # parallel install fails
system "make install"
def caveats; <<-EOS.undent
If your list of available capture interfaces is empty
(default OS X behavior), try the following commands:
curl -o ChmodBPF.tar.gz
tar zxvf ChmodBPF.tar.gz
open ChmodBPF/Install\\
This adds a launch daemon that changes the permissions of your BPF
devices so that all users in the 'admin' group - all users with
'Allow user to administer this computer' turned on - have both read
and write access to those devices.
See bug report:
Jump to Line
Something went wrong with that request. Please try again.