Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-cluster/pacemaker: ChangeLog pacemaker-1.0.9.1.ebuild pacemaker-1.0.8.ebuild
Date: Mon, 02 Aug 2010 13:02:20
Message-Id: 20100802125748.DD0562CE15@corvid.gentoo.org
1 scarabeus 10/08/02 12:57:48
2
3 Modified: ChangeLog
4 Added: pacemaker-1.0.9.1.ebuild
5 Removed: pacemaker-1.0.8.ebuild
6 Log:
7 Add latest pacemaker version. Drop older. Thx to LuckyLuke for reportin'.
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.5 sys-cluster/pacemaker/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/pacemaker/ChangeLog?rev=1.5&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/pacemaker/ChangeLog?rev=1.5&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/pacemaker/ChangeLog?r1=1.4&r2=1.5
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/pacemaker/ChangeLog,v
20 retrieving revision 1.4
21 retrieving revision 1.5
22 diff -u -r1.4 -r1.5
23 --- ChangeLog 16 Jul 2010 10:49:21 -0000 1.4
24 +++ ChangeLog 2 Aug 2010 12:57:47 -0000 1.5
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-cluster/pacemaker
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pacemaker/ChangeLog,v 1.4 2010/07/16 10:49:21 scarabeus Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pacemaker/ChangeLog,v 1.5 2010/08/02 12:57:47 scarabeus Exp $
30 +
31 +*pacemaker-1.0.9.1 (02 Aug 2010)
32 +
33 + 02 Aug 2010; Tomáš Chvátal <scarabeus@g.o>
34 + -pacemaker-1.0.8.ebuild, +pacemaker-1.0.9.1.ebuild:
35 + Add latest pacemaker version. Drop older. Thx to LuckyLuke for reportin'.
36
37 16 Jul 2010; Tomáš Chvátal <scarabeus@g.o>
38 pacemaker-1.0.8.ebuild:
39
40
41
42 1.1 sys-cluster/pacemaker/pacemaker-1.0.9.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/pacemaker/pacemaker-1.0.9.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/pacemaker/pacemaker-1.0.9.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pacemaker-1.0.9.1.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/pacemaker/pacemaker-1.0.9.1.ebuild,v 1.1 2010/08/02 12:57:48 scarabeus Exp $
52
53 EAPI="2"
54
55 MY_PN="Pacemaker"
56 MY_P="${MY_PN}-${PV}"
57 PYTHON_DEPEND="2"
58 inherit python autotools multilib eutils base flag-o-matic
59
60 DESCRIPTION="Pacemaker CRM"
61 HOMEPAGE="http://www.clusterlabs.org/"
62 SRC_URI="http://hg.clusterlabs.org/${PN}/stable-1.0/archive/${MY_P}.tar.bz2"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~hppa ~x86"
67 IUSE="+ais heartbeat snmp static-libs"
68
69 RDEPEND="
70 dev-libs/libxslt
71 sys-cluster/cluster-glue
72 sys-cluster/resource-agents
73 ais? ( sys-cluster/openais )
74 heartbeat? ( >=sys-cluster/heartbeat-3.0.0 )
75 snmp? ( net-analyzer/net-snmp )
76 !heartbeat? ( !ais? ( sys-cluster/openais ) )
77 "
78 DEPEND="${RDEPEND}"
79
80 PATCHES=(
81 "${FILESDIR}/${PN}-1.0.8-asneeded.patch"
82 "${FILESDIR}/${PN}-1.0.8-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 --without-esnmp \
113 $(use_with ais) \
114 $(use_with heartbeat) \
115 $(use_with snmp) \
116 $(use_enable static-libs static) \
117 ${myopts}
118 }