summaryrefslogtreecommitdiff
path: root/net/ns/patches
diff options
context:
space:
mode:
authorseb <seb>2003-09-01 18:21:12 +0000
committerseb <seb>2003-09-01 18:21:12 +0000
commitbc522a40f2e04cef5bd42537641eaec86ef24610 (patch)
treee42b557c594e50cd7c7bbeb2d41ca334d48b8da3 /net/ns/patches
parent95fe8971a6d902fcb591bdb6f50b8d5c624d6c1c (diff)
downloadpkgsrc-bc522a40f2e04cef5bd42537641eaec86ef24610.tar.gz
Update to version 2.26.
Lots of changes and bug fixes since last packaged version, see installed $PREFIX/share/doc/html/ns/CHANGES.html. Provided in PR pkg/22633 by Min Sik Kim <minskim at bawi dot org>. Minor tuning by myself.
Diffstat (limited to 'net/ns/patches')
-rw-r--r--net/ns/patches/patch-aa6
-rw-r--r--net/ns/patches/patch-af47
-rw-r--r--net/ns/patches/patch-ag13
-rw-r--r--net/ns/patches/patch-aj9
-rw-r--r--net/ns/patches/patch-ak7
-rw-r--r--net/ns/patches/patch-al6
-rw-r--r--net/ns/patches/patch-am6
-rw-r--r--net/ns/patches/patch-ao6
8 files changed, 44 insertions, 56 deletions
diff --git a/net/ns/patches/patch-aa b/net/ns/patches/patch-aa
index 4b5d0fdc2d3..a8bcfcf2fc5 100644
--- a/net/ns/patches/patch-aa
+++ b/net/ns/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $
+$NetBSD: patch-aa,v 1.2 2003/09/01 18:21:12 seb Exp $
--- Makefile.in.orig Thu Jun 6 22:37:57 2002
+++ Makefile.in
-@@ -54,7 +54,7 @@ PERL = @PERL@
+@@ -54,7 +54,7 @@
CCOPT = @V_CCOPT@
STATIC = @V_STATIC@
@@ -10,4 +10,4 @@ $NetBSD: patch-aa,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $
+LDFLAGS = @LDFLAGS@
LDOUT = -o $(BLANK)
- DEFINE = -DTCP_DELAY_BIND_ALL -DNO_TK -DNIXVECTOR @V_DEFINE@ @V_DEFINES@ @DEFS@ -DPGM -DPGM_DEBUG -DNS_DIFFUSION
+ DEFINE = -DTCP_DELAY_BIND_ALL -DNO_TK @V_DEFINE@ @V_DEFINES@ @DEFS@ -DNS_DIFFUSION -DSMAC_NO_SYNC -DSTL_NAMESPACE=@STL_NAMESPACE@ -DUSE_SINGLE_ADDRESS_SPACE
diff --git a/net/ns/patches/patch-af b/net/ns/patches/patch-af
index 4cb78a0ff02..f1b5fbd50f0 100644
--- a/net/ns/patches/patch-af
+++ b/net/ns/patches/patch-af
@@ -1,26 +1,26 @@
-$NetBSD: patch-af,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $
+$NetBSD: patch-af,v 1.2 2003/09/01 18:21:12 seb Exp $
--- configure.orig Sat Apr 13 00:34:24 2002
+++ configure
-@@ -4082,7 +4082,7 @@ TCLCL_PROG_PLACES="\
+@@ -2939,7 +2939,7 @@
/usr/src/local/Tcl \
/usr/src/local/Tcl-1.0 \
"
-TCLCL_PROG_PLACES_D="$d"
+TCLCL_PROG_PLACES_D="$d/bin"
- NS_PACKAGE_tclcl_UNDERWAY=false
- NS_PACKAGE_tclcl_COMPLETE=true
-@@ -5422,7 +5422,7 @@ EOF
+
+
+@@ -4154,7 +4154,7 @@
fi
done
--for ac_header in arpa/inet.h netinet/in.h string.h strings.h time.h unistd.h net/ethernet.h
-+for ac_header in arpa/inet.h netinet/in.h string.h strings.h time.h unistd.h net/if.h net/ethernet.h netinet/if_ether.h sys/socket.h
+-for ac_hdr in arpa/inet.h netinet/in.h string.h strings.h time.h unistd.h net/ethernet.h
++for ac_hdr in arpa/inet.h netinet/in.h string.h strings.h time.h unistd.h net/if.h net/ethernet.h netinet/if_ether.h sys/socket.h
do
- as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
- echo "$as_me:5428: checking for $ac_header" >&5
-@@ -6509,7 +6509,24 @@ cat >conftest.$ac_ext <<_ACEOF
+ ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+@@ -4798,7 +4798,24 @@
#include "confdefs.h"
#include <stdio.h>
@@ -43,9 +43,9 @@ $NetBSD: patch-af,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $
+#include <netinet/if_ether.h>
+#endif
- int
- main ()
-@@ -6563,7 +6580,24 @@ cat >conftest.$ac_ext <<_ACEOF
+ int main() {
+
+@@ -4838,7 +4855,24 @@ cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
#include <stdio.h>
@@ -68,9 +68,9 @@ $NetBSD: patch-af,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $
+#include <netinet/if_ether.h>
+#endif
- int
- main ()
-@@ -6783,6 +6817,9 @@ cat >conftest.$ac_ext <<_ACEOF
+ int main() {
+
+@@ -4967,7 +5001,10 @@ cat >conftest.$ac_ext <<_ACEOF
#include "confdefs.h"
#include <stdio.h>
@@ -79,15 +79,18 @@ $NetBSD: patch-af,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $
+#endif
#include <netinet/tcp.h>
- int
-@@ -6874,9 +6911,7 @@ if test $ac_cv_lib_pcap_main = yes; then
- V_LIB="$V_LIB -lpcap" pcap=yes
+ int main() {
+
+@@ -5111,11 +5148,8 @@ if test $ac_cv_lib_pcap_main = yes; then
+ echo "$ac_t""no" 1>&6
fi
-V_INCLUDES="$V_INCLUDES -I/usr/include/pcap"
-
--echo "$as_me:6879: checking to make nse" >&5
-+echo "$as_me:6914: checking to make nse" >&5
- echo $ECHO_N "checking to make nse... $ECHO_C" >&6
+-
+ echo $ac_n "checking to make nse""... $ac_c" 1>&6
+-echo "configure:5119: checking to make nse" >&5
++echo "configure:5153: checking to make nse" >&5
if test $tcphdr = yes && test $pcap = yes; then
build_nse="nse"
+ echo "$ac_t""yes" 1>&6
diff --git a/net/ns/patches/patch-ag b/net/ns/patches/patch-ag
deleted file mode 100644
index d1746da5453..00000000000
--- a/net/ns/patches/patch-ag
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ag,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $
-
---- dsr/dsragent.cc.orig Fri Jun 21 21:16:01 2002
-+++ dsr/dsragent.cc
-@@ -310,7 +310,7 @@ public:
- /*===========================================================================
- DSRAgent methods
- ---------------------------------------------------------------------------*/
--DSRAgent::DSRAgent(): Agent(PT_DSR), request_table(128), route_cache(NULL), \
-+DSRAgent::DSRAgent(): Agent(PT_DSR), request_table(128), route_cache(NULL),
- send_buf_timer(this), flow_table(), ars_table()
- {
- int c;
diff --git a/net/ns/patches/patch-aj b/net/ns/patches/patch-aj
index 9e59099307e..84a8d5ab301 100644
--- a/net/ns/patches/patch-aj
+++ b/net/ns/patches/patch-aj
@@ -1,13 +1,12 @@
-$NetBSD: patch-aj,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $
+$NetBSD: patch-aj,v 1.2 2003/09/01 18:21:13 seb Exp $
--- emulate/iptap.h.orig Fri Jan 11 22:06:09 2002
+++ emulate/iptap.h
-@@ -37,6 +37,8 @@
- #define iptap_h
+@@ -38,6 +38,7 @@
#include "tap.h"
+
+#include <sys/types.h>
-+#include <netinet/in_systm.h>
#include <netinet/in.h>
+ #include <netinet/in_systm.h>
#include <netinet/ip.h>
- #include <netinet/tcp.h>
diff --git a/net/ns/patches/patch-ak b/net/ns/patches/patch-ak
index c2a05baf9b1..169d8264148 100644
--- a/net/ns/patches/patch-ak
+++ b/net/ns/patches/patch-ak
@@ -1,13 +1,12 @@
-$NetBSD: patch-ak,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $
+$NetBSD: patch-ak,v 1.2 2003/09/01 18:21:13 seb Exp $
--- emulate/tcptap.h.orig Fri Jan 11 22:06:09 2002
+++ emulate/tcptap.h
-@@ -37,6 +37,8 @@
+@@ -37,6 +37,7 @@
#define tcptap_h
#include "tap.h"
+#include <sys/types.h>
-+#include <netinet/in_systm.h>
#include <netinet/in.h>
+ #include <netinet/in_systm.h>
#include <netinet/ip.h>
- #include <netinet/tcp.h>
diff --git a/net/ns/patches/patch-al b/net/ns/patches/patch-al
index 68c3412540a..3ad24ea0407 100644
--- a/net/ns/patches/patch-al
+++ b/net/ns/patches/patch-al
@@ -1,10 +1,10 @@
-$NetBSD: patch-al,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $
+$netbsd: patch-al,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $
--- indep-utils/cmu-scen-gen/setdest/Makefile.in.orig Fri Jan 11 22:06:09 2002
+++ indep-utils/cmu-scen-gen/setdest/Makefile.in
@@ -38,7 +38,7 @@ MKDEP = ../../../conf/mkdep
-
- DEFINE = -Dstand_alone
+ # when including files from ns, we need to take care STL_NAMESPACE
+ DEFINE = -Dstand_alone -DSTL_NAMESPACE=@STL_NAMESPACE@
CFLAGS = @V_CCOPT@
-LDFLAGS = @V_STATIC@
+LDFLAGS = @LDFLAGS@
diff --git a/net/ns/patches/patch-am b/net/ns/patches/patch-am
index 28d5f6f4182..a4c9c613325 100644
--- a/net/ns/patches/patch-am
+++ b/net/ns/patches/patch-am
@@ -1,11 +1,11 @@
-$NetBSD: patch-am,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $
+$NetBSD: patch-am,v 1.2 2003/09/01 18:21:13 seb Exp $
--- indep-utils/webtrace-conv/dec/Makefile.in.orig Wed Feb 16 18:08:26 2000
+++ indep-utils/webtrace-conv/dec/Makefile.in
-@@ -38,7 +38,7 @@ BINDEST = @prefix@/bin
+@@ -39,7 +39,7 @@ BINDEST = @prefix@/bin
CC = @CXX@
INCLUDE = -I. @V_INCLUDES@
- CFLAGS = @V_CCOPT@
+ CFLAGS = @V_CCOPT@ -DSTL_NAMESPACE=@STL_NAMESPACE@
-LDFLAGS = @V_STATIC@
+LDFLAGS = @LDFLAGS@
LIBS = @V_LIB_TCL@ @V_LIB@ @LIBS@
diff --git a/net/ns/patches/patch-ao b/net/ns/patches/patch-ao
index d8b6a660f6b..1b6533a5dfa 100644
--- a/net/ns/patches/patch-ao
+++ b/net/ns/patches/patch-ao
@@ -1,11 +1,11 @@
-$NetBSD: patch-ao,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $
+$NetBSD: patch-ao,v 1.2 2003/09/01 18:21:13 seb Exp $
--- indep-utils/webtrace-conv/nlanr/Makefile.in.orig Wed Feb 16 18:08:27 2000
+++ indep-utils/webtrace-conv/nlanr/Makefile.in
-@@ -35,7 +35,7 @@ BINDEST = @prefix@/bin
+@@ -36,7 +36,7 @@ BINDEST = @prefix@/bin
CC = @CXX@
INCLUDE = -I. -I../../.. @V_INCLUDES@
- CFLAGS = @V_CCOPT@
+ CFLAGS = @V_CCOPT@ -DSTL_NAMESPACE=@STL_NAMESPACE@
-LDFLAGS = @V_STATIC@
+LDFLAGS = @LDFLAGS@
LIBS = @V_LIB_TCL@ @V_LIB@ @LIBS@