mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
a15d266ac4
From its developer: Hi, this is Kunihiro. I think this version is the most stable OSPF version ever had. We'll keep on fixing and adding new feature to ospfd. And also some BGP's route selection problems are fixed. Many patches are included. * Changes in zebra-0.86 * Changes in lib ** Fix bug of exec-timeout command which may cause crush. ** Multiple same policy for "access-list", "ip prefix-list, "as-path access-list", "ip community-list" is not duplicated. ** It used to be "ip prefix-list A.B.C.D/M" match routes which mask >= M. Now default behavior is exact match so it only match routes which mask == M. * Changes in bgpd ** "match ip address prefix-list" is added to route-map. ** A route without local preference is evaluated as 100 local preference. ** Select smaller router-id route when other values are same. ** Compare MED only both routes comes from same neighboring AS. ** "bgp always-compare-med" command is added. ** Now MED value is passed to IBGP peer. ** When neighbor's filter is configured with non-existent access-list, as-path access-list, ip prefix-list, route-map. The behavior is changed from all permit to all deny. * Changes in ospfd ** Fix bug of external route tag byte order. ** OSPF Neighbor deletion bug which cause crush is fixed. ** Some route calculation bug are fixed. ** Add sanity check with router routing table. ** Fix bug of memory leak about linklist. ** Fix bug of 1-WayReceived in NSM. ** Take care of BIGENDIAN architecture. ** Fix bug of NSM state flapping between ExStart and Exchange. ** Fix bug of Network-LSA originated in stub network. ** Fix bug of MS flag unset. ** Add to schedule router_lsa origination when the interface cost changes. ** Increment LS age by configured interface transmit_delay. ** distribute-list is reimplemented. ** Fix bug of refresh never occurs. ** Fix bug of summary-LSAs reorigination. Correctly copy OSPF_LSA_APPROVED flag to new LSA. when summary-LSA is reoriginatd. ** Fix bug of re-origination when a neighbor disappears. ** Fix bug of segmentation fault with DD retransmission. ** Fix network-LSA re-origination problem. ** Fix problem of remaining withdrawn routes on zebra. * Changes in ripd ** Do not leave from multicast group when interface goes down bug is fixed. * Changes in zebra ** Remove client structure when client dies. ** Take care static route when interface goes up/down.
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# New ports collection makefile for: zebra
|
|
# Date created: So 31 Mai 1998 11:00:30 CEST
|
|
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= zebra
|
|
PORTVERSION= 0.86
|
|
CATEGORIES= net ipv6
|
|
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/
|
|
# you might need debugging, it's a developer release !
|
|
#CFLAGS+= -g
|
|
|
|
MAINTAINER= andreas@FreeBSD.org
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc/zebra
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 400014
|
|
PLIST:= ${WRKDIR}/PLIST
|
|
pre-install:
|
|
@${CAT} ${PKGDIR}/PLIST.v6 > ${PLIST}
|
|
@${CAT} ${PKGDIR}/PLIST >> ${PLIST}
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-ospf6d --disable-ripngd
|
|
.endif
|
|
|
|
post-install:
|
|
@${ECHO} "===> installing zebra startup file..."
|
|
@${SED} -e "s=!!PREFIX!!=${PREFIX}=" \
|
|
< ${FILESDIR}/zebractl.sh \
|
|
> ${PREFIX}/sbin/zebractl
|
|
@${CHMOD} 555 ${PREFIX}/sbin/zebractl
|
|
@${ECHO} "Make these entries in /etc/rc.conf to start zebra:"
|
|
@${ECHO} "defaultrouter=\"NO\""
|
|
@${ECHO} "router_enable=\"YES\""
|
|
@${ECHO} "router=\"${PREFIX}/sbin/zebractl\""
|
|
@${ECHO} "router_flags=\"start\""
|
|
@${ECHO} "done."
|
|
|
|
.include <bsd.port.post.mk>
|