Skip to content

Commit

Permalink
ettercap 0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
brettkoonce committed Nov 2, 2014
1 parent 65bf282 commit 1aa8d48
Showing 1 changed file with 12 additions and 26 deletions.
38 changes: 12 additions & 26 deletions Formula/ettercap.rb
@@ -1,26 +1,11 @@
require 'formula'
require "formula"

class Ettercap < Formula
homepage 'http://ettercap.github.io/ettercap/'
homepage "http://ettercap.github.io/ettercap/"

stable do
url "https://github.com/Ettercap/ettercap/archive/v0.8.0.tar.gz"
sha1 "008fca94bbd67b578699300eb321766cd41fbfff"

patch do
# Fixes issue #326: redefinition of 'bpf_program', 'bpf_version',
# and 'bpf_insn' in ec_send.c on Mac OS X.
# url: https://github.com/Ettercap/ettercap/issues/326
url "https://github.com/Ettercap/ettercap/commit/4aaaa2.diff"
sha1 "c1c78b38f3f1ffcdbb1d16a292c0fc6d96991ed0"
end

patch do
# Fixes issue #344: undefined symbol safe_free_mem caused by the previous fix.
# url: https://github.com/Ettercap/ettercap/issues/344
url "https://github.com/Ettercap/ettercap/commit/33ac95.diff"
sha1 "cdaff33bec2a73e2c44230c28f3727b8f36e45e2"
end
url "https://github.com/Ettercap/ettercap/archive/v0.8.1.tar.gz"
sha1 "66362ce69cd9b82b9eb8ea6a52048700704a7d9b"
end

head "https://github.com/Ettercap/ettercap.git"
Expand All @@ -29,13 +14,14 @@ class Ettercap < Formula
option "without-plugins", "Install without plugins support"
option "with-ipv6", "Install with IPv6 support"

depends_on 'cmake' => :build
depends_on 'ghostscript' => [:build, :optional]
depends_on 'pcre'
depends_on 'libnet'
depends_on 'curl' # require libcurl >= 7.26.0
depends_on 'gtk+' => :optional
depends_on 'luajit' => :optional
depends_on "cmake" => :build
depends_on "ghostscript" => [:build, :optional]
depends_on "pcre"
depends_on "libnet"
depends_on "curl" # require libcurl >= 7.26.0
depends_on "gtk+" => :optional
depends_on "luajit" => :optional
depends_on "openssl"

def install
args = std_cmake_args
Expand Down

0 comments on commit 1aa8d48

Please sign in to comment.