Gentoo Archives: gentoo-commits

From: "Alexys Jacob (ultrabug)" <ultrabug@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-cluster/pacemaker: ChangeLog pacemaker-1.0.11.ebuild
Date: Tue, 05 Jul 2011 07:29:03
Message-Id: 20110705072853.4192C2004B@flycatcher.gentoo.org
1 ultrabug 11/07/05 07:28:53
2
3 Modified: ChangeLog
4 Added: pacemaker-1.0.11.ebuild
5 Log:
6 Version bump wrt #373481.
7
8 (Portage version: 2.1.10.3/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.12 sys-cluster/pacemaker/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/pacemaker/ChangeLog?rev=1.12&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/pacemaker/ChangeLog?rev=1.12&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/pacemaker/ChangeLog?r1=1.11&r2=1.12
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/pacemaker/ChangeLog,v
20 retrieving revision 1.11
21 retrieving revision 1.12
22 diff -u -r1.11 -r1.12
23 --- ChangeLog 21 Feb 2011 14:39:27 -0000 1.11
24 +++ ChangeLog 5 Jul 2011 07:28:53 -0000 1.12
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-cluster/pacemaker
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pacemaker/ChangeLog,v 1.11 2011/02/21 14:39:27 ultrabug Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pacemaker/ChangeLog,v 1.12 2011/07/05 07:28:53 ultrabug Exp $
30 +
31 +*pacemaker-1.0.11 (05 Jul 2011)
32 +
33 + 05 Jul 2011; Ultrabug <ultrabug@g.o> +pacemaker-1.0.11.ebuild:
34 + Version bump wrt #373481.
35
36 *pacemaker-1.1.4-r4 (21 Feb 2011)
37
38
39
40
41 1.1 sys-cluster/pacemaker/pacemaker-1.0.11.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/pacemaker/pacemaker-1.0.11.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/pacemaker/pacemaker-1.0.11.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pacemaker-1.0.11.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/pacemaker/pacemaker-1.0.11.ebuild,v 1.1 2011/07/05 07:28:53 ultrabug Exp $
51
52 EAPI="2"
53
54 MY_PN="Pacemaker"
55 MY_P="${MY_PN}-${PV}"
56 PYTHON_DEPEND="2"
57 inherit python autotools multilib eutils base flag-o-matic
58
59 DESCRIPTION="Pacemaker CRM"
60 HOMEPAGE="http://www.clusterlabs.org/"
61 SRC_URI="http://hg.clusterlabs.org/${PN}/stable-1.0/archive/${MY_P}.tar.bz2"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~hppa ~x86"
66 IUSE="+ais heartbeat smtp snmp static-libs"
67
68 RDEPEND="
69 dev-libs/libxslt
70 sys-cluster/cluster-glue
71 sys-cluster/resource-agents
72 ais? ( sys-cluster/openais )
73 heartbeat? ( >=sys-cluster/heartbeat-3.0.0 )
74 smtp? ( net-libs/libesmtp )
75 snmp? ( net-analyzer/net-snmp )
76 !heartbeat? ( !ais? ( sys-cluster/openais ) )
77 "
78 DEPEND="${RDEPEND}"
79
80 PATCHES=(
81 "${FILESDIR}/${PN}-1.0.10-asneeded.patch"
82 "${FILESDIR}/${PN}-1.0.10-installpaths.patch"
83 )
84
85 S="${WORKDIR}/${MY_PN}-1-0-${MY_P}"
86
87 pkg_setup() {
88 if ! use ais && ! use heartbeat; then
89 ewarn "You disabled both cluster implementations"
90 ewarn "Silently enabling OpenAIS/CoroSync support."
91 fi
92
93 python_set_active_version 2
94 python_pkg_setup
95 }
96
97 src_prepare() {
98 base_src_prepare
99 sed -i -e "/ggdb3/d" configure.ac || die
100 eautoreconf
101 }
102
103 src_configure() {
104 local myopts=""
105
106 use heartbeat || use ais || myopts="--with-ais"
107 # appends lib to localstatedir automatically
108 econf \
109 --localstatedir=/var \
110 --disable-dependency-tracking \
111 --disable-fatal-warnings \
112 $(use_with ais) \
113 $(use_with heartbeat) \
114 $(use_with smtp esmtp) \
115 $(use_with snmp) \
116 $(use_enable static-libs static) \
117 ${myopts}
118 }