diff options
author | Hanno Böck <hanno@gentoo.org> | 2008-11-25 10:05:47 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2008-11-25 10:05:47 +0000 |
commit | b3209c76d8f1a7f81aa2f653541c6d4b82ae4a7d (patch) | |
tree | a787653387670176dd51ec8447d60cbc31d2633e /net-analyzer/dsniff | |
parent | Version bump 0.4.2. Old versions are gone, because this was treecleaned for b... (diff) | |
download | gentoo-2-b3209c76d8f1a7f81aa2f653541c6d4b82ae4a7d.tar.gz gentoo-2-b3209c76d8f1a7f81aa2f653541c6d4b82ae4a7d.tar.bz2 gentoo-2-b3209c76d8f1a7f81aa2f653541c6d4b82ae4a7d.zip |
dsniff: proper fix for linking issues
(Portage version: 2.2_rc16/cvs/Linux 2.6.28-rc6 x86_64)
Diffstat (limited to 'net-analyzer/dsniff')
-rw-r--r-- | net-analyzer/dsniff/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/dsniff/dsniff-2.4_beta1-r3.ebuild | 10 | ||||
-rw-r--r-- | net-analyzer/dsniff/files/dsniff-lresolv.patch | 11 |
3 files changed, 23 insertions, 6 deletions
diff --git a/net-analyzer/dsniff/ChangeLog b/net-analyzer/dsniff/ChangeLog index 57f1fa1bd083..b99fa2ce8195 100644 --- a/net-analyzer/dsniff/ChangeLog +++ b/net-analyzer/dsniff/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/dsniff -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/dsniff/ChangeLog,v 1.46 2007/08/13 21:20:30 dertobi123 Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/dsniff/ChangeLog,v 1.47 2008/11/25 10:05:47 hanno Exp $ + + 25 Nov 2008; Hanno Boeck <hanno@gentoo.org> +files/dsniff-lresolv.patch, + dsniff-2.4_beta1-r3.ebuild: + Fix building with --as-needed, thanks to Timothy Redaelli in #94184. 13 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org> dsniff-2.4_beta1-r3.ebuild: diff --git a/net-analyzer/dsniff/dsniff-2.4_beta1-r3.ebuild b/net-analyzer/dsniff/dsniff-2.4_beta1-r3.ebuild index 599b10d54d9b..90a87fae3e6f 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-2007 Gentoo Foundation +# Copyright 1999-2008 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.9 2007/08/13 21:20:30 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/dsniff/dsniff-2.4_beta1-r3.ebuild,v 1.10 2008/11/25 10:05:47 hanno Exp $ -inherit eutils flag-o-matic toolchain-funcs +inherit autotools eutils flag-o-matic toolchain-funcs DESCRIPTION="A collection of tools for network auditing and penetration testing" HOMEPAGE="http://monkey.org/~dugsong/dsniff/" @@ -47,7 +47,9 @@ src_unpack() { epatch "${FILESDIR}"/${PN}-httppostfix.patch # Allow amd64 compilation - append-ldflags -lresolv + epatch "${FILESDIR}"/${PN}-lresolv.patch + + eautoreconf } src_compile() { diff --git a/net-analyzer/dsniff/files/dsniff-lresolv.patch b/net-analyzer/dsniff/files/dsniff-lresolv.patch new file mode 100644 index 000000000000..5156259d5365 --- /dev/null +++ b/net-analyzer/dsniff/files/dsniff-lresolv.patch @@ -0,0 +1,11 @@ +--- dsniff-2.4.old/configure.in 2008-08-01 22:37:54.000000000 +0200 ++++ dsniff-2.4/configure.in 2008-08-01 22:45:44.000000000 +0200 +@@ -57,6 +57,8 @@ + AC_CHECK_LIB(nsl, gethostbyname) + dnl XXX - feh, everything except OpenBSD sux. + AC_CHECK_LIB(resolv, dn_expand) ++AC_CHECK_LIB(resolv, _dn_expand) ++AC_CHECK_LIB(resolv, __dn_expand) + AC_REPLACE_FUNCS(dirname strlcpy strlcat strsep) + needmd5=no + AC_CHECK_FUNCS(MD5Update, , [needmd5=yes]) |