summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2007-03-01 00:51:27 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2007-03-01 00:51:27 +0000
commit113634f2ed231798c63bcdda7971e2b969316fac (patch)
treed27aa646eec56575144645420bc4cce695629a47 /sys-cluster/heartbeat/heartbeat-2.0.7-r2.ebuild
parentMerged some fixes. (diff)
downloadgentoo-2-113634f2ed231798c63bcdda7971e2b969316fac.tar.gz
gentoo-2-113634f2ed231798c63bcdda7971e2b969316fac.tar.bz2
gentoo-2-113634f2ed231798c63bcdda7971e2b969316fac.zip
Merged some fixes in 2.0.7.
(Portage version: 2.1.2-r9)
Diffstat (limited to 'sys-cluster/heartbeat/heartbeat-2.0.7-r2.ebuild')
-rw-r--r--sys-cluster/heartbeat/heartbeat-2.0.7-r2.ebuild16
1 files changed, 14 insertions, 2 deletions
diff --git a/sys-cluster/heartbeat/heartbeat-2.0.7-r2.ebuild b/sys-cluster/heartbeat/heartbeat-2.0.7-r2.ebuild
index 57932fd152e7..bbc086e74b04 100644
--- a/sys-cluster/heartbeat/heartbeat-2.0.7-r2.ebuild
+++ b/sys-cluster/heartbeat/heartbeat-2.0.7-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/heartbeat-2.0.7-r2.ebuild,v 1.3 2007/02/28 17:29:28 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/heartbeat-2.0.7-r2.ebuild,v 1.4 2007/03/01 00:51:27 xmerlin Exp $
inherit flag-o-matic eutils
@@ -25,7 +25,7 @@ DEPEND="
dev-perl/Net-DNS
dev-perl/libwww-perl
dev-perl/perl-ldap
- perl-core/libnet
+ virtual/perl-libnet
dev-perl/Crypt-SSLeay
dev-perl/HTML-Parser
dev-perl/perl-ldap
@@ -110,6 +110,8 @@ src_install() {
rm ${D}/usr/sbin/supervise-ldirectord-config
fi
+ dodir /var/lib/heartbeat/cores/cluster
+ keepdir /var/lib/heartbeat/cores/cluster
exeinto /etc/init.d
newexe ${FILESDIR}/heartbeat-init heartbeat
@@ -118,3 +120,13 @@ src_install() {
dodoc README doc/*.txt doc/AUTHORS doc/COPYING || die
fi
}
+
+pkg_postinst() {
+ # Change wrong permissions
+ chown -R cluster:cluster /var/run/heartbeat/ccm
+ chown -R cluster:cluster /var/run/heartbeat/crm
+ chown -R cluster:cluster /var/lib/heartbeat/cores
+ chown -R cluster:cluster /var/lib/heartbeat/crm
+ chown -R cluster:cluster /var/lib/heartbeat/pengine
+ chown -R cluster:cluster /var/lib/heartbeat/cores/cluster
+}