1 |
xarthisius 10/10/06 07:13:42 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: heartbeat-3.0.3-r1.ebuild |
5 |
Removed: heartbeat-3.0.3.ebuild |
6 |
Log: |
7 |
Don't hardcode uid/gid, use those provided by sys-cluster/cluster-glue. Drop old. |
8 |
|
9 |
(Portage version: 2.2_rc88/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.86 sys-cluster/heartbeat/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/heartbeat/ChangeLog?rev=1.86&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/heartbeat/ChangeLog?rev=1.86&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/heartbeat/ChangeLog?r1=1.85&r2=1.86 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/ChangeLog,v |
21 |
retrieving revision 1.85 |
22 |
retrieving revision 1.86 |
23 |
diff -u -r1.85 -r1.86 |
24 |
--- ChangeLog 29 Sep 2010 11:54:36 -0000 1.85 |
25 |
+++ ChangeLog 6 Oct 2010 07:13:42 -0000 1.86 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for sys-cluster/heartbeat |
28 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/ChangeLog,v 1.85 2010/09/29 11:54:36 cla Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/ChangeLog,v 1.86 2010/10/06 07:13:42 xarthisius Exp $ |
31 |
+ |
32 |
+*heartbeat-3.0.3-r1 (06 Oct 2010) |
33 |
+ |
34 |
+ 06 Oct 2010; Kacper Kowalik <xarthisius@g.o> |
35 |
+ -heartbeat-3.0.3.ebuild, +heartbeat-3.0.3-r1.ebuild: |
36 |
+ Don't hardcode uid/gid, use those provided by sys-cluster/cluster-glue. |
37 |
+ Drop old. |
38 |
|
39 |
29 Sep 2010; Dawid Węgliński <cla@g.o> heartbeat-2.0.8.ebuild, |
40 |
+files/heartbeat-2.0.8-crm-assert.patch: |
41 |
|
42 |
|
43 |
|
44 |
1.1 sys-cluster/heartbeat/heartbeat-3.0.3-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/heartbeat/heartbeat-3.0.3-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/heartbeat/heartbeat-3.0.3-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: heartbeat-3.0.3-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2010 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/heartbeat-3.0.3-r1.ebuild,v 1.1 2010/10/06 07:13:42 xarthisius Exp $ |
54 |
|
55 |
EAPI="2" |
56 |
|
57 |
PYTHON_DEPEND="2" |
58 |
inherit python autotools multilib eutils base |
59 |
|
60 |
DESCRIPTION="Heartbeat high availability cluster manager" |
61 |
HOMEPAGE="http://www.linux-ha.org/wiki/Heartbeat" |
62 |
SRC_URI="http://hg.linux-ha.org/${PN}-STABLE_3_0/archive/STABLE-${PV}.tar.bz2" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~x86" |
67 |
IUSE="doc snmp static-libs" |
68 |
|
69 |
RDEPEND=" |
70 |
sys-cluster/cluster-glue |
71 |
dev-libs/glib:2 |
72 |
virtual/ssh |
73 |
net-libs/gnutls |
74 |
snmp? ( net-analyzer/net-snmp ) |
75 |
dev-lang/swig |
76 |
" |
77 |
DEPEND="${RDEPEND} |
78 |
dev-util/pkgconfig" |
79 |
PDEPEND="sys-cluster/resource-agents" |
80 |
|
81 |
S="${WORKDIR}/Heartbeat-3-0-STABLE-${PV}" |
82 |
|
83 |
PATCHES=( |
84 |
"${FILESDIR}/${PV}-fix_configure.patch" |
85 |
"${FILESDIR}/${PV}-docs.patch" |
86 |
"${FILESDIR}/${PV}-python_tests.patch" |
87 |
) |
88 |
|
89 |
pkg_setup() { |
90 |
python_set_active_version 2 |
91 |
python_pkg_setup |
92 |
} |
93 |
|
94 |
src_prepare() { |
95 |
base_src_prepare |
96 |
eautoreconf |
97 |
} |
98 |
|
99 |
src_configure() { |
100 |
econf \ |
101 |
--disable-dependency-tracking \ |
102 |
--disable-fatal-warnings \ |
103 |
$(use_enable static-libs static) \ |
104 |
$(use_enable doc) \ |
105 |
--disable-tipc \ |
106 |
--enable-libnet \ |
107 |
--enable-ipmilan \ |
108 |
--enable-dopd \ |
109 |
--libdir=/usr/$(get_libdir) \ |
110 |
--localstatedir=/var \ |
111 |
--docdir=/usr/share/doc/${PF} \ |
112 |
$(use_enable snmp) |
113 |
} |
114 |
|
115 |
src_install() { |
116 |
base_src_install |
117 |
|
118 |
cp "${FILESDIR}"/heartbeat-init "${T}/" || die |
119 |
sed -i \ |
120 |
-e "s:%libdir%:$(get_libdir):" \ |
121 |
"${T}/heartbeat-init" || die |
122 |
newinitd "${T}/heartbeat-init" heartbeat || die |
123 |
|
124 |
# fix collisions |
125 |
rm -rf "${D}"/usr/include/heartbeat/{compress,ha_msg}.h |
126 |
|
127 |
if use doc ; then |
128 |
dodoc README doc/*.txt doc/AUTHORS || die |
129 |
fi |
130 |
} |