pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ns Update ns to 2.29.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/abbca24b2d17
branches:  trunk
changeset: 507143:abbca24b2d17
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Jan 27 02:31:43 2006 +0000

description:
Update ns to 2.29.

Changes:
- updated SCTP implementation.
- added new retransmission policy for sending fast retransmissions to
  the same destination and timeout retransmissions to an alternate
  destination
- added experimental feature: changePrimaryThresh_ sets a threshold for
  when the primary destination is changed automatically
- added the ability to specify one of three dormant state actions
- added the ability to track the number of times fast retransmit,
  multiple fast retransmit, and timeouts are invoked
- new TCL bindable variables: initial RTO, min RTO, max RTO, fast rtx
  trigger, and sack delay
- bug fixes.

diffstat:

 net/ns/Makefile         |    15 +-
 net/ns/distinfo         |    14 +-
 net/ns/patches/patch-aa |    26 -
 net/ns/patches/patch-ac |    13 -
 net/ns/patches/patch-af |  3582 +++-------------------------------------------
 net/ns/patches/patch-ar |    25 +-
 6 files changed, 270 insertions(+), 3405 deletions(-)

diffs (truncated from 4110 to 300 lines):

diff -r 2b8c74db8b8c -r abbca24b2d17 net/ns/Makefile
--- a/net/ns/Makefile   Fri Jan 27 02:25:52 2006 +0000
+++ b/net/ns/Makefile   Fri Jan 27 02:31:43 2006 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.21 2005/12/05 20:50:47 rillig Exp $
+# $NetBSD: Makefile,v 1.22 2006/01/27 02:31:43 minskim Exp $
 
-DISTNAME=      ns-src-2.28
+DISTNAME=      ns-src-2.29
 PKGNAME=       ${DISTNAME:S/-src//}
 CATEGORIES=    net
 MASTER_SITES=  http://www.isi.edu/nsnam/dist/
@@ -37,12 +37,13 @@
 .include "../../x11/tk/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 
-# Remove a left over executable in the source tarball.
-post-extract:
-       ${_PKG_SILENT}${_PKG_DEBUG}                     \
-       ${RM} ${WRKSRC}/indep-utils/cmu-scen-gen/setdest/calcdest
-
 post-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/indep-utils/cmu-scen-gen/setdest/calcdest ${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/indep-utils/webtrace-conv/dec/dec-tr-stat ${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/indep-utils/webtrace-conv/epa/epa-tr-stat ${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/indep-utils/webtrace-conv/nlanr/nlanr-tr-stat ${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/indep-utils/cmu-scen-gen/setdest/setdest ${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/indep-utils/webtrace-conv/ucb/ucb-tr-stat ${PREFIX}/bin
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ns
        ${INSTALL_DATA} ${WRKSRC}/CHANGES.html ${PREFIX}/share/doc/ns
 
diff -r 2b8c74db8b8c -r abbca24b2d17 net/ns/distinfo
--- a/net/ns/distinfo   Fri Jan 27 02:25:52 2006 +0000
+++ b/net/ns/distinfo   Fri Jan 27 02:31:43 2006 +0000
@@ -1,14 +1,12 @@
-$NetBSD: distinfo,v 1.9 2005/09/08 17:20:17 minskim Exp $
+$NetBSD: distinfo,v 1.10 2006/01/27 02:31:43 minskim Exp $
 
-SHA1 (ns-src-2.28.tar.gz) = ecad96f69bb32420c0a9ee698c7289e66001febf
-RMD160 (ns-src-2.28.tar.gz) = f2ec76b7dc96bbfb75d8485ef2822ebdf50b8ed1
-Size (ns-src-2.28.tar.gz) = 46599585 bytes
-SHA1 (patch-aa) = 49acbf12598245262286f0717b2b8efeb03792d2
+SHA1 (ns-src-2.29.tar.gz) = 2ea07fde01ff99b13e544974875f029be30f6250
+RMD160 (ns-src-2.29.tar.gz) = ff7b0b0cca62eb4f9657f913f56991f22fdfb5ce
+Size (ns-src-2.29.tar.gz) = 55291146 bytes
 SHA1 (patch-ab) = 7c93e4540faa1b16a9e40bd063ffce510f5bc063
-SHA1 (patch-ac) = 28cda4d9f68e031725016d2c06925394c76e5152
 SHA1 (patch-ad) = 5f35152de976c2195dcff20abbe8610321dd9969
 SHA1 (patch-ae) = c971d28448ae1b495119e3ec2c8de185468b9be2
-SHA1 (patch-af) = 94ab6d8a0cb9d43f9d440712880fe9a2be24ccd4
+SHA1 (patch-af) = c7bea7a9910767424d756b3be42221203f2a624c
 SHA1 (patch-ag) = 7a1c7919a7d8effe16f30399d486a4af9afba4db
 SHA1 (patch-ah) = 51c36d73309d135f89f7d2362835052b304b88bd
 SHA1 (patch-ai) = b75f36f986ca7c833769de09e6e79f6b87c5564a
@@ -20,4 +18,4 @@
 SHA1 (patch-ao) = 2a1fd71686ff206fe2212605f91b8167b998d6e2
 SHA1 (patch-ap) = f130c112d7dfe114e637e190750d9caad55e4703
 SHA1 (patch-aq) = c46339a81f3f0dea9754f733d567c3c93f7dc19e
-SHA1 (patch-ar) = d726d8362717f0474040f3ec97ee3c2c6d9a817c
+SHA1 (patch-ar) = c3e2b3d9816b2ec86301262483742e8afd20067e
diff -r 2b8c74db8b8c -r abbca24b2d17 net/ns/patches/patch-aa
--- a/net/ns/patches/patch-aa   Fri Jan 27 02:25:52 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-$NetBSD: patch-aa,v 1.4 2004/03/08 23:55:24 minskim Exp $
-
---- Makefile.in.orig   Mon Jan 12 18:59:20 2004
-+++ Makefile.in
-@@ -54,7 +54,7 @@ PERL = @PERL@
- 
- CCOPT = @V_CCOPT@
- STATIC        = @V_STATIC@
--LDFLAGS       = $(STATIC)
-+LDFLAGS       = @LDFLAGS@
- LDOUT = -o $(BLANK)
- 
- 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
-@@ -471,10 +471,10 @@ common/ptypes2tcl.o: common/ptypes2tcl.c
- install: force install-ns install-man install-recursive
- 
- install-ns: force
--      $(INSTALL) -m 555 -o bin -g bin ns $(DESTDIR)$(BINDEST)
-+      $(INSTALL) -m 555 ns $(DESTDIR)$(BINDEST)
- 
- install-man: force
--      $(INSTALL) -m 444 -o bin -g bin ns.1 $(DESTDIR)$(MANDEST)/man1
-+      $(INSTALL) -m 444 ns.1 $(DESTDIR)$(MANDEST)/man1
- 
- install-recursive: force
-       for i in $(SUBDIRS); do ( cd $$i; $(MAKE) install; ) done
diff -r 2b8c74db8b8c -r abbca24b2d17 net/ns/patches/patch-ac
--- a/net/ns/patches/patch-ac   Fri Jan 27 02:25:52 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $
-
---- conf/configure.in.TclCL.orig       Sat Apr 13 00:29:31 2002
-+++ conf/configure.in.TclCL
-@@ -59,7 +59,7 @@ TCLCL_PROG_PLACES="\
-                 /usr/src/local/Tcl \
-                 /usr/src/local/Tcl-1.0 \
-                 "
--TCLCL_PROG_PLACES_D="$d"
-+TCLCL_PROG_PLACES_D="$d/bin"
- 
- 
- NS_BEGIN_PACKAGE(tclcl)
diff -r 2b8c74db8b8c -r abbca24b2d17 net/ns/patches/patch-af
--- a/net/ns/patches/patch-af   Fri Jan 27 02:25:52 2006 +0000
+++ b/net/ns/patches/patch-af   Fri Jan 27 02:31:43 2006 +0000
@@ -1,1784 +1,267 @@
-$NetBSD: patch-af,v 1.5 2005/09/08 02:50:58 minskim Exp $
+$NetBSD: patch-af,v 1.6 2006/01/27 02:31:43 minskim Exp $
 
---- configure.orig     2005-01-24 15:37:44.000000000 -0800
+--- configure.orig     2005-10-19 21:45:22.000000000 -0700
 +++ configure
-@@ -1,9 +1,8 @@
- #! /bin/sh
- # Guess values for system-dependent variables and create Makefiles.
--# Generated by GNU Autoconf 2.57.
-+# Generated by GNU Autoconf 2.59.
- #
--# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
--# Free Software Foundation, Inc.
-+# Copyright (C) 2003 Free Software Foundation, Inc.
- # This configure script is free software; the Free Software Foundation
- # gives unlimited permission to copy, distribute and modify it.
- ## --------------------- ##
-@@ -20,9 +19,10 @@ if test -n "${ZSH_VERSION+set}" && (emul
- elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
-   set -o posix
- fi
-+DUALCASE=1; export DUALCASE # for MKS sh
- 
- # Support unset when possible.
--if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
-+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
-   as_unset=unset
- else
-   as_unset=false
-@@ -41,7 +41,7 @@ for as_var in \
-   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
-   LC_TELEPHONE LC_TIME
- do
--  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
-+  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
-     eval $as_var=C; export $as_var
-   else
-     $as_unset $as_var
-@@ -218,16 +218,17 @@ rm -f conf$$ conf$$.exe conf$$.file
- if mkdir -p . 2>/dev/null; then
-   as_mkdir_p=:
- else
-+  test -d ./-p && rmdir ./-p
-   as_mkdir_p=false
+@@ -977,7 +977,7 @@ esac
+     else
+       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+     fi
+-    cd "$ac_popdir"
++    cd $ac_popdir
+   done
  fi
  
- as_executable_p="test -f"
- 
- # Sed expression to map a string onto a valid CPP name.
--as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
-+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
- 
- # Sed expression to map a string onto a valid variable name.
--as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
-+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
- 
- 
- # IFS
-@@ -667,7 +668,7 @@ done
- 
- # Be sure to have absolute paths.
- for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
--              localstatedir libdir includedir oldincludedir infodir mandir
-+            localstatedir libdir includedir oldincludedir infodir mandir
- do
-   eval ac_val=$`echo $ac_var`
-   case $ac_val in
-@@ -707,10 +708,10 @@ if test -z "$srcdir"; then
-   # Try the directory containing this script, then its parent.
-   ac_confdir=`(dirname "$0") 2>/dev/null ||
- $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
--         X"$0" : 'X\(//\)[^/]' \| \
--         X"$0" : 'X\(//\)$' \| \
--         X"$0" : 'X\(/\)' \| \
--         .     : '\(.\)' 2>/dev/null ||
-+       X"$0" : 'X\(//\)[^/]' \| \
-+       X"$0" : 'X\(//\)$' \| \
-+       X"$0" : 'X\(/\)' \| \
-+       .     : '\(.\)' 2>/dev/null ||
- echo X"$0" |
-     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
-         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
-@@ -810,9 +811,9 @@ _ACEOF
-   cat <<_ACEOF
- Installation directories:
-   --prefix=PREFIX         install architecture-independent files in PREFIX
--                          [$ac_default_prefix]
-+                        [$ac_default_prefix]
-   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
--                          [PREFIX]
-+                        [PREFIX]
- 
- By default, \`make install' will install all the files in
- \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
-@@ -921,12 +922,45 @@ case $srcdir in
-     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
-     ac_top_srcdir=$ac_top_builddir$srcdir ;;
- esac
--# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
--# absolute.
--ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
--ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
--ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
--ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
-+
-+# Do not use `cd foo && pwd` to compute absolute paths, because
-+# the directories may not exist.
-+case `pwd` in
-+.) ac_abs_builddir="$ac_dir";;
-+*)
-+  case "$ac_dir" in
-+  .) ac_abs_builddir=`pwd`;;
-+  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
-+  *) ac_abs_builddir=`pwd`/"$ac_dir";;
-+  esac;;
-+esac
-+case $ac_abs_builddir in
-+.) ac_abs_top_builddir=${ac_top_builddir}.;;
-+*)
-+  case ${ac_top_builddir}. in
-+  .) ac_abs_top_builddir=$ac_abs_builddir;;
-+  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
-+  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
-+  esac;;
-+esac
-+case $ac_abs_builddir in
-+.) ac_abs_srcdir=$ac_srcdir;;
-+*)
-+  case $ac_srcdir in
-+  .) ac_abs_srcdir=$ac_abs_builddir;;
-+  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
-+  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
-+  esac;;
-+esac
-+case $ac_abs_builddir in
-+.) ac_abs_top_srcdir=$ac_top_srcdir;;
-+*)
-+  case $ac_top_srcdir in
-+  .) ac_abs_top_srcdir=$ac_abs_builddir;;
-+  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
-+  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
-+  esac;;
-+esac
- 
-     cd $ac_dir
-     # Check for guested configure; otherwise get Cygnus style configure.
-@@ -937,7 +971,7 @@ ac_abs_top_srcdir=`cd "$ac_dir" && cd $a
-       echo
-       $SHELL $ac_srcdir/configure  --help=recursive
-     elif test -f $ac_srcdir/configure.ac ||
--           test -f $ac_srcdir/configure.in; then
-+         test -f $ac_srcdir/configure.in; then
-       echo
-       $ac_configure --help
-     else
-@@ -951,8 +985,7 @@ test -n "$ac_init_help" && exit 0
- if $ac_init_version; then
-   cat <<\_ACEOF
- 
--Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
--Free Software Foundation, Inc.
-+Copyright (C) 2003 Free Software Foundation, Inc.
- This configure script is free software; the Free Software Foundation
- gives unlimited permission to copy, distribute and modify it.
- _ACEOF
-@@ -964,7 +997,7 @@ This file contains any messages produced
- running configure, to aid debugging if configure makes a mistake.
- 
- It was created by $as_me, which was
--generated by GNU Autoconf 2.57.  Invocation command line was
-+generated by GNU Autoconf 2.59.  Invocation command line was
- 
-   $ $0 $@
- 
-@@ -1041,19 +1074,19 @@ do
-     2)
-       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
-       if test $ac_must_keep_next = true; then
--        ac_must_keep_next=false # Got value, back to normal.
-+      ac_must_keep_next=false # Got value, back to normal.
-       else



Home | Main Index | Thread Index | Old Index