diff options
author | andreas <andreas@FreeBSD.org> | 2001-03-23 06:31:17 +0800 |
---|---|---|
committer | andreas <andreas@FreeBSD.org> | 2001-03-23 06:31:17 +0800 |
commit | a5a0ac46bc92afc6d95921f8666498cc311600c7 (patch) | |
tree | f08511e5682a6fa2025f7163b1f36ecae341c675 /net/zebra-pj | |
parent | 798406fca4553d3d7988b98eb33937bdd3c0dafa (diff) | |
download | freebsd-ports-gnome-a5a0ac46bc92afc6d95921f8666498cc311600c7.tar.gz freebsd-ports-gnome-a5a0ac46bc92afc6d95921f8666498cc311600c7.tar.zst freebsd-ports-gnome-a5a0ac46bc92afc6d95921f8666498cc311600c7.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.
Diffstat (limited to 'net/zebra-pj')
-rw-r--r-- | net/zebra-pj/Makefile | 4 | ||||
-rw-r--r-- | net/zebra-pj/distinfo | 2 | ||||
-rw-r--r-- | net/zebra-pj/files/zebractl.sh | 6 | ||||
-rw-r--r-- | net/zebra-pj/pkg-plist | 1 | ||||
-rw-r--r-- | net/zebra-pj/scripts/configure | 4 |
5 files changed, 12 insertions, 5 deletions
diff --git a/net/zebra-pj/Makefile b/net/zebra-pj/Makefile index 24377458d5ad..e0e4063e31be 100644 --- a/net/zebra-pj/Makefile +++ b/net/zebra-pj/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-pj/distinfo b/net/zebra-pj/distinfo index 6b27cda85028..e9a51f0707a2 100644 --- a/net/zebra-pj/distinfo +++ b/net/zebra-pj/distinfo @@ -1 +1 @@ -MD5 (zebra-0.90a.tar.gz) = 909db298e1d132e79288d92c09458ffe +MD5 (zebra-0.91a.tar.gz) = cea38abb7d97fd96563077748a344ea5 diff --git a/net/zebra-pj/files/zebractl.sh b/net/zebra-pj/files/zebractl.sh index 40a8a2ca59c4..f06ff92f66a7 100644 --- a/net/zebra-pj/files/zebractl.sh +++ b/net/zebra-pj/files/zebractl.sh @@ -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 ] \ diff --git a/net/zebra-pj/pkg-plist b/net/zebra-pj/pkg-plist index ddc59b7219ab..10e30b77236a 100644 --- a/net/zebra-pj/pkg-plist +++ b/net/zebra-pj/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-pj/scripts/configure b/net/zebra-pj/scripts/configure index e5bb2a6fed13..f2a02dc53a82 100644 --- a/net/zebra-pj/scripts/configure +++ b/net/zebra-pj/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 |