summaryrefslogtreecommitdiff
path: root/net/mrt
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2000-10-15 17:36:42 +0000
committeritojun <itojun@pkgsrc.org>2000-10-15 17:36:42 +0000
commit3229d1026747d15d0361dda7b6a9e7c09a404d04 (patch)
treee20a0fce5b10f4b76c6cfeb0862c3692390303f1 /net/mrt
parentf2f5d1d952fdd721351a7739d3ded001b71bcf44 (diff)
downloadpkgsrc-3229d1026747d15d0361dda7b6a9e7c09a404d04.tar.gz
mrt, merit's multithreaded routing toolkit
Diffstat (limited to 'net/mrt')
-rw-r--r--net/mrt/Makefile31
-rw-r--r--net/mrt/files/md53
-rw-r--r--net/mrt/files/patch-sum5
-rw-r--r--net/mrt/patches/patch-aa8
-rw-r--r--net/mrt/patches/patch-ab8
-rw-r--r--net/mrt/patches/patch-ad9
-rw-r--r--net/mrt/pkg/COMMENT1
-rw-r--r--net/mrt/pkg/DESCR14
-rw-r--r--net/mrt/pkg/PLIST.pre9
9 files changed, 88 insertions, 0 deletions
diff --git a/net/mrt/Makefile b/net/mrt/Makefile
new file mode 100644
index 00000000000..796d3c27d3f
--- /dev/null
+++ b/net/mrt/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/10/15 17:36:42 itojun Exp $
+#
+
+DISTNAME= mrt-2.2.2a-Aug11
+PKGNAME= mrt-2.2.2a.20000811
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.merit.edu/net-research/mrt/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.mrtd.net/
+
+WRKSRC= ${WRKDIR}/mrt/src
+GNU_CONFIGURE= yes
+
+PLIST_SRC= ${WRKSRC}/.PLIST_SRC
+
+# nuke yet-to-be-ready directories, configure.in is written in a strange way
+post-extract:
+ (cd ${WRKSRC}/programs; ${RM} -fr route_tracker sospf srip)
+
+post-install:
+ ${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
+ ${MKDIR} ${PREFIX}/share/examples/mrt
+ ${INSTALL_DATA} ${WRKSRC}/programs/*/*.conf \
+ ${PREFIX}/share/examples/mrt
+ (cd ${PREFIX}; ${FIND} share/examples/mrt -type f -print \
+ >> ${PLIST_SRC})
+ (cd ${PREFIX}; ${FIND} -d share/examples/mrt -type d -print | \
+ ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC})
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/mrt/files/md5 b/net/mrt/files/md5
new file mode 100644
index 00000000000..8882c0e9900
--- /dev/null
+++ b/net/mrt/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/10/15 17:36:43 itojun Exp $
+
+MD5 (mrt-2.2.2a-Aug11.tar.gz) = 6ebd9413ef2a5dc9f0e5515bb9a03a27
diff --git a/net/mrt/files/patch-sum b/net/mrt/files/patch-sum
new file mode 100644
index 00000000000..0966a415271
--- /dev/null
+++ b/net/mrt/files/patch-sum
@@ -0,0 +1,5 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/10/15 17:36:43 itojun Exp $
+
+MD5 (patch-aa) = 42a97a0860ee890d9582f02cb8715ce4
+MD5 (patch-ab) = 5039a155080d545f250b7cddceac688d
+MD5 (patch-ad) = 021abc4309deea1ac6c6ff7c3da16b41
diff --git a/net/mrt/patches/patch-aa b/net/mrt/patches/patch-aa
new file mode 100644
index 00000000000..63865ffac15
--- /dev/null
+++ b/net/mrt/patches/patch-aa
@@ -0,0 +1,8 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/10/15 17:36:43 itojun Exp $
+--- configure- Tue Aug 15 21:09:33 2000
++++ configure Tue Aug 15 21:09:46 2000
+@@ -2843,3 +2843,3 @@
+ rm -rf conftest*
+- LIBS="$LIBS -L/usr/local/v6/lib -linet6"
++# LIBS="$LIBS -L/usr/local/v6/lib -linet6"
+ cat >> confdefs.h <<\EOF
diff --git a/net/mrt/patches/patch-ab b/net/mrt/patches/patch-ab
new file mode 100644
index 00000000000..0d274d92276
--- /dev/null
+++ b/net/mrt/patches/patch-ab
@@ -0,0 +1,8 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/10/15 17:36:43 itojun Exp $
+--- configure.in- Tue Aug 15 21:21:22 2000
++++ configure.in Tue Aug 15 21:21:39 2000
+@@ -557,3 +557,3 @@
+ #endif
+-], [ LIBS="$LIBS -L/usr/local/v6/lib -linet6"
++], [# LIBS="$LIBS -L/usr/local/v6/lib -linet6"
+ AC_DEFINE(WIDE_IPV6)
diff --git a/net/mrt/patches/patch-ad b/net/mrt/patches/patch-ad
new file mode 100644
index 00000000000..ae163dbcfb7
--- /dev/null
+++ b/net/mrt/patches/patch-ad
@@ -0,0 +1,9 @@
+$NetBSD: patch-ad,v 1.1.1.1 2000/10/15 17:36:43 itojun Exp $
+--- include/igmp.h.orig Tue Aug 15 20:44:22 2000
++++ include/igmp.h Tue Aug 15 20:44:47 2000
+@@ -48,3 +48,5 @@
+ #ifdef WIDE_IPV6
++#ifdef HAVE_MROUTING6
+ #include <netinet6/ip6_mroute.h>
++#endif /* HAVE_MROUTING6 */
+ #endif /* WIDE_IPV6 */
diff --git a/net/mrt/pkg/COMMENT b/net/mrt/pkg/COMMENT
new file mode 100644
index 00000000000..226368a76ad
--- /dev/null
+++ b/net/mrt/pkg/COMMENT
@@ -0,0 +1 @@
+Multi-threaded Routing Toolkit
diff --git a/net/mrt/pkg/DESCR b/net/mrt/pkg/DESCR
new file mode 100644
index 00000000000..8237a91dde3
--- /dev/null
+++ b/net/mrt/pkg/DESCR
@@ -0,0 +1,14 @@
+$Id: DESCR,v 1.1.1.1 2000/10/15 17:36:43 itojun Exp $
+
+This distribution of the Multi-threaded Routing Toolkit includes
+routing daemons, programming libraries and Internet
+statistics/performance measurement tools.
+
+The work is supported by National Science Foundation grants
+(NCR-9710176 and NCR-9318902), and a gift from Intel Corporation.
+
+Documentation and an installation guide for the MRT toolkit is
+available online at
+ http://www.merit.edu/~mrt/mrt_doc
+
+Send email to mrt-support@merit.edu for assistence/bugs/comments.
diff --git a/net/mrt/pkg/PLIST.pre b/net/mrt/pkg/PLIST.pre
new file mode 100644
index 00000000000..e8b7c8ca0dd
--- /dev/null
+++ b/net/mrt/pkg/PLIST.pre
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST.pre,v 1.1.1.1 2000/10/15 17:36:43 itojun Exp $
+sbin/bgpsim
+sbin/mrtd
+sbin/route_atob
+sbin/route_btoa
+sbin/sbgp
+sbin/ricd
+man/man8/mrtd.8
+man/man8/ricd.8