A GUI for NS, from FreeBSD (as was NS itself).
This commit is contained in:
parent
2f694ea816
commit
875616662e
27
net/nam/Makefile
Normal file
27
net/nam/Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
#
|
||||
# $FreeBSD: ports/net/nam/Makefile,v 1.3 1999/11/29 03:46:08 steve Exp $
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2000/01/06 03:03:07 angelos Exp $
|
||||
#
|
||||
|
||||
DISTNAME= nam-src-1.0a7
|
||||
PKGNAME= nam-1.0a7
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www-mash.cs.berkeley.edu/dist/vint/
|
||||
|
||||
MAINTAINER= angelos@openbsd.org
|
||||
|
||||
BUILD_DEPENDS= ${PREFIX}/lib/libtclcl.a:${PORTSDIR}/devel/tclcl
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PKGNAME}
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-tcl-ver=8.2 --with-tk-ver=8.2
|
||||
|
||||
ALL_TARGET=
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/nam ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/nam.1 ${PREFIX}/man/man1
|
||||
${MKDIR} ${PREFIX}/share/examples/nam
|
||||
${INSTALL_DATA} ${WRKSRC}/ex/* ${PREFIX}/share/examples/nam
|
||||
.include <bsd.port.mk>
|
1
net/nam/files/md5
Normal file
1
net/nam/files/md5
Normal file
@ -0,0 +1 @@
|
||||
MD5 (nam-src-1.0a7.tar.gz) = 23efc9428038915d180b35c6f0cfe499
|
11
net/nam/patches/patch-aa
Normal file
11
net/nam/patches/patch-aa
Normal file
@ -0,0 +1,11 @@
|
||||
--- configure.orig Mon Apr 26 12:37:04 1999
|
||||
+++ configure Mon Apr 26 12:37:17 1999
|
||||
@@ -2192,7 +2192,7 @@
|
||||
# $d/unix works if $d is the 8.0 distribution
|
||||
# $d/bin is for the ns-allinone distribution (kind of hacky, isn't it?)
|
||||
PATH=$PATH:$d/unix:$d/bin
|
||||
-for ac_prog in tclsh$TCL_VERS tclsh tclsh$TCL_OLD_VERS
|
||||
+for ac_prog in tclsh$TCL_VERS tclsh8.2 tclsh$TCL_OLD_VERS
|
||||
do
|
||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||
set dummy $ac_prog; ac_word=$2
|
10
net/nam/patches/patch-ab
Normal file
10
net/nam/patches/patch-ab
Normal file
@ -0,0 +1,10 @@
|
||||
--- main.cc.orig Sun Nov 28 17:24:15 1999
|
||||
+++ main.cc Sun Nov 28 17:25:10 1999
|
||||
@@ -52,6 +52,7 @@
|
||||
|
||||
extern "C" {
|
||||
#include <tk.h>
|
||||
+extern int Tk_WmCmd (ClientData clientData, Tcl_Interp *interp, int argc, char **argv);
|
||||
}
|
||||
|
||||
static void
|
22
net/nam/patches/patch-ac
Normal file
22
net/nam/patches/patch-ac
Normal file
@ -0,0 +1,22 @@
|
||||
--- nam_stream.cc.orig Wed Jan 5 21:48:04 2000
|
||||
+++ nam_stream.cc Wed Jan 5 22:00:35 2000
|
||||
@@ -23,8 +23,10 @@
|
||||
#ifdef WIN32
|
||||
#include <limits.h>
|
||||
#else
|
||||
+#ifndef __OpenBSD__
|
||||
#include <values.h>
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
@@ -408,6 +410,8 @@
|
||||
insure_backing(tell() + 1);
|
||||
return getc(back_);
|
||||
}
|
||||
+
|
||||
+#define MAXLONG (((off_t) 1) << ((sizeof(off_t) * 8) - 1)) - 1
|
||||
|
||||
off_t
|
||||
NamStreamPipe::seek(off_t offset, int whence)
|
1
net/nam/pkg/COMMENT
Normal file
1
net/nam/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
The UCB/LBNL Network Animator
|
11
net/nam/pkg/DESCR
Normal file
11
net/nam/pkg/DESCR
Normal file
@ -0,0 +1,11 @@
|
||||
Nam is a Tcl/TK based animation tool for viewing network simulation traces
|
||||
and real world packet traces. It supports topology layout, packet level
|
||||
animation, and various data inspection tools.
|
||||
|
||||
Nam began at LBL. It has evolved substantially over the past few years.
|
||||
The nam development effort is now an ongoing collaboration with
|
||||
the VINT project.
|
||||
|
||||
WWW: http://www-mash.cs.berkeley.edu/nam/
|
||||
|
||||
-Oscar <obonilla@fisicc-ufm.edu>
|
27
net/nam/pkg/PLIST
Normal file
27
net/nam/pkg/PLIST
Normal file
@ -0,0 +1,27 @@
|
||||
bin/nam
|
||||
man/man1/nam.1
|
||||
share/examples/nam/README
|
||||
share/examples/nam/adc.README
|
||||
share/examples/nam/adc.nam.gz
|
||||
share/examples/nam/dynamics-demo.nam
|
||||
share/examples/nam/dynamics-demo.txt
|
||||
share/examples/nam/lan.nam
|
||||
share/examples/nam/lantest2.nam
|
||||
share/examples/nam/losspatterns.README
|
||||
share/examples/nam/losspatterns.nam
|
||||
share/examples/nam/mobigen.nam
|
||||
share/examples/nam/rbp_demo.README
|
||||
share/examples/nam/rbp_demo.nam
|
||||
share/examples/nam/rpm-vs-srm.nam
|
||||
share/examples/nam/sample.nam.tcl
|
||||
share/examples/nam/session.README
|
||||
share/examples/nam/session.nam.gz
|
||||
share/examples/nam/simple_mcast.nam
|
||||
share/examples/nam/srm-example.nam
|
||||
share/examples/nam/tcpecn.nam.gz
|
||||
share/examples/nam/tcpsrm.nam.gz
|
||||
share/examples/nam/test.nam.gz
|
||||
share/examples/nam/ts100.nam.gz
|
||||
share/examples/nam/ts20.nam.gz
|
||||
share/examples/nam/webcache.nam
|
||||
@dirrm share/examples/nam
|
Loading…
Reference in New Issue
Block a user