mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
7b2e3e4ebd
This is development version of net/bird dynamic routing software. It provides ALPHA support for the following: - VPNv4 RR - LDP - L3VPN Submitted by: melifaro
53 lines
1.3 KiB
Makefile
53 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= 20111107
|
|
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>
|