mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 05:10:29 -04: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:
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
|
@ -6,8 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= zebra
|
PORTNAME= zebra
|
||||||
PORTVERSION= 0.90a
|
PORTVERSION= 0.91a
|
||||||
PORTREVISION= 3
|
|
||||||
CATEGORIES= net ipv6
|
CATEGORIES= net ipv6
|
||||||
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/
|
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/
|
||||||
|
|
||||||
|
@ -42,6 +41,7 @@ CONFIGURE_ARGS+=--disable-ospf6d --disable-ripngd
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
|
@( cd ${WRKSRC}/doc; rm -f zebra*info*; ${MAKE} zebra.info install )
|
||||||
@${ECHO} "===> installing zebra startup file..."
|
@${ECHO} "===> installing zebra startup file..."
|
||||||
@${SED} -e "s=!!PREFIX!!=${PREFIX}=" \
|
@${SED} -e "s=!!PREFIX!!=${PREFIX}=" \
|
||||||
< ${FILESDIR}/zebractl.sh \
|
< ${FILESDIR}/zebractl.sh \
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
MD5 (zebra-0.90a.tar.gz) = 909db298e1d132e79288d92c09458ffe
|
MD5 (zebra-0.91a.tar.gz) = cea38abb7d97fd96563077748a344ea5
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#! /bin/sh
|
#! /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>"
|
# zebra start/stop script by "Andreas Klemm <andreas@FreeBSD.ORG>"
|
||||||
#
|
#
|
||||||
|
@ -19,6 +19,10 @@ fi
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
start)
|
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 ] \
|
[ -f !!PREFIX!!/etc/zebra/zebra.conf ] \
|
||||||
&& !!PREFIX!!/sbin/zebra -d && echo -n ' zebra'
|
&& !!PREFIX!!/sbin/zebra -d && echo -n ' zebra'
|
||||||
[ -f !!PREFIX!!/etc/zebra/ripd.conf ] \
|
[ -f !!PREFIX!!/etc/zebra/ripd.conf ] \
|
||||||
|
|
|
@ -4,7 +4,6 @@ sbin/ripd
|
||||||
sbin/ripngd
|
sbin/ripngd
|
||||||
sbin/zebra
|
sbin/zebra
|
||||||
sbin/zebractl
|
sbin/zebractl
|
||||||
etc/zebra/README.mbgp
|
|
||||||
etc/zebra/bgpd.conf.sample
|
etc/zebra/bgpd.conf.sample
|
||||||
etc/zebra/bgpd.conf.sample2
|
etc/zebra/bgpd.conf.sample2
|
||||||
etc/zebra/ospfd.conf.sample
|
etc/zebra/ospfd.conf.sample
|
||||||
|
|
4
net/zebra-devel/scripts/configure
vendored
4
net/zebra-devel/scripts/configure
vendored
|
@ -17,6 +17,7 @@ Select compile time options for zebra port:" -1 -1 8 \
|
||||||
LIBPAM "enable PAM authentication for vtysh" OFF \
|
LIBPAM "enable PAM authentication for vtysh" OFF \
|
||||||
OSPF_NSSA "turn on undergoing NSSA feature" OFF \
|
OSPF_NSSA "turn on undergoing NSSA feature" OFF \
|
||||||
SNMP "enable SNMP support" OFF \
|
SNMP "enable SNMP support" OFF \
|
||||||
|
TCP-ZEBRA "enable TCP/IP socket connection" OFF \
|
||||||
2> /tmp/zebra-checklist.$$
|
2> /tmp/zebra-checklist.$$
|
||||||
|
|
||||||
retval=$?
|
retval=$?
|
||||||
|
@ -50,6 +51,9 @@ while [ "$1" ]; do
|
||||||
\"SNMP\")
|
\"SNMP\")
|
||||||
echo CONFIGURE_ARGS+=--enable-snmp
|
echo CONFIGURE_ARGS+=--enable-snmp
|
||||||
;;
|
;;
|
||||||
|
\"TCP-ZEBRA\")
|
||||||
|
echo CONFIGURE_ARGS+=--enable-tcp-zebra
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
|
@ -6,8 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= zebra
|
PORTNAME= zebra
|
||||||
PORTVERSION= 0.90a
|
PORTVERSION= 0.91a
|
||||||
PORTREVISION= 3
|
|
||||||
CATEGORIES= net ipv6
|
CATEGORIES= net ipv6
|
||||||
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/
|
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/
|
||||||
|
|
||||||
|
@ -42,6 +41,7 @@ CONFIGURE_ARGS+=--disable-ospf6d --disable-ripngd
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
|
@( cd ${WRKSRC}/doc; rm -f zebra*info*; ${MAKE} zebra.info install )
|
||||||
@${ECHO} "===> installing zebra startup file..."
|
@${ECHO} "===> installing zebra startup file..."
|
||||||
@${SED} -e "s=!!PREFIX!!=${PREFIX}=" \
|
@${SED} -e "s=!!PREFIX!!=${PREFIX}=" \
|
||||||
< ${FILESDIR}/zebractl.sh \
|
< ${FILESDIR}/zebractl.sh \
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
MD5 (zebra-0.90a.tar.gz) = 909db298e1d132e79288d92c09458ffe
|
MD5 (zebra-0.91a.tar.gz) = cea38abb7d97fd96563077748a344ea5
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#! /bin/sh
|
#! /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>"
|
# zebra start/stop script by "Andreas Klemm <andreas@FreeBSD.ORG>"
|
||||||
#
|
#
|
||||||
|
@ -19,6 +19,10 @@ fi
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
start)
|
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 ] \
|
[ -f !!PREFIX!!/etc/zebra/zebra.conf ] \
|
||||||
&& !!PREFIX!!/sbin/zebra -d && echo -n ' zebra'
|
&& !!PREFIX!!/sbin/zebra -d && echo -n ' zebra'
|
||||||
[ -f !!PREFIX!!/etc/zebra/ripd.conf ] \
|
[ -f !!PREFIX!!/etc/zebra/ripd.conf ] \
|
||||||
|
|
|
@ -4,7 +4,6 @@ sbin/ripd
|
||||||
sbin/ripngd
|
sbin/ripngd
|
||||||
sbin/zebra
|
sbin/zebra
|
||||||
sbin/zebractl
|
sbin/zebractl
|
||||||
etc/zebra/README.mbgp
|
|
||||||
etc/zebra/bgpd.conf.sample
|
etc/zebra/bgpd.conf.sample
|
||||||
etc/zebra/bgpd.conf.sample2
|
etc/zebra/bgpd.conf.sample2
|
||||||
etc/zebra/ospfd.conf.sample
|
etc/zebra/ospfd.conf.sample
|
||||||
|
|
4
net/zebra-pj/scripts/configure
vendored
4
net/zebra-pj/scripts/configure
vendored
|
@ -17,6 +17,7 @@ Select compile time options for zebra port:" -1 -1 8 \
|
||||||
LIBPAM "enable PAM authentication for vtysh" OFF \
|
LIBPAM "enable PAM authentication for vtysh" OFF \
|
||||||
OSPF_NSSA "turn on undergoing NSSA feature" OFF \
|
OSPF_NSSA "turn on undergoing NSSA feature" OFF \
|
||||||
SNMP "enable SNMP support" OFF \
|
SNMP "enable SNMP support" OFF \
|
||||||
|
TCP-ZEBRA "enable TCP/IP socket connection" OFF \
|
||||||
2> /tmp/zebra-checklist.$$
|
2> /tmp/zebra-checklist.$$
|
||||||
|
|
||||||
retval=$?
|
retval=$?
|
||||||
|
@ -50,6 +51,9 @@ while [ "$1" ]; do
|
||||||
\"SNMP\")
|
\"SNMP\")
|
||||||
echo CONFIGURE_ARGS+=--enable-snmp
|
echo CONFIGURE_ARGS+=--enable-snmp
|
||||||
;;
|
;;
|
||||||
|
\"TCP-ZEBRA\")
|
||||||
|
echo CONFIGURE_ARGS+=--enable-tcp-zebra
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
|
@ -6,8 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= zebra
|
PORTNAME= zebra
|
||||||
PORTVERSION= 0.90a
|
PORTVERSION= 0.91a
|
||||||
PORTREVISION= 3
|
|
||||||
CATEGORIES= net ipv6
|
CATEGORIES= net ipv6
|
||||||
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/
|
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/
|
||||||
|
|
||||||
|
@ -42,6 +41,7 @@ CONFIGURE_ARGS+=--disable-ospf6d --disable-ripngd
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
|
@( cd ${WRKSRC}/doc; rm -f zebra*info*; ${MAKE} zebra.info install )
|
||||||
@${ECHO} "===> installing zebra startup file..."
|
@${ECHO} "===> installing zebra startup file..."
|
||||||
@${SED} -e "s=!!PREFIX!!=${PREFIX}=" \
|
@${SED} -e "s=!!PREFIX!!=${PREFIX}=" \
|
||||||
< ${FILESDIR}/zebractl.sh \
|
< ${FILESDIR}/zebractl.sh \
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
MD5 (zebra-0.90a.tar.gz) = 909db298e1d132e79288d92c09458ffe
|
MD5 (zebra-0.91a.tar.gz) = cea38abb7d97fd96563077748a344ea5
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#! /bin/sh
|
#! /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>"
|
# zebra start/stop script by "Andreas Klemm <andreas@FreeBSD.ORG>"
|
||||||
#
|
#
|
||||||
|
@ -19,6 +19,10 @@ fi
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
start)
|
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 ] \
|
[ -f !!PREFIX!!/etc/zebra/zebra.conf ] \
|
||||||
&& !!PREFIX!!/sbin/zebra -d && echo -n ' zebra'
|
&& !!PREFIX!!/sbin/zebra -d && echo -n ' zebra'
|
||||||
[ -f !!PREFIX!!/etc/zebra/ripd.conf ] \
|
[ -f !!PREFIX!!/etc/zebra/ripd.conf ] \
|
||||||
|
|
|
@ -4,7 +4,6 @@ sbin/ripd
|
||||||
sbin/ripngd
|
sbin/ripngd
|
||||||
sbin/zebra
|
sbin/zebra
|
||||||
sbin/zebractl
|
sbin/zebractl
|
||||||
etc/zebra/README.mbgp
|
|
||||||
etc/zebra/bgpd.conf.sample
|
etc/zebra/bgpd.conf.sample
|
||||||
etc/zebra/bgpd.conf.sample2
|
etc/zebra/bgpd.conf.sample2
|
||||||
etc/zebra/ospfd.conf.sample
|
etc/zebra/ospfd.conf.sample
|
||||||
|
|
4
net/zebra/scripts/configure
vendored
4
net/zebra/scripts/configure
vendored
|
@ -17,6 +17,7 @@ Select compile time options for zebra port:" -1 -1 8 \
|
||||||
LIBPAM "enable PAM authentication for vtysh" OFF \
|
LIBPAM "enable PAM authentication for vtysh" OFF \
|
||||||
OSPF_NSSA "turn on undergoing NSSA feature" OFF \
|
OSPF_NSSA "turn on undergoing NSSA feature" OFF \
|
||||||
SNMP "enable SNMP support" OFF \
|
SNMP "enable SNMP support" OFF \
|
||||||
|
TCP-ZEBRA "enable TCP/IP socket connection" OFF \
|
||||||
2> /tmp/zebra-checklist.$$
|
2> /tmp/zebra-checklist.$$
|
||||||
|
|
||||||
retval=$?
|
retval=$?
|
||||||
|
@ -50,6 +51,9 @@ while [ "$1" ]; do
|
||||||
\"SNMP\")
|
\"SNMP\")
|
||||||
echo CONFIGURE_ARGS+=--enable-snmp
|
echo CONFIGURE_ARGS+=--enable-snmp
|
||||||
;;
|
;;
|
||||||
|
\"TCP-ZEBRA\")
|
||||||
|
echo CONFIGURE_ARGS+=--enable-tcp-zebra
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Reference in a new issue