summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-11-09 19:20:31 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-11-09 19:20:31 +0000
commit4d0d86b7f38aec8dee9d0240ce8ba0a1cebab082 (patch)
treee5893fa101140ba192ef1bddc0f0eb631b659a38 /net-analyzer/nagios-plugins
parentFix building with latest boost. Wrt bug#442262. (diff)
downloadgentoo-2-4d0d86b7f38aec8dee9d0240ce8ba0a1cebab082.tar.gz
gentoo-2-4d0d86b7f38aec8dee9d0240ce8ba0a1cebab082.tar.bz2
gentoo-2-4d0d86b7f38aec8dee9d0240ce8ba0a1cebab082.zip
Enforce ownership of the nagios plugin directory. Should solve bug #441980.
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
Diffstat (limited to 'net-analyzer/nagios-plugins')
-rw-r--r--net-analyzer/nagios-plugins/ChangeLog6
-rw-r--r--net-analyzer/nagios-plugins/nagios-plugins-1.4.16-r2.ebuild6
2 files changed, 10 insertions, 2 deletions
diff --git a/net-analyzer/nagios-plugins/ChangeLog b/net-analyzer/nagios-plugins/ChangeLog
index 8c3dcfba5e8e..eec29e57f99a 100644
--- a/net-analyzer/nagios-plugins/ChangeLog
+++ b/net-analyzer/nagios-plugins/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/nagios-plugins
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/ChangeLog,v 1.155 2012/11/07 05:16:57 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/ChangeLog,v 1.156 2012/11/09 19:20:31 flameeyes Exp $
+
+ 09 Nov 2012; Diego E. Pettenò <flameeyes@gentoo.org>
+ nagios-plugins-1.4.16-r2.ebuild:
+ Enforce ownership of the nagios plugin directory. Should solve bug #441980.
07 Nov 2012; Jeroen Roovers <jer@gentoo.org> nagios-plugins-1.4.16-r2.ebuild:
Stable for HPPA (bug #441654).
diff --git a/net-analyzer/nagios-plugins/nagios-plugins-1.4.16-r2.ebuild b/net-analyzer/nagios-plugins/nagios-plugins-1.4.16-r2.ebuild
index 29a6c3b183bc..7255ca7c2305 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-1.4.16-r2.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-1.4.16-r2.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/nagios-plugins/nagios-plugins-1.4.16-r2.ebuild,v 1.4 2012/11/07 05:16:57 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/nagios-plugins-1.4.16-r2.ebuild,v 1.5 2012/11/09 19:20:31 flameeyes Exp $
EAPI=4
@@ -122,6 +122,10 @@ EOF
dosym ../utils.sh ${nagiosplugindir}/contrib/utils.sh
dosym ../utils.pm ${nagiosplugindir}/contrib/utils.pm
+
+ # enforce permissions/owners (seem to trigger only in some case)
+ chown -R root:nagios "${D}${nagiosplugindir}" || die
+ chmod -R o-rwx "${D}${nagiosplugindir}" || die
}
pkg_postinst() {