summaryrefslogtreecommitdiff
path: root/net/ns
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2004-04-19 04:54:34 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2004-04-19 04:54:34 +0000
commit3391fbd275a77258325ffdab0f31940eb7f1bcae (patch)
tree82d9ca23f2a2599f99bd2353726e6264a28cdca0 /net/ns
parentBROKEN: Does not compile (diff)
o Update to 2.27.
o Upgrade dependency on tcl/tk to 8.4. PR: ports-jp/14620 Submitted by: Hiroyuki Une <harrier@seiryu.cim.hkg.ac.jp>
Notes
Notes: svn path=/head/; revision=107520
Diffstat (limited to 'net/ns')
-rw-r--r--net/ns/Makefile10
-rw-r--r--net/ns/distinfo4
-rw-r--r--net/ns/files/patch-Makefile.in21
-rw-r--r--net/ns/pkg-plist1
4 files changed, 29 insertions, 7 deletions
diff --git a/net/ns/Makefile b/net/ns/Makefile
index b25577578f57..7c843d92113a 100644
--- a/net/ns/Makefile
+++ b/net/ns/Makefile
@@ -6,24 +6,24 @@
#
PORTNAME= ns
-PORTVERSION= 2.26
+PORTVERSION= 2.27
CATEGORIES= net
MASTER_SITES= http://www.isi.edu/nsnam/dist/
-DISTNAME= ns-src-2.26
+DISTNAME= ns-src-2.27
MAINTAINER= ports@FreeBSD.org
COMMENT= The UCB/LBNL Network Simulator Version 2
BUILD_DEPENDS= ${LOCALBASE}/lib/libtclcl.a:${PORTSDIR}/devel/tclcl
-RUN_DEPENDS= ${LOCALBASE}/bin/tclsh8.3:${PORTSDIR}/lang/tcl83
+RUN_DEPENDS= ${LOCALBASE}/bin/tclsh8.4:${PORTSDIR}/lang/tcl84
MAN1= ns.1
MANCOMPRESSED= no
-WRKSRC= ${WRKDIR}/ns-2.26
+WRKSRC= ${WRKDIR}/ns-2.27
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-tcl-ver=8.3 --with-tk-ver=8.3
+CONFIGURE_ARGS= --with-tcl-ver=8.4 --with-tk-ver=8.4
ALL_TARGET=
diff --git a/net/ns/distinfo b/net/ns/distinfo
index 6def03cf4688..eeaad4beaa7a 100644
--- a/net/ns/distinfo
+++ b/net/ns/distinfo
@@ -1,2 +1,2 @@
-MD5 (ns-src-2.26.tar.gz) = c75aa2047fa3e13ed2a43881c50e4c65
-SIZE (ns-src-2.26.tar.gz) = 41592248
+MD5 (ns-src-2.27.tar.gz) = db3a16e450f66a5e4dd881349ccc5dd7
+SIZE (ns-src-2.27.tar.gz) = 44642525
diff --git a/net/ns/files/patch-Makefile.in b/net/ns/files/patch-Makefile.in
new file mode 100644
index 000000000000..ed8faecfd51c
--- /dev/null
+++ b/net/ns/files/patch-Makefile.in
@@ -0,0 +1,21 @@
+--- Makefile.in.orig Thu Mar 11 00:22:57 2004
++++ Makefile.in Thu Mar 11 00:26:46 2004
+@@ -60,14 +60,15 @@
+ DEFINE = -DTCP_DELAY_BIND_ALL -DNO_TK @V_DEFINE@ @V_DEFINES@ @DEFS@ -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=@CPP_NAMESPACE@ -DUSE_SINGLE_ADDRESS_SPACE -Drng_test
+
+ INCLUDES = \
+- -I. @V_INCLUDE_X11@ \
+- @V_INCLUDES@ \
++ -I. \
+ -I./tcp -I./sctp -I./common -I./link -I./queue \
+ -I./adc -I./apps -I./mac -I./mobile -I./trace \
+ -I./routing -I./tools -I./classifier -I./mcast \
+ -I./diffusion3/lib/main -I./diffusion3/lib \
+ -I./diffusion3/lib/nr -I./diffusion3/ns \
+- -I./diffusion3/filter_core -I./asim/ -I./qs
++ -I./diffusion3/filter_core -I./asim/ -I./qs \
++ @V_INCLUDE_X11@ \
++ @V_INCLUDES@
+
+
+ LIB = \
diff --git a/net/ns/pkg-plist b/net/ns/pkg-plist
index dea92aaf2bc6..a6d579b2d6fd 100644
--- a/net/ns/pkg-plist
+++ b/net/ns/pkg-plist
@@ -115,4 +115,5 @@ share/examples/ns2/wireless-shadowing-test.tcl
share/examples/ns2/wireless-shadowing-vis-test.tcl
share/examples/ns2/wireless-test.tcl
share/examples/ns2/wireless.tcl
+share/examples/ns2/worm.tcl
@dirrm share/examples/ns2