mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
b68000871f
- Update fibs patch (stop bird dumping core on shutdown) - Update include patch (config errors are displayed correctly after SIGHUP or configure) - Remove bgp patch (included in tree now) PR: ports/159330 Submitted by: Alexander V. Chernikov <melifaro@ipfw.ru> (maintainer)
56 lines
1.4 KiB
Makefile
56 lines
1.4 KiB
Makefile
# New ports collection makefile for: bird
|
|
# Date created: 12th May 2005
|
|
# Whom: Pav Lucistnik <pav@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= bird
|
|
PORTVERSION= 1.3.2
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://bird.network.cz/pub/bird/
|
|
|
|
MAINTAINER= melifaro@ipfw.ru
|
|
COMMENT= Dynamic IP routing daemon (IPv4 version)
|
|
|
|
USE_BISON= build
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
OPTIONS= FIBS "Enable multiple fib support" Off \
|
|
CONFIG_INCLUDES "Permit config 'include' keyword" Off
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
USE_RC_SUBR= bird
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_FIBS)
|
|
EXTRA_PATCHES+= ${FILESDIR}/fibs.diff
|
|
.endif
|
|
|
|
.if defined(WITH_CONFIG_INCLUDES)
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra-config_includes.diff
|
|
.endif
|
|
|
|
post-install:
|
|
@if [ ! -f ${PREFIX}/etc/bird.conf ]; then \
|
|
${CP} -p ${PREFIX}/etc/bird.conf.example ${PREFIX}/etc/bird.conf ; \
|
|
${CHMOD} 0640 ${PREFIX}/etc/bird.conf ; \
|
|
fi
|
|
.if defined(WITH_FIBS)
|
|
@${ECHO_MSG}
|
|
@${ECHO_MSG} =====================================================================
|
|
@${ECHO_MSG}
|
|
@${ECHO_MSG} " WARNING: Please take a look on kern/134931"
|
|
@${ECHO_MSG} " WARNING: before using multiple fibs in production!"
|
|
@${ECHO_MSG} " 8.2-STABLE kernel patch available here:"
|
|
@${ECHO_MSG} " http://static.ipfw.ru/patches/rtsock_82S-20110725.diff"
|
|
@${ECHO_MSG}
|
|
@${ECHO_MSG} =====================================================================
|
|
@${ECHO_MSG}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|