diff options
author | Jon Hood <squinky86@gentoo.org> | 2004-04-26 20:27:13 +0000 |
---|---|---|
committer | Jon Hood <squinky86@gentoo.org> | 2004-04-26 20:27:13 +0000 |
commit | ab0041c1ea4b33d2fd1f146c2f340a943bcf8fb7 (patch) | |
tree | 6c9bd443aee678367e54a0e059c3ab7c5a77066c /net-analyzer/ettercap/ettercap-0.7.0_pre1.ebuild | |
parent | fix typo in die message (Manifest recommit) (diff) | |
download | gentoo-2-ab0041c1ea4b33d2fd1f146c2f340a943bcf8fb7.tar.gz gentoo-2-ab0041c1ea4b33d2fd1f146c2f340a943bcf8fb7.tar.bz2 gentoo-2-ab0041c1ea4b33d2fd1f146c2f340a943bcf8fb7.zip |
debug option; bump to x86; new testing ebuild (#47963 #48149)
Diffstat (limited to 'net-analyzer/ettercap/ettercap-0.7.0_pre1.ebuild')
-rw-r--r-- | net-analyzer/ettercap/ettercap-0.7.0_pre1.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/net-analyzer/ettercap/ettercap-0.7.0_pre1.ebuild b/net-analyzer/ettercap/ettercap-0.7.0_pre1.ebuild new file mode 100644 index 000000000000..9a5e8c29a99c --- /dev/null +++ b/net-analyzer/ettercap/ettercap-0.7.0_pre1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ettercap-0.7.0_pre1.ebuild,v 1.1 2004/04/26 20:27:13 squinky86 Exp $ + + +# the actual version is "NG-0.7.0" but I suppose portage people will not be +# happy with it (as for the 0.6.b version), so let's set it to "0.7.0". +# since 'ettercap NG' has to be intended as an upgrade to 0.6.x serie and not as +# a new project or branch, this will be fine... + +MY_P=${PN}-NG-${PV} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="A suite for man in the middle attacks and network mapping" +HOMEPAGE="http://ettercap.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="ssl ncurses gtk debug" + +# libtool is needed because it provides libltdl (needed for plugins) +RDEPEND="virtual/glibc + sys-libs/zlib + >=sys-devel/libtool-1.4.3 + >=net-libs/libnet-1.1.2.1 + >=net-libs/libpcap-0.8.1 + ncurses? ( sys-libs/ncurses ) + ssl? ( dev-libs/openssl ) + gtk? ( >=x11-libs/gtk+-2.2.2 )" + +DEPEND=">=sys-apps/sed-4.0.5 + >=sys-apps/portage-2.0.45-r3 + ${RDEPEND}" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i 's:exec_prefix="/usr/local":exec_prefix="$prefix":' configure +} + +src_compile() { + econf \ + `use_enable gtk2 gtk` \ + `use_enable debug debug` \ + `use_with ssl openssl` \ + `use_with ncurses ncurses` \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + make DESTDIR=${D} install || die "make install failed" +} |