0ebeecc36f
Changelog: * Sync to post 1.3.6 * Add 6PE support * Add some CLI commands * Several bugs fixed, some possibly added Submitted by: maintainer Feature safe: Yes
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
# New ports collection makefile for: bird
|
|
# Date created: 8 November 2011
|
|
# Whom: Alexander V. Chernikov <melifaro@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= bird
|
|
PORTVERSION= 20120307
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://bird.mpls.in/distfiles/bird/
|
|
PKGNAMESUFFIX= -devel
|
|
|
|
MAINTAINER= melifaro@ipfw.ru
|
|
COMMENT= Dynamic IP routing daemon (devel version)
|
|
|
|
CONFLICTS= bird-[0-9]*
|
|
|
|
USE_BISON= build
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-mpls
|
|
|
|
OPTIONS= KMPLS "Enable kernel MPLS support" Off
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
USE_RC_SUBR= bird
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_KMPLS)
|
|
CONFIGURE_ARGS+= --enable-kmpls
|
|
.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
|
|
@${ECHO_MSG}
|
|
@${ECHO_MSG} =====================================================================
|
|
@${ECHO_MSG}
|
|
@${ECHO_MSG} " WARNING: Please take a look on kern/134931"
|
|
@${ECHO_MSG} " WARNING: before using multiple fibs!"
|
|
@${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}
|
|
|
|
.include <bsd.port.post.mk>
|