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