Network Simulator (the reason for all these tcl/tk commits earlier :-)

This commit is contained in:
angelos 2000-01-06 02:46:03 +00:00
parent 1d3934a93f
commit 2f694ea816
6 changed files with 116 additions and 0 deletions

28
net/ns/Makefile Normal file
View File

@ -0,0 +1,28 @@
#
# $FreeBSD: ports/net/ns/Makefile,v 1.3 1999/11/28 18:31:26 steve Exp $
# $OpenBSD: Makefile,v 1.1.1.1 2000/01/06 02:46:03 angelos Exp $
#
DISTNAME= ns-src-2.1b5
PKGNAME= ns-2.1b5
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
RUN_DEPENDS= ${PREFIX}/bin/tclsh8.2:${PORTSDIR}/lang/tcl82
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}/ns ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ns.1 ${PREFIX}/man/man1
${MKDIR} ${PREFIX}/share/examples/ns2
${INSTALL_DATA} ${WRKSRC}/tcl/ex/*.tcl ${PREFIX}/share/examples/ns2
.include <bsd.port.mk>

3
net/ns/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (ns-src-2.1b5.tar.gz) = 6aae46016418c0f5dc54b9b7398c4fc0
RMD160 (ns-src-2.1b5.tar.gz) = 31768fec812309cc531e409e7f1e61e1f7e12058
SHA1 (ns-src-2.1b5.tar.gz) = cca8bb55b9e4f9cd05612c5d7e2bd6dcc4784958

11
net/ns/patches/patch-aa Normal file
View File

@ -0,0 +1,11 @@
--- configure.orig Mon Apr 26 09:36:25 1999
+++ configure Mon Apr 26 09:36:48 1999
@@ -1898,7 +1898,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

1
net/ns/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
The UCB/LBNL Network Simulator Version 2

7
net/ns/pkg/DESCR Normal file
View File

@ -0,0 +1,7 @@
NS is a discrete event simulator targeted at networking research.
Ns provides substantial support for simulation of TCP, routing, and multicast
protocols.
WWW: http://www-mash.cs.berkeley.edu/ns/
-Oscar <obonilla@fisicc-ufm.edu>

66
net/ns/pkg/PLIST Normal file
View File

@ -0,0 +1,66 @@
bin/ns
man/man1/ns.1
share/examples/ns2/agent-gen-script.tcl
share/examples/ns2/agent-gen.tcl
share/examples/ns2/callback_demo.tcl
share/examples/ns2/fq-cbr.tcl
share/examples/ns2/fq.tcl
share/examples/ns2/hier-rtg-10.tcl
share/examples/ns2/hier-rtg-100.tcl
share/examples/ns2/hts100-0.tcl
share/examples/ns2/lantest.tcl
share/examples/ns2/mac-test.tcl
share/examples/ns2/many_tcp.tcl
share/examples/ns2/manytcp_trmodel.tcl
share/examples/ns2/mcast.tcl
share/examples/ns2/nam-example.tcl
share/examples/ns2/nam-separate-trace.tcl
share/examples/ns2/nam-simplexlink.tcl
share/examples/ns2/ranvar.tcl
share/examples/ns2/rbp_demo.tcl
share/examples/ns2/rc.tcl
share/examples/ns2/shuttle-mcast.tcl
share/examples/ns2/shuttle.tcl
share/examples/ns2/simple-dyn.tcl
share/examples/ns2/simple-eqp.tcl
share/examples/ns2/simple-eqp1.tcl
share/examples/ns2/simple-heap.tcl
share/examples/ns2/simple-rtg.tcl
share/examples/ns2/simple-rtp.tcl
share/examples/ns2/simple-webcache-comp.tcl
share/examples/ns2/simple-webcache-trace.tcl
share/examples/ns2/simple-webcache.tcl
share/examples/ns2/simple.tcl
share/examples/ns2/srm-adapt-rep-session.tcl
share/examples/ns2/srm-adapt-rep.tcl
share/examples/ns2/srm-adapt-req-session.tcl
share/examples/ns2/srm-adapt-req.tcl
share/examples/ns2/srm-chain-session.tcl
share/examples/ns2/srm-chain.tcl
share/examples/ns2/srm-demo.tcl
share/examples/ns2/srm-session.tcl
share/examples/ns2/srm-star-session.tcl
share/examples/ns2/srm-star.tcl
share/examples/ns2/srm.tcl
share/examples/ns2/ss.tcl
share/examples/ns2/swp.tcl
share/examples/ns2/tcp-int.tcl
share/examples/ns2/tcpecn.tcl
share/examples/ns2/tcpsrm.tcl
share/examples/ns2/test-drr.tcl
share/examples/ns2/test-emulator.tcl
share/examples/ns2/test-rcvr.tcl
share/examples/ns2/test-rlm.tcl
share/examples/ns2/test-suite-intserv.tcl
share/examples/ns2/test-suite.tcl
share/examples/ns2/test-tbf.tcl
share/examples/ns2/tg.tcl
share/examples/ns2/topo-gen-script.tcl
share/examples/ns2/topo-gen.tcl
share/examples/ns2/topo-view.tcl
share/examples/ns2/virtual-classifier.tcl
share/examples/ns2/vlantest-flat.tcl
share/examples/ns2/vlantest-hier.tcl
share/examples/ns2/vlantest-mcst.tcl
share/examples/ns2/wireless.tcl
@dirrm share/examples/ns2