pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/darkstat Import darkstat from pkgsrc-wip. Package...
details: https://anonhg.NetBSD.org/pkgsrc/rev/06eb4a8aa154
branches: trunk
changeset: 516321:06eb4a8aa154
user: minskim <minskim%pkgsrc.org@localhost>
date: Wed Jul 19 04:41:47 2006 +0000
description:
Import darkstat from pkgsrc-wip. Packaged by Bartosz Kuzma.
Effectively, it's a packet sniffer which runs as a background process
on a cable/DSL router, gathers all sorts of useless but interesting
statistics, and serves them over HTTP.
Features:
* Traffic graphs.
* Tracks traffic per host.
* Tracks traffic per TCP and UDP port for each host.
* Embedded web-server with deflate compression.
* Asynchronous reverse DNS resolution using a child process.
* Small. Portable. Single-threaded. Efficient.
diffstat:
net/darkstat/DESCR | 11 +++++++++++
net/darkstat/Makefile | 19 +++++++++++++++++++
net/darkstat/PLIST | 3 +++
net/darkstat/distinfo | 6 ++++++
net/darkstat/patches/patch-aa | 19 +++++++++++++++++++
5 files changed, 58 insertions(+), 0 deletions(-)
diffs (78 lines):
diff -r a2450bc1855a -r 06eb4a8aa154 net/darkstat/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/darkstat/DESCR Wed Jul 19 04:41:47 2006 +0000
@@ -0,0 +1,11 @@
+Effectively, it's a packet sniffer which runs as a background process
+on a cable/DSL router, gathers all sorts of useless but interesting
+statistics, and serves them over HTTP.
+
+Features:
+ * Traffic graphs.
+ * Tracks traffic per host.
+ * Tracks traffic per TCP and UDP port for each host.
+ * Embedded web-server with deflate compression.
+ * Asynchronous reverse DNS resolution using a child process.
+ * Small. Portable. Single-threaded. Efficient.
diff -r a2450bc1855a -r 06eb4a8aa154 net/darkstat/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/darkstat/Makefile Wed Jul 19 04:41:47 2006 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/07/19 04:41:47 minskim Exp $
+#
+
+DISTNAME= darkstat-3.0.524
+CATEGORIES= net
+MASTER_SITES= http://dmr.ath.cx/net/darkstat/
+DIST_SUBDIR= darkstat
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= bartosz%atom.eu.org@localhost
+HOMEPAGE= http://dmr.ath.cx/net/darkstat/
+COMMENT= Network statistics gatherer
+
+BUILD_TARGET= darkstat
+
+GNU_CONFIGURE= yes
+
+.include "../../net/libpcap/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r a2450bc1855a -r 06eb4a8aa154 net/darkstat/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/darkstat/PLIST Wed Jul 19 04:41:47 2006 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/07/19 04:41:47 minskim Exp $
+man/man1/darkstat.1
+sbin/darkstat
diff -r a2450bc1855a -r 06eb4a8aa154 net/darkstat/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/darkstat/distinfo Wed Jul 19 04:41:47 2006 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/07/19 04:41:47 minskim Exp $
+
+SHA1 (darkstat/darkstat-3.0.524.tar.bz2) = df4822961ee2320fb4d5eeaed1083f1a157478c2
+RMD160 (darkstat/darkstat-3.0.524.tar.bz2) = 42380b23902cef4cc348fd1f736542dd17296b54
+Size (darkstat/darkstat-3.0.524.tar.bz2) = 74605 bytes
+SHA1 (patch-aa) = f15405dd65381a564b920e958218a63d7bad5f2b
diff -r a2450bc1855a -r 06eb4a8aa154 net/darkstat/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/darkstat/patches/patch-aa Wed Jul 19 04:41:47 2006 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/07/19 04:41:47 minskim Exp $
+
+--- queue.h.orig 2006-03-14 10:10:02.000000000 +0100
++++ queue.h
+@@ -51,12 +51,14 @@ struct { \
+
+ #define STAILQ_NEXT(elm, field) ((elm)->field.stqe_next)
+
++#undef STAILQ_INSERT_TAIL
+ #define STAILQ_INSERT_TAIL(head, elm, field) do { \
+ STAILQ_NEXT((elm), field) = NULL; \
+ *(head)->stqh_last = (elm); \
+ (head)->stqh_last = &STAILQ_NEXT((elm), field); \
+ } while (0)
+
++#undef STAILQ_REMOVE_HEAD
+ #define STAILQ_REMOVE_HEAD(head, field) do { \
+ if ((STAILQ_FIRST((head)) = \
+ STAILQ_NEXT(STAILQ_FIRST((head)), field)) == NULL) \
Home |
Main Index |
Thread Index |
Old Index