From 60ad8404c9540263196bad438352b3021a2fe182 Mon Sep 17 00:00:00 2001 From: Cédric Krier Date: Fri, 1 Dec 2006 23:16:06 +0000 Subject: Fix cross-compilation and typo (Portage version: 2.1.1-r1) --- net-analyzer/dsniff/ChangeLog | 5 ++++- net-analyzer/dsniff/dsniff-2.4_beta1-r3.ebuild | 12 ++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) (limited to 'net-analyzer/dsniff') diff --git a/net-analyzer/dsniff/ChangeLog b/net-analyzer/dsniff/ChangeLog index 41d46c0ffffb..e5f2c6f8d78f 100644 --- a/net-analyzer/dsniff/ChangeLog +++ b/net-analyzer/dsniff/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-analyzer/dsniff # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/dsniff/ChangeLog,v 1.40 2006/12/01 23:06:45 cedk Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/dsniff/ChangeLog,v 1.41 2006/12/01 23:16:06 cedk Exp $ + + 01 Dec 2006; Cedric Krier dsniff-2.4_beta1-r3.ebuild: + Fix cross-compilation and typo 01 Dec 2006; Cedric Krier +files/2.3-openssl.patch, dsniff-2.3-r10.ebuild: diff --git a/net-analyzer/dsniff/dsniff-2.4_beta1-r3.ebuild b/net-analyzer/dsniff/dsniff-2.4_beta1-r3.ebuild index 55aba5be7c4e..e6ceebcb0615 100644 --- a/net-analyzer/dsniff/dsniff-2.4_beta1-r3.ebuild +++ b/net-analyzer/dsniff/dsniff-2.4_beta1-r3.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/dsniff/dsniff-2.4_beta1-r3.ebuild,v 1.3 2006/10/31 21:28:37 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/dsniff/dsniff-2.4_beta1-r3.ebuild,v 1.4 2006/12/01 23:16:06 cedk Exp $ -inherit eutils flag-o-matic +inherit eutils flag-o-matic toolchain-funcs DESCRIPTION="A collection of tools for network auditing and penetration testing" HOMEPAGE="http://monkey.org/~dugsong/dsniff/" @@ -46,7 +46,7 @@ src_unpack() { epatch "${FILESDIR}"/2.3-makefile.patch # Bug 125084 - epatch ${FILESDIR}/${PN}-httppostfix.patch + epatch "${FILESDIR}"/${PN}-httppostfix.patch # Allow amd64 compilation append-ldflags -lresolv @@ -59,13 +59,13 @@ src_compile() { econf \ $(use_with X x) \ || die "econf failed" - emake || die "emake failed" + emake CC="$(tc-getCC)" || die "emake failed" } src_install() { - make install install_prefix="${D}" || die + make install install_prefix="${D}" || die "make install failed" dodir /etc/dsniff cp "${D}"/usr/share/dsniff/{dnsspoof.hosts,dsniff.{magic,services}} \ - "${D}"/etc/dsniff/ + "${D}"/etc/dsniff/ dodoc CHANGES README TODO } -- cgit v1.2.3-65-gdbad