summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce A. Locke <blocke@gentoo.org>2001-11-28 06:32:23 +0000
committerBruce A. Locke <blocke@gentoo.org>2001-11-28 06:32:23 +0000
commit7fb2a8733ab5be12e9b67471e13cab8ad8c371df (patch)
tree48f8f252dbb4c69705f3dd99e327d6f319ab5d67 /net-analyzer/ettercap
parentdiffstat 1.29: first version in portage (diff)
downloadgentoo-2-7fb2a8733ab5be12e9b67471e13cab8ad8c371df.tar.gz
gentoo-2-7fb2a8733ab5be12e9b67471e13cab8ad8c371df.tar.bz2
gentoo-2-7fb2a8733ab5be12e9b67471e13cab8ad8c371df.zip
ettercap 0.6.2: proving even switched networks can be sniffed
Diffstat (limited to 'net-analyzer/ettercap')
-rw-r--r--net-analyzer/ettercap/ettercap-0.6.2.ebuild33
-rw-r--r--net-analyzer/ettercap/files/digest-ettercap-0.6.21
2 files changed, 34 insertions, 0 deletions
diff --git a/net-analyzer/ettercap/ettercap-0.6.2.ebuild b/net-analyzer/ettercap/ettercap-0.6.2.ebuild
new file mode 100644
index 000000000000..a9f255d36e4e
--- /dev/null
+++ b/net-analyzer/ettercap/ettercap-0.6.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Bruce Locke <blocke@shivan.org>
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ettercap-0.6.2.ebuild,v 1.1 2001/11/28 06:32:23 blocke Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Ettercap is a multipurpose sniffer/interceptor/logger for switched LAN."
+SRC_URI="http://ettercap.sourceforge.net/download/${P}.tar.gz"
+HOMEPAGE="http://ettercap.sourceforge.net"
+
+DEPEND="sys-libs/ncurses ssl? ( dev-libs/openssl )"
+
+src_compile() {
+ local myconf
+ use ssl && myconf="${myconf} --enable-https"
+
+ ./configure --host=${CHOST} --prefix=/usr --enable-ncurses --enable-plugins ${myconf}
+ assert
+
+ make CFLAG="${CFLAGS} -funroll-loops -fomit-frame-pointer -Wall" || die
+ make CFLAG="${CFLAGS} -funroll-loops -fomit-frame-pointer -Wall" plug-ins || die
+}
+
+src_install() {
+
+ make prefix=${D}/usr MANDIR=${D}/usr/share/man complete_install || die
+ rm ${D}/usr/share/doc/${P}/ettercap.fr.8.in.gz
+ gzip ${D}/usr/share/doc/${P}/*
+
+}
+
+
+
diff --git a/net-analyzer/ettercap/files/digest-ettercap-0.6.2 b/net-analyzer/ettercap/files/digest-ettercap-0.6.2
new file mode 100644
index 000000000000..607b1cd30df0
--- /dev/null
+++ b/net-analyzer/ettercap/files/digest-ettercap-0.6.2
@@ -0,0 +1 @@
+MD5 16d50a4a74f1b845c4153db31ee3836c ettercap-0.6.2.tar.gz 471040