diff options
author | seb <seb@pkgsrc.org> | 2002-08-27 08:07:06 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2002-08-27 08:07:06 +0000 |
commit | 4099912ff3d21ff32ab1ece83568abb61546ca5c (patch) | |
tree | c799aeaebec406b8ad6a08ae1d3eae4c73f8b0ff /net/ns/patches | |
parent | 974faa976c06752d9338ff939e0fa471a3854b93 (diff) | |
download | pkgsrc-4099912ff3d21ff32ab1ece83568abb61546ca5c.tar.gz |
Initial import of ns, version 2.1rc9a, into the NetBSD Packages Collection.
Based on package submitted by Jan Schaumann <jschauma@cs.stevens-tech.edu>
in PR pkg/16301.
NS is a discrete event simulator targeted at networking research.
Ns provides substantial support for simulation of TCP, routing, and multicast
protocols.
Diffstat (limited to 'net/ns/patches')
-rw-r--r-- | net/ns/patches/patch-aa | 13 | ||||
-rw-r--r-- | net/ns/patches/patch-ab | 14 | ||||
-rw-r--r-- | net/ns/patches/patch-ac | 13 | ||||
-rw-r--r-- | net/ns/patches/patch-ad | 72 | ||||
-rw-r--r-- | net/ns/patches/patch-ae | 13 | ||||
-rw-r--r-- | net/ns/patches/patch-af | 93 | ||||
-rw-r--r-- | net/ns/patches/patch-ag | 13 | ||||
-rw-r--r-- | net/ns/patches/patch-ah | 27 | ||||
-rw-r--r-- | net/ns/patches/patch-ai | 31 | ||||
-rw-r--r-- | net/ns/patches/patch-aj | 13 | ||||
-rw-r--r-- | net/ns/patches/patch-ak | 13 | ||||
-rw-r--r-- | net/ns/patches/patch-al | 13 | ||||
-rw-r--r-- | net/ns/patches/patch-am | 13 | ||||
-rw-r--r-- | net/ns/patches/patch-an | 13 | ||||
-rw-r--r-- | net/ns/patches/patch-ao | 13 | ||||
-rw-r--r-- | net/ns/patches/patch-ap | 13 |
16 files changed, 380 insertions, 0 deletions
diff --git a/net/ns/patches/patch-aa b/net/ns/patches/patch-aa new file mode 100644 index 00000000000..4b5d0fdc2d3 --- /dev/null +++ b/net/ns/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $ + +--- Makefile.in.orig Thu Jun 6 22:37:57 2002 ++++ 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 -DNIXVECTOR @V_DEFINE@ @V_DEFINES@ @DEFS@ -DPGM -DPGM_DEBUG -DNS_DIFFUSION diff --git a/net/ns/patches/patch-ab b/net/ns/patches/patch-ab new file mode 100644 index 00000000000..0d6a2a2622f --- /dev/null +++ b/net/ns/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $ + +--- autoconf.h.in.orig Mon Aug 14 15:57:14 2000 ++++ autoconf.h.in +@@ -63,6 +63,9 @@ + #undef HAVE_ARPA_INET_H + #undef HAVE_NETINET_IN_H + #undef HAVE_NET_ETHERNET_H ++#undef HAVE_NET_IF_H ++#undef HAVE_NETINET_IF_ETHER_H ++#undef HAVE_SYS_SOCKET_H + + /* structures */ + #undef HAVE_ETHER_HEADER_STRUCT diff --git a/net/ns/patches/patch-ac b/net/ns/patches/patch-ac new file mode 100644 index 00000000000..80b31cf0db7 --- /dev/null +++ b/net/ns/patches/patch-ac @@ -0,0 +1,13 @@ +$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 --git a/net/ns/patches/patch-ad b/net/ns/patches/patch-ad new file mode 100644 index 00000000000..60ac1d16e8f --- /dev/null +++ b/net/ns/patches/patch-ad @@ -0,0 +1,72 @@ +$NetBSD: patch-ad,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $ + +--- conf/configure.in.nse.orig Fri Sep 21 17:55:33 2001 ++++ conf/configure.in.nse +@@ -11,7 +11,24 @@ dnl + AC_MSG_CHECKING([for struct ether_header]) + AC_TRY_COMPILE([ + #include <stdio.h> ++#ifdef HAVE_SYS_TYPES_H ++#include <sys/types.h> ++#endif ++#ifdef HAVE_SYS_SOCKET_H ++#include <sys/socket.h> ++#endif ++#ifdef HAVE_NETINET_IN_H ++#include <netinet/in.h> ++#endif ++#ifdef HAVE_NET_IF_H ++#include <net/if.h> ++#endif ++#ifdef HAVE_NET_ETHERNET_H + #include <net/ethernet.h> ++#endif ++#ifdef HAVE_NETINET_IF_ETHER_H ++#include <netinet/if_ether.h> ++#endif + ], [ + int main() + { +@@ -33,7 +50,24 @@ dnl + AC_MSG_CHECKING([for struct ether_addr]) + AC_TRY_COMPILE([ + #include <stdio.h> ++#ifdef HAVE_SYS_TYPES_H ++#include <sys/types.h> ++#endif ++#ifdef HAVE_SYS_SOCKET_H ++#include <sys/socket.h> ++#endif ++#ifdef HAVE_NETINET_IN_H ++#include <netinet/in.h> ++#endif ++#ifdef HAVE_NET_IF_H ++#include <net/if.h> ++#endif ++#ifdef HAVE_NET_ETHERNET_H + #include <net/ethernet.h> ++#endif ++#ifdef HAVE_NETINET_IF_ETHER_H ++#include <netinet/if_ether.h> ++#endif + ], [ + int main() + { +@@ -100,6 +134,9 @@ dnl + AC_MSG_CHECKING([for BSD compliant tcphdr]) + AC_TRY_COMPILE([ + #include <stdio.h> ++#ifdef HAVE_SYS_TYPES_H ++#include <sys/types.h> ++#endif + #include <netinet/tcp.h> + ], [ + int main() +@@ -120,7 +157,6 @@ dnl + dnl Check for pcap library + dnl + AC_CHECK_LIB(pcap,main,[V_LIB="$V_LIB -lpcap" pcap=yes]) +-V_INCLUDES="$V_INCLUDES -I/usr/include/pcap" + + + dnl diff --git a/net/ns/patches/patch-ae b/net/ns/patches/patch-ae new file mode 100644 index 00000000000..15f12ff686c --- /dev/null +++ b/net/ns/patches/patch-ae @@ -0,0 +1,13 @@ +$NetBSD: patch-ae,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $ + +--- configure.in.orig Mon Sep 24 17:48:42 2001 ++++ configure.in +@@ -36,7 +36,7 @@ AC_HEADER_STDC + + dnl AC_CHECK_FUNCS will place -D's in @DEFS@ + AC_CHECK_FUNCS(bcopy bzero fesetprecision getrusage sbrk snprintf) +-AC_CHECK_HEADERS(arpa/inet.h netinet/in.h string.h strings.h time.h unistd.h net/ethernet.h) ++AC_CHECK_HEADERS(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) + + dnl + dnl figure out random return type diff --git a/net/ns/patches/patch-af b/net/ns/patches/patch-af new file mode 100644 index 00000000000..4cb78a0ff02 --- /dev/null +++ b/net/ns/patches/patch-af @@ -0,0 +1,93 @@ +$NetBSD: patch-af,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $ + +--- configure.orig Sat Apr 13 00:34:24 2002 ++++ configure +@@ -4082,7 +4082,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_PACKAGE_tclcl_UNDERWAY=false + NS_PACKAGE_tclcl_COMPLETE=true +@@ -5422,7 +5422,7 @@ EOF + 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 + 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 + #include "confdefs.h" + + #include <stdio.h> ++#ifdef HAVE_SYS_TYPES_H ++#include <sys/types.h> ++#endif ++#ifdef HAVE_SYS_SOCKET_H ++#include <sys/socket.h> ++#endif ++#ifdef HAVE_NETINET_IN_H ++#include <netinet/in.h> ++#endif ++#ifdef HAVE_NET_IF_H ++#include <net/if.h> ++#endif ++#ifdef HAVE_NET_ETHERNET_H + #include <net/ethernet.h> ++#endif ++#ifdef HAVE_NETINET_IF_ETHER_H ++#include <netinet/if_ether.h> ++#endif + + int + main () +@@ -6563,7 +6580,24 @@ cat >conftest.$ac_ext <<_ACEOF + #include "confdefs.h" + + #include <stdio.h> ++#ifdef HAVE_SYS_TYPES_H ++#include <sys/types.h> ++#endif ++#ifdef HAVE_SYS_SOCKET_H ++#include <sys/socket.h> ++#endif ++#ifdef HAVE_NETINET_IN_H ++#include <netinet/in.h> ++#endif ++#ifdef HAVE_NET_IF_H ++#include <net/if.h> ++#endif ++#ifdef HAVE_NET_ETHERNET_H + #include <net/ethernet.h> ++#endif ++#ifdef HAVE_NETINET_IF_ETHER_H ++#include <netinet/if_ether.h> ++#endif + + int + main () +@@ -6783,6 +6817,9 @@ cat >conftest.$ac_ext <<_ACEOF + #include "confdefs.h" + + #include <stdio.h> ++#ifdef HAVE_SYS_TYPES_H ++#include <sys/types.h> ++#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 + 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 + if test $tcphdr = yes && test $pcap = yes; then + build_nse="nse" diff --git a/net/ns/patches/patch-ag b/net/ns/patches/patch-ag new file mode 100644 index 00000000000..d1746da5453 --- /dev/null +++ b/net/ns/patches/patch-ag @@ -0,0 +1,13 @@ +$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-ah b/net/ns/patches/patch-ah new file mode 100644 index 00000000000..a6b900ea371 --- /dev/null +++ b/net/ns/patches/patch-ah @@ -0,0 +1,27 @@ +$NetBSD: patch-ah,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $ + +--- emulate/arp.cc.orig Thu Nov 9 17:42:23 2000 ++++ emulate/arp.cc +@@ -37,4 +37,6 @@ static const char rcsid[] = + #endif + ++#include "config.h" ++ + #include "object.h" + #include "packet.h" +@@ -44,9 +46,15 @@ static const char rcsid[] = + #include <sys/socket.h> + #include <sys/ioctl.h> ++#ifdef HAVE_NETINET_IN_H + #include <netinet/in.h> ++#endif + #include <netinet/in_systm.h> + #include <netinet/ip.h> ++#ifdef HAVE_NET_IF_H + #include <net/if.h> ++#endif ++#ifdef HAVE_NET_ETHERNET_H + #include <net/ethernet.h> ++#endif + #include <net/if_arp.h> + #include <netinet/if_ether.h> diff --git a/net/ns/patches/patch-ai b/net/ns/patches/patch-ai new file mode 100644 index 00000000000..6de12dd7a30 --- /dev/null +++ b/net/ns/patches/patch-ai @@ -0,0 +1,31 @@ +$NetBSD: patch-ai,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $ + +--- emulate/ether.cc.orig Tue Feb 8 23:35:12 2000 ++++ emulate/ether.cc +@@ -39,4 +39,7 @@ static const char rcsid[] = + #endif + #endif ++ ++#include "config.h" ++ + #include <stdio.h> + #include <string.h> +@@ -44,7 +47,17 @@ static const char rcsid[] = + #include <sys/socket.h> + #include <sys/ioctl.h> ++#ifdef HAVE_NETINET_IN_H ++#include <netinet/in.h> ++#endif ++#ifdef HAVE_NET_IF_H ++#include <net/if.h> ++#endif ++#ifdef HAVE_NET_ETHERNET_H + #include <net/ethernet.h> ++#endif ++#ifdef HAVE_NETINET_IF_ETHER_H ++#include <netinet/if_ether.h> ++#endif + +-#include "config.h" + #include "ether.h" + diff --git a/net/ns/patches/patch-aj b/net/ns/patches/patch-aj new file mode 100644 index 00000000000..9e59099307e --- /dev/null +++ b/net/ns/patches/patch-aj @@ -0,0 +1,13 @@ +$NetBSD: patch-aj,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $ + +--- emulate/iptap.h.orig Fri Jan 11 22:06:09 2002 ++++ emulate/iptap.h +@@ -37,6 +37,8 @@ + #define iptap_h + + #include "tap.h" ++#include <sys/types.h> ++#include <netinet/in_systm.h> + #include <netinet/in.h> + #include <netinet/ip.h> + #include <netinet/tcp.h> diff --git a/net/ns/patches/patch-ak b/net/ns/patches/patch-ak new file mode 100644 index 00000000000..c2a05baf9b1 --- /dev/null +++ b/net/ns/patches/patch-ak @@ -0,0 +1,13 @@ +$NetBSD: patch-ak,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $ + +--- emulate/tcptap.h.orig Fri Jan 11 22:06:09 2002 ++++ emulate/tcptap.h +@@ -37,6 +37,8 @@ + #define tcptap_h + + #include "tap.h" ++#include <sys/types.h> ++#include <netinet/in_systm.h> + #include <netinet/in.h> + #include <netinet/ip.h> + #include <netinet/tcp.h> diff --git a/net/ns/patches/patch-al b/net/ns/patches/patch-al new file mode 100644 index 00000000000..68c3412540a --- /dev/null +++ b/net/ns/patches/patch-al @@ -0,0 +1,13 @@ +$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 + CFLAGS = @V_CCOPT@ +-LDFLAGS = @V_STATIC@ ++LDFLAGS = @LDFLAGS@ + LIBS = @V_LIB@ -lm @LIBS@ + INSTALL = @INSTALL@ + diff --git a/net/ns/patches/patch-am b/net/ns/patches/patch-am new file mode 100644 index 00000000000..28d5f6f4182 --- /dev/null +++ b/net/ns/patches/patch-am @@ -0,0 +1,13 @@ +$NetBSD: patch-am,v 1.1.1.1 2002/08/27 08:07:07 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 + CC = @CXX@ + INCLUDE = -I. @V_INCLUDES@ + CFLAGS = @V_CCOPT@ +-LDFLAGS = @V_STATIC@ ++LDFLAGS = @LDFLAGS@ + LIBS = @V_LIB_TCL@ @V_LIB@ @LIBS@ + INSTALL = @INSTALL@ + diff --git a/net/ns/patches/patch-an b/net/ns/patches/patch-an new file mode 100644 index 00000000000..e26208687aa --- /dev/null +++ b/net/ns/patches/patch-an @@ -0,0 +1,13 @@ +$NetBSD: patch-an,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $ + +--- indep-utils/webtrace-conv/epa/Makefile.in.orig Wed Feb 16 18:08:26 2000 ++++ indep-utils/webtrace-conv/epa/Makefile.in +@@ -35,7 +35,7 @@ MKDEP = ../../../conf/mkdep + + INCLUDE = -I. @V_INCLUDES@ + CFLAGS = @V_CCOPT@ +-LDFLAGS = @V_STATIC@ ++LDFLAGS = @LDFLAGS@ + LIBS = @V_LIB_TCL@ @V_LIB@ @LIBS@ + INSTALL = @INSTALL@ + diff --git a/net/ns/patches/patch-ao b/net/ns/patches/patch-ao new file mode 100644 index 00000000000..d8b6a660f6b --- /dev/null +++ b/net/ns/patches/patch-ao @@ -0,0 +1,13 @@ +$NetBSD: patch-ao,v 1.1.1.1 2002/08/27 08:07:07 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 + CC = @CXX@ + INCLUDE = -I. -I../../.. @V_INCLUDES@ + CFLAGS = @V_CCOPT@ +-LDFLAGS = @V_STATIC@ ++LDFLAGS = @LDFLAGS@ + LIBS = @V_LIB_TCL@ @V_LIB@ @LIBS@ + INSTALL = @INSTALL@ + diff --git a/net/ns/patches/patch-ap b/net/ns/patches/patch-ap new file mode 100644 index 00000000000..fc06db2f9ec --- /dev/null +++ b/net/ns/patches/patch-ap @@ -0,0 +1,13 @@ +$NetBSD: patch-ap,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $ + +--- indep-utils/webtrace-conv/ucb/Makefile.in.orig Wed Feb 16 18:08:28 2000 ++++ indep-utils/webtrace-conv/ucb/Makefile.in +@@ -29,7 +29,7 @@ MKDEP = ../../../conf/mkdep + + INCLUDE = -I. @V_INCLUDES@ + CFLAGS = @V_CCOPT@ +-LDFLAGS = @V_STATIC@ ++LDFLAGS = @LDFLAGS@ + LIBS = @V_LIB_TCL@ @V_LIB@ @LIBS@ + INSTALL = @INSTALL@ + |