aboutsummaryrefslogtreecommitdiffstats
path: root/net/zebra
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2000-01-09 01:49:13 +0800
committersumikawa <sumikawa@FreeBSD.org>2000-01-09 01:49:13 +0800
commit021bdec8edf0546ece54d3e6adfb8c9b1b2f76ef (patch)
tree5646ead78392b71466b13ca1fd433850054a0351 /net/zebra
parentf90bce72d943735b8e4515fea4ca8b2594f21cef (diff)
downloadfreebsd-ports-gnome-021bdec8edf0546ece54d3e6adfb8c9b1b2f76ef.tar.gz
freebsd-ports-gnome-021bdec8edf0546ece54d3e6adfb8c9b1b2f76ef.tar.zst
freebsd-ports-gnome-021bdec8edf0546ece54d3e6adfb8c9b1b2f76ef.zip
Support IPv6. if 'USE_INET6' is defined, ripngd and ospf6d are installed.
Approved by: andreas(maintainer)
Diffstat (limited to 'net/zebra')
-rw-r--r--net/zebra/Makefile7
-rw-r--r--net/zebra/pkg-plist2
-rw-r--r--net/zebra/pkg-plist.v619
3 files changed, 28 insertions, 0 deletions
diff --git a/net/zebra/Makefile b/net/zebra/Makefile
index b783013b496e..240cf57859b0 100644
--- a/net/zebra/Makefile
+++ b/net/zebra/Makefile
@@ -17,6 +17,13 @@ MAINTAINER= andreas@FreeBSD.org
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc/zebra
+.if defined(USE_INET6)
+PLIST= ${PKGDIR}/PLIST.v6
+.else
+CONFIGURE_ARGS+=--disable-ospf6d --disable-ripngd
+PLIST= ${PKGDIR}/PLIST
+.endif
+
post-install:
@${ECHO} "===> installing zebra startup file..."
@${SED} -e "s=!!PREFIX!!=${PREFIX}=" \
diff --git a/net/zebra/pkg-plist b/net/zebra/pkg-plist
index 51f98d1e668b..3e28171db3e3 100644
--- a/net/zebra/pkg-plist
+++ b/net/zebra/pkg-plist
@@ -3,7 +3,9 @@ sbin/ospfd
sbin/ripd
sbin/zebra
sbin/zebractl
+etc/zebra/README.mbgp
etc/zebra/bgpd.conf.sample
+etc/zebra/bgpd.conf.sample2
etc/zebra/ripd.conf.sample
etc/zebra/zebra.conf.sample
etc/zebra/ospfd.conf.sample
diff --git a/net/zebra/pkg-plist.v6 b/net/zebra/pkg-plist.v6
new file mode 100644
index 000000000000..34a29c6b01e5
--- /dev/null
+++ b/net/zebra/pkg-plist.v6
@@ -0,0 +1,19 @@
+sbin/bgpd
+sbin/ospf6d
+sbin/ospfd
+sbin/ripd
+sbin/ripngd
+sbin/zebra
+sbin/zebractl
+etc/zebra/README.mbgp
+etc/zebra/bgpd.conf.sample
+etc/zebra/bgpd.conf.sample2
+etc/zebra/ospf6d.conf.sample
+etc/zebra/ospfd.conf.sample
+etc/zebra/ripd.conf.sample
+etc/zebra/ripngd.conf.sample
+etc/zebra/zebra.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