aboutsummaryrefslogtreecommitdiff
path: root/net/mrt
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-01-11 19:53:25 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-01-11 19:53:25 +0000
commit1b0d72c0dc3b3ffec8377b7633752a9680a29412 (patch)
tree6474f83d0b6bddbb89e5c8c917fc82e67e00c53d /net/mrt
parentcfa8a4db7c0876a5cbcaf7acbe76fc9bc84141d6 (diff)
downloadports-1b0d72c0dc3b3ffec8377b7633752a9680a29412.tar.gz
ports-1b0d72c0dc3b3ffec8377b7633752a9680a29412.zip
- Upgrade to 2.1.2a.
- Make buildable on FreeBSD-current. Mrt has supported IPv6. Approved by: maintainer
Notes
Notes: svn path=/head/; revision=24650
Diffstat (limited to 'net/mrt')
-rw-r--r--net/mrt/Makefile3
-rw-r--r--net/mrt/distinfo2
-rw-r--r--net/mrt/files/patch-ad12
-rw-r--r--net/mrt/files/patch-ae17
4 files changed, 32 insertions, 2 deletions
diff --git a/net/mrt/Makefile b/net/mrt/Makefile
index a038e783849e..c9b82f7d0bd0 100644
--- a/net/mrt/Makefile
+++ b/net/mrt/Makefile
@@ -15,8 +15,9 @@ MAINTAINER= itojun@itojun.org
WRKSRC= ${WRKDIR}/mrt-${VERBASE}/src
GNU_CONFIGURE= yes
+USE_AUTOCONF= yes
-VERBASE= 1.5.1a
+VERBASE= 2.1.2a
MAN8= mrtd.8
EXAMPLES= programs/bgpsim/bgpsim.conf programs/bgpsim/bgpsim6.conf \
diff --git a/net/mrt/distinfo b/net/mrt/distinfo
index fc81d9f6b1ec..4ad3bcdb608d 100644
--- a/net/mrt/distinfo
+++ b/net/mrt/distinfo
@@ -1 +1 @@
-MD5 (mrt-1.5.1a-src.tar.gz) = 89c476ee662c4a0dfc5ce47a6cb7c860
+MD5 (mrt-2.1.2a-src.tar.gz) = 7973eb65900107b2b79bf7428be39344
diff --git a/net/mrt/files/patch-ad b/net/mrt/files/patch-ad
new file mode 100644
index 000000000000..972a6420eb4d
--- /dev/null
+++ b/net/mrt/files/patch-ad
@@ -0,0 +1,12 @@
+--- include/igmp.h- Tue Jan 11 14:30:14 2000
++++ include/igmp.h Tue Jan 11 14:31:24 2000
+@@ -46,7 +46,9 @@
+
+ #ifdef HAVE_IPV6
+ #ifdef WIDE_IPV6
++#ifdef HAVE_MROUTING6
+ #include <netinet6/ip6_mroute.h>
++#endif /* HAVE_MROUTING6 */
+ #endif /* WIDE_IPV6 */
+ #ifndef sun
+ #include <netinet/ip6.h>
diff --git a/net/mrt/files/patch-ae b/net/mrt/files/patch-ae
new file mode 100644
index 000000000000..0af2ed8ae881
--- /dev/null
+++ b/net/mrt/files/patch-ae
@@ -0,0 +1,17 @@
+--- configure.in- Tue Jan 11 10:30:49 2000
++++ configure.in Tue Jan 11 14:38:08 2000
+@@ -549,10 +549,12 @@
+ #ifdef __KAME__
+ yes
+ #endif
+-], [ LIBS="$LIBS -L/usr/local/v6/lib -linet6"
++], [ AC_FILE_EXIST(/usr/local/v6/lib/libinet6.a, [
++ LIBS="$LIBS -L/usr/local/v6/lib -linet6"]);
++ AC_FILE_EXIST(/usr/include/netinet6/ip6_mroute.h, [
++ AC_DEFINE(HAVE_MROUTING6)]);
+ AC_DEFINE(WIDE_IPV6)
+ AC_DEFINE(RFC2292)
+- AC_DEFINE(HAVE_MROUTING6)
+ AC_MSG_RESULT(yes... KAME IPv6)],
+ AC_MSG_RESULT(*unknown*))))
+ ;;