summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce A. Locke <blocke@gentoo.org>2002-01-29 05:04:30 +0000
committerBruce A. Locke <blocke@gentoo.org>2002-01-29 05:04:30 +0000
commita62db20d8a2e26258b0678cfacc005ad79b549cc (patch)
tree04bc1b0a2b2bdf1f02b238795df94cdd18110cae /net-analyzer
parentMasked pspell-ispell till the other *spell 's are fixed. (diff)
downloadgentoo-2-a62db20d8a2e26258b0678cfacc005ad79b549cc.tar.gz
gentoo-2-a62db20d8a2e26258b0678cfacc005ad79b549cc.tar.bz2
gentoo-2-a62db20d8a2e26258b0678cfacc005ad79b549cc.zip
bug #327: sniffit remote root exploit fixed by m0rpheus@poseidon.mine.nu (Ferry Meyndert)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/sniffit/files/digest-sniffit-0.3.51
-rw-r--r--net-analyzer/sniffit/files/digest-sniffit-0.3.72
-rw-r--r--net-analyzer/sniffit/sniffit-0.3.5.ebuild27
-rw-r--r--net-analyzer/sniffit/sniffit-0.3.7.ebuild32
4 files changed, 34 insertions, 28 deletions
diff --git a/net-analyzer/sniffit/files/digest-sniffit-0.3.5 b/net-analyzer/sniffit/files/digest-sniffit-0.3.5
deleted file mode 100644
index bf1a5cc28df0..000000000000
--- a/net-analyzer/sniffit/files/digest-sniffit-0.3.5
+++ /dev/null
@@ -1 +0,0 @@
-MD5 bd116c62669372d7ea7f59c337f6822a sniffit.0.3.5.tar.gz 200704
diff --git a/net-analyzer/sniffit/files/digest-sniffit-0.3.7 b/net-analyzer/sniffit/files/digest-sniffit-0.3.7
new file mode 100644
index 000000000000..34fef70df2f3
--- /dev/null
+++ b/net-analyzer/sniffit/files/digest-sniffit-0.3.7
@@ -0,0 +1,2 @@
+MD5 2697cc18878480199fe6db1e61134d5a sniffit.0.3.7.beta.tar.gz 212992
+MD5 4b2efe8ce32222f8ce8e9ddb476ac89c sniffit_0.3.7.beta-10.diff 98304
diff --git a/net-analyzer/sniffit/sniffit-0.3.5.ebuild b/net-analyzer/sniffit/sniffit-0.3.5.ebuild
deleted file mode 100644
index 12b68cc3424c..000000000000
--- a/net-analyzer/sniffit/sniffit-0.3.5.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2001 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Ben Lutgens <lamer@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sniffit/sniffit-0.3.5.ebuild,v 1.1 2001/07/15 18:30:48 lamer Exp $
-A=sniffit.0.3.5.tar.gz
-S=${WORKDIR}/${PN}.0.3.5
-DESCRIPTION="packet sniffer"
-SRC_URI="http://reptile.rug.ac.be/~coder/sniffit/files/${A}"
-HOMEPAGE="http://reptile.rug.ac.be/~coder/sniffit/sniffit.html"
-DEPEND=""
-
-#RDEPEND=""
-
-src_compile() {
- try ./configure --infodir=/usr/share/info --mandir=/usr/share/man --prefix=/usr --host=${CHOST}
-
- try emake
- #try make
-}
-
-src_install () {
-
- dobin sniffit
- doman sniffit.5 sniffit.8
- dodoc README.FIRST PLUGIN-HOWTO
-}
-
diff --git a/net-analyzer/sniffit/sniffit-0.3.7.ebuild b/net-analyzer/sniffit/sniffit-0.3.7.ebuild
new file mode 100644
index 000000000000..64369d28f9e9
--- /dev/null
+++ b/net-analyzer/sniffit/sniffit-0.3.7.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Ben Lutgens <lamer@gentoo.org>, Ferry Meyndert <m0rpheus@poseidon.mine.nu>, Bruce A. Locke <blocke@shivan.org>
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sniffit/sniffit-0.3.7.ebuild,v 1.1 2002/01/29 05:04:30 blocke Exp $
+
+P=sniffit.0.3.7.beta
+S=${WORKDIR}/${P}
+DESCRIPTION="Interactive Packet Sniffer"
+SRC_URI="http://reptile.rug.ac.be/~coder/sniffit/files/${P}.tar.gz
+ http://www.clan-tva.com/m0rpheus/sniffit_0.3.7.beta-10.diff"
+HOMEPAGE="http://reptile.rug.ac.be/~coder/sniffit/sniffit.html"
+
+DEPEND=">=net-libs/libpcap-0.6.2 >=sys-libs/ncurses-5.2"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cd ${S}
+ patch < ${DISTDIR}/sniffit_0.3.7.beta-10.diff || die
+}
+
+src_compile() {
+ ./configure --infodir=/usr/share/info --mandir=/usr/share/man --prefix=/usr --host=${CHOST} || die
+
+ emake OBJ_FLAG="-w -c ${CFLAGS}" EXE_FLAG="-w ${CFLAGS} -o sniffit" || die
+}
+
+src_install () {
+ dobin sniffit
+ doman sniffit.5 sniffit.8
+ dodoc README.FIRST PLUGIN-HOWTO
+}
+