aboutsummaryrefslogtreecommitdiff
path: root/net/zebra-devel
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>2001-03-22 22:31:17 +0000
committerAndreas Klemm <andreas@FreeBSD.org>2001-03-22 22:31:17 +0000
commit11f69929229465741bf83ca387d8bf656366cec3 (patch)
tree33fb77c5338bf3a9fb4c5a7c8bb03fe268e837d8 /net/zebra-devel
parent2c9e91a9b58ecefbed6e4bd08eda10a092b328d9 (diff)
downloadports-11f69929229465741bf83ca387d8bf656366cec3.tar.gz
ports-11f69929229465741bf83ca387d8bf656366cec3.zip
update to new zebra 0.91a
- some workarounds concerning installation of zebra info files since sources doesn't contain all info files... - modified zebractl script to check, if zebra.conf exists, which is needed for every routing protocol, error message and exit if not found. From the author: "0.91 is basically a bugfix release. All of IPv6 codes are based upon new RIB codes" Bugfixes and features see ChangeLog file.
Notes
Notes: svn path=/head/; revision=40221
Diffstat (limited to 'net/zebra-devel')
-rw-r--r--net/zebra-devel/Makefile4
-rw-r--r--net/zebra-devel/distinfo2
-rw-r--r--net/zebra-devel/files/zebractl.sh6
-rw-r--r--net/zebra-devel/pkg-plist1
-rw-r--r--net/zebra-devel/scripts/configure4
5 files changed, 12 insertions, 5 deletions
diff --git a/net/zebra-devel/Makefile b/net/zebra-devel/Makefile
index 24377458d5ad..e0e4063e31be 100644
--- a/net/zebra-devel/Makefile
+++ b/net/zebra-devel/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= zebra
-PORTVERSION= 0.90a
-PORTREVISION= 3
+PORTVERSION= 0.91a
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/
@@ -42,6 +41,7 @@ CONFIGURE_ARGS+=--disable-ospf6d --disable-ripngd
.endif
post-install:
+ @( cd ${WRKSRC}/doc; rm -f zebra*info*; ${MAKE} zebra.info install )
@${ECHO} "===> installing zebra startup file..."
@${SED} -e "s=!!PREFIX!!=${PREFIX}=" \
< ${FILESDIR}/zebractl.sh \
diff --git a/net/zebra-devel/distinfo b/net/zebra-devel/distinfo
index 6b27cda85028..e9a51f0707a2 100644
--- a/net/zebra-devel/distinfo
+++ b/net/zebra-devel/distinfo
@@ -1 +1 @@
-MD5 (zebra-0.90a.tar.gz) = 909db298e1d132e79288d92c09458ffe
+MD5 (zebra-0.91a.tar.gz) = cea38abb7d97fd96563077748a344ea5
diff --git a/net/zebra-devel/files/zebractl.sh b/net/zebra-devel/files/zebractl.sh
index 4de675bf1fb6..615239f3efcc 100644
--- a/net/zebra-devel/files/zebractl.sh
+++ b/net/zebra-devel/files/zebractl.sh
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/net/zebra-devel/files/Attic/zebractl.sh,v 1.5 2001-01-29 22:12:54 andreas Exp $
+# $FreeBSD: /tmp/pcvs/ports/net/zebra-devel/files/Attic/zebractl.sh,v 1.6 2001-03-22 22:31:17 andreas Exp $
#
# zebra start/stop script by "Andreas Klemm <andreas@FreeBSD.ORG>"
#
@@ -19,6 +19,10 @@ fi
case $1 in
start)
+ if [ ! -f !!PREFIX!!/etc/zebra/zebra.conf ]; then
+ echo "error: zebra.conf config file is mandatory"
+ exit 1
+ fi
[ -f !!PREFIX!!/etc/zebra/zebra.conf ] \
&& !!PREFIX!!/sbin/zebra -d && echo -n ' zebra'
[ -f !!PREFIX!!/etc/zebra/ripd.conf ] \
diff --git a/net/zebra-devel/pkg-plist b/net/zebra-devel/pkg-plist
index ddc59b7219ab..10e30b77236a 100644
--- a/net/zebra-devel/pkg-plist
+++ b/net/zebra-devel/pkg-plist
@@ -4,7 +4,6 @@ sbin/ripd
sbin/ripngd
sbin/zebra
sbin/zebractl
-etc/zebra/README.mbgp
etc/zebra/bgpd.conf.sample
etc/zebra/bgpd.conf.sample2
etc/zebra/ospfd.conf.sample
diff --git a/net/zebra-devel/scripts/configure b/net/zebra-devel/scripts/configure
index e5bb2a6fed13..f2a02dc53a82 100644
--- a/net/zebra-devel/scripts/configure
+++ b/net/zebra-devel/scripts/configure
@@ -17,6 +17,7 @@ Select compile time options for zebra port:" -1 -1 8 \
LIBPAM "enable PAM authentication for vtysh" OFF \
OSPF_NSSA "turn on undergoing NSSA feature" OFF \
SNMP "enable SNMP support" OFF \
+TCP-ZEBRA "enable TCP/IP socket connection" OFF \
2> /tmp/zebra-checklist.$$
retval=$?
@@ -50,6 +51,9 @@ while [ "$1" ]; do
\"SNMP\")
echo CONFIGURE_ARGS+=--enable-snmp
;;
+ \"TCP-ZEBRA\")
+ echo CONFIGURE_ARGS+=--enable-tcp-zebra
+ ;;
esac
shift
done