summaryrefslogtreecommitdiff
path: root/net/ns
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-08-27 08:07:06 +0000
committerseb <seb@pkgsrc.org>2002-08-27 08:07:06 +0000
commit4099912ff3d21ff32ab1ece83568abb61546ca5c (patch)
treec799aeaebec406b8ad6a08ae1d3eae4c73f8b0ff /net/ns
parent974faa976c06752d9338ff939e0fa471a3854b93 (diff)
downloadpkgsrc-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')
-rw-r--r--net/ns/DESCR3
-rw-r--r--net/ns/MESSAGE10
-rw-r--r--net/ns/Makefile48
-rw-r--r--net/ns/PLIST9
-rw-r--r--net/ns/distinfo20
-rw-r--r--net/ns/patches/patch-aa13
-rw-r--r--net/ns/patches/patch-ab14
-rw-r--r--net/ns/patches/patch-ac13
-rw-r--r--net/ns/patches/patch-ad72
-rw-r--r--net/ns/patches/patch-ae13
-rw-r--r--net/ns/patches/patch-af93
-rw-r--r--net/ns/patches/patch-ag13
-rw-r--r--net/ns/patches/patch-ah27
-rw-r--r--net/ns/patches/patch-ai31
-rw-r--r--net/ns/patches/patch-aj13
-rw-r--r--net/ns/patches/patch-ak13
-rw-r--r--net/ns/patches/patch-al13
-rw-r--r--net/ns/patches/patch-am13
-rw-r--r--net/ns/patches/patch-an13
-rw-r--r--net/ns/patches/patch-ao13
-rw-r--r--net/ns/patches/patch-ap13
21 files changed, 470 insertions, 0 deletions
diff --git a/net/ns/DESCR b/net/ns/DESCR
new file mode 100644
index 00000000000..099b5519ec0
--- /dev/null
+++ b/net/ns/DESCR
@@ -0,0 +1,3 @@
+NS is a discrete event simulator targeted at networking research.
+Ns provides substantial support for simulation of TCP, routing, and multicast
+protocols.
diff --git a/net/ns/MESSAGE b/net/ns/MESSAGE
new file mode 100644
index 00000000000..045ea3c765b
--- /dev/null
+++ b/net/ns/MESSAGE
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $
+
+Because Ns is an evolving system, its documentation will never be completely
+up-to-date, please refer to ${HOMEPAGE}.
+
+The source distribution also contains a lot of more or less directly
+usable examples in the tcl/ex/ directory.
+
+===========================================================================
diff --git a/net/ns/Makefile b/net/ns/Makefile
new file mode 100644
index 00000000000..9d36022e528
--- /dev/null
+++ b/net/ns/Makefile
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/08/27 08:07:06 seb Exp $
+
+DISTNAME= ns-src-2.1b9a
+PKGNAME= ${DISTNAME:S/b/rc/:S/-src//}
+CATEGORIES= net
+MASTER_SITES= http://www.isi.edu/nsnam/dist/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.isi.edu/nsnam/ns/
+COMMENT= The UCB/LBNL Network Simulator Version 2
+
+WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
+
+.include "../../mk/bsd.prefs.mk"
+
+GNU_CONFIGURE= yes
+USE_BUILDLINK2= yes
+USE_X11= yes
+PTHREAD_OPTS+= require
+# Perl is only needed if you want to run the validation tests.
+USE_PERL5= build
+
+CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}
+CONFIGURE_ARGS+= --with-tk=${BUILDLINK_PREFIX.tk}
+CONFIGURE_ARGS+= --with-tclcl=${BUILDLINK_PREFIX.tclcl}
+
+MESSAGE_SUBST+= HOMEPAGE=${HOMEPAGE}
+
+# Yes there is object files and executables in the source tarball.
+post-extract:
+ ${_PKG_SILENT}${_PKG_DEBUG} \
+ cd ${WRKSRC} && \
+ ${FIND} . -name "*.o" -exec ${RM} {} \;
+ ${_PKG_SILENT}${_PKG_DEBUG} \
+ cd ${WRKSRC}/indep-utils && \
+ ${RM} cmu-scen-gen/setdest/setdest \
+ cmu-scen-gen/setdest/calcdest \
+ webtrace-conv/dec/dec-tr-stat \
+ webtrace-conv/epa/epa-tr-stat \
+ webtrace-conv/nlanr/nlanr-tr-stat \
+ webtrace-conv/ucb/ucb-tr-stat
+
+.include "../../net/libpcap/buildlink2.mk"
+.include "../../devel/tclcl/buildlink2.mk"
+.include "../../lang/otcl/buildlink2.mk"
+.include "../../x11/tk/buildlink2.mk"
+.include "../../mk/pthread.buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/ns/PLIST b/net/ns/PLIST
new file mode 100644
index 00000000000..525d8798d04
--- /dev/null
+++ b/net/ns/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $
+bin/calcdest
+bin/dec-tr-stat
+bin/epa-tr-stat
+bin/nlanr-tr-stat
+bin/ns
+bin/setdest
+bin/ucb-tr-stat
+man/man1/ns.1
diff --git a/net/ns/distinfo b/net/ns/distinfo
new file mode 100644
index 00000000000..1a5bde1a08e
--- /dev/null
+++ b/net/ns/distinfo
@@ -0,0 +1,20 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $
+
+SHA1 (ns-src-2.1b9a.tar.gz) = c1c5103ca67856800b2c8c3eaf5267d7ec62202e
+Size (ns-src-2.1b9a.tar.gz) = 39952700 bytes
+SHA1 (patch-aa) = 9fb0cccfedf034e0bff4cd3569aec8b58cebeaf5
+SHA1 (patch-ab) = 123d9110ac20063ffd32466dfa630bcbb76eff6d
+SHA1 (patch-ac) = 28cda4d9f68e031725016d2c06925394c76e5152
+SHA1 (patch-ad) = 43dbf7d17c22c300ab3e9ea7057b1cd8ff805958
+SHA1 (patch-ae) = af6c1937b07d7328d8949f27f0821cec75f2dae7
+SHA1 (patch-af) = 7e4862411dfe54ca38ab3646ce8767d86816c3c3
+SHA1 (patch-ag) = 680c16651358ac3d79dc2cc357a4190323916a63
+SHA1 (patch-ah) = 51c36d73309d135f89f7d2362835052b304b88bd
+SHA1 (patch-ai) = b75f36f986ca7c833769de09e6e79f6b87c5564a
+SHA1 (patch-aj) = e527edb6e684e5dc4d06efa3919f975c62fe62a0
+SHA1 (patch-ak) = 259dd2ceeacf63e17aa02c4c097f7d1871ef286b
+SHA1 (patch-al) = 8e20a8108926e22e9753174f1e94a96df092ce42
+SHA1 (patch-am) = dccc31a0da4984c2cd9fadaea836eb872b3194ac
+SHA1 (patch-an) = 610ab5dd26a4f232af52662a373995378c12c58d
+SHA1 (patch-ao) = ce520023b7652024cb4224410d49b1f639e5f977
+SHA1 (patch-ap) = 78e14fbc682f3fc87f3812773a9e12f17ec549a5
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@
+