Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 208380
Collapse All | Expand All

(-)heartbeat-2.0.7-r2.ebuild (-5 / +12 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/heartbeat-2.0.7-r2.ebuild,v 1.6 2008/03/06 20:04:24 wolf31o2 Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/heartbeat-2.0.7-r2.ebuild,v 1.6 2008/03/06 20:04:24 wolf31o2 Exp $
4
4
5
inherit flag-o-matic eutils
5
inherit eutils
6
6
7
DESCRIPTION="Heartbeat high availability cluster manager"
7
DESCRIPTION="Heartbeat high availability cluster manager"
8
HOMEPAGE="http://www.linux-ha.org"
8
HOMEPAGE="http://www.linux-ha.org"
Lines 11-17 Link Here
11
LICENSE="GPL-2"
11
LICENSE="GPL-2"
12
SLOT="0"
12
SLOT="0"
13
KEYWORDS="~amd64 -mips ~ppc -s390 x86"
13
KEYWORDS="~amd64 -mips ~ppc -s390 x86"
14
IUSE="ldirectord doc snmp management"
14
IUSE="ldirectord doc snmp management management-gui"
15
15
16
DEPEND="
16
DEPEND="
17
	=dev-libs/glib-2*
17
	=dev-libs/glib-2*
Lines 38-46 Link Here
38
	dev-lang/swig
38
	dev-lang/swig
39
	management? (
39
	management? (
40
		>=dev-lang/python-2.4
40
		>=dev-lang/python-2.4
41
		>=dev-python/pygtk-2.4
42
		>=sys-libs/pam-0.78-r3
41
		>=sys-libs/pam-0.78-r3
43
	)
42
	)
43
	management-gui? (
44
		>=dev-python/pygtk-2.4
45
	)
44
	"
46
	"
45
47
46
src_unpack() {
48
src_unpack() {
Lines 51-58 Link Here
51
}
53
}
52
54
53
src_compile() {
55
src_compile() {
54
	append-ldflags $(bindnow-flags)
55
56
	./configure --prefix=/usr \
56
	./configure --prefix=/usr \
57
		--mandir=/usr/share/man \
57
		--mandir=/usr/share/man \
58
		--sysconfdir=/etc \
58
		--sysconfdir=/etc \
Lines 128-131 Link Here
128
	chown -R cluster:cluster /var/lib/heartbeat/crm
128
	chown -R cluster:cluster /var/lib/heartbeat/crm
129
	chown -R cluster:cluster /var/lib/heartbeat/pengine
129
	chown -R cluster:cluster /var/lib/heartbeat/pengine
130
	chown -R cluster:cluster /var/lib/heartbeat/cores/cluster
130
	chown -R cluster:cluster /var/lib/heartbeat/cores/cluster
131
	if use management ; then
132
		enewgroup haclient
133
		elog "If you intend to use the management GUI to configure heartbeat,"
134
		elog "you will need to add a user to the haclient group with the command:"
135
		elog "\tgpasswd -a <user> haclient"
136
		elog "where <user> is the desired username."
137
	fi
131
}
138
}

Return to bug 208380