From 9b433a42eca0fbdbb45c675fdef22eca141bb619 Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Mon, 30 Jan 2017 14:28:31 -0500 Subject: [PATCH] streams: unfetchable and ancient --- app-forensics/streams/Manifest | 1 - .../streams/files/streams-0.1.0-gcc.patch | 44 ------------------- app-forensics/streams/streams-0.1.0.ebuild | 33 -------------- 3 files changed, 78 deletions(-) delete mode 100644 app-forensics/streams/Manifest delete mode 100644 app-forensics/streams/files/streams-0.1.0-gcc.patch delete mode 100644 app-forensics/streams/streams-0.1.0.ebuild diff --git a/app-forensics/streams/Manifest b/app-forensics/streams/Manifest deleted file mode 100644 index d3fa00293..000000000 --- a/app-forensics/streams/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST streams-0.1.0.tar.bz2 125549 SHA256 574dc84daad7e84284071e1f3809c11e2fcce6ef7aa6841fc96301327b0ecaeb diff --git a/app-forensics/streams/files/streams-0.1.0-gcc.patch b/app-forensics/streams/files/streams-0.1.0-gcc.patch deleted file mode 100644 index b7f3e4254..000000000 --- a/app-forensics/streams/files/streams-0.1.0-gcc.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -Naur streams-0.1.0.orig/src/cmd.c streams-0.1.0/src/cmd.c ---- streams-0.1.0.orig/src/cmd.c 2011-03-16 15:16:37.000000000 +0000 -+++ streams-0.1.0/src/cmd.c 2011-04-12 11:46:11.000000000 +0000 -@@ -209,7 +209,7 @@ - } - - fclose(f); -- printf("%lu bytes written to %s\n", bytes, outfile); -+ printf("%lu bytes written to %s\n", (long unsigned int) bytes, outfile); - - - return 0; -diff -Naur streams-0.1.0.orig/src/streams.c streams-0.1.0/src/streams.c ---- streams-0.1.0.orig/src/streams.c 2011-03-16 15:08:47.000000000 +0000 -+++ streams-0.1.0/src/streams.c 2011-04-12 11:46:33.000000000 +0000 -@@ -19,6 +19,7 @@ - #include - #include - #include -+#include - #include - #include - #include -diff -Naur streams-0.1.0.orig/src/strm.c streams-0.1.0/src/strm.c ---- streams-0.1.0.orig/src/strm.c 2011-03-16 15:10:47.000000000 +0000 -+++ streams-0.1.0/src/strm.c 2011-04-12 11:46:11.000000000 +0000 -@@ -162,7 +162,7 @@ - printf("%5d: %6d.%06d %6d.%06d %s:%d > %s:%d (%lu bytes)%s\n", - s->number, - (unsigned int) sdiff.tv_sec, (unsigned int) sdiff.tv_usec, (unsigned int) ediff.tv_sec, (unsigned int) ediff.tv_usec, -- saddr, ntohs(s->s.port), daddr, ntohs(s->d.port), s->len, -+ saddr, ntohs(s->s.port), daddr, ntohs(s->d.port), (unsigned long int) s->len, - s->complete ? "" : " [incomplete]"); - } else { - strftime(start, 20, "%Y-%m-%d %H:%M:%S", gmtime((time_t *) &s->start.tv_sec)); -@@ -170,7 +170,7 @@ - printf("%5d: %s.%06u %s.%06u %s:%d > %s:%d (%lu bytes)%s\n", - s->number, - start, (unsigned int) s->start.tv_usec, end, (unsigned int) s->end.tv_usec, -- saddr, ntohs(s->s.port), daddr, ntohs(s->d.port), s->len, -+ saddr, ntohs(s->s.port), daddr, ntohs(s->d.port), (unsigned long int) s->len, - s->complete ? "" : " [incomplete]"); - } - if (number >= 0 && i == number) break; diff --git a/app-forensics/streams/streams-0.1.0.ebuild b/app-forensics/streams/streams-0.1.0.ebuild deleted file mode 100644 index bd26d5a2d..000000000 --- a/app-forensics/streams/streams-0.1.0.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=3 - -inherit eutils - -DESCRIPTION="streams is a tool for browsing, mining and processing TCP streams in pcap files" -HOMEPAGE="http://src.carnivore.it/streams/about" -SRC_URI="ftp://ftp.carnivore.it/projects/streams/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="" - -DEPEND="net-libs/libpcap - sys-libs/readline - " -RDEPEND="${DEPEND}" - -src_prepare() { - epatch "${FILESDIR}/${P}-gcc.patch" -} - -src_configure() { - econf --with-libreadline-includes=/usr/include/readline -} - -src_install() { - dobin src/streams -}