Gentoo Archives: gentoo-commits

From: "Tony Vroon (chainsaw)" <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/bird: ChangeLog bird-1.3.1.ebuild
Date: Mon, 02 May 2011 12:05:48
Message-Id: 20110502120538.56AC32004B@flycatcher.gentoo.org
1 chainsaw 11/05/02 12:05:38
2
3 Modified: ChangeLog
4 Added: bird-1.3.1.ebuild
5 Log:
6 Improved support for multi-exit discriminator (MED) through the MED metric attribute. Adds kernel route attributes krt_prefsrc & krt_realm. It is now possible to use constants from /etc/iproute2/rt_* files. Several minor bugfixes.
7
8 (Portage version: 2.1.9.46/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.17 net-misc/bird/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bird/ChangeLog?rev=1.17&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bird/ChangeLog?rev=1.17&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bird/ChangeLog?r1=1.16&r2=1.17
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/bird/ChangeLog,v
20 retrieving revision 1.16
21 retrieving revision 1.17
22 diff -u -r1.16 -r1.17
23 --- ChangeLog 31 Mar 2011 09:48:53 -0000 1.16
24 +++ ChangeLog 2 May 2011 12:05:37 -0000 1.17
25 @@ -1,6 +1,15 @@
26 # ChangeLog for net-misc/bird
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/bird/ChangeLog,v 1.16 2011/03/31 09:48:53 chainsaw Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/bird/ChangeLog,v 1.17 2011/05/02 12:05:37 chainsaw Exp $
30 +
31 +*bird-1.3.1 (02 May 2011)
32 +
33 + 02 May 2011; Tony Vroon <chainsaw@g.o> +files/1.3.1-v4-v6-build.patch,
34 + +files/initd-v4-bird-1.3.1, +files/initd-v6-bird-1.3.1, +bird-1.3.1.ebuild:
35 + Improved support for multi-exit discriminator (MED) through the MED metric
36 + attribute. Adds kernel route attributes krt_prefsrc & krt_realm. It is now
37 + possible to use constants from /etc/iproute2/rt_* files. Several minor
38 + bugfixes.
39
40 *bird-1.3.0 (31 Mar 2011)
41
42
43
44
45 1.1 net-misc/bird/bird-1.3.1.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bird/bird-1.3.1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bird/bird-1.3.1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: bird-1.3.1.ebuild
51 ===================================================================
52 # Copyright 1999-2011 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/net-misc/bird/bird-1.3.1.ebuild,v 1.1 2011/05/02 12:05:38 chainsaw Exp $
55
56 EAPI=1
57
58 inherit base autotools
59
60 DESCRIPTION="A routing daemon implementing OSPF, RIPv2 & BGP for IPv4 or IPv6"
61 HOMEPAGE="http://bird.network.cz"
62 SRC_URI="ftp://bird.network.cz/pub/${PN}/${P}.tar.gz"
63 LICENSE="GPL-2"
64
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="debug ipv6"
68
69 RDEPEND="sys-libs/ncurses
70 sys-libs/readline
71 ${DEPEND}"
72 DEPEND="sys-devel/flex
73 sys-devel/bison
74 sys-devel/m4"
75
76 PATCHES=(
77 "${FILESDIR}/${PV}-v4-v6-build.patch"
78 )
79
80 src_prepare() {
81 base_src_prepare
82 eautoreconf
83 }
84
85 src_compile() {
86 econf \
87 --enable-client \
88 --enable-ipv4 \
89 --disable-ipv6 \
90 --localstatedir=/var \
91 $(use_enable debug) \
92 || die "V4 configuration stage failed"
93 emake || die "V4 compilation stage failed"
94 if use ipv6; then
95 emake almost-clean
96 econf \
97 --enable-client \
98 --enable-ipv6 \
99 --disable-ipv4 \
100 --localstatedir=/var \
101 $(use_enable debug) \
102 || die "V6 configuration stage failed"
103 emake || die "V6 compilation stage failed"
104 fi
105 }
106
107 src_install() {
108 if use ipv6; then
109 dobin birdc6
110 dosbin bird6
111 newinitd "${FILESDIR}/initd-v6-${P}" bird6 || die "V6 init script installation failed"
112 fi
113 dobin birdc
114 dosbin bird
115 newinitd "${FILESDIR}/initd-v4-${P}" bird || die "V4 init script installation failed"
116 dodoc doc/bird.conf.example || die "configuration example installation failed"
117 }