diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-02-28 16:49:23 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-02-28 16:49:23 +0000 |
commit | 5cc6fd9e76772c7dd760971e93d7402217216dff (patch) | |
tree | ae589cf8c7a4e8361d76d3ce0f66e5245744f506 /net-analyzer | |
parent | Hack for building on alpha, ~alpha keyword, removed old alpha patch (diff) | |
download | gentoo-2-5cc6fd9e76772c7dd760971e93d7402217216dff.tar.gz gentoo-2-5cc6fd9e76772c7dd760971e93d7402217216dff.tar.bz2 gentoo-2-5cc6fd9e76772c7dd760971e93d7402217216dff.zip |
Version bumped.
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/ettercap/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/ettercap/ettercap-0.6.9.ebuild | 63 | ||||
-rw-r--r-- | net-analyzer/ettercap/files/digest-ettercap-0.6.9 | 1 |
3 files changed, 71 insertions, 1 deletions
diff --git a/net-analyzer/ettercap/ChangeLog b/net-analyzer/ettercap/ChangeLog index 95fe76a2b8da..3c82236a3ac4 100644 --- a/net-analyzer/ettercap/ChangeLog +++ b/net-analyzer/ettercap/ChangeLog @@ -1,7 +1,13 @@ # 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.11 2003/02/15 07:42:29 gerk Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ChangeLog,v 1.12 2003/02/28 16:49:23 mholzer Exp $ +*ettercap-0.6.9 (28 Feb 2003) + + 28 FEb 2003; Martin Holzer <mholzer@gentoo.org> ettercap-0.6.9.ebuild + files/digest-ettercap-0.6.9 ChangeLog : + Version bump. Submitted in #16269. + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords *ettercap-0.6.7 (23 Jul 2002) diff --git a/net-analyzer/ettercap/ettercap-0.6.9.ebuild b/net-analyzer/ettercap/ettercap-0.6.9.ebuild new file mode 100644 index 000000000000..6aff518ee190 --- /dev/null +++ b/net-analyzer/ettercap/ettercap-0.6.9.ebuild @@ -0,0 +1,63 @@ +# 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.9.ebuild,v 1.1 2003/02/28 16:49:23 mholzer Exp $ + +inherit flag-o-matic + +IUSE="ssl ncurses" + +DESCRIPTION="Ettercap is a multipurpose sniffer/interceptor/logger for switched LAN." +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +HOMEPAGE="http://ettercap.sourceforge.net" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~sparc ~alpha ~ppc" + +DEPEND="virtual/glibc + >=sys-apps/sed-4.0.5 + >=sys-apps/portage-2.0.45-r3 + ncurses? ( sys-libs/ncurses ) + ssl? ( dev-libs/openssl )" + +RDEPEND="virtual/glibc + ncurses? ( sys-libs/ncurses ) + ssl? ( dev-libs/openssl )" + +src_compile() { + # NOTE: gtk support is still experimental code and has _NOT_ been included here + + econf `use_enable ncurses` \ + `use_with ssl openssl` \ + --enable-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.9 b/net-analyzer/ettercap/files/digest-ettercap-0.6.9 new file mode 100644 index 000000000000..a1ba64d8c6e4 --- /dev/null +++ b/net-analyzer/ettercap/files/digest-ettercap-0.6.9 @@ -0,0 +1 @@ +MD5 7cd239755619e3388eb5870d366b6f6a ettercap-0.6.9.tar.gz 681245 |