aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSamuel John2013-06-09 20:35:09 +0200
committerSamuel John2013-06-09 20:37:30 +0200
commite856781af21762c2f765965aab2b642aa5038784 (patch)
treec1e8878433f8891be6c19c3dded47f1b6ac01008 /Library
parente63ae32ece6691d2ac3d17a27de18fb3b6eb9b86 (diff)
downloadhomebrew-e856781af21762c2f765965aab2b642aa5038784.tar.bz2
wireshark: 1.10.0
- Optionally with portaudio - Optionally with lua - Using geoip lib as recommended In order to build the gui, the 'wireshark' has to be built and must not be deactivated.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/wireshark.rb16
1 files changed, 5 insertions, 11 deletions
diff --git a/Library/Formula/wireshark.rb b/Library/Formula/wireshark.rb
index 1f58d80da..b21a16f2c 100644
--- a/Library/Formula/wireshark.rb
+++ b/Library/Formula/wireshark.rb
@@ -2,8 +2,8 @@ require 'formula'
class Wireshark < Formula
homepage 'http://www.wireshark.org'
- url 'http://www.wireshark.org/download/src/wireshark-1.8.7.tar.bz2'
- sha1 'c131ce10555e608e691aa36190c8d5a1b271c955'
+ url 'http://wiresharkdownloads.riverbed.com/wireshark/src/wireshark-1.10.0.tar.bz2'
+ sha1 'c78a5d5e589edc8ebc702eb00a284ccbca7721bc'
option 'with-x', 'Include X11 support'
option 'with-qt', 'Use QT for GUI instead of GTK+'
@@ -14,8 +14,10 @@ class Wireshark < Formula
depends_on 'c-ares' => :optional
depends_on 'pcre' => :optional
depends_on 'qt' => :optional
- depends_on :python => :optional
+ depends_on 'lua' => :optional
+ depends_on 'portaudio' => :optional
depends_on 'glib'
+ depends_on 'geoip' => :recommended
if build.with? 'x'
depends_on :x11
@@ -25,14 +27,6 @@ class Wireshark < Formula
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.with? 'python'
-
- # actually just disables the GTK GUI
- args << '--disable-wireshark' unless build.with? 'x'
-
args << '--with-qt' if build.with? 'qt'
system "./configure", *args