blob: 8421380086e578f93cf810626801e75ae319d592 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Created by: Alexander V. Chernikov <melifaro@FreeBSD.org>
# $FreeBSD$
PORTNAME= bird
PORTVERSION= 20130301
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]*
USES= bison
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var --enable-mpls
USE_CSTD= gnu89
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>
|