diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2007-03-01 00:48:11 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2007-03-01 00:48:11 +0000 |
commit | 8ebcf29458325bcb3e24555cff201db90326053a (patch) | |
tree | 6154e7844383e101060ee3f89671f13eaf0ec856 /sys-cluster/heartbeat/heartbeat-2.0.8.ebuild | |
parent | Stable on SPARC wrt bug #166309. (diff) | |
download | gentoo-2-8ebcf29458325bcb3e24555cff201db90326053a.tar.gz gentoo-2-8ebcf29458325bcb3e24555cff201db90326053a.tar.bz2 gentoo-2-8ebcf29458325bcb3e24555cff201db90326053a.zip |
Merged some fixes.
(Portage version: 2.1.2-r9)
Diffstat (limited to 'sys-cluster/heartbeat/heartbeat-2.0.8.ebuild')
-rw-r--r-- | sys-cluster/heartbeat/heartbeat-2.0.8.ebuild | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/sys-cluster/heartbeat/heartbeat-2.0.8.ebuild b/sys-cluster/heartbeat/heartbeat-2.0.8.ebuild index 2b94095bb187..c6e648ec3eb0 100644 --- a/sys-cluster/heartbeat/heartbeat-2.0.8.ebuild +++ b/sys-cluster/heartbeat/heartbeat-2.0.8.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.8.ebuild,v 1.1 2007/02/28 17:29:28 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/heartbeat-2.0.8.ebuild,v 1.2 2007/03/01 00:48:11 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 +} |