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.2.4.ebuild
Date: Mon, 06 Sep 2010 14:46:00
Message-Id: 20100906144553.D316120054@flycatcher.gentoo.org
1 chainsaw 10/09/06 14:45:53
2
3 Modified: ChangeLog
4 Added: bird-1.2.4.ebuild
5 Log:
6 Version bump. Now compiles again in full debug mode; closes bug #335790 by Luca Postregna.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.14 net-misc/bird/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bird/ChangeLog?rev=1.14&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bird/ChangeLog?rev=1.14&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bird/ChangeLog?r1=1.13&r2=1.14
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-misc/bird/ChangeLog,v
19 retrieving revision 1.13
20 retrieving revision 1.14
21 diff -u -r1.13 -r1.14
22 --- ChangeLog 23 Aug 2010 11:29:16 -0000 1.13
23 +++ ChangeLog 6 Sep 2010 14:45:53 -0000 1.14
24 @@ -1,6 +1,14 @@
25 # ChangeLog for net-misc/bird
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-misc/bird/ChangeLog,v 1.13 2010/08/23 11:29:16 chainsaw Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-misc/bird/ChangeLog,v 1.14 2010/09/06 14:45:53 chainsaw Exp $
29 +
30 +*bird-1.2.4 (06 Sep 2010)
31 +
32 + 06 Sep 2010; <chainsaw@g.o> +files/1.2.4-v4-v6-build.patch,
33 + +files/initd-v4-bird-1.2.4, +files/initd-v6-bird-1.2.4,
34 + +bird-1.2.4.ebuild:
35 + Version bump. Now compiles again in full debug mode; closes bug #335790 by
36 + Luca Postregna.
37
38 *bird-1.2.3-r1 (23 Aug 2010)
39
40
41
42
43 1.1 net-misc/bird/bird-1.2.4.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bird/bird-1.2.4.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bird/bird-1.2.4.ebuild?rev=1.1&content-type=text/plain
47
48 Index: bird-1.2.4.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-misc/bird/bird-1.2.4.ebuild,v 1.1 2010/09/06 14:45:53 chainsaw Exp $
53
54 EAPI=1
55
56 inherit base autotools
57
58 DESCRIPTION="A routing daemon implementing OSPF, RIPv2 & BGP for IPv4 or IPv6"
59 HOMEPAGE="http://bird.network.cz"
60 SRC_URI="ftp://bird.network.cz/pub/${PN}/${P}.tar.gz"
61 LICENSE="GPL-2"
62
63 SLOT="0"
64 KEYWORDS="~amd64"
65 IUSE="debug ipv6"
66
67 RDEPEND="sys-libs/ncurses
68 sys-libs/readline
69 ${DEPEND}"
70 DEPEND="sys-devel/flex
71 sys-devel/bison
72 sys-devel/m4"
73
74 PATCHES=(
75 "${FILESDIR}/${PV}-v4-v6-build.patch"
76 )
77
78 src_prepare() {
79 base_src_prepare
80 eautoreconf
81 }
82
83 src_compile() {
84 econf \
85 --enable-client \
86 --enable-ipv4 \
87 --disable-ipv6 \
88 $(use_enable debug) \
89 || die "V4 configuration stage failed"
90 emake || die "V4 compilation stage failed"
91 if use ipv6; then
92 emake almost-clean
93 econf \
94 --enable-client \
95 --enable-ipv6 \
96 --disable-ipv4 \
97 $(use_enable debug) \
98 || die "V6 configuration stage failed"
99 emake || die "V6 compilation stage failed"
100 fi
101 }
102
103 src_install() {
104 if use ipv6; then
105 dobin birdc6
106 dosbin bird6
107 newinitd "${FILESDIR}/initd-v6-${P}" bird6 || die "V6 init script installation failed"
108 fi
109 dobin birdc
110 dosbin bird
111 newinitd "${FILESDIR}/initd-v4-${P}" bird || die "V4 init script installation failed"
112 dodoc doc/bird.conf.example || die "configuration example installation failed"
113 }