diff options
author | Justin Bronder <jsbronder@gentoo.org> | 2009-06-20 18:27:54 +0000 |
---|---|---|
committer | Justin Bronder <jsbronder@gentoo.org> | 2009-06-20 18:27:54 +0000 |
commit | f52b7f962a5cccfcf9cde7c990482ed0cbfd9343 (patch) | |
tree | 23d6b85711e00c283cb342faa6c829354ac60a64 /sys-cluster/ganglia | |
parent | old (diff) | |
download | gentoo-2-f52b7f962a5cccfcf9cde7c990482ed0cbfd9343.tar.gz gentoo-2-f52b7f962a5cccfcf9cde7c990482ed0cbfd9343.tar.bz2 gentoo-2-f52b7f962a5cccfcf9cde7c990482ed0cbfd9343.zip |
Fix permissions on /var/lib/ganglia/rrds, #273695
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'sys-cluster/ganglia')
-rw-r--r-- | sys-cluster/ganglia/ChangeLog | 5 | ||||
-rw-r--r-- | sys-cluster/ganglia/ganglia-3.1.2.ebuild | 20 |
2 files changed, 15 insertions, 10 deletions
diff --git a/sys-cluster/ganglia/ChangeLog b/sys-cluster/ganglia/ChangeLog index 3c74c1fc3d94..1ff996372059 100644 --- a/sys-cluster/ganglia/ChangeLog +++ b/sys-cluster/ganglia/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-cluster/ganglia # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ChangeLog,v 1.31 2009/06/20 16:05:32 jsbronder Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ChangeLog,v 1.32 2009/06/20 18:27:54 jsbronder Exp $ + + 20 Jun 2009; Justin Bronder <jsbronder@gentoo.org> ganglia-3.1.2.ebuild: + Fix permissions on /var/lib/ganglia/rrds, #273695 20 Jun 2009; Justin Bronder <jsbronder@gentoo.org> -ganglia-3.1.1-r2.ebuild: diff --git a/sys-cluster/ganglia/ganglia-3.1.2.ebuild b/sys-cluster/ganglia/ganglia-3.1.2.ebuild index 8c9de0a25754..7b4311bda30e 100644 --- a/sys-cluster/ganglia/ganglia-3.1.2.ebuild +++ b/sys-cluster/ganglia/ganglia-3.1.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ganglia-3.1.2.ebuild,v 1.5 2009/06/20 16:02:50 jsbronder Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ganglia-3.1.2.ebuild,v 1.6 2009/06/20 18:27:54 jsbronder Exp $ WEBAPP_OPTIONAL="yes" inherit multilib webapp depend.php python @@ -84,20 +84,22 @@ src_install() { done fi - insinto /etc/ganglia if ! use minimal; then - doins gmetad/gmetad.conf - doman mans/gmetad.1 - keepdir /var/lib/ganglia/rrds - fowners nobody:nobody /var/lib/ganglia/rrds - newinitd "${FILESDIR}"/gmetad.rc gmetad - webapp_src_preinst insinto "${MY_HTDOCSDIR}" doins -r web/* - webapp_configfile "${MY_HTDOCSDIR}"/conf.php webapp_src_install + + # webapp_src_install stomps on permissions, so do that + # stuff first. + insinto /etc/ganglia + doins gmetad/gmetad.conf + doman mans/gmetad.1 + + newinitd "${FILESDIR}"/gmetad.rc gmetad + keepdir /var/lib/ganglia/rrds + fowners nobody:nobody /var/lib/ganglia/rrds fi } |