diff options
author | Marcin Kryczek <mkay@gentoo.org> | 2005-10-15 09:34:08 +0000 |
---|---|---|
committer | Marcin Kryczek <mkay@gentoo.org> | 2005-10-15 09:34:08 +0000 |
commit | bb630ba3e66d9da70d9be52b03a7ea828e78a431 (patch) | |
tree | 2b207d68a823df6c4094e455550867f9a75faf83 /net-analyzer/dsniff | |
parent | Marked ~ppc-macos (bug #108632) (diff) | |
download | gentoo-2-bb630ba3e66d9da70d9be52b03a7ea828e78a431.tar.gz gentoo-2-bb630ba3e66d9da70d9be52b03a7ea828e78a431.tar.bz2 gentoo-2-bb630ba3e66d9da70d9be52b03a7ea828e78a431.zip |
Fixing local ip inversion (see bug #108144)
(Portage version: 2.0.52-r1)
Diffstat (limited to 'net-analyzer/dsniff')
-rw-r--r-- | net-analyzer/dsniff/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/dsniff/Manifest | 14 | ||||
-rw-r--r-- | net-analyzer/dsniff/dsniff-2.3-r7.ebuild | 53 | ||||
-rw-r--r-- | net-analyzer/dsniff/files/digest-dsniff-2.3-r7 | 1 |
4 files changed, 68 insertions, 7 deletions
diff --git a/net-analyzer/dsniff/ChangeLog b/net-analyzer/dsniff/ChangeLog index 45ddc39af853..dad88db29264 100644 --- a/net-analyzer/dsniff/ChangeLog +++ b/net-analyzer/dsniff/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/dsniff # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/dsniff/ChangeLog,v 1.20 2005/09/17 00:55:11 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/dsniff/ChangeLog,v 1.21 2005/10/15 09:34:08 mkay Exp $ + +*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 diff --git a/net-analyzer/dsniff/Manifest b/net-analyzer/dsniff/Manifest index 817ef61e80f0..43e0ae863e0c 100644 --- a/net-analyzer/dsniff/Manifest +++ b/net-analyzer/dsniff/Manifest @@ -1,10 +1,12 @@ -MD5 bb880c49bdffe94226562c9f6b06e0e7 metadata.xml 719 MD5 41dcc34cd0732c9fac4c87299b10e777 ChangeLog 2585 -MD5 0e532c62fdcfa0d6e65b1b377d430cf1 dsniff-2.3-r6.ebuild 1408 -MD5 33429f33cb307d7a7ff109b9dd5424d4 dsniff-2.3-r5.ebuild 2306 MD5 a800c8f521b81572f53a3527f1a91d4d dsniff-2.3-r4.ebuild 2228 -MD5 5c5bea8cc4846925ba48ba5c9ea83341 files/digest-dsniff-2.3-r4 123 +MD5 33429f33cb307d7a7ff109b9dd5424d4 dsniff-2.3-r5.ebuild 2306 +MD5 0e532c62fdcfa0d6e65b1b377d430cf1 dsniff-2.3-r6.ebuild 1408 +MD5 bb880c49bdffe94226562c9f6b06e0e7 metadata.xml 719 +MD5 077699ad8eec581bd6ea11ea558d5bdb dsniff-2.3-r7.ebuild 1568 MD5 9206faea6a9be25f7d1aa0ac0a2ff6e3 files/2.3-libnet-1.0.patch 6110 -MD5 0e5d8e4adda8f4876e972a02bed13cc3 files/digest-dsniff-2.3-r6 62 -MD5 5c5bea8cc4846925ba48ba5c9ea83341 files/digest-dsniff-2.3-r5 123 MD5 f41ad0aeacc05042ec27551b257845d3 files/2.3-makefile.patch 1531 +MD5 5c5bea8cc4846925ba48ba5c9ea83341 files/digest-dsniff-2.3-r4 123 +MD5 5c5bea8cc4846925ba48ba5c9ea83341 files/digest-dsniff-2.3-r5 123 +MD5 0e5d8e4adda8f4876e972a02bed13cc3 files/digest-dsniff-2.3-r6 62 +MD5 0e5d8e4adda8f4876e972a02bed13cc3 files/digest-dsniff-2.3-r7 62 diff --git a/net-analyzer/dsniff/dsniff-2.3-r7.ebuild b/net-analyzer/dsniff/dsniff-2.3-r7.ebuild new file mode 100644 index 000000000000..e76248b149c3 --- /dev/null +++ b/net-analyzer/dsniff/dsniff-2.3-r7.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/dsniff/dsniff-2.3-r7.ebuild,v 1.1 2005/10/15 09:34:08 mkay Exp $ + +inherit eutils flag-o-matic + +DESCRIPTION="A collection of tools for network auditing and penetration testing" +HOMEPAGE="http://monkey.org/~dugsong/${PN}/" +SRC_URI="${HOMEPAGE}/${P}.tar.gz" +LICENSE="DSNIFF" +SLOT="0" +KEYWORDS="~amd64 ~alpha ~ppc ~x86" +IUSE="" + +RDEPEND="virtual/libpcap + <net-libs/libnet-1.1 + >=net-libs/libnet-1.0.2a-r3 + >=net-libs/libnids-1.18 + >=dev-libs/openssl-0.9.6e + ~sys-libs/db-3.2.9 + sys-apps/sed" + +src_unpack() { + unpack ${A} + + # 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} + epatch ${FILESDIR}/${PV}-libnet-1.0.patch + sed -i \ + -e 's:-ldb:-ldb -lpthread:' \ + -e "s:lib':':" \ + configure || die "sed configure" + sed -i 's:-DDSNIFF_LIBDIR=\\\"$(libdir)/\\\"::' Makefile.in || die "sed makefile" + sed -i 's:/usr/local/lib:/etc/dsniff:' pathnames.h || die "sed pathnames" + epatch ${FILESDIR}/${PV}-makefile.patch + + # Allow amd64 compilation + append-ldflags -lresolv + + # Fix for the local ip inversion (see bug #108144) + sed -i "s/de->ip = htonl(lnet_ip);/de->ip = lnet_ip;/" dnsspoof.c \ + || die "sed dnsspoof" +} + +src_install() { + make install install_prefix=${D} || die + dodir /etc/dsniff + mv ${D}/usr/{dnsspoof.hosts,dsniff.{magic,services}} ${D}/etc/dsniff/ + dodoc CHANGES README TODO +} diff --git a/net-analyzer/dsniff/files/digest-dsniff-2.3-r7 b/net-analyzer/dsniff/files/digest-dsniff-2.3-r7 new file mode 100644 index 000000000000..9942098f31ff --- /dev/null +++ b/net-analyzer/dsniff/files/digest-dsniff-2.3-r7 @@ -0,0 +1 @@ +MD5 183e336a45e38013f3af840bddec44b4 dsniff-2.3.tar.gz 126797 |