mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-01 11:11:08 +02:00
dsniff: breaks on parallel build, hopefully will be properly fixed in gentoo soon but I lack the skill
This commit is contained in:
parent
00a00b5285
commit
4f5d39076e
8 changed files with 482 additions and 0 deletions
231
net-analyzer/dsniff/ChangeLog
Normal file
231
net-analyzer/dsniff/ChangeLog
Normal file
|
|
@ -0,0 +1,231 @@
|
|||
# ChangeLog for net-analyzer/dsniff
|
||||
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/dsniff/ChangeLog,v 1.56 2012/02/05 18:34:19 armin76 Exp $
|
||||
|
||||
05 Feb 2012; Raúl Porcel <armin76@gentoo.org> dsniff-2.4_beta1-r4.ebuild,
|
||||
dsniff-2.4_beta1-r5.ebuild:
|
||||
Drop alpha/sparc keywords
|
||||
|
||||
22 Sep 2010; Jeroen Roovers <jer@gentoo.org> files/2.4_beta1-make.patch:
|
||||
Fix the previous fix (bug #338086 comment #7).
|
||||
|
||||
*dsniff-2.4_beta1-r5 (20 Sep 2010)
|
||||
|
||||
20 Sep 2010; Jeroen Roovers <jer@gentoo.org> files/2.3-makefile.patch,
|
||||
dsniff-2.4_beta1-r4.ebuild, -files/2.3-openssl.patch,
|
||||
+dsniff-2.4_beta1-r5.ebuild, +files/2.4_beta1-httppostfix.patch,
|
||||
+files/2.4_beta1-make.patch, -files/dsniff-httppostfix.patch:
|
||||
Fix parallel make issue by Nathan Phillip Brink (ohnobinki, bug #338086).
|
||||
Name patches consistently. Merge Makefile.ini patches.
|
||||
|
||||
07 May 2010; Raúl Porcel <armin76@gentoo.org> dsniff-2.4_beta1-r4.ebuild:
|
||||
alpha stable wrt #312835
|
||||
|
||||
15 Apr 2010; Jeroen Roovers <jer@gentoo.org> dsniff-2.4_beta1-r4.ebuild:
|
||||
Stable for PPC (bug #312835).
|
||||
|
||||
05 Apr 2010; Markos Chandras <hwoarang@gentoo.org>
|
||||
dsniff-2.4_beta1-r4.ebuild:
|
||||
Stable on amd64 wrt bug #312835
|
||||
|
||||
05 Apr 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
|
||||
dsniff-2.4_beta1-r4.ebuild:
|
||||
x86 stable wrt security bug #312637
|
||||
|
||||
16 Jan 2010; Peter Volkov <pva@gentoo.org> dsniff-2.4_beta1-r3.ebuild,
|
||||
dsniff-2.4_beta1-r4.ebuild:
|
||||
Update license on BSD, bug #301123 thank Ulrich Müller for report.
|
||||
|
||||
*dsniff-2.4_beta1-r4 (23 Mar 2009)
|
||||
|
||||
23 Mar 2009; Robert Buchholz <rbu@gentoo.org> +dsniff-2.4_beta1-r4.ebuild:
|
||||
Bump to newer debian patchset that actually works. This needs a more recent
|
||||
libnids, bug #253533.
|
||||
|
||||
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:
|
||||
ppc. stable
|
||||
|
||||
22 Jul 2007; <pva@gentoo.org> metadata.xml, dsniff-2.3-r10.ebuild,
|
||||
dsniff-2.4_beta1-r3.ebuild:
|
||||
Removed virtual/x11 dependency.
|
||||
|
||||
12 Jul 2007; Raúl Porcel <armin76@gentoo.org> dsniff-2.4_beta1-r3.ebuild:
|
||||
alpha stable
|
||||
|
||||
12 Jul 2007; Markus Ullmann <jokey@gentoo.org> dsniff-2.4_beta1-r3.ebuild:
|
||||
Stable on x86
|
||||
|
||||
01 Feb 2007; Markus Ullmann <jokey@gentoo.org> dsniff-2.4_beta1-r3.ebuild:
|
||||
emake > make
|
||||
|
||||
01 Dec 2006; Cedric Krier <cedk@gentoo.org> dsniff-2.4_beta1-r3.ebuild:
|
||||
Fix cross-compilation and typo
|
||||
|
||||
01 Dec 2006; Cedric Krier <cedk@gentoo.org> +files/2.3-openssl.patch,
|
||||
dsniff-2.3-r10.ebuild:
|
||||
Fix bug #146573
|
||||
|
||||
31 Oct 2006; Markus Ullmann <jokey@gentoo.org> 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 <dertobi123@gentoo.org>
|
||||
dsniff-2.3-r10.ebuild:
|
||||
ppc stable
|
||||
|
||||
23 Jul 2006; Marcelo Goes <vanquirius@gentoo.org> -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 <weeve@gentoo.org> 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 <jokey@gentoo.org> +dsniff-2.3-r10.ebuild,
|
||||
+dsniff-2.4_beta1-r3.ebuild:
|
||||
Adding X USE flag for webspy
|
||||
|
||||
20 Apr 2006; Markus Ullmann <jokey@gentoo.org> 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 <jokey@gentoo.org>
|
||||
+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 <jokey@gentoo.org> 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 <jokey@gentoo.org> 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 <jokey@gentoo.org> +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 <jokey@gentoo.org> dsniff-2.3-r7.ebuild,
|
||||
dsniff-2.4_beta1.ebuild:
|
||||
Removing virtual/libpcap wrt bug #117898
|
||||
|
||||
31 Jan 2006; Simon Stelling <blubb@gentoo.org> dsniff-2.4_beta1.ebuild:
|
||||
rekeyword ~amd64
|
||||
|
||||
29 Jan 2006; Marcelo Goes <vanquirius@gentoo.org> 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 <gentoo at mach dot qrypto dot org>. Forced to drop amd64 keyword on
|
||||
account of this.
|
||||
|
||||
21 Jan 2006; Marcelo Goes <vanquirius@gentoo.org> dsniff-2.4_beta1.ebuild:
|
||||
More fixes for bug 119557. Thanks to a1200ux <a1200ux at gmail dot com> for
|
||||
his hard work.
|
||||
|
||||
*dsniff-2.4_beta1 (19 Jan 2006)
|
||||
|
||||
19 Jan 2006; Marcelo Goes <vanquirius@gentoo.org> -dsniff-2.3-r4.ebuild,
|
||||
+dsniff-2.4_beta1.ebuild:
|
||||
Add version 2.4 and Debian patchset for bug 119557. Thanks to <a1200ux at
|
||||
gmail dot com>. Currently in package.mask.
|
||||
|
||||
24 Dec 2005; Michael Hanselmann <hansmi@gentoo.org> dsniff-2.3-r7.ebuild:
|
||||
Stable on ppc.
|
||||
|
||||
09 Dec 2005; Bryan Østergaard <kloeri@gentoo.org dsniff-2.3-r7.ebuild:
|
||||
Stable on alpha.
|
||||
|
||||
27 Nov 2005; Marcelo Goes <vanquirius@gentoo.org> -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; <mkay@gentoo.org> +dsniff-2.3-r7.ebuild:
|
||||
Fixing local ip inversion (see bug #108144)
|
||||
|
||||
17 Sep 2005; Aron Griffis <agriffis@gentoo.org> dsniff-2.3-r4.ebuild:
|
||||
Mark 2.3-r4 stable on alpha
|
||||
|
||||
*dsniff-2.3-r6 (09 Sep 2005)
|
||||
|
||||
09 Sep 2005; Marcelo Goes <vanquirius@gentoo.org> +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 <vanquirius@gentoo.org> +dsniff-2.3-r5.ebuild:
|
||||
Adding append-ldflags -lresolv to allow amd64 compilation, ~amd64 keyword.
|
||||
Fixes bug 94184, thanks to Steven Tasker <bool@hush.com>.
|
||||
|
||||
17 May 2005; Michael Hanselmann <hansmi@gentoo.org> dsniff-2.3-r4.ebuild:
|
||||
Stable on ppc.
|
||||
|
||||
*dsniff-2.3-r4 (29 Mar 2005)
|
||||
|
||||
29 Mar 2005; Marcelo Goes <vanquirius@gentoo.org> -dsniff-2.3-r3.ebuild,
|
||||
+dsniff-2.3-r4.ebuild:
|
||||
Doing a revision bump to push bug fix.
|
||||
|
||||
29 Mar 2005; Marcelo Goes <vanquirius@gentoo.org> dsniff-2.3-r3.ebuild:
|
||||
Fix bug 87166. Thanks to Brandyn A. White <e133tc1pher@gmail.com> for
|
||||
reporting and solving the problem.
|
||||
|
||||
*dsniff-2.3-r3 (07 Mar 2005)
|
||||
|
||||
07 Mar 2005; Aaron Walker <ka0ttic@gentoo.org> -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 <dragonheart@gentoo.org> dsniff-2.3-r2.ebuild:
|
||||
changed net-libs/libpcap depend to virtual/libcap
|
||||
|
||||
01 Jul 2004; Jon Hood <squinky86@gentoo.org> dsniff-2.3-r2.ebuild:
|
||||
change virtual/glibc to virtual/libc, add missing IUSE
|
||||
|
||||
03 May 2004; David Holm <dholm@gentoo.org> dsniff-2.3-r2.ebuild:
|
||||
Added to ~ppc.
|
||||
|
||||
*dsniff-2.3-r2 (02 May 2004)
|
||||
|
||||
02 May 2004; Mike Frysinger <vapier@gentoo.org> :
|
||||
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 <vapier@gentoo.org> :
|
||||
Cleanup patch so that dsniff will use a newer version of nids #43370 by Magnus Maatta.
|
||||
|
||||
26 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
|
||||
Add patch to fix linking order #27267.
|
||||
|
||||
21 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
|
||||
Patch to compile against SLOT-ed libnet-1.0.x #17772.
|
||||
|
||||
*dsniff-2.3 (14 Nov 2002)
|
||||
|
||||
23 Jul 2003; Tavis Ormandy <taviso@gentoo.org> dsniff-2.3.ebuild:
|
||||
~alpha
|
||||
|
||||
02 Feb 2003; Daniel Ahlberg <aliz@gentoo.org> dsniff-2.3.ebuild :
|
||||
Closes #14689.
|
||||
|
||||
14 Nov 2002; Jared Hudson <jhhudso@gentoo.org> : Initial import. Ebuild
|
||||
submitted by foser <foser@gentoo.org>. Bug #6906
|
||||
9
net-analyzer/dsniff/Manifest
Normal file
9
net-analyzer/dsniff/Manifest
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
AUX 2.3-makefile.patch 1530 RMD160 cb3c49905e80319ecf14b52278c24f4af07bd46b SHA1 5b6a31c581ded6f5c97cee51b15be30e56866a8f SHA256 e9a8f061a87d07be0ce8958c5695d1bfc05cd5f0f4f55df080c3de752372315c
|
||||
AUX 2.4_beta1-httppostfix.patch 674 RMD160 82d29b74351a0b0ab6db887397325f6e3fd035ae SHA1 d5a82948af3954a7716ba9d68e349b6eb8bb013a SHA256 3efd6ca2267540016e843af3e8d7720d888fd17a73cba410e2c68022fd3a7baf
|
||||
AUX 2.4_beta1-make.patch 2158 RMD160 4d54373f606743f2f9889548165ffc539d9cb585 SHA1 e4c9b3faec0f0e72b4ce2f7c30c3ee2edf5dc4b8 SHA256 6cf844425aba6884875c0f8b9031b867f6b36e2636a29624115ad56fd0e34cea
|
||||
DIST dsniff-2.4b1.tar.gz 131666 RMD160 4d5dee193f0d252d22cfe2417f067460db9638b1 SHA1 25cfea26e9bbe016451180758a49d4d5bc9317d3 SHA256 a9803a7a02ddfe5fb9704ce86f0ffc48453c321e88db85810db411ba0841152a
|
||||
DIST dsniff_2.4b1+debian-18.diff.gz 44819 RMD160 bdfb4a6a270c84753dce39be3553df0d7e8c45e8 SHA1 d34fe16565845a2d46973671f867adad63f99667 SHA256 a65142b8d2206d3eae5db35d9972f8eac1110d45893d7f2182ca240ecd9b9d25
|
||||
EBUILD dsniff-2.4_beta1-r4.ebuild 1540 RMD160 6b12aac1af49d7d4403f432c4461cee7cf34f451 SHA1 fbf5765a8faf2f7f230d57aac625502427e8ddea SHA256 fac21a206d205619551ba2988cddb65e0f564e1ecc9a39ac686f0ab9a30a93e6
|
||||
EBUILD dsniff-2.4_beta1-r5.ebuild 1479 RMD160 17c22511f58af179a6a181d27f656cbe7ed9b550 SHA1 468e81cc7d55852f4d713b03d2bcaee4c7a99a46 SHA256 1f6a0bea58def74e49bc312020e70c24f8a4b4f5dc81fc9fe2097f29e80fa804
|
||||
MISC ChangeLog 8240 RMD160 a639128afa391e71a0cbc4a4d6c394cfde4f6ca2 SHA1 609f2e80f7049f2587003785e761b175b8630313 SHA256 419657b75d5099d02b412aa3f2023a7ab7821c731631436ae33327f49bd8414c
|
||||
MISC metadata.xml 715 RMD160 4e2b26891be8baba84c9833bd55af864f88b4efc SHA1 52cac2b2bc7a536372b51e95605ff45772e21e0d SHA256 38611a21d47773747c46816fcb2cfebe0a3b57fc070876e36f5347e6bcc220a1
|
||||
58
net-analyzer/dsniff/dsniff-2.4_beta1-r4.ebuild
Normal file
58
net-analyzer/dsniff/dsniff-2.4_beta1-r4.ebuild
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
# Copyright 1999-2012 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-r4.ebuild,v 1.8 2012/02/05 18:34:19 armin76 Exp $
|
||||
|
||||
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/"
|
||||
SRC_URI="http://monkey.org/~dugsong/${PN}/beta/${P/_beta/b}.tar.gz
|
||||
mirror://debian/pool/main/d/${PN}/${PN}_2.4b1+debian-18.diff.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="X"
|
||||
|
||||
DEPEND="net-libs/libpcap
|
||||
>=net-libs/libnet-1.1.2.1-r1
|
||||
>=net-libs/libnids-1.21
|
||||
>=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}
|
||||
cd "${S}"
|
||||
|
||||
# Debian's patchset
|
||||
epatch "${DISTDIR}"/${PN}_2.4b1+debian-18.diff.gz
|
||||
epatch "${S}"/dsniff-2.4b1+debian/debian/patches/*.dpatch
|
||||
|
||||
sed -i 's:-DDSNIFF_LIBDIR=\\\"$(libdir)/\\\"::' Makefile.in || die "sed makefile"
|
||||
epatch "${FILESDIR}"/2.3-makefile.patch
|
||||
|
||||
# Bug 125084
|
||||
epatch "${FILESDIR}"/${PV}-httppostfix.patch
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
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
|
||||
}
|
||||
59
net-analyzer/dsniff/dsniff-2.4_beta1-r5.ebuild
Normal file
59
net-analyzer/dsniff/dsniff-2.4_beta1-r5.ebuild
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
# Copyright 1999-2012 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-r5.ebuild,v 1.2 2012/02/05 18:34:19 armin76 Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
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/"
|
||||
SRC_URI="http://monkey.org/~dugsong/${PN}/beta/${P/_beta/b}.tar.gz
|
||||
mirror://debian/pool/main/d/${PN}/${PN}_2.4b1+debian-18.diff.gz"
|
||||
LICENSE="BSD"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="X"
|
||||
|
||||
DEPEND="net-libs/libpcap
|
||||
>=net-libs/libnet-1.1.2.1-r1
|
||||
>=net-libs/libnids-1.21
|
||||
>=dev-libs/openssl-0.9.6e
|
||||
>=sys-libs/db-4.2.52_p4
|
||||
X? ( x11-libs/libXmu )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${P/_beta1/}"
|
||||
|
||||
src_prepare() {
|
||||
# Debian's patchset
|
||||
epatch "${DISTDIR}"/${PN}_2.4b1+debian-18.diff.gz
|
||||
epatch dsniff-2.4b1+debian/debian/patches/*.dpatch
|
||||
|
||||
# Bug 125084
|
||||
epatch "${FILESDIR}"/${PV}-httppostfix.patch
|
||||
|
||||
# various Makefile.in patches
|
||||
epatch "${FILESDIR}"/${PV}-make.patch
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with X x) \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 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
|
||||
}
|
||||
29
net-analyzer/dsniff/files/2.3-makefile.patch
Normal file
29
net-analyzer/dsniff/files/2.3-makefile.patch
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
--- a/Makefile.in 2003-08-25 18:07:17.000000000 +1200
|
||||
+++ b/Makefile.in 2003-08-25 18:29:13.000000000 +1200
|
||||
@@ -94,7 +94,7 @@
|
||||
$(RANLIB) $@
|
||||
|
||||
dsniff: $(HDRS) $(SRCS) $(OBJS)
|
||||
- $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB) $(DBLIB) $(SSLLIB)
|
||||
+ $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(DBLIB) $(NIDSLIB) $(PCAPLIB) $(LNETLIB) $(SSLLIB)
|
||||
|
||||
arpspoof: arpspoof.o arp.o
|
||||
$(CC) $(LDFLAGS) -o $@ arpspoof.o arp.o $(LIBS) $(PCAPLIB) $(LNETLIB)
|
||||
@@ -115,7 +115,7 @@
|
||||
$(CC) $(LDFLAGS) -o $@ msgsnarf.o buf.o pcaputil.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB)
|
||||
|
||||
sshmitm: sshmitm.o buf.o hex.o record.o ssh.o sshcrypto.o
|
||||
- $(CC) $(LDFLAGS) -o $@ sshmitm.o buf.o hex.o record.o ssh.o sshcrypto.o $(LIBS) $(LNETLIB) $(DBLIB) $(SSLLIB)
|
||||
+ $(CC) $(LDFLAGS) -o $@ sshmitm.o buf.o hex.o record.o ssh.o sshcrypto.o $(LIBS) $(DBLIB) $(LNETLIB) $(SSLLIB)
|
||||
|
||||
tcpkill: tcpkill.o pcaputil.o
|
||||
$(CC) $(LDFLAGS) -o $@ tcpkill.o pcaputil.o $(LIBS) $(PCAPLIB) $(LNETLIB)
|
||||
@@ -130,7 +130,7 @@
|
||||
$(CC) $(LDFLAGS) -o $@ urlsnarf.o base64.o buf.o pcaputil.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB)
|
||||
|
||||
webmitm: webmitm.o base64.o buf.o decode_http.o record.o
|
||||
- $(CC) $(LDFLAGS) -o $@ webmitm.o base64.o buf.o decode_http.o record.o $(LIBS) $(LNETLIB) $(DBLIB) $(SSLLIB)
|
||||
+ $(CC) $(LDFLAGS) -o $@ webmitm.o base64.o buf.o decode_http.o record.o $(LIBS) $(DBLIB) $(LNETLIB) $(SSLLIB)
|
||||
|
||||
webspy: webspy.o base64.o buf.o remote.o
|
||||
$(CC) $(LDFLAGS) -o $@ webspy.o base64.o buf.o remote.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB) $(X11LIB)
|
||||
20
net-analyzer/dsniff/files/2.4_beta1-httppostfix.patch
Normal file
20
net-analyzer/dsniff/files/2.4_beta1-httppostfix.patch
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
--- a/decode_http.c 2000-12-19 07:38:05.000000000 +0800
|
||||
+++ b/decode_http.c 2006-03-05 22:32:14.000000000 +0800
|
||||
@@ -139,14 +139,14 @@
|
||||
host = p;
|
||||
}
|
||||
else if (req[0] == 'P') {
|
||||
- if (strncmp(p, "Content-type: ", 14) == 0) {
|
||||
- if (strncmp(p + 14, "application/"
|
||||
+ if (strncasecmp(p, "Content-type: ", 14) == 0) {
|
||||
+ if (strncasecmp(p + 14, "application/"
|
||||
"x-www-form-urlencoded",
|
||||
33) != 0) {
|
||||
query = NULL;
|
||||
}
|
||||
}
|
||||
- else if (strncmp(p, "Content-length: ", 16) == 0) {
|
||||
+ else if (strncasecmp(p, "Content-length: ", 16) == 0) {
|
||||
p += 16;
|
||||
i = atoi(p);
|
||||
if ((msg = buf_tok(&inbuf, NULL, i)) == NULL)
|
||||
62
net-analyzer/dsniff/files/2.4_beta1-make.patch
Normal file
62
net-analyzer/dsniff/files/2.4_beta1-make.patch
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
--- a/Makefile.in 2010-09-20 12:12:25.000000000 +0200
|
||||
+++ b/Makefile.in 2010-09-20 12:12:26.000000000 +0200
|
||||
@@ -16,7 +16,7 @@
|
||||
mandir = @mandir@
|
||||
|
||||
CC = @CC@
|
||||
-CFLAGS = @CFLAGS@ -DDSNIFF_LIBDIR=\"$(libdir)/\"
|
||||
+CFLAGS = @CFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
|
||||
PCAPINC = @PCAPINC@
|
||||
@@ -75,12 +75,20 @@
|
||||
.c.o:
|
||||
$(CC) $(CFLAGS) $(INCS) -c $(srcdir)/$*.c
|
||||
|
||||
-all: libmissing.a $(PROGS)
|
||||
+all: $(PROGS)
|
||||
+
|
||||
+$(PROGS): libmissing.a
|
||||
+
|
||||
+$(OBJS): $(GEN)
|
||||
|
||||
+mount.h: mount.x
|
||||
+ rpcgen -h mount.x -o mount.h
|
||||
+
|
||||
mount.c: mount.x
|
||||
- rpcgen -h mount.x -o mount.h
|
||||
rpcgen -c mount.x -o mount.c
|
||||
|
||||
+nfs_prot.h: nfs_prot.x
|
||||
+ rpcgen -h nfs_prot.x -o nfs_prot.h
|
||||
+
|
||||
nfs_prot.c: nfs_prot.x
|
||||
- rpcgen -h nfs_prot.x -o nfs_prot.h
|
||||
rpcgen -c nfs_prot.x -o nfs_prot.c
|
||||
@@ -93,7 +97,7 @@
|
||||
$(RANLIB) $@
|
||||
|
||||
dsniff: $(HDRS) $(SRCS) $(OBJS)
|
||||
- $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB) $(DBLIB) $(SSLLIB)
|
||||
+ $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(DBLIB) $(NIDSLIB) $(PCAPLIB) $(LNETLIB) $(SSLLIB)
|
||||
|
||||
arpspoof: arpspoof.o arp.o
|
||||
$(CC) $(LDFLAGS) -o $@ arpspoof.o arp.o $(LIBS) $(PCAPLIB) $(LNETLIB)
|
||||
@@ -114,7 +118,7 @@
|
||||
$(CC) $(LDFLAGS) -o $@ msgsnarf.o buf.o pcaputil.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB)
|
||||
|
||||
sshmitm: sshmitm.o buf.o hex.o record.o ssh.o sshcrypto.o
|
||||
- $(CC) $(LDFLAGS) -o $@ sshmitm.o buf.o hex.o record.o ssh.o sshcrypto.o $(LIBS) $(LNETLIB) $(DBLIB) $(SSLLIB)
|
||||
+ $(CC) $(LDFLAGS) -o $@ sshmitm.o buf.o hex.o record.o ssh.o sshcrypto.o $(LIBS) $(DBLIB) $(LNETLIB) $(SSLLIB)
|
||||
|
||||
sshow: sshow.o pcaputil.o
|
||||
$(CC) $(LDFLAGS) -o $@ sshow.o pcaputil.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB)
|
||||
@@ -132,7 +136,7 @@
|
||||
$(CC) $(LDFLAGS) -o $@ urlsnarf.o base64.o buf.o pcaputil.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB)
|
||||
|
||||
webmitm: webmitm.o base64.o buf.o decode_http.o record.o
|
||||
- $(CC) $(LDFLAGS) -o $@ webmitm.o base64.o buf.o decode_http.o record.o $(LIBS) $(LNETLIB) $(DBLIB) $(SSLLIB)
|
||||
+ $(CC) $(LDFLAGS) -o $@ webmitm.o base64.o buf.o decode_http.o record.o $(LIBS) $(DBLIB) $(LNETLIB) $(SSLLIB)
|
||||
|
||||
webspy: webspy.o base64.o buf.o remote.o
|
||||
$(CC) $(LDFLAGS) -o $@ webspy.o base64.o buf.o remote.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB) $(X11LIB)
|
||||
14
net-analyzer/dsniff/metadata.xml
Normal file
14
net-analyzer/dsniff/metadata.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>netmon</herd>
|
||||
<longdescription>
|
||||
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.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
Loading…
Reference in a new issue