summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-06-08 12:50:50 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-06-08 12:50:50 +0000
commit64575541c6f5210ae9514b7661b434c0581e83ec (patch)
treec287cde98ed50f0dc5783ace41a7093dbe249253 /net-analyzer/ettercap
parentversion bump (diff)
downloadgentoo-2-64575541c6f5210ae9514b7661b434c0581e83ec.tar.gz
gentoo-2-64575541c6f5210ae9514b7661b434c0581e83ec.tar.bz2
gentoo-2-64575541c6f5210ae9514b7661b434c0581e83ec.zip
version bump
Diffstat (limited to 'net-analyzer/ettercap')
-rw-r--r--net-analyzer/ettercap/ChangeLog7
-rw-r--r--net-analyzer/ettercap/Manifest4
-rw-r--r--net-analyzer/ettercap/ettercap-0.6.10.ebuild67
-rw-r--r--net-analyzer/ettercap/files/digest-ettercap-0.6.101
4 files changed, 76 insertions, 3 deletions
diff --git a/net-analyzer/ettercap/ChangeLog b/net-analyzer/ettercap/ChangeLog
index 3c82236a3ac4..ae5d0ef8e34d 100644
--- a/net-analyzer/ettercap/ChangeLog
+++ b/net-analyzer/ettercap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/ettercap
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ChangeLog,v 1.12 2003/02/28 16:49:23 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ChangeLog,v 1.13 2003/06/08 12:50:37 liquidx Exp $
+
+*ettercap-0.6.10 (08 Jun 2003)
+
+ 08 Jun 2003; Alastair Tse <liquidx@gentoo.org> ettercap-0.6.10.ebuild:
+ version bump. gtk interface is purposely not enabled.
*ettercap-0.6.9 (28 Feb 2003)
diff --git a/net-analyzer/ettercap/Manifest b/net-analyzer/ettercap/Manifest
index 95872264aab0..27975ff7eda7 100644
--- a/net-analyzer/ettercap/Manifest
+++ b/net-analyzer/ettercap/Manifest
@@ -1,8 +1,8 @@
-MD5 983a89f5594dc09d5a1fb881f458a265 ChangeLog 1553
+MD5 37d095ac442fc8898bc68352b3fcdd8c ChangeLog 1715
MD5 fa98ea97526aecd13cf2d70eb3fef2d9 ettercap-0.6.6.6-r1.ebuild 1102
MD5 655f2beac8e5e928cb554e90faaa0a20 ettercap-0.6.7.ebuild 1105
MD5 e58a45a836f8734dc12ea4b113963b77 ettercap-0.6.9.ebuild 1656
-MD5 5c3e4ff34079805bda5af5994ee6acd4 ettercap-0.6.10.ebuild 1804
+MD5 37c516119a1177835935da4bd5b8b197 ettercap-0.6.10.ebuild 1666
MD5 665e4cf6dda754e4226e7cf294588ae0 files/digest-ettercap-0.6.6.6-r1 68
MD5 f27375ece48970341172a7b5605bd806 files/digest-ettercap-0.6.7 66
MD5 45c44ba26c122fa2d89b99a885d0bdf0 files/digest-ettercap-0.6.9 66
diff --git a/net-analyzer/ettercap/ettercap-0.6.10.ebuild b/net-analyzer/ettercap/ettercap-0.6.10.ebuild
new file mode 100644
index 000000000000..39fb17159dbd
--- /dev/null
+++ b/net-analyzer/ettercap/ettercap-0.6.10.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ettercap-0.6.10.ebuild,v 1.1 2003/06/08 12:50:37 liquidx Exp $
+
+inherit flag-o-matic
+
+IUSE="ssl ncurses"
+MY_PV="0.6.a"
+MY_P=${PN}-${MY_PV}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Ettercap is a multipurpose sniffer/interceptor/logger for switched LAN."
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+HOMEPAGE="http://ettercap.sourceforge.net"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~sparc ~alpha ~ppc"
+
+RDEPEND="virtual/glibc
+ ncurses? ( sys-libs/ncurses )
+ ssl? ( dev-libs/openssl )"
+
+DEPEND=">=sys-apps/sed-4.0.5
+ >=sys-apps/portage-2.0.45-r3
+ ${RDEPEND}"
+
+
+
+src_compile() {
+ # NOTE: gtk support is still experimental code and has _NOT_ been included here
+
+ econf \
+ `use_enable ncurses` \
+ `use_with ssl openssl` \
+ `use_enable ssl https` \
+ --enable-plugins \
+ --disable-debug
+
+ sed -i "s:/usr/share/ettercap/:/etc/ettercap/:; \
+ s:/usr/doc/${P}/:/usr/share/doc/${PF}/:" ettercap.8
+
+ append-flags "-funroll-loops -fomit-frame-pointer -Wall"
+
+ emake CFLAG="${CFLAGS}" || die "failed to compile"
+ emake CFLAG="${CFLAGS}" plug-ins || die "failed to compile plugins"
+}
+
+src_install() {
+ make prefix=${D}/usr \
+ MANDIR=${D}/usr/share/man \
+ DATADIR=${D}/etc/ettercap \
+ DOCDIR=${D}/usr/share/doc/${PF} \
+ complete_install || die "make complete_install failed"
+
+ rm ${D}/usr/share/doc/${PF}/{ettercap.fr.8.in,COPYING,INSTALL} \
+ ${D}/etc/ettercap/{AUTHORS,THANKS}
+}
+
+pkg_preinst() {
+ prepalldocs
+ dosym /etc/ettercap /usr/share/ettercap
+}
+
+pkg_postrm() {
+ rm /usr/share/ettercap
+}
diff --git a/net-analyzer/ettercap/files/digest-ettercap-0.6.10 b/net-analyzer/ettercap/files/digest-ettercap-0.6.10
new file mode 100644
index 000000000000..2566fad64851
--- /dev/null
+++ b/net-analyzer/ettercap/files/digest-ettercap-0.6.10
@@ -0,0 +1 @@
+MD5 72bee584510c3bb40568188067f43e3f ettercap-0.6.a.tar.gz 684628