summaryrefslogtreecommitdiff
path: root/net/ttt
diff options
context:
space:
mode:
authorsakamoto <sakamoto>2000-05-22 03:55:16 +0000
committersakamoto <sakamoto>2000-05-22 03:55:16 +0000
commita7930b2103155679c4258854971524e747747cfe (patch)
treeefd338cf00f971b431b8d416465f3269a63110a1 /net/ttt
parent9362689098b846a8ddc52da4b9f12abc34021c39 (diff)
downloadpkgsrc-a7930b2103155679c4258854971524e747747cfe.tar.gz
ttt-1.4 - Tele Traffic Tapper
Diffstat (limited to 'net/ttt')
-rw-r--r--net/ttt/Makefile20
-rw-r--r--net/ttt/files/md53
-rw-r--r--net/ttt/files/patch-sum4
-rw-r--r--net/ttt/patches/patch-aa23
-rw-r--r--net/ttt/patches/patch-ab23
-rw-r--r--net/ttt/pkg/COMMENT1
-rw-r--r--net/ttt/pkg/DESCR15
-rw-r--r--net/ttt/pkg/PLIST6
8 files changed, 95 insertions, 0 deletions
diff --git a/net/ttt/Makefile b/net/ttt/Makefile
new file mode 100644
index 00000000000..05720684ebb
--- /dev/null
+++ b/net/ttt/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/05/22 03:55:16 sakamoto Exp $
+#
+
+DISTNAME= ttt-1.4
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.csl.sony.co.jp/pub/kjc/
+
+MAINTAINER= sakamoto@netbsd.org
+HOMEPAGE= http://www.csl.sony.co.jp/person/kjc/software.html
+
+DEPENDS+= blt-2.*:../../x11/blt
+
+USE_X11= YES
+
+GNU_CONFIGURE= YES
+CONFIGURE_ENV+= ttt_cv_tcl_lib="${LOCALBASE}/lib/tcl8.0"
+CONFIGURE_ENV+= TCL_PREFIX="${LOCALBASE}" TCL_MAJOR_VERSION=8 TCL_MINOR_VERSION=0
+CONFIGURE_ENV+= TK_PREFIX="${LOCALBASE}" TK_MAJOR_VERSION=8 TK_MINOR_VERSION=0
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/ttt/files/md5 b/net/ttt/files/md5
new file mode 100644
index 00000000000..a69ad760d73
--- /dev/null
+++ b/net/ttt/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/05/22 03:55:17 sakamoto Exp $
+
+MD5 (ttt-1.4.tar.gz) = e66ee9a16aef3047c6bb4d738a1ffdbe
diff --git a/net/ttt/files/patch-sum b/net/ttt/files/patch-sum
new file mode 100644
index 00000000000..768cb3be39a
--- /dev/null
+++ b/net/ttt/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/05/22 03:55:17 sakamoto Exp $
+
+MD5 (patch-aa) = b719d39a410f461c180b8bff90d5a102
+MD5 (patch-ab) = 494b72f13de3ced5581a9d5419397559
diff --git a/net/ttt/patches/patch-aa b/net/ttt/patches/patch-aa
new file mode 100644
index 00000000000..25cf47fcb18
--- /dev/null
+++ b/net/ttt/patches/patch-aa
@@ -0,0 +1,23 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/05/22 03:55:17 sakamoto Exp $
+--- configure.in.orig Mon Apr 12 16:39:59 1999
++++ configure.in Sun Apr 23 03:25:21 2000
+@@ -412,5 +412,5 @@
+
+ case $target in
+- *-freebsd*)
++ *-freebsd*|*-netbsd*)
+ tclIncSpec="-I${TCL_PREFIX}/include/tcl${TCL_MAJOR_VERSION}.${TCL_MINOR_VERSION}"
+ tkIncSpec="-I${TK_PREFIX}/include/tk${TK_MAJOR_VERSION}.${TK_MINOR_VERSION}"
+@@ -705,5 +705,11 @@
+ tttLibraries="${tttLibraries} ${LIBS}"
+
+-LDFLAGS=""
++case $target in
++ *-netbsd*)
++ ;;
++ *)
++ LDFLAGS=""
++ ;;
++esac
+
+ case $target in
diff --git a/net/ttt/patches/patch-ab b/net/ttt/patches/patch-ab
new file mode 100644
index 00000000000..2adaec4bb3c
--- /dev/null
+++ b/net/ttt/patches/patch-ab
@@ -0,0 +1,23 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/05/22 03:55:17 sakamoto Exp $
+--- configure.orig Mon Apr 12 16:42:10 1999
++++ configure Sun Apr 23 03:25:51 2000
+@@ -1871,5 +1871,5 @@
+
+ case $target in
+- *-freebsd*)
++ *-freebsd*|*-netbsd*)
+ tclIncSpec="-I${TCL_PREFIX}/include/tcl${TCL_MAJOR_VERSION}.${TCL_MINOR_VERSION}"
+ tkIncSpec="-I${TK_PREFIX}/include/tk${TK_MAJOR_VERSION}.${TK_MINOR_VERSION}"
+@@ -2464,5 +2464,11 @@
+ tttLibraries="${tttLibraries} ${LIBS}"
+
+-LDFLAGS=""
++case $target in
++ *-netbsd*)
++ ;;
++ *)
++ LDFLAGS=""
++ ;;
++esac
+
+ case $target in
diff --git a/net/ttt/pkg/COMMENT b/net/ttt/pkg/COMMENT
new file mode 100644
index 00000000000..673460ee575
--- /dev/null
+++ b/net/ttt/pkg/COMMENT
@@ -0,0 +1 @@
+Tele Traffic Tapper
diff --git a/net/ttt/pkg/DESCR b/net/ttt/pkg/DESCR
new file mode 100644
index 00000000000..562e7f098ae
--- /dev/null
+++ b/net/ttt/pkg/DESCR
@@ -0,0 +1,15 @@
+TTT: Tele Traffic Tapper
+
+ttt is yet another descendant of tcpdump but it is capable of real-time,
+graphical, and remote traffic-monitoring. ttt won't replace tcpdump, rather,
+it helps you find out what to look into with tcpdump. ttt monitors the
+network and automatically picks up the main contributors of the traffic
+within the time window. The graphs are updated every second by default.
+
+Features:
+ Automatic Ranking of Protocols and Hosts
+ Real-Time Monitoring
+ Remote Monitoring with IP-Multicast support
+ Accepts tcpdump output
+ IPv6 Aware (experimental)
+ Portable and easy to customize
diff --git a/net/ttt/pkg/PLIST b/net/ttt/pkg/PLIST
new file mode 100644
index 00000000000..e4dac72fe93
--- /dev/null
+++ b/net/ttt/pkg/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/05/22 03:55:17 sakamoto Exp $
+bin/ttt
+bin/tttprobe
+bin/tttview
+lib/ttt/ttt.tcl
+@dirrm lib/ttt