diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-12-31 12:53:46 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-12-31 12:53:46 +0000 |
commit | 873a64847098a370aa69c0e6b515c4968a402da8 (patch) | |
tree | 0912223a11e6465978771fe0c8570761ba9540d1 /net-analyzer | |
parent | Version bump with a patch for buildhtml.py. Move GLEP support to dev-python/d... (diff) | |
download | gentoo-2-873a64847098a370aa69c0e6b515c4968a402da8.tar.gz gentoo-2-873a64847098a370aa69c0e6b515c4968a402da8.tar.bz2 gentoo-2-873a64847098a370aa69c0e6b515c4968a402da8.zip |
Make sure to create /var/run/munin on pkg install. Fixes bug #449438.
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/munin/ChangeLog | 5 | ||||
-rw-r--r-- | net-analyzer/munin/munin-2.0.9-r1.ebuild | 10 |
2 files changed, 13 insertions, 2 deletions
diff --git a/net-analyzer/munin/ChangeLog b/net-analyzer/munin/ChangeLog index 23d8a0c9877f..7c6921684131 100644 --- a/net-analyzer/munin/ChangeLog +++ b/net-analyzer/munin/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-analyzer/munin # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/ChangeLog,v 1.129 2012/12/30 12:47:25 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/ChangeLog,v 1.130 2012/12/31 12:53:46 flameeyes Exp $ + + 31 Dec 2012; Diego E. Pettenò <flameeyes@gentoo.org> munin-2.0.9-r1.ebuild: + Make sure to create /var/run/munin on pkg install. Fixes bug #449438. *munin-2.0.9-r1 (30 Dec 2012) diff --git a/net-analyzer/munin/munin-2.0.9-r1.ebuild b/net-analyzer/munin/munin-2.0.9-r1.ebuild index 531710395556..c0ab995f26e3 100644 --- a/net-analyzer/munin/munin-2.0.9-r1.ebuild +++ b/net-analyzer/munin/munin-2.0.9-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/munin-2.0.9-r1.ebuild,v 1.1 2012/12/30 12:47:25 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/munin-2.0.9-r1.ebuild,v 1.2 2012/12/31 12:53:46 flameeyes Exp $ EAPI=5 @@ -375,4 +375,12 @@ pkg_postinst() { elog "Documentation on how to use it is still sparse." fi fi + + # we create this here as we don't want Portage to check /var/run + # symlinks but we still need this to be present before the reboot. + if ! use minimal && ! [[ -d "${ROOT}"/var/run/munin ]]; then + mkdir "${ROOT}"/var/run/munin + chown munin:munin "${ROOT}"/var/run/munin + chmod 0750 "${ROOT}"/var/run/munin + fi } |