summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEldad Zack <eldad@gentoo.org>2004-08-20 15:37:55 +0000
committerEldad Zack <eldad@gentoo.org>2004-08-20 15:37:55 +0000
commitfbfde2cc73410962484b74cc5b9a13a372762bb8 (patch)
tree467fb707907683441dc926b2d69b00f411b30ae8 /net-analyzer/nagios-plugins
parentStable on sparc wrt #60855 (Manifest recommit) (diff)
downloadgentoo-2-fbfde2cc73410962484b74cc5b9a13a372762bb8.tar.gz
gentoo-2-fbfde2cc73410962484b74cc5b9a13a372762bb8.tar.bz2
gentoo-2-fbfde2cc73410962484b74cc5b9a13a372762bb8.zip
Fixed ebuild for binary install. Closes bug #58928.
Diffstat (limited to 'net-analyzer/nagios-plugins')
-rw-r--r--net-analyzer/nagios-plugins/ChangeLog5
-rw-r--r--net-analyzer/nagios-plugins/nagios-plugins-1.3.1-r1.ebuild7
2 files changed, 8 insertions, 4 deletions
diff --git a/net-analyzer/nagios-plugins/ChangeLog b/net-analyzer/nagios-plugins/ChangeLog
index eb6454239c5a..b47ee941708e 100644
--- a/net-analyzer/nagios-plugins/ChangeLog
+++ b/net-analyzer/nagios-plugins/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/nagios-plugins
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/ChangeLog,v 1.24 2004/08/20 15:08:50 eldad Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/ChangeLog,v 1.25 2004/08/20 15:37:55 eldad Exp $
+
+ 20 Aug 2004; Eldad Zack <eldad@gentoo.org> nagios-plugins-1.3.1-r1.ebuild:
+ Fixed ebuild for binary install. Closes bug #58928.
20 Aug 2004; Eldad Zack <eldad@gentoo.org>
+files/nagios-plugins-noradius.patch, nagios-plugins-1.3.1-r1.ebuild:
diff --git a/net-analyzer/nagios-plugins/nagios-plugins-1.3.1-r1.ebuild b/net-analyzer/nagios-plugins/nagios-plugins-1.3.1-r1.ebuild
index 7880e163ecb5..7f0baa98a9c6 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-1.3.1-r1.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-1.3.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 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.3.1-r1.ebuild,v 1.8 2004/08/20 15:08:50 eldad Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/nagios-plugins-1.3.1-r1.ebuild,v 1.9 2004/08/20 15:37:55 eldad Exp $
inherit eutils
@@ -29,10 +29,9 @@ RDEPEND=">=dev-lang/perl-5.6.1-r7
nagios-ping? ( >=net-analyzer/fping-2.4_beta2-r1 )
nagios-ssh? ( >=net-misc/openssh-3.5_p1 )"
-pkg_preinst() {
+pkg_setup() {
enewgroup nagios
enewuser nagios -1 /bin/bash /dev/null nagios
- chown -R nagios:nagios ${D}/usr/nagios/libexec || die "Failed Chown of ${D}/usr/nagios/libexec"
}
src_compile() {
@@ -65,6 +64,8 @@ src_install() {
dodir /usr/nagios/libexec/
mv ${S}/contrib ${D}/usr/nagios/libexec/contrib
+
+ chown -R nagios:nagios ${D}/usr/nagios/libexec || die "Failed Chown of ${D}/usr/nagios/libexec"
}
pkg_postinst() {