freebsd-ports/net/zebra-pj/Makefile

58 lines
1.4 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: zebra
# Date created: So 31 Mai 1998 11:00:30 CEST
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
1999-08-30 16:24:37 +02:00
# $FreeBSD$
#
PORTNAME= zebra
PORTVERSION= 0.91a
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/
MAINTAINER= andreas_and_joe@tao.org.uk
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc/zebra
MAN1= vtysh.1
MAN8= bgpd.8 ospf6d.8 ospfd.8 ripd.8 ripngd.8 zebra.8
upgrade to new zebra version 0.90 - removed PORTREVISION (new version) - new configure script: dialog menue allows you to set different zebra compile time options (if ! BATCH), currently supported: --with-libpam = enable PAM authentication for vtysh --enable-nssa = enable OSPF NSSA --enable-snmp = enable SNMP support - please note: port compiles fine when all options are set, but functionality has not been tested by me. - silence portlint, trim pkg-comment to <=70 columns - remove unneeded patch patch, 0.90 now contains fix for memory leak - cosmetic: add patch for Makefile.in (don't link with -g) - portlint: o.k. In this BETA --enable-unixdomain and --enable-newrib became default ! To get old implementation back use the following configure options: --enable-tcp-zebra # TCP/IP socket is used for protocol daemon and zebra. --enable-oldrib # Turn on old RIB implementation. Note: I didn't add these options to configure script, so that people don't choose the wrong thing ! Some milestones of this release (see file NEWS for complete list): - access-lists can have remarks - memory leak with access-list and prefix-list name fixed - UNIX domain socket server of zebra protocol is added - PointoPoint interface network bug fixed - Metric value is reflected to kernel routing table - New RIB implementation has been added: - BGP passive peer support problem is fixed - Redistributed IGP nexthop is passed to BGP nexthop - Fix bug of holdtimer is not reset when bgp cleared - BGP-MIB implementation is finished - When BGP connection comes from unconfigured IP address, close socket immediately. - BGP flap dampening feature is added * RIP - Fix bug of refreshing default route * OSPF - Fix bug of Hello packet's option is not properly set when interface comes up - Reduce unconditional logging - New command for virtual-link configuration - Memory leak related classfull network generation is fixed
2001-01-11 22:45:05 +01:00
.if !defined(BATCH)
pre-configure:
@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
post-clean:
@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
.endif
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 400014
PLIST:= ${WRKDIR}/PLIST
pre-install:
@${CAT} ${PKGDIR}/pkg-plist.v6 ${PKGDIR}/pkg-plist > ${PLIST}
.else
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 \
> ${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>