summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2013-09-20 19:57:54 +0000
committerAgostino Sarubbo <ago@gentoo.org>2013-09-20 19:57:54 +0000
commit7ec155b9f5f250c65e23fdcfae006d73803af4f5 (patch)
tree370899a9d9f7bf5407c76ea75c1a171aa306cbea /net-analyzer
parentRequire xmp support, the dependency footprint is rather small but it provides... (diff)
downloadgentoo-2-7ec155b9f5f250c65e23fdcfae006d73803af4f5.tar.gz
gentoo-2-7ec155b9f5f250c65e23fdcfae006d73803af4f5.tar.bz2
gentoo-2-7ec155b9f5f250c65e23fdcfae006d73803af4f5.zip
Version bump to 0.8.0
(Portage version: 2.2.2/cvs/Linux x86_64, signed Manifest commit with key 7194459F)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/ettercap/ChangeLog7
-rw-r--r--net-analyzer/ettercap/ettercap-0.8.0.ebuild61
2 files changed, 67 insertions, 1 deletions
diff --git a/net-analyzer/ettercap/ChangeLog b/net-analyzer/ettercap/ChangeLog
index cba73a1c8b46..6b29b6bfaec0 100644
--- a/net-analyzer/ettercap/ChangeLog
+++ b/net-analyzer/ettercap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/ettercap
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ChangeLog,v 1.137 2013/08/26 15:54:35 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ChangeLog,v 1.138 2013/09/20 19:57:54 ago Exp $
+
+*ettercap-0.8.0 (20 Sep 2013)
+
+ 20 Sep 2013; Agostino Sarubbo <ago@gentoo.org> +ettercap-0.8.0.ebuild:
+ Version bump to 0.8.0
26 Aug 2013; Jeroen Roovers <jer@gentoo.org> ettercap-0.7.5.3.ebuild,
ettercap-0.7.6.ebuild, ettercap-9999.ebuild:
diff --git a/net-analyzer/ettercap/ettercap-0.8.0.ebuild b/net-analyzer/ettercap/ettercap-0.8.0.ebuild
new file mode 100644
index 000000000000..a3a21600c188
--- /dev/null
+++ b/net-analyzer/ettercap/ettercap-0.8.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ettercap-0.8.0.ebuild,v 1.1 2013/09/20 19:57:54 ago Exp $
+
+EAPI=5
+
+CMAKE_MIN_VERSION=2.8
+
+inherit cmake-utils
+
+DESCRIPTION="A suite for man in the middle attacks"
+HOMEPAGE="https://github.com/Ettercap/ettercap"
+SRC_URI="https://github.com/Ettercap/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" #mirror does not work
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="gtk ipv6 ncurses +plugins ssl"
+
+RDEPEND="dev-libs/libpcre
+ net-libs/libnet:1.1
+ >=net-libs/libpcap-0.8.1
+ sys-libs/zlib
+ gtk? (
+ >=dev-libs/atk-1.2.4
+ >=dev-libs/glib-2.2.2:2
+ media-libs/freetype
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ >=x11-libs/gtk+-2.2.2:2
+ >=x11-libs/pango-1.2.3
+ )
+ ncurses? ( >=sys-libs/ncurses-5.3 )
+ plugins? (
+ >=net-misc/curl-7.26.0
+ sys-devel/libtool
+ )
+ ssl? ( dev-libs/openssl )"
+DEPEND="${RDEPEND}
+ app-text/ghostscript-gpl
+ sys-devel/flex
+ virtual/yacc"
+
+src_prepare() {
+ #ettercap defaults to using mozilla so let's try to use xdg-open and pray it works
+ sed -i 's#mozilla -remote openurl(http://%host%url)#xdg-open 'http://%host%url'#' \
+ share/etter.conf || die
+ sed -i "s:Release:Release Gentoo:" CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_enable ncurses CURSES)
+ $(cmake-utils_use_enable gtk)
+ $(cmake-utils_use_enable ssl)
+ $(cmake-utils_use_enable plugins)
+ $(cmake-utils_use_enable ipv6)
+ -DINSTALL_SYSCONFDIR="${EROOT}"etc
+ )
+ cmake-utils_src_configure
+}