1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

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.
This commit is contained in:
Andreas Klemm 2001-03-22 22:31:17 +00:00
parent 2c9e91a9b5
commit 11f6992922
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40221
15 changed files with 36 additions and 15 deletions

View File

@ -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 \

View File

@ -1 +1 @@
MD5 (zebra-0.90a.tar.gz) = 909db298e1d132e79288d92c09458ffe
MD5 (zebra-0.91a.tar.gz) = cea38abb7d97fd96563077748a344ea5

View File

@ -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 ] \

View File

@ -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

View File

@ -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

View File

@ -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 \

View File

@ -1 +1 @@
MD5 (zebra-0.90a.tar.gz) = 909db298e1d132e79288d92c09458ffe
MD5 (zebra-0.91a.tar.gz) = cea38abb7d97fd96563077748a344ea5

View File

@ -1,6 +1,6 @@
#! /bin/sh
#
# $FreeBSD: /tmp/pcvs/ports/net/zebra-pj/files/Attic/zebractl.sh,v 1.5 2001-01-29 22:12:54 andreas Exp $
# $FreeBSD: /tmp/pcvs/ports/net/zebra-pj/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 ] \

View File

@ -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

View File

@ -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

View File

@ -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 \

View File

@ -1 +1 @@
MD5 (zebra-0.90a.tar.gz) = 909db298e1d132e79288d92c09458ffe
MD5 (zebra-0.91a.tar.gz) = cea38abb7d97fd96563077748a344ea5

View File

@ -1,6 +1,6 @@
#! /bin/sh
#
# $FreeBSD: /tmp/pcvs/ports/net/zebra/files/Attic/zebractl.sh,v 1.5 2001-01-29 22:12:54 andreas Exp $
# $FreeBSD: /tmp/pcvs/ports/net/zebra/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 ] \

View File

@ -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

View File

@ -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