diff options
author | Daniel Black <dragonheart@gentoo.org> | 2005-02-15 12:03:12 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2005-02-15 12:03:12 +0000 |
commit | b07c3a56455c33f37b984dc7655672bfeda1171b (patch) | |
tree | e1ac82040839d1b91bb79031ec276c4bf0a6f3eb /net-analyzer/nagios-plugins | |
parent | net-analyzer/nagios-plugins:ups (diff) | |
download | gentoo-2-b07c3a56455c33f37b984dc7655672bfeda1171b.tar.gz gentoo-2-b07c3a56455c33f37b984dc7655672bfeda1171b.tar.bz2 gentoo-2-b07c3a56455c33f37b984dc7655672bfeda1171b.zip |
Version bump thanks to the extreme persistance of Marco Morales <soulse@gmail.com> in bug #81826
(Portage version: 2.0.51.16)
Diffstat (limited to 'net-analyzer/nagios-plugins')
-rw-r--r-- | net-analyzer/nagios-plugins/ChangeLog | 11 | ||||
-rw-r--r-- | net-analyzer/nagios-plugins/Manifest | 10 | ||||
-rw-r--r-- | net-analyzer/nagios-plugins/files/digest-nagios-plugins-1.4 | 1 | ||||
-rw-r--r-- | net-analyzer/nagios-plugins/nagios-plugins-1.4.ebuild | 99 |
4 files changed, 115 insertions, 6 deletions
diff --git a/net-analyzer/nagios-plugins/ChangeLog b/net-analyzer/nagios-plugins/ChangeLog index 0879700ae280..99616cfaaeb8 100644 --- a/net-analyzer/nagios-plugins/ChangeLog +++ b/net-analyzer/nagios-plugins/ChangeLog @@ -1,6 +1,13 @@ # 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.30 2004/12/11 16:37:06 config Exp $ +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/ChangeLog,v 1.31 2005/02/15 12:03:12 dragonheart Exp $ + +*nagios-plugins-1.4 (15 Feb 2005) + + 15 Feb 2005; Daniel Black <dragonheart@gentoo.org> + +nagios-plugins-1.4.ebuild: + Version bump thanks to the extreme persistance of Marco Morales + <soulse@gmail.com> in bug #81826 11 Dec 2004; Benjamin Schindler <config@gentoo.org> nagios-plugins-1.3.1-r1.ebuild: diff --git a/net-analyzer/nagios-plugins/Manifest b/net-analyzer/nagios-plugins/Manifest index 2eced686617f..9d90bc224987 100644 --- a/net-analyzer/nagios-plugins/Manifest +++ b/net-analyzer/nagios-plugins/Manifest @@ -1,9 +1,11 @@ -MD5 e64233af8d33d530996d41ddb1c6d343 ChangeLog 4897 -MD5 a3aa02d9b004cdb8629496aa61024fb7 metadata.xml 256 -MD5 3d4ab29e2f2b2c45d731ace02bd24baa nagios-plugins-1.3.1-r1.ebuild 2865 +MD5 81a5171d141ec1fe6697e499b1d28813 ChangeLog 5117 MD5 28e87bdecda2a6c56ad1fc2dc3f339db nagios-plugins-1.3.1.ebuild 1708 +MD5 3d4ab29e2f2b2c45d731ace02bd24baa nagios-plugins-1.3.1-r1.ebuild 2865 +MD5 a3aa02d9b004cdb8629496aa61024fb7 metadata.xml 256 +MD5 ad0a88a3b479254c3d8b53812aa40fa6 nagios-plugins-1.4.ebuild 2879 +MD5 c8c25561d4871462ea03dc0490ced91b files/check_swap.c.patch 2212 MD5 39af7074b023625d9a75730bd6932437 files/digest-nagios-plugins-1.3.1 72 MD5 39af7074b023625d9a75730bd6932437 files/digest-nagios-plugins-1.3.1-r1 72 MD5 acb0b2b914b27b67b9a33807b1e6838e files/install-opts-fix.diff 3168 MD5 ee71da291efd7427bd9786591a98df34 files/nagios-plugins-noradius.patch 2661 -MD5 c8c25561d4871462ea03dc0490ced91b files/check_swap.c.patch 2212 +MD5 639ea6f5791cdf3ad540489c66d1f356 files/digest-nagios-plugins-1.4 70 diff --git a/net-analyzer/nagios-plugins/files/digest-nagios-plugins-1.4 b/net-analyzer/nagios-plugins/files/digest-nagios-plugins-1.4 new file mode 100644 index 000000000000..9fb7cff4db57 --- /dev/null +++ b/net-analyzer/nagios-plugins/files/digest-nagios-plugins-1.4 @@ -0,0 +1 @@ +MD5 9b21b92acc4b2b0dbb2d12bca6b27582 nagios-plugins-1.4.tar.gz 972810 diff --git a/net-analyzer/nagios-plugins/nagios-plugins-1.4.ebuild b/net-analyzer/nagios-plugins/nagios-plugins-1.4.ebuild new file mode 100644 index 000000000000..7027b3a0e402 --- /dev/null +++ b/net-analyzer/nagios-plugins/nagios-plugins-1.4.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2005 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.ebuild,v 1.1 2005/02/15 12:03:12 dragonheart Exp $ + +inherit eutils + +DESCRIPTION="Nagios $PV plugins - Pack of plugins to make Nagios work properly" +HOMEPAGE="http://www.nagios.org/" +SRC_URI="mirror://sourceforge/nagiosplug/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~sparc ~ppc ~amd64" +IUSE="ssl samba mysql postgres ldap snmp nagios-dns nagios-ntp nagios-ping nagios-ssh nagios-game ups ipv6" + +# radius - awaiting keywods + +DEPEND="ldap? ( >=net-nds/openldap-2.0.25 ) + mysql? ( >=dev-db/mysql-3.23.52-r1 ) + postgres? ( >=dev-db/postgresql-7.2 ) + ssl? ( >=dev-libs/openssl-0.9.6g )" + +# awaiting keywords radius? ( >=net-dialup/radiusclient-0.3.2 ) + +# test broken anyway test? ( >=dev-perl/Cache-Cache-1.03 )" + +RDEPEND="${DEPEND} + >=dev-lang/perl-5.6.1-r7 + samba? ( >=net-fs/samba-2.2.5-r1 ) + snmp? ( + >=dev-perl/Net-SNMP-4.0.1-r1 + >=net-analyzer/net-snmp-5.0.6 + ) + nagios-dns? ( >=net-dns/bind-tools-9.2.2_rc1 ) + nagios-ntp? ( >=net-misc/ntp-4.1.1a ) + nagios-ping? ( >=net-analyzer/fping-2.4_beta2-r1 ) + nagios-ssh? ( >=net-misc/openssh-3.5_p1 ) + ups? ( >=www-apps/nut-1.4 ) + !sparc? ( nagios-game? ( >=games-util/qstat-2.6 ) )" + +pkg_setup() { + enewgroup nagios + enewuser nagios -1 /bin/bash /dev/null nagios +} + +src_compile() { + # awaiting keywords on radius dependancy + #if ! use radius; then + # epatch ${FILESDIR}/nagios-plugins-noradius-1.4.patch + #fi + + ./configure \ + `use_with mysql` \ + `use_with postgress` \ + `use with ssl openssl` \ + `use with ipv6` \ + --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() { + mv ${S}/contrib/check_compaq_insight.pl ${S}/contrib/check_compaq_insight.pl.msg + chmod +x ${S}/contrib/*.pl + + sed -i -e '1s;#!.*;#!/usr/bin/perl -w;' ${S}/contrib/*.pl + sed -i -e '30s/use lib utils.pm;/use utils;/' ${S}/contrib/check_file_age.pl + + dodoc ABOUT-NLS ACKNOWLEDGEMENTS AUTHORS BUGS CHANGES CODING COPYING + Changelog FAQ INSTALL LEGAL NEWS README REQUIREMENTS SUPPORT + make DESTDIR=${D} install || die + + if use mysql || use postgres; then + dodir /usr/nagios/libexec + exeinto /usr/nagios/libexec + doexe ${S}/contrib/check_nagios_db.pl + fi + + 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() { + einfo "This ebuild has a number of USE flags which determines what nagios isable to monitor." + einfo "Depending on what you want to monitor with nagios, some or all of these USE" + einfo "flags need to be set for nagios to function correctly." + echo "" + einfo "contrib plugins are installed into /usr/nagios/libexec/contrib" +} + +src_test() { + einfo "test broken" +} |