From 7e8dc76778b38d08b0e4560537b98218413a2a77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Galv=C3=A3o?= Date: Tue, 5 Jan 2016 16:18:07 +0000 Subject: [PATCH] deleted wireshark1.rb --- Casks/wireshark1.rb | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 Casks/wireshark1.rb diff --git a/Casks/wireshark1.rb b/Casks/wireshark1.rb deleted file mode 100644 index 54ed5312c..000000000 --- a/Casks/wireshark1.rb +++ /dev/null @@ -1,44 +0,0 @@ -cask 'wireshark1' do - version '1.12.8' - sha256 '9eade167a2054e8b71fc6e9ce154422a14ed70a40e15d842ef6dfbf9d96152ec' - - url "https://www.wireshark.org/download/osx/Wireshark%20#{version}%20Intel%2064.dmg" - name 'Wireshark' - homepage 'https://www.wireshark.org/' - license :gpl - - pkg "Wireshark #{version} Intel 64.pkg" - postflight do - if Process.euid == 0 - ohai 'Note:' - puts <<-EOS.undent - You executed 'brew cask' as the superuser. - - You must manually add users to group 'access_bpf' in order to use Wireshark - EOS - else - system '/usr/bin/sudo', '-E', '--', - '/usr/sbin/dseditgroup', '-o', 'edit', '-a', Etc.getpwuid(Process.euid).name, '-t', 'user', '--', 'access_bpf' - end - end - - uninstall :script => { - :executable => '/usr/sbin/dseditgroup', - :args => ['-o', 'delete', 'access_bpf'], - }, - :pkgutil => 'org.wireshark.*', - :delete => [ - '/usr/local/bin/capinfos', - '/usr/local/bin/dftest', - '/usr/local/bin/dumpcap', - '/usr/local/bin/editcap', - '/usr/local/bin/mergecap', - '/usr/local/bin/randpkt', - '/usr/local/bin/rawshark', - '/usr/local/bin/text2pcap', - '/usr/local/bin/tshark', - '/usr/local/bin/wireshark', - ] - - depends_on :x11 => true -end