summaryrefslogtreecommitdiff
path: root/net/zebra
diff options
context:
space:
mode:
Diffstat (limited to 'net/zebra')
-rw-r--r--net/zebra/Makefile8
-rw-r--r--net/zebra/pkg/DESCR5
-rw-r--r--net/zebra/pkg/PLIST.v618
3 files changed, 27 insertions, 4 deletions
diff --git a/net/zebra/Makefile b/net/zebra/Makefile
index 36ceac2afb0..c6bb67cadd2 100644
--- a/net/zebra/Makefile
+++ b/net/zebra/Makefile
@@ -4,7 +4,7 @@
# Whom: Andreas Klemm <andreas@klemm.gtn.com> (FreeBSD)
# itojun@itojun.org
#
-# $NetBSD: Makefile,v 1.5 1999/07/06 16:31:40 itojun Exp $
+# $NetBSD: Makefile,v 1.6 1999/07/07 08:54:55 itojun Exp $
# Based on KAME Id: Makefile,v 1.1.2.1.2.1.10.2 1999/01/05 11:03:50 itojun Exp
#
@@ -19,7 +19,11 @@ HOMEPAGE= http://www.zebra.org/
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc/zebra
-# non-IPv6 build at this moment
+.if !defined(USE_INET6)
CONFIGURE_ARGS+=--disable-ospf6d --disable-ripngd
+PLIST_SRC= ${PKGDIR}/PLIST
+.else
+PLIST_SRC= ${PKGDIR}/PLIST.v6
+.endif
.include "../../mk/bsd.pkg.mk"
diff --git a/net/zebra/pkg/DESCR b/net/zebra/pkg/DESCR
index b7cb3bd003a..03844b2b2ca 100644
--- a/net/zebra/pkg/DESCR
+++ b/net/zebra/pkg/DESCR
@@ -12,6 +12,7 @@ Zebra is intended to be used as a Route Server and a Route Reflector.
Zebra is not a toolkit, it provides full routing power under a new
architecture.
-Homepage:
+If you want to build with IPv6 support, install with:
+ # make USE_INET6=YES install
- http://www.zebra.org/
+Homepage: http://www.zebra.org/
diff --git a/net/zebra/pkg/PLIST.v6 b/net/zebra/pkg/PLIST.v6
new file mode 100644
index 00000000000..3253a10d1ac
--- /dev/null
+++ b/net/zebra/pkg/PLIST.v6
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST.v6,v 1.1 1999/07/07 08:54:55 itojun Exp $
+sbin/bgpd
+sbin/client
+sbin/ospfd
+sbin/ospf6d
+sbin/ripd
+sbin/ripngd
+sbin/zebra
+etc/zebra/bgpd.conf.sample
+etc/zebra/ripd.conf.sample
+etc/zebra/ripngd.conf.sample
+etc/zebra/zebra.conf.sample
+etc/zebra/ospfd.conf.sample
+etc/zebra/ospf6d.conf.sample
+@unexec install-info --delete %D/info/zebra.info %D/info/dir
+info/zebra.info
+@exec install-info %D/info/zebra.info %D/info/dir
+@dirrm etc/zebra