pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/flodo initial import of the flodo-v3 package. it ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/030249b40ddc
branches: trunk
changeset: 481246:030249b40ddc
user: mrg <mrg%pkgsrc.org@localhost>
date: Thu Sep 30 00:13:53 2004 +0000
description:
initial import of the flodo-v3 package. it works like a "vmstat/iostat"
program for the network, showing the top flows across a network interface.
diffstat:
net/flodo/DESCR | 11 +++++++++++
net/flodo/Makefile | 27 +++++++++++++++++++++++++++
net/flodo/PLIST | 2 ++
net/flodo/distinfo | 4 ++++
4 files changed, 44 insertions(+), 0 deletions(-)
diffs (60 lines):
diff -r 8d740c06b3de -r 030249b40ddc net/flodo/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/flodo/DESCR Thu Sep 30 00:13:53 2004 +0000
@@ -0,0 +1,11 @@
+i frequently want to know what the top few network flows are... and yet
+there didn't seem to be any tool which was as simple to use as "vmstat"
+or "iostat". this tool fills that void for me.
+
+with the default options flodo will dump the top 20 flows every 5 seconds.
+
+flodo is quite basic at this point, understanding only ethernet frames,
+ipv4, tcp, and udp.
+
+flodo can't even do reverse DNS and doesn't bother mapping port numbers
+to services or display icmp or ethernet protocol names.
diff -r 8d740c06b3de -r 030249b40ddc net/flodo/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/flodo/Makefile Thu Sep 30 00:13:53 2004 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/09/30 00:13:53 mrg Exp $
+#
+
+DISTNAME= flodo-v3
+PKGNAME= flodo-3-20040907
+CATEGORIES= net
+MASTER_SITES= http://arctic.org/~dean/flodo/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= tech-pkg%netbsd.org@localhost
+HOMEPAGE= http://arctic.org/~dean/flodo/
+COMMENT= simple network flow sampling tool
+
+USE_BUILDLINK3= yes
+USE_BUILTIN.libpcap= no # NetBSD's libpcap is very old.
+
+CPPFLAGS+= -I${BUILDLINK_PREFIX.libpcap}/include
+LDFLAGS+= -L${BUILDLINK_PREFIX.libpcap}/lib
+
+do-build:
+ cd ${WRKSRC}; ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o flodo flodo.c -lpcap
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/flodo ${PREFIX}/sbin
+
+.include "../../net/libpcap/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8d740c06b3de -r 030249b40ddc net/flodo/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/flodo/PLIST Thu Sep 30 00:13:53 2004 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/09/30 00:13:53 mrg Exp $
+sbin/flodo
diff -r 8d740c06b3de -r 030249b40ddc net/flodo/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/flodo/distinfo Thu Sep 30 00:13:53 2004 +0000
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/09/30 00:13:53 mrg Exp $
+
+SHA1 (flodo-v3.tar.bz2) = 84b8ee60bc01ab982b9b9373058583a3dabbd7a0
+Size (flodo-v3.tar.bz2) = 5742 bytes
Home |
Main Index |
Thread Index |
Old Index