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.1.3.ebuild
Date: Fri, 11 Sep 2009 14:01:54
Message-Id: E1Mm6hE-0004AA-Ez@stork.gentoo.org
1 chainsaw 09/09/11 14:01:52
2
3 Modified: ChangeLog
4 Added: bird-1.1.3.ebuild
5 Log:
6 Version bump, contains a core bugfix and corrects AS2->AS4 conversions.
7 (Portage version: 2.1.6.13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.6 net-misc/bird/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/ChangeLog?rev=1.6&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/ChangeLog?rev=1.6&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/ChangeLog?r1=1.5&r2=1.6
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-misc/bird/ChangeLog,v
19 retrieving revision 1.5
20 retrieving revision 1.6
21 diff -u -r1.5 -r1.6
22 --- ChangeLog 24 Aug 2009 12:22:41 -0000 1.5
23 +++ ChangeLog 11 Sep 2009 14:01:52 -0000 1.6
24 @@ -1,6 +1,13 @@
25 # ChangeLog for net-misc/bird
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-misc/bird/ChangeLog,v 1.5 2009/08/24 12:22:41 chainsaw Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-misc/bird/ChangeLog,v 1.6 2009/09/11 14:01:52 chainsaw Exp $
29 +
30 +*bird-1.1.3 (11 Sep 2009)
31 +
32 + 11 Sep 2009; <chainsaw@g.o> +files/1.1.3-nostrip.patch,
33 + +files/initd-v4-bird-1.1.3, +files/initd-v6-bird-1.1.3,
34 + +bird-1.1.3.ebuild:
35 + Version bump, contains a core bugfix and corrects AS2->AS4 conversions.
36
37 *bird-1.1.2 (24 Aug 2009)
38
39
40
41
42 1.1 net-misc/bird/bird-1.1.3.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/bird-1.1.3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/bird-1.1.3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: bird-1.1.3.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-misc/bird/bird-1.1.3.ebuild,v 1.1 2009/09/11 14:01:52 chainsaw Exp $
52
53 inherit eutils
54
55 DESCRIPTION="A routing daemon implementing OSPF, RIPv2 & BGP for IPv4 or IPv6"
56 HOMEPAGE="http://bird.network.cz"
57 SRC_URI="ftp://bird.network.cz/pub/${PN}/${P}.tar.gz"
58 LICENSE="GPL-2"
59
60 SLOT="0"
61 KEYWORDS="~amd64"
62 IUSE="debug ipv6"
63
64 RDEPEND="sys-libs/ncurses
65 sys-libs/readline
66 ${DEPEND}"
67 DEPEND="sys-devel/flex
68 sys-devel/bison
69 sys-devel/m4"
70
71 src_unpack() {
72 unpack ${A}
73 cd "${S}"
74 epatch "${FILESDIR}/${PV}-nostrip.patch"
75 }
76
77 src_compile() {
78 econf \
79 --enable-client \
80 $(use_enable debug) \
81 $(use_enable ipv6) \
82 || die "Configuration stage failed"
83 emake || die "Compilation stage failed"
84 }
85
86 src_install() {
87 emake DESTDIR="${D}" install || die
88 if use ipv6; then
89 # The only thing worse then not supplying
90 # a sample configuration file to a user is
91 # wasting his/her time with a totally
92 # broken one.
93 rm "${D}/etc/bird6.conf"
94 newinitd "${FILESDIR}/initd-v6-${P}" bird6
95 else
96 newinitd "${FILESDIR}/initd-v4-${P}" bird
97 fi
98 }
99
100 pkg_postinst() {
101 if use ipv6; then
102 elog "Please note that only the IPv6 versions of the BIRD client & daemon have been installed."
103 else
104 elog "Please note that only the IPv4 versions of the BIRD client & daemon have been installed."
105 fi
106 elog "BIRDs build system is not currently suited to providing both."
107 }