diff options
author | Dean Bailey <alron@gentoo.org> | 2003-01-13 23:54:03 +0000 |
---|---|---|
committer | Dean Bailey <alron@gentoo.org> | 2003-01-13 23:54:03 +0000 |
commit | e1809df65a8d013b05b7efe3a8da45463808e3a9 (patch) | |
tree | 022e86aa04c6a844adf65e8103a286877012aadf /net-analyzer/nagios-plugins | |
parent | Initial version after moved to cc-config. Adds C wrapper (diff) | |
download | gentoo-2-e1809df65a8d013b05b7efe3a8da45463808e3a9.tar.gz gentoo-2-e1809df65a8d013b05b7efe3a8da45463808e3a9.tar.bz2 gentoo-2-e1809df65a8d013b05b7efe3a8da45463808e3a9.zip |
new nagios-plugins
Diffstat (limited to 'net-analyzer/nagios-plugins')
3 files changed, 55 insertions, 1 deletions
diff --git a/net-analyzer/nagios-plugins/ChangeLog b/net-analyzer/nagios-plugins/ChangeLog index fde25bfc5ced..9787dbc418bc 100644 --- a/net-analyzer/nagios-plugins/ChangeLog +++ b/net-analyzer/nagios-plugins/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/nagios-plugins # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/ChangeLog,v 1.3 2002/11/07 20:52:57 alron Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/ChangeLog,v 1.4 2003/01/13 23:54:03 alron Exp $ + +*nagios-plugins-1.3.0_beta2 (13 Jan 2003) + 13 Jan 2003; Dean Bailey <alron@gentoo.org> nagios-plugins-1.3.0_beta2: + Updated to new version. *nagios-plugins-1.3_beta1 (7 Nov 2002) 7 Nov 2002; Dean Bailey <alron@gentoo.org> nagios-plugins-1.3_beta1 : diff --git a/net-analyzer/nagios-plugins/files/digest-nagios-plugins-1.3.0_beta2 b/net-analyzer/nagios-plugins/files/digest-nagios-plugins-1.3.0_beta2 new file mode 100644 index 000000000000..8bc1c0eac314 --- /dev/null +++ b/net-analyzer/nagios-plugins/files/digest-nagios-plugins-1.3.0_beta2 @@ -0,0 +1 @@ +MD5 7a6cce300f6a90c7587d4eced4271182 nagios-plugins-1.3.0-beta2.tar.gz 438141 diff --git a/net-analyzer/nagios-plugins/nagios-plugins-1.3.0_beta2.ebuild b/net-analyzer/nagios-plugins/nagios-plugins-1.3.0_beta2.ebuild new file mode 100644 index 000000000000..aa215ce8a8c2 --- /dev/null +++ b/net-analyzer/nagios-plugins/nagios-plugins-1.3.0_beta2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/nagios-plugins-1.3.0_beta2.ebuild,v 1.1 2003/01/13 23:54:03 alron Exp $ +DESCRIPTION="Nagios $PV plugins - Pack of plugins to make Nagios work properly" +HOMEPAGE="http://www.nagios.org/" +SRC_URI="mirror://sourceforge/nagiosplug/nagios-plugins-1.3.0-beta2.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND=">=bind-tools-9.2.2_rc1 + >=openssl-0.9.6g + >=perl-5.6.1-r7 + >=fping-2.4_beta2-r1 + >=ntp-4.1.1a + >=Net-SNMP-4.0.1-r1 + >=net-snmp-5.0.6 + >=samba-2.2.5-r1 + >=openssh-3.5_p1 + >=mysql-3.23.52-r1 + >=autoconf-2.53a" +S="${WORKDIR}/nagios-plugins-1.3.0-beta2" +src_compile() { + patch -p1 < ${FILESDIR}/install-opts-fix.diff + autoconf + ./configure \ + --host=${CHOST} \ + --prefix=/usr/nagios \ + --with-nagios-user=nagios \ + --sysconfdir=/etc/nagios \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man || die "./configure failed" + make || die +} + +src_install() { + dodoc AUTHORS CODING COPYING ChangeLog FAQ INSTALL LEGALNEWS README REQUIREMENTS ROADMAP Requirements + make DESTDIR=${D} install || die +} +pkg_preinst() { + userdel nagios 2> /dev/null + if ! groupmod nagios; then + groupadd -g 75 nagios 2> /dev/null || \ + die "Failed to create nagios group" + fi + useradd -u 75 -g nagios -s /dev/null -d /var/empty -c "nagios" nagios || \ + die "Failed to create nagios user" + chown -R nagios:nagios ${D}/usr/nagios/libexec || die "Failed Chown of ${D}/usr/nagios/libexec" +} |