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: bird-1.1.4.ebuild ChangeLog
Date: Fri, 02 Oct 2009 11:52:11
Message-Id: E1MtggC-0000fu-VP@stork.gentoo.org
1 chainsaw 09/10/02 11:52:08
2
3 Modified: ChangeLog
4 Added: bird-1.1.4.ebuild
5 Log:
6 Version bump with minor bugfixes. Also adds passive BGP support.
7 (Portage version: 2.1.6.13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.7 net-misc/bird/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/ChangeLog?rev=1.7&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/ChangeLog?rev=1.7&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/ChangeLog?r1=1.6&r2=1.7
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-misc/bird/ChangeLog,v
19 retrieving revision 1.6
20 retrieving revision 1.7
21 diff -u -r1.6 -r1.7
22 --- ChangeLog 11 Sep 2009 14:01:52 -0000 1.6
23 +++ ChangeLog 2 Oct 2009 11:52:08 -0000 1.7
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.6 2009/09/11 14:01:52 chainsaw Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-misc/bird/ChangeLog,v 1.7 2009/10/02 11:52:08 chainsaw Exp $
29 +
30 +*bird-1.1.4 (02 Oct 2009)
31 +
32 + 02 Oct 2009; <chainsaw@g.o> +files/1.1.4-nostrip.patch,
33 + files/initd-v6-bird-1.1.3, +files/initd-v4-bird-1.1.4,
34 + +files/initd-v6-bird-1.1.4, +bird-1.1.4.ebuild:
35 + Version bump with minor bugfixes. Also adds passive BGP support.
36
37 *bird-1.1.3 (11 Sep 2009)
38
39
40
41
42 1.1 net-misc/bird/bird-1.1.4.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/bird-1.1.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/bird/bird-1.1.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: bird-1.1.4.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.4.ebuild,v 1.1 2009/10/02 11:52:08 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 }