summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEldad Zack <eldad@gentoo.org>2005-04-13 11:43:00 +0000
committerEldad Zack <eldad@gentoo.org>2005-04-13 11:43:00 +0000
commit2899d93ee88d037963aa9c9da1972cffd136c00d (patch)
tree3fc05750384cc066757aa4597fc3d4c2592a4e72 /net-analyzer
parentStable on amd64, bug #88904. (diff)
downloadgentoo-2-2899d93ee88d037963aa9c9da1972cffd136c00d.tar.gz
gentoo-2-2899d93ee88d037963aa9c9da1972cffd136c00d.tar.bz2
gentoo-2-2899d93ee88d037963aa9c9da1972cffd136c00d.zip
tighter perms for /etc/nagios/nrpe.cfg. Bug #88937.
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/nagios-nrpe/ChangeLog7
-rw-r--r--net-analyzer/nagios-nrpe/nagios-nrpe-1.8-r1.ebuild6
-rw-r--r--net-analyzer/nagios-nrpe/nagios-nrpe-2.0.ebuild4
3 files changed, 14 insertions, 3 deletions
diff --git a/net-analyzer/nagios-nrpe/ChangeLog b/net-analyzer/nagios-nrpe/ChangeLog
index e976f7661f90..cb6e1bb30602 100644
--- a/net-analyzer/nagios-nrpe/ChangeLog
+++ b/net-analyzer/nagios-nrpe/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/nagios-nrpe
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/ChangeLog,v 1.18 2005/03/20 10:53:13 eldad Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/ChangeLog,v 1.19 2005/04/13 11:43:00 eldad Exp $
+
+ 13 Apr 2005; Eldad Zack <eldad@gentoo.org> nagios-nrpe-1.8-r1.ebuild,
+ nagios-nrpe-2.0.ebuild:
+ tighter perms for /etc/nagios/nrpe.cfg. Thanks to Romang <zataz@zataz.net>.
+ Bug #88937.
20 Mar 2005; Eldad Zack <eldad@gentoo.org> nagios-nrpe-2.0.ebuild:
Generate the dh.h header file for better security.
diff --git a/net-analyzer/nagios-nrpe/nagios-nrpe-1.8-r1.ebuild b/net-analyzer/nagios-nrpe/nagios-nrpe-1.8-r1.ebuild
index 771376d48310..8d99cec05fc6 100644
--- a/net-analyzer/nagios-nrpe/nagios-nrpe-1.8-r1.ebuild
+++ b/net-analyzer/nagios-nrpe/nagios-nrpe-1.8-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/nagios-nrpe-1.8-r1.ebuild,v 1.7 2005/03/20 10:53:13 eldad Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/nagios-nrpe-1.8-r1.ebuild,v 1.8 2005/04/13 11:43:00 eldad Exp $
inherit eutils
DESCRIPTION="Nagios $PV NRPE - Nagios Remote Plugin Executor"
@@ -33,8 +33,12 @@ src_compile() {
src_install() {
dodoc LEGAL Changelog README
+
insinto /etc/nagios
newins ${FILESDIR}/nrpe-1.8.cfg nrpe.cfg
+ fowners root:nagios /etc/nagios/nrpe.cfg
+ fperms 0640 /etc/nagios/nrpe.cfg
+
exeinto /usr/nagios/bin
doexe src/nrpe
fowners nagios:nagios /usr/nagios/bin/nrpe
diff --git a/net-analyzer/nagios-nrpe/nagios-nrpe-2.0.ebuild b/net-analyzer/nagios-nrpe/nagios-nrpe-2.0.ebuild
index affec459f92f..50fd889fbb54 100644
--- a/net-analyzer/nagios-nrpe/nagios-nrpe-2.0.ebuild
+++ b/net-analyzer/nagios-nrpe/nagios-nrpe-2.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/nagios-nrpe-2.0.ebuild,v 1.9 2005/03/20 10:53:13 eldad Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/nagios-nrpe-2.0.ebuild,v 1.10 2005/04/13 11:43:00 eldad Exp $
inherit eutils
@@ -51,6 +51,8 @@ src_install() {
insinto /etc/nagios
newins ${FILESDIR}/nrpe-${PV}.cfg nrpe.cfg
+ fowners root:nagios /etc/nagios/nrpe.cfg
+ fperms 0640 /etc/nagios/nrpe.cfg
exeinto /usr/nagios/bin
doexe src/nrpe