summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2000-01-11 19:53:25 +0000
committersumikawa <sumikawa@FreeBSD.org>2000-01-11 19:53:25 +0000
commit1ced15279c5db2284c068a5a92357faa4c53f8f5 (patch)
tree616d9d6375504e072bde444d3ba970515820abe2
parentc294cba72b07ef95450dba33c5f85a32b385009d (diff)
downloadFreeBSD-ports-1ced15279c5db2284c068a5a92357faa4c53f8f5.zip
FreeBSD-ports-1ced15279c5db2284c068a5a92357faa4c53f8f5.tar.gz
- Upgrade to 2.1.2a.
- Make buildable on FreeBSD-current. Mrt has supported IPv6. Approved by: maintainer
-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 a038e78..c9b82f7 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 fc81d9f..4ad3bcd 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 0000000..972a642
--- /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 0000000..0af2ed8
--- /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*))))
+ ;;
OpenPOWER on IntegriCloud