summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-02-04 21:11:14 +0000
committerTim Harder <radhermit@gentoo.org>2012-02-04 21:11:14 +0000
commit3c3644d2d238a45ec33ea9641820088e27ea129f (patch)
tree9a562a1d6efee0bfdc5edd972b107b2370923b17 /net-analyzer
parentRequire at least python 2.5. (diff)
downloadgentoo-2-3c3644d2d238a45ec33ea9641820088e27ea129f.tar.gz
gentoo-2-3c3644d2d238a45ec33ea9641820088e27ea129f.tar.bz2
gentoo-2-3c3644d2d238a45ec33ea9641820088e27ea129f.zip
Version bump.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/ettercap/ChangeLog9
-rw-r--r--net-analyzer/ettercap/ettercap-0.7.4.1.ebuild52
2 files changed, 59 insertions, 2 deletions
diff --git a/net-analyzer/ettercap/ChangeLog b/net-analyzer/ettercap/ChangeLog
index 70d1fa4347f4..653cc92b4071 100644
--- a/net-analyzer/ettercap/ChangeLog
+++ b/net-analyzer/ettercap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/ettercap
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ChangeLog,v 1.86 2011/12/09 20:14:11 radhermit Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ChangeLog,v 1.87 2012/02/04 21:11:14 radhermit Exp $
+
+*ettercap-0.7.4.1 (04 Feb 2012)
+
+ 04 Feb 2012; Tim Harder <radhermit@gentoo.org> +ettercap-0.7.4.1.ebuild:
+ Version bump.
09 Dec 2011; Tim Harder <radhermit@gentoo.org>
files/ettercap-0.7.4-autotools.patch:
diff --git a/net-analyzer/ettercap/ettercap-0.7.4.1.ebuild b/net-analyzer/ettercap/ettercap-0.7.4.1.ebuild
new file mode 100644
index 000000000000..43dfe711bc8d
--- /dev/null
+++ b/net-analyzer/ettercap/ettercap-0.7.4.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ettercap-0.7.4.1.ebuild,v 1.1 2012/02/04 21:11:14 radhermit Exp $
+
+EAPI=4
+
+inherit eutils autotools
+
+DESCRIPTION="A suite for man in the middle attacks and network mapping"
+HOMEPAGE="http://ettercap.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="debug gtk ncurses pcre ssl"
+
+# libtool is needed because it provides libltdl (needed for plugins)
+RDEPEND=">=net-libs/libnet-1.1.2.1-r1
+ net-libs/libpcap
+ sys-devel/libtool
+ sys-libs/zlib
+ gtk? (
+ >=dev-libs/glib-2.2.2:2
+ >=x11-libs/gtk+-2.2.2:2
+ )
+ ncurses? ( sys-libs/ncurses )
+ pcre? ( dev-libs/libpcre )
+ ssl? ( dev-libs/openssl )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ sys-devel/flex
+ virtual/yacc"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.7.3-as-needed.patch
+ epatch "${FILESDIR}"/${PN}-0.7.4-autotools.patch
+ epatch "${FILESDIR}"/${PN}-0.7.4-flags.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable debug) \
+ $(use_enable gtk) \
+ $(use_with ncurses libncurses "${EPREFIX}"/usr) \
+ $(use_with pcre libpcre "${EPREFIX}"/usr) \
+ $(use_with ssl openssl "${EPREFIX}"/usr)
+}