aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2015-04-09 17:44:59 +0100
committerMike McQuaid2015-04-09 19:34:14 +0100
commit8cc1c1547a2ad5de2ae18e550fb55ff02fe9eb1d (patch)
tree7fcbb4088a85ab290d4d45a5208a6a8d7685413e /Library
parent11e105e572f25db73c0edd150fc0912edc8342c9 (diff)
downloadhomebrew-8cc1c1547a2ad5de2ae18e550fb55ff02fe9eb1d.tar.bz2
ettercap 0.8.2
Version bump. [Mountains](https://github.com/Ettercap/ettercap/releases/tag/v0.8.2) of fixes, including some CVE fixes. Closes #38489. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ettercap.rb34
1 files changed, 8 insertions, 26 deletions
diff --git a/Library/Formula/ettercap.rb b/Library/Formula/ettercap.rb
index a9ccafbb1..627e28c9d 100644
--- a/Library/Formula/ettercap.rb
+++ b/Library/Formula/ettercap.rb
@@ -1,26 +1,7 @@
-require "formula"
-
class Ettercap < Formula
- homepage "http://ettercap.github.io/ettercap/"
-
- stable do
- url "https://github.com/Ettercap/ettercap/archive/v0.8.1.tar.gz"
- sha1 "66362ce69cd9b82b9eb8ea6a52048700704a7d9b"
-
- # Upstream patch to fix Luajit compile on OS X
- # Both of these patches are already in HEAD.
- # https://github.com/Ettercap/ettercap/pull/618
- # https://github.com/Homebrew/homebrew/issues/33902
- patch do
- url "https://github.com/Ettercap/ettercap/commit/190e4264e3.diff"
- sha1 "4d8cadd8ca19956450e7e2d52f92dc649d393acf"
- end
-
- patch do
- url "https://github.com/Ettercap/ettercap/commit/e505088db.diff"
- sha1 "db0f121aeba34286c5f6a16e523ac675868b384c"
- end
- end
+ homepage "https://ettercap.github.io/ettercap/"
+ url "https://github.com/Ettercap/ettercap/archive/v0.8.2.tar.gz"
+ sha256 "f38514f35bea58bfe6ef1902bfd4761de0379942a9aa3e175fc9348f4eef2c81"
bottle do
sha1 "b7d7bfc3d98015cea228473b239a0fe9ae41127d" => :yosemite
@@ -39,16 +20,13 @@ class Ettercap < Formula
depends_on "pcre"
depends_on "libnet"
depends_on "curl" # require libcurl >= 7.26.0
+ depends_on "openssl"
depends_on "gtk+" => :optional
depends_on "luajit" => :optional
- depends_on "openssl"
def install
args = std_cmake_args
- # specify build type manually since std_cmake_args sets the build type to "None".
- args << "-DCMAKE_BUILD_TYPE=Release"
-
args << "-DINSTALL_SYSCONFDIR=#{etc}"
args << "-DENABLE_CURSES=OFF" if build.without? "curses"
args << "-DENABLE_PLUGINS=OFF" if build.without? "plugins"
@@ -63,4 +41,8 @@ class Ettercap < Formula
system "make", "install"
end
end
+
+ test do
+ system bin/"ettercap", "--version"
+ end
end