ChangeLog

# 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 $

13 Aug 2007; Tobias Scherbaum
dsniff-2.4_beta1-r3.ebuild:
ppc. stable

22 Jul 2007; metadata.xml, dsniff-2.3-r10.ebuild,
dsniff-2.4_beta1-r3.ebuild:
Removed virtual/x11 dependency.

12 Jul 2007; Raúl Porcel dsniff-2.4_beta1-r3.ebuild:
alpha stable

12 Jul 2007; Markus Ullmann dsniff-2.4_beta1-r3.ebuild:
Stable on x86

01 Feb 2007; Markus Ullmann dsniff-2.4_beta1-r3.ebuild:
emake > make

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:
Fix bug #146573

31 Oct 2006; Markus Ullmann dsniff-2.3-r7.ebuild,
dsniff-2.3-r10.ebuild, dsniff-2.4_beta1-r3.ebuild:
changing deps wrt bug #153247

30 Jul 2006; Tobias Scherbaum
dsniff-2.3-r10.ebuild:
ppc stable

23 Jul 2006; Marcelo Goes -dsniff-2.3-r8.ebuild,
-dsniff-2.3-r9.ebuild, dsniff-2.3-r10.ebuild, -dsniff-2.4_beta1-r1.ebuild,
-dsniff-2.4_beta1-r2.ebuild:
Mark 2.3-r10 x86 stable, remove old ebuilds.

02 May 2006; Jason Wever dsniff-2.4_beta1-r3.ebuild:
Added ~sparc keyword.

*dsniff-2.4_beta1-r3 (20 Apr 2006)
*dsniff-2.3-r10 (20 Apr 2006)

20 Apr 2006; Markus Ullmann +dsniff-2.3-r10.ebuild,
+dsniff-2.4_beta1-r3.ebuild:
Adding X USE flag for webspy

20 Apr 2006; Markus Ullmann dsniff-2.3-r7.ebuild,
dsniff-2.3-r8.ebuild, dsniff-2.3-r9.ebuild, dsniff-2.4_beta1-r1.ebuild,
dsniff-2.4_beta1-r2.ebuild:
Reverting changes due to comment #5 on bug #130038

*dsniff-2.4_beta1-r2 (17 Apr 2006)
*dsniff-2.3-r9 (17 Apr 2006)

17 Apr 2006; Markus Ullmann
+files/dsniff-httppostfix.patch, +dsniff-2.3-r9.ebuild,
+dsniff-2.4_beta1-r2.ebuild:
Adding HTTP POST patch wrt bug #125084

15 Apr 2006; Markus Ullmann dsniff-2.3-r7.ebuild,
dsniff-2.3-r8.ebuild, dsniff-2.4_beta1-r1.ebuild:
Fixing dependencies wrt bug #130038

31 Mar 2006; Markus Ullmann dsniff-2.3-r7.ebuild,
dsniff-2.3-r8.ebuild:
Fixed HOMEPAGE issue

*dsniff-2.4_beta1-r1 (26 Mar 2006)
*dsniff-2.3-r8 (26 Mar 2006)

26 Mar 2006; Markus Ullmann +dsniff-2.3-r8.ebuild,
-dsniff-2.4_beta1.ebuild, +dsniff-2.4_beta1-r1.ebuild:
Making glibc 2.4 ready wrt bug #127152

15 Feb 2006; Markus Ullmann dsniff-2.3-r7.ebuild,
dsniff-2.4_beta1.ebuild:
Removing virtual/libpcap wrt bug #117898

31 Jan 2006; Simon Stelling dsniff-2.4_beta1.ebuild:
rekeyword ~amd64

29 Jan 2006; Marcelo Goes dsniff-2.3-r7.ebuild,
dsniff-2.4_beta1.ebuild:
Depend exactly on net-libs/libnids-1.18 for bug 120798. Thanks to Rumen
Yotov . Forced to drop amd64 keyword on
account of this.

21 Jan 2006; Marcelo Goes dsniff-2.4_beta1.ebuild:
More fixes for bug 119557. Thanks to a1200ux for
his hard work.

*dsniff-2.4_beta1 (19 Jan 2006)

19 Jan 2006; Marcelo Goes -dsniff-2.3-r4.ebuild,
+dsniff-2.4_beta1.ebuild:
Add version 2.4 and Debian patchset for bug 119557. Thanks to gmail dot com>. Currently in package.mask.

24 Dec 2005; Michael Hanselmann dsniff-2.3-r7.ebuild:
Stable on ppc.

09 Dec 2005; Bryan Østergaard Stable on alpha.

27 Nov 2005; Marcelo Goes -dsniff-2.3-r5.ebuild,
-dsniff-2.3-r6.ebuild, dsniff-2.3-r7.ebuild:
Mark 2.3-r7 x86 stable, remove old ebuilds.

*dsniff-2.3-r7 (15 Oct 2005)

15 Oct 2005; +dsniff-2.3-r7.ebuild:
Fixing local ip inversion (see bug #108144)

17 Sep 2005; Aron Griffis dsniff-2.3-r4.ebuild:
Mark 2.3-r4 stable on alpha

*dsniff-2.3-r6 (09 Sep 2005)

09 Sep 2005; Marcelo Goes +dsniff-2.3-r6.ebuild:
Made ebuild DEPEND on ~sys-libs/db-3.2.9 instead of building its own copy.

*dsniff-2.3-r5 (27 Jun 2005)

27 Jun 2005; Marcelo Goes +dsniff-2.3-r5.ebuild:
Adding append-ldflags -lresolv to allow amd64 compilation, ~amd64 keyword.
Fixes bug 94184, thanks to Steven Tasker .

17 May 2005; Michael Hanselmann dsniff-2.3-r4.ebuild:
Stable on ppc.

*dsniff-2.3-r4 (29 Mar 2005)

29 Mar 2005; Marcelo Goes -dsniff-2.3-r3.ebuild,
+dsniff-2.3-r4.ebuild:
Doing a revision bump to push bug fix.

29 Mar 2005; Marcelo Goes dsniff-2.3-r3.ebuild:
Fix bug 87166. Thanks to Brandyn A. White for
reporting and solving the problem.

*dsniff-2.3-r3 (07 Mar 2005)

07 Mar 2005; Aaron Walker -dsniff-2.3-r2.ebuild,
+dsniff-2.3-r3.ebuild:
Revision bump; install /etc files correctly for bug 84284. Keeping stable on
x86.

29 Jan 2005; Daniel Black dsniff-2.3-r2.ebuild:
changed net-libs/libpcap depend to virtual/libcap

01 Jul 2004; Jon Hood dsniff-2.3-r2.ebuild:
change virtual/glibc to virtual/libc, add missing IUSE

03 May 2004; David Holm dsniff-2.3-r2.ebuild:
Added to ~ppc.

*dsniff-2.3-r2 (02 May 2004)

02 May 2004; Mike Frysinger :
Make sure a few files make it to /etc/dsniff instead of /usr.

*dsniff-2.3-r1 (21 Aug 2003)

08 Apr 2004; Mike Frysinger :
Cleanup patch so that dsniff will use a newer version of nids #43370 by Magnus Maatta.

26 Aug 2003; Mike Frysinger :
Add patch to fix linking order #27267.

21 Aug 2003; Mike Frysinger :
Patch to compile against SLOT-ed libnet-1.0.x #17772.

*dsniff-2.3 (14 Nov 2002)

23 Jul 2003; Tavis Ormandy dsniff-2.3.ebuild:
~alpha

02 Feb 2003; Daniel Ahlberg dsniff-2.3.ebuild :
Closes #14689.

14 Nov 2002; Jared Hudson : Initial import. Ebuild
submitted by foser . Bug #6906

Manifest

AUX 2.3-makefile.patch 1531 RMD160 babd313c726824db4e475dc3b350e28f266f183b SHA1 599d051f55444da5ffce79b545a1bca9384ad284 SHA256 eeb39dafa708b85d309d96e48fa27f526e906f725e240142b7ad12fabac2616a
AUX 2.3-openssl.patch 350 RMD160 fb2f099829e35935490c2928895042967c71f421 SHA1 01f6aa170340a375d259c5cd2882bc86e8dc073d SHA256 697adc7c00f7c810c884a12ff3455a18b4c0cf2db343908852a6a351015201a6
AUX dsniff-httppostfix.patch 675 RMD160 562c527409fe633e07d9a9ce60298ed9caf14f78 SHA1 48428b11ba8471433aa3e2dd2037dc5c11d05903 SHA256 320dab87c7c7f9ce86acf8830041da39aa367ba4149fa4eeffac93041d459293
DIST dsniff-2.4_beta1-debian-r1.patch.bz2 18280 RMD160 dd4ef3e4c9274e22a9f168b6d406260d4c306427 SHA1 46ace66ae502db4ae1de48822dce2faeed8f8257 SHA256 3974390e0970bbbb6ddddebf735a7de74abf110d20a867494a2ecd2298c19c39
DIST dsniff-2.4b1.tar.gz 131666 RMD160 4d5dee193f0d252d22cfe2417f067460db9638b1 SHA1 25cfea26e9bbe016451180758a49d4d5bc9317d3 SHA256 a9803a7a02ddfe5fb9704ce86f0ffc48453c321e88db85810db411ba0841152a
EBUILD dsniff-2.4_beta1-r3.ebuild 1876 RMD160 e3601f3fbee09f2694db74ca96979fb6e30645d7 SHA1 a01fc0a39b426d1cbc5bd8ad9ea1b44c3deb8aa4 SHA256 6cfeebfe900c313debab3d012740e52a4c5d83ebc80ebf84933876cef504e9bf
MISC ChangeLog 6530 RMD160 afa96eb1104bd4532197d23c4c88f9986a0a5b6b SHA1 f71938291bed54ea9597c31e1ad07bf33669d2e0 SHA256 40f72dfcbff7502953bac7cc581e6d7f116f9ce26a33f4d6741f31ff821410fc
MISC metadata.xml 715 RMD160 4e2b26891be8baba84c9833bd55af864f88b4efc SHA1 52cac2b2bc7a536372b51e95605ff45772e21e0d SHA256 38611a21d47773747c46816fcb2cfebe0a3b57fc070876e36f5347e6bcc220a1

dsniff-2.4_beta1-r3.ebuild

# Copyright 1999-2007 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 $

inherit eutils flag-o-matic toolchain-funcs

DESCRIPTION="A collection of tools for network auditing and penetration testing"
HOMEPAGE="http://monkey.org/~dugsong/dsniff/"
SRC_URI="http://monkey.org/~dugsong/dsniff/beta/${P/_beta/b}.tar.gz
mirror://gentoo/${PN}-2.4_beta1-debian-r1.patch.bz2"

LICENSE="DSNIFF"
SLOT="0"
KEYWORDS="alpha ~amd64 ppc ~sparc x86"
IUSE="X"

DEPEND="net-libs/libpcap
>=net-libs/libnet-1.1.2.1-r1
=net-libs/libnids-1.18
>=dev-libs/openssl-0.9.6e
>=sys-libs/db-4.2.52_p4
sys-apps/sed
X? ( x11-libs/libXmu )"
RDEPEND="${DEPEND}"

S="${WORKDIR}/${P/_beta1/}"

src_unpack() {
unpack ${A}

# Debian's patchset
epatch "${DISTDIR}"/${PN}-2.4_beta1-debian-r1.patch.bz2

# Making sure data files get correctly installed and that dsniff
# can find them
# Working around dsniff b0rky config script
# Data stuff goes into /etc/dsniff
cd "${S}"
sed -i \
-e 's:-ldb2:-ldb2 -lpthread:' \
-e "s:lib':':" \
configure || die "sed configure"
sed -i 's:-DDSNIFF_LIBDIR=\\\"$(libdir)/\\\"::' Makefile.in || die "sed makefile"
epatch "${FILESDIR}"/2.3-makefile.patch

# Bug 125084
epatch "${FILESDIR}"/${PN}-httppostfix.patch

# Allow amd64 compilation
append-ldflags -lresolv
}

src_compile() {
if has_version '>=sys-libs/glibc-2.4' ; then
append-flags -DCLK_TCK=CLOCKS_PER_SEC
fi
econf \
$(use_with X x) \
|| die "econf failed"
emake CC="$(tc-getCC)" || die "emake failed"
}

src_install() {
emake install install_prefix="${D}" || die "emake install failed"
dodir /etc/dsniff
cp "${D}"/usr/share/dsniff/{dnsspoof.hosts,dsniff.{magic,services}} \
"${D}"/etc/dsniff/
dodoc CHANGES README TODO
}

files

metadata.xml




netmon

dsniff is a collection of tools for network auditing and penetration testing.
dsniff, filesnarf, mailsnarf, msgsnarf, urlsnarf, and webspy passively monitor a
network for interesting data (passwords, e-mail, files, etc.). arpspoof,
dnsspoof, and macof facilitate the interception of network traffic normally
unavailable to an attacker (e.g, due to layer-2 switching). sshmitm and webmitm
implement active monkey-in-the-middle attacks against redirected SSH and HTTPS
sessions by exploiting weak bindings in ad-hoc PKI.