blob: 2aaffd3a170add412974c44445ccd241fadf6cee (
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
50
|
# New ports collection makefile for: bird
# Date created: 12th May 2005
# Whom: Pav Lucistnik <pav@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= bird
PORTVERSION= 1.3.4
PORTREVESION= 1
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
MAKE_JOBS_UNSAFE= yes
USE_RC_SUBR= bird
.include <bsd.port.pre.mk>
.if defined(WITH_FIBS)
EXTRA_PATCHES+= ${FILESDIR}/fibs.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} " This PR was fixed in r225975(8.2-S) on Oct 4, 2011"
@${ECHO_MSG}
@${ECHO_MSG} =====================================================================
@${ECHO_MSG}
.endif
.include <bsd.port.post.mk>
|