From 12644e99b81895d0f924ab145be5d6aea8de1e0b Mon Sep 17 00:00:00 2001 From: Marcelo Góes Date: Tue, 29 Mar 2005 22:55:10 +0000 Subject: revision bump (Portage version: 2.0.51.19) --- net-analyzer/dsniff/ChangeLog | 8 ++- net-analyzer/dsniff/Manifest | 6 +-- net-analyzer/dsniff/dsniff-2.3-r3.ebuild | 74 -------------------------- net-analyzer/dsniff/dsniff-2.3-r4.ebuild | 74 ++++++++++++++++++++++++++ net-analyzer/dsniff/files/digest-dsniff-2.3-r3 | 2 - net-analyzer/dsniff/files/digest-dsniff-2.3-r4 | 2 + 6 files changed, 86 insertions(+), 80 deletions(-) delete mode 100644 net-analyzer/dsniff/dsniff-2.3-r3.ebuild create mode 100644 net-analyzer/dsniff/dsniff-2.3-r4.ebuild delete mode 100644 net-analyzer/dsniff/files/digest-dsniff-2.3-r3 create mode 100644 net-analyzer/dsniff/files/digest-dsniff-2.3-r4 (limited to 'net-analyzer') diff --git a/net-analyzer/dsniff/ChangeLog b/net-analyzer/dsniff/ChangeLog index c3bb67a8e8f8..3672daa21d28 100644 --- a/net-analyzer/dsniff/ChangeLog +++ b/net-analyzer/dsniff/ChangeLog @@ -1,6 +1,12 @@ # 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.14 2005/03/29 22:47:05 vanquirius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/dsniff/ChangeLog,v 1.15 2005/03/29 22:55:10 vanquirius Exp $ + +*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 diff --git a/net-analyzer/dsniff/Manifest b/net-analyzer/dsniff/Manifest index b3e43d66142e..319c547d36f6 100644 --- a/net-analyzer/dsniff/Manifest +++ b/net-analyzer/dsniff/Manifest @@ -1,6 +1,6 @@ -MD5 fdf7058280150456fb89f65cf2920dc7 dsniff-2.3-r3.ebuild 2232 -MD5 da234be7218ec704ea89a93316c6dee9 ChangeLog 1792 +MD5 861d0448b4d295aa353659cf5845f046 ChangeLog 1964 MD5 bb880c49bdffe94226562c9f6b06e0e7 metadata.xml 719 -MD5 5c5bea8cc4846925ba48ba5c9ea83341 files/digest-dsniff-2.3-r3 123 +MD5 fdf7058280150456fb89f65cf2920dc7 dsniff-2.3-r4.ebuild 2232 +MD5 5c5bea8cc4846925ba48ba5c9ea83341 files/digest-dsniff-2.3-r4 123 MD5 9206faea6a9be25f7d1aa0ac0a2ff6e3 files/2.3-libnet-1.0.patch 6110 MD5 f41ad0aeacc05042ec27551b257845d3 files/2.3-makefile.patch 1531 diff --git a/net-analyzer/dsniff/dsniff-2.3-r3.ebuild b/net-analyzer/dsniff/dsniff-2.3-r3.ebuild deleted file mode 100644 index b9a9165e74a8..000000000000 --- a/net-analyzer/dsniff/dsniff-2.3-r3.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# 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-r3.ebuild,v 1.2 2005/03/29 22:47:05 vanquirius Exp $ - -inherit eutils - -# dsniff needs to build it's own version of sys-libs/db, since the one -# normally installed is for some reason unusable for dsniffs configure script. -# The version is chosen as being the standard one around at the time i wrote -# this ebuild, it's not set in stone. - -DB_VER="3.2.9" - -DESCRIPTION="A collection of tools for network auditing and penetration testing" -HOMEPAGE="http://monkey.org/~dugsong/dsniff/" -SRC_URI="http://www.sleepycat.com/update/snapshot/db-${DB_VER}.tar.gz - http://monkey.org/~dugsong/${PN}/${P}.tar.gz" - -# dsniff has it's own small license which is in the docs section -LICENSE="DSNIFF" -SLOT="0" -KEYWORDS="x86 ~alpha ~ppc" -IUSE="" - -RDEPEND="virtual/libpcap - =net-libs/libnet-1.0.2a-r3 - >=net-libs/libnids-1.18 - >=dev-libs/openssl-0.9.6e" -# dependencies only for building our own sys-libs/db -DEPEND="${RDEPEND} - virtual/libc - =sys-libs/db-1* - sys-devel/libtool - sys-devel/m4" - -src_unpack() { - unpack db-${DB_VER}.tar.gz - unpack ${P}.tar.gz - - # 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 -} - -src_compile() { - cd ${WORKDIR}/db-${DB_VER}/dist - ./configure \ - --host=${CHOST} \ - --enable-compat185 || die "./configure of db-${DB_VER} failed" - emake || die "build of db-${DB_VER} failed" - - # Another workaround around the crappy config script - cd ${S} - econf --with-db=../db-${DB_VER} || die - make || die -} - -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/dsniff-2.3-r4.ebuild b/net-analyzer/dsniff/dsniff-2.3-r4.ebuild new file mode 100644 index 000000000000..7a9cf6a3ad61 --- /dev/null +++ b/net-analyzer/dsniff/dsniff-2.3-r4.ebuild @@ -0,0 +1,74 @@ +# 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-r4.ebuild,v 1.1 2005/03/29 22:55:10 vanquirius Exp $ + +inherit eutils + +# dsniff needs to build it's own version of sys-libs/db, since the one +# normally installed is for some reason unusable for dsniffs configure script. +# The version is chosen as being the standard one around at the time i wrote +# this ebuild, it's not set in stone. + +DB_VER="3.2.9" + +DESCRIPTION="A collection of tools for network auditing and penetration testing" +HOMEPAGE="http://monkey.org/~dugsong/dsniff/" +SRC_URI="http://www.sleepycat.com/update/snapshot/db-${DB_VER}.tar.gz + http://monkey.org/~dugsong/${PN}/${P}.tar.gz" + +# dsniff has it's own small license which is in the docs section +LICENSE="DSNIFF" +SLOT="0" +KEYWORDS="x86 ~alpha ~ppc" +IUSE="" + +RDEPEND="virtual/libpcap + =net-libs/libnet-1.0.2a-r3 + >=net-libs/libnids-1.18 + >=dev-libs/openssl-0.9.6e" +# dependencies only for building our own sys-libs/db +DEPEND="${RDEPEND} + virtual/libc + =sys-libs/db-1* + sys-devel/libtool + sys-devel/m4" + +src_unpack() { + unpack db-${DB_VER}.tar.gz + unpack ${P}.tar.gz + + # 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 +} + +src_compile() { + cd ${WORKDIR}/db-${DB_VER}/dist + ./configure \ + --host=${CHOST} \ + --enable-compat185 || die "./configure of db-${DB_VER} failed" + emake || die "build of db-${DB_VER} failed" + + # Another workaround around the crappy config script + cd ${S} + econf --with-db=../db-${DB_VER} || die + make || die +} + +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-r3 b/net-analyzer/dsniff/files/digest-dsniff-2.3-r3 deleted file mode 100644 index e1135460a43f..000000000000 --- a/net-analyzer/dsniff/files/digest-dsniff-2.3-r3 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 4df5c7051b11411e0a970f6c91613942 db-3.2.9.tar.gz 2085238 -MD5 183e336a45e38013f3af840bddec44b4 dsniff-2.3.tar.gz 126797 diff --git a/net-analyzer/dsniff/files/digest-dsniff-2.3-r4 b/net-analyzer/dsniff/files/digest-dsniff-2.3-r4 new file mode 100644 index 000000000000..e1135460a43f --- /dev/null +++ b/net-analyzer/dsniff/files/digest-dsniff-2.3-r4 @@ -0,0 +1,2 @@ +MD5 4df5c7051b11411e0a970f6c91613942 db-3.2.9.tar.gz 2085238 +MD5 183e336a45e38013f3af840bddec44b4 dsniff-2.3.tar.gz 126797 -- cgit v1.2.3-65-gdbad