streams: unfetchable and ancient

This commit is contained in:
Rick Farina (Zero_Chaos) 2017-01-30 14:28:31 -05:00
parent 7ecd8158e8
commit 9b433a42ec
No known key found for this signature in database
GPG key ID: A5DD1427DD11F94A
3 changed files with 0 additions and 78 deletions

View file

@ -1 +0,0 @@
DIST streams-0.1.0.tar.bz2 125549 SHA256 574dc84daad7e84284071e1f3809c11e2fcce6ef7aa6841fc96301327b0ecaeb

View file

@ -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 <history.h>
#include <readline.h>
#include <signal.h>
+#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/wait.h>
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;

View file

@ -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
}