Date: Mon, 26 Apr 1999 13:07:30 -0600 (CST) From: obonilla@fisicc-ufm.edu To: FreeBSD-gnats-submit@freebsd.org Subject: ports/11340: New Port: NS (Network Simulator) Message-ID: <199904261907.NAA92077@voyager.fisicc-ufm.edu>
next in thread | raw e-mail | index | archive | help
>Number: 11340 >Category: ports >Synopsis: New Port: NS (Network Simulator) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Apr 26 12:10:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Oscar Bonilla >Release: FreeBSD 3.1-STABLE i386 >Organization: Universidad Francisco Marroquin - FISICC >Environment: >Description: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # . # ./Makefile # ./patches # ./patches/patch-aa # ./files # ./files/md5 # ./ns2.shar # ./pkg # ./pkg/COMMENT # ./pkg/DESCR # ./pkg/PLIST # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./Makefile sed 's/^X//' >./Makefile << 'END-of-./Makefile' X# New ports collection makefile for: ns-2 X# Version required: 2.1b5 X# Date created: 26 April 1999 X# Whom: obonilla X# X# $Id$ X# X XDISTNAME= ns-src-2.1b5 XPKGNAME= ns-2.1b5 XCATEGORIES= net XMASTER_SITES= http://www-mash.cs.berkeley.edu/dist/vint/ X XMAINTAINER= obonilla@fisicc-ufm.edu X XBUILD_DEPENDS= ${PREFIX}/lib/libtclcl.a:${PORTSDIR}/devel/tclcl XRUN_DEPENDS= ${PREFIX}/bin/tclsh8.0:${PORTSDIR}/lang/tcl80 X XMAN1= ns.1 XMANCOMPRESSED= no X XWRKSRC= ${WRKDIR}/${PKGNAME} X XGNU_CONFIGURE= yes X XALL_TARGET= X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/ns ${PREFIX}/bin X ${INSTALL_MAN} ${WRKSRC}/ns.1 ${PREFIX}/man/man1 X ${MKDIR} ${PREFIX}/share/examples/ns2 X ${INSTALL_DATA} ${WRKSRC}/tcl/ex/*.tcl ${PREFIX}/share/examples/ns2 X.include <bsd.port.mk> END-of-./Makefile echo c - ./patches mkdir -p ./patches > /dev/null 2>&1 echo x - ./patches/patch-aa sed 's/^X//' >./patches/patch-aa << 'END-of-./patches/patch-aa' X--- configure.orig Mon Apr 26 09:36:25 1999 X+++ configure Mon Apr 26 09:36:48 1999 X@@ -1898,7 +1898,7 @@ X # $d/unix works if $d is the 8.0 distribution X # $d/bin is for the ns-allinone distribution (kind of hacky, isn't it?) X PATH=$PATH:$d/unix:$d/bin X-for ac_prog in tclsh$TCL_VERS tclsh tclsh$TCL_OLD_VERS X+for ac_prog in tclsh$TCL_VERS tclsh8.0 tclsh$TCL_OLD_VERS X do X # Extract the first word of "$ac_prog", so it can be a program name with args. X set dummy $ac_prog; ac_word=$2 END-of-./patches/patch-aa echo c - ./files mkdir -p ./files > /dev/null 2>&1 echo x - ./files/md5 sed 's/^X//' >./files/md5 << 'END-of-./files/md5' XMD5 (ns-src-2.1b5.tar.gz) = 6aae46016418c0f5dc54b9b7398c4fc0 END-of-./files/md5 echo x - ./ns2.shar sed 's/^X//' >./ns2.shar << 'END-of-./ns2.shar' X# This is a shell archive. Save it in a file, remove anything before X# this line, and then unpack it by entering "sh file". Note, it may X# create directories; files and directories will be owned by you and X# have default permissions. X# X# This archive contains: X# X# . X# ./Makefile X# ./patches X# ./patches/patch-aa X# ./files X# ./files/md5 X# ./ns2.shar X# ./pkg X# ./pkg/COMMENT X# ./pkg/DESCR X# ./pkg/PLIST X# Xecho c - . Xmkdir -p . > /dev/null 2>&1 Xecho x - ./Makefile Xsed 's/^X//' >./Makefile << 'END-of-./Makefile' XX# New ports collection makefile for: ns-2 XX# Version required: 2.1b5 XX# Date created: 26 April 1999 XX# Whom: obonilla XX# XX# $Id$ XX# XX XXDISTNAME= ns-src-2.1b5 XXPKGNAME= ns-2.1b5 XXCATEGORIES= net XXMASTER_SITES= http://www-mash.cs.berkeley.edu/dist/vint/ XX XXMAINTAINER= obonilla@fisicc-ufm.edu XX XXBUILD_DEPENDS= ${PREFIX}/lib/libtclcl.a:${PORTSDIR}/devel/tclcl XXRUN_DEPENDS= ${PREFIX}/bin/tclsh8.0:${PORTSDIR}/lang/tcl80 XX XXMAN1= ns.1 XXMANCOMPRESSED= no XX XXWRKSRC= ${WRKDIR}/${PKGNAME} XX XXGNU_CONFIGURE= yes XX XXALL_TARGET= XX XXdo-install: XX ${INSTALL_PROGRAM} ${WRKSRC}/ns ${PREFIX}/bin XX ${INSTALL_MAN} ${WRKSRC}/ns.1 ${PREFIX}/man/man1 XX ${MKDIR} ${PREFIX}/share/examples/ns2 XX ${INSTALL_DATA} ${WRKSRC}/tcl/ex/*.tcl ${PREFIX}/share/examples/ns2 XX.include <bsd.port.mk> XEND-of-./Makefile Xecho c - ./patches Xmkdir -p ./patches > /dev/null 2>&1 Xecho x - ./patches/patch-aa Xsed 's/^X//' >./patches/patch-aa << 'END-of-./patches/patch-aa' XX--- configure.orig Mon Apr 26 09:36:25 1999 XX+++ configure Mon Apr 26 09:36:48 1999 XX@@ -1898,7 +1898,7 @@ XX # $d/unix works if $d is the 8.0 distribution XX # $d/bin is for the ns-allinone distribution (kind of hacky, isn't it?) XX PATH=$PATH:$d/unix:$d/bin XX-for ac_prog in tclsh$TCL_VERS tclsh tclsh$TCL_OLD_VERS XX+for ac_prog in tclsh$TCL_VERS tclsh8.0 tclsh$TCL_OLD_VERS XX do XX # Extract the first word of "$ac_prog", so it can be a program name with args. XX set dummy $ac_prog; ac_word=$2 XEND-of-./patches/patch-aa Xecho c - ./files Xmkdir -p ./files > /dev/null 2>&1 Xecho x - ./files/md5 Xsed 's/^X//' >./files/md5 << 'END-of-./files/md5' XXMD5 (ns-src-2.1b5.tar.gz) = 6aae46016418c0f5dc54b9b7398c4fc0 XEND-of-./files/md5 Xecho x - ./ns2.shar Xsed 's/^X//' >./ns2.shar << 'END-of-./ns2.shar' END-of-./ns2.shar echo c - ./pkg mkdir -p ./pkg > /dev/null 2>&1 echo x - ./pkg/COMMENT sed 's/^X//' >./pkg/COMMENT << 'END-of-./pkg/COMMENT' XThe UCB/LBNL Network Simulator Version 2 END-of-./pkg/COMMENT echo x - ./pkg/DESCR sed 's/^X//' >./pkg/DESCR << 'END-of-./pkg/DESCR' XNS is a discrete event simulator targeted at networking research. XNs provides substantial support for simulation of TCP, routing, and multicast Xprotocols. X XFor more information see http://www-mash.cs.berkeley.edu/ns/ X X-Oscar <obonilla@fisicc-ufm.edu> END-of-./pkg/DESCR echo x - ./pkg/PLIST sed 's/^X//' >./pkg/PLIST << 'END-of-./pkg/PLIST' Xbin/ns Xshare/examples/ns2/agent-gen-script.tcl Xshare/examples/ns2/agent-gen.tcl Xshare/examples/ns2/callback_demo.tcl Xshare/examples/ns2/fq-cbr.tcl Xshare/examples/ns2/fq.tcl Xshare/examples/ns2/hier-rtg-10.tcl Xshare/examples/ns2/hier-rtg-100.tcl Xshare/examples/ns2/hts100-0.tcl Xshare/examples/ns2/lantest.tcl Xshare/examples/ns2/mac-test.tcl Xshare/examples/ns2/many_tcp.tcl Xshare/examples/ns2/manytcp_trmodel.tcl Xshare/examples/ns2/mcast.tcl Xshare/examples/ns2/nam-example.tcl Xshare/examples/ns2/nam-separate-trace.tcl Xshare/examples/ns2/nam-simplexlink.tcl Xshare/examples/ns2/ranvar.tcl Xshare/examples/ns2/rbp_demo.tcl Xshare/examples/ns2/rc.tcl Xshare/examples/ns2/shuttle-mcast.tcl Xshare/examples/ns2/shuttle.tcl Xshare/examples/ns2/simple-dyn.tcl Xshare/examples/ns2/simple-eqp.tcl Xshare/examples/ns2/simple-eqp1.tcl Xshare/examples/ns2/simple-heap.tcl Xshare/examples/ns2/simple-rtg.tcl Xshare/examples/ns2/simple-rtp.tcl Xshare/examples/ns2/simple-webcache-comp.tcl Xshare/examples/ns2/simple-webcache-trace.tcl Xshare/examples/ns2/simple-webcache.tcl Xshare/examples/ns2/simple.tcl Xshare/examples/ns2/srm-adapt-rep-session.tcl Xshare/examples/ns2/srm-adapt-rep.tcl Xshare/examples/ns2/srm-adapt-req-session.tcl Xshare/examples/ns2/srm-adapt-req.tcl Xshare/examples/ns2/srm-chain-session.tcl Xshare/examples/ns2/srm-chain.tcl Xshare/examples/ns2/srm-demo.tcl Xshare/examples/ns2/srm-session.tcl Xshare/examples/ns2/srm-star-session.tcl Xshare/examples/ns2/srm-star.tcl Xshare/examples/ns2/srm.tcl Xshare/examples/ns2/ss.tcl Xshare/examples/ns2/swp.tcl Xshare/examples/ns2/tcp-int.tcl Xshare/examples/ns2/tcpecn.tcl Xshare/examples/ns2/tcpsrm.tcl Xshare/examples/ns2/test-drr.tcl Xshare/examples/ns2/test-emulator.tcl Xshare/examples/ns2/test-rcvr.tcl Xshare/examples/ns2/test-rlm.tcl Xshare/examples/ns2/test-suite-intserv.tcl Xshare/examples/ns2/test-suite.tcl Xshare/examples/ns2/test-tbf.tcl Xshare/examples/ns2/tg.tcl Xshare/examples/ns2/topo-gen-script.tcl Xshare/examples/ns2/topo-gen.tcl Xshare/examples/ns2/topo-view.tcl Xshare/examples/ns2/virtual-classifier.tcl Xshare/examples/ns2/vlantest-flat.tcl Xshare/examples/ns2/vlantest-hier.tcl Xshare/examples/ns2/vlantest-mcst.tcl Xshare/examples/ns2/wireless.tcl X@dirrm share/examples/ns2 END-of-./pkg/PLIST exit >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904261907.NAA92077>