summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Scherbaum <dertobi123@gentoo.org>2008-05-29 12:57:42 +0000
committerTobias Scherbaum <dertobi123@gentoo.org>2008-05-29 12:57:42 +0000
commit3500b42ff7a076167bfcf4d30f2bad21621934d5 (patch)
treed3f8401de336314e6dadf3e5437c0f2bb5c60fde /net-analyzer/nagios-plugins
parentfix berlios mirror, see bug #218657 (diff)
downloadhistorical-3500b42ff7a076167bfcf4d30f2bad21621934d5.tar.gz
historical-3500b42ff7a076167bfcf4d30f2bad21621934d5.tar.bz2
historical-3500b42ff7a076167bfcf4d30f2bad21621934d5.zip
Version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-analyzer/nagios-plugins')
-rw-r--r--net-analyzer/nagios-plugins/ChangeLog10
-rw-r--r--net-analyzer/nagios-plugins/Manifest7
-rw-r--r--net-analyzer/nagios-plugins/nagios-plugins-1.4.11-r102.ebuild4
-rw-r--r--net-analyzer/nagios-plugins/nagios-plugins-1.4.12-r100.ebuild125
-rw-r--r--net-analyzer/nagios-plugins/nagios-plugins-1.4.12.ebuild124
5 files changed, 265 insertions, 5 deletions
diff --git a/net-analyzer/nagios-plugins/ChangeLog b/net-analyzer/nagios-plugins/ChangeLog
index 91afe57e1378..303da360422d 100644
--- a/net-analyzer/nagios-plugins/ChangeLog
+++ b/net-analyzer/nagios-plugins/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-analyzer/nagios-plugins
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/ChangeLog,v 1.91 2008/05/21 18:51:51 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/ChangeLog,v 1.92 2008/05/29 12:57:42 dertobi123 Exp $
+
+*nagios-plugins-1.4.12-r100 (29 May 2008)
+*nagios-plugins-1.4.12 (29 May 2008)
+
+ 29 May 2008; Tobias Scherbaum <dertobi123@gentoo.org>
+ nagios-plugins-1.4.11-r102.ebuild, +nagios-plugins-1.4.12.ebuild,
+ +nagios-plugins-1.4.12-r100.ebuild:
+ Version bump
21 May 2008; Tiziano Müller <dev-zero@gentoo.org>
nagios-plugins-1.4.11-r102.ebuild:
diff --git a/net-analyzer/nagios-plugins/Manifest b/net-analyzer/nagios-plugins/Manifest
index 6a294a6f7431..12e646531ff5 100644
--- a/net-analyzer/nagios-plugins/Manifest
+++ b/net-analyzer/nagios-plugins/Manifest
@@ -4,8 +4,11 @@ AUX nagios-plugins-1.4.10-contrib.patch 1610 RMD160 928e2ce0a8071b5fd93ca2872251
AUX nagios-plugins-1.4.10-noradius.patch 1029 RMD160 e1e449d93966d822eca21782968e24fce4547a95 SHA1 e5e6758790cc85db9f028cde3fb3d6611356167e SHA256 bff601e67a413abd84c2b430bfcf10395f68a83f98a628a398ee50f7cb406229
AUX nagios-plugins-1.4.11-autoconf-2.62.patch 558 RMD160 d9cbf67c2434ddc9971f95ccd7afd787f1e928b4 SHA1 67fcf7f4e9a72a743a37202e7475e47e13875483 SHA256 55656ea0a2e3daa60c906a099499fc1e7683720aa5f4adeebd149072dbe41dfe
DIST nagios-plugins-1.4.11.tar.gz 1734230 RMD160 4f33e796f8eac2d8d13cbecbcc1191857e1b5f15 SHA1 bc91a57ad6f5468b17f24429ba25225cfff45d59 SHA256 2cc1534a7f41da6cdb72d595c8643e62491fbab1bb768ab113eff20581ac05e5
+DIST nagios-plugins-1.4.12.tar.gz 1831377 RMD160 ab54cddfc685f81812260dd221360e8149c8aa7e SHA1 bcf569a805f4b486296f5924db100cc760991389 SHA256 8f186bf05b0c66c38666affb3a15b860bd4b705962f1a46f785ef2c035b80662
EBUILD nagios-plugins-1.4.11-r1.ebuild 3694 RMD160 930dd27e1271bce2de4a6d711d1bd451d9906778 SHA1 2f9f44f84a1d7a98a6852b5e2e42190ec99b377d SHA256 e7751b2dfae4d051cb0121ce16581fa0a057e7a98e3169216da87be52c8d45ff
-EBUILD nagios-plugins-1.4.11-r102.ebuild 3740 RMD160 dd2a83231d167cbcaaa543f1f503d98e6b926acc SHA1 d8fdb8d0e7e076e20e1f23b68175cd102e44329c SHA256 525a7300b213592b695c7546c63bd675302783add545ca165ef95b99f401ec40
+EBUILD nagios-plugins-1.4.11-r102.ebuild 3732 RMD160 e08252d1bfbe29cf1975024f8351353f9c79d14c SHA1 277ee28ec0b65090af07d3994269748d4d72ea5e SHA256 c644c1ddab16b2bce67cb5e6b8229186d50e075f19aa7313e2252be0329fbb96
EBUILD nagios-plugins-1.4.11.ebuild 3640 RMD160 11a70d7a45d583a3e7b39097bc08cb63ccea528c SHA1 ad72e7553f476d3476e95900e8df3c49dc0dde3f SHA256 ba656d2abcd9e141dcacea7cf359ac56aa35825551af02554eaa9174c99a1283
-MISC ChangeLog 1215 RMD160 28c261080ac2566ef98744d9911d2ecc40a3e3cf SHA1 5f5b06a95969b877244cd5ba8f57ff19a3303af9 SHA256 d6937d185cc6112f90fc3d86d0e65ccf307cc8e22f4fff785d97b4dceaa36c69
+EBUILD nagios-plugins-1.4.12-r100.ebuild 3683 RMD160 a2c94ea2833495536c81600f6ad18aa3d12ecaa3 SHA1 606cb4dab37fe57dbc1b42b37c738411a5e4b59f SHA256 264bf178bc7976b710301c3cbb097d37ee523a3d163f26b834ff0fd6a78a509e
+EBUILD nagios-plugins-1.4.12.ebuild 3644 RMD160 489ad6205be3772fb4e6e4923572b5015db38384 SHA1 fea8f37d100753efb535ff6198874439908a0016 SHA256 7a3b7e0e25388398f927788257f883f45b06d30497cecaa5438ea24a7b37de04
+MISC ChangeLog 1475 RMD160 fd7bb7b83fa4068df41597f70a75f0b4c511147b SHA1 8806693e9440d5dc5a8cbd919575da8cb75929cf SHA256 cc932a233cefa41f309581bd3bf97fd72b0e6011bd64e6abff429b0521a8c27c
MISC metadata.xml 374 RMD160 c261e08c2be47cbf618ed122151d25f96a176aa9 SHA1 88da42b8cc7c08339067720081f61c110e00acb5 SHA256 4babbe654b066c416bb453a8decbd1e8bdaf450226d9ed6d4380bf17e5761f59
diff --git a/net-analyzer/nagios-plugins/nagios-plugins-1.4.11-r102.ebuild b/net-analyzer/nagios-plugins/nagios-plugins-1.4.11-r102.ebuild
index b6c06c4ec104..ede7ae5dc47b 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-1.4.11-r102.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-1.4.11-r102.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 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.11-r102.ebuild,v 1.3 2008/05/21 18:51:51 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/nagios-plugins-1.4.11-r102.ebuild,v 1.4 2008/05/29 12:57:42 dertobi123 Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
@@ -93,7 +93,7 @@ src_install() {
sed -i -e '30s/use lib utils.pm;/use utils;/' \
"${S}"/plugins-scripts/check_file_age.pl || die "sed failed"
- dodoc ABOUT-NLS ACKNOWLEDGEMENTS AUTHORS BUGS CODING \
+ dodoc ACKNOWLEDGEMENTS AUTHORS BUGS CODING \
ChangeLog FAQ NEWS README REQUIREMENTS SUPPORT THANKS
emake DESTDIR="${D}" install || die "make install failed"
diff --git a/net-analyzer/nagios-plugins/nagios-plugins-1.4.12-r100.ebuild b/net-analyzer/nagios-plugins/nagios-plugins-1.4.12-r100.ebuild
new file mode 100644
index 000000000000..d65fa8c4fc1f
--- /dev/null
+++ b/net-analyzer/nagios-plugins/nagios-plugins-1.4.12-r100.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2008 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.12-r100.ebuild,v 1.1 2008/05/29 12:57:42 dertobi123 Exp $
+
+WANT_AUTOCONF="latest"
+WANT_AUTOMAKE="latest"
+
+inherit eutils autotools
+
+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="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="ssl samba mysql postgres ldap snmp nagios-dns nagios-ntp nagios-ping
+nagios-ssh nagios-game ups ipv6 radius"
+
+DEPEND="ldap? ( >=net-nds/openldap-2.0.25 )
+ mysql? ( virtual/mysql )
+ postgres? ( >=virtual/postgresql-base-7.2 )
+ ssl? ( >=dev-libs/openssl-0.9.6g )
+ radius? ( >=net-dialup/radiusclient-0.3.2 )"
+
+RESTRICT="test"
+
+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
+ )
+ mysql? ( dev-perl/DBI
+ dev-perl/DBD-mysql )
+ 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? ( >=sys-power/nut-1.4 )
+ !sparc? ( nagios-game? ( >=games-util/qstat-2.6 ) )"
+
+pkg_setup() {
+ enewgroup nagios
+ enewuser nagios -1 /bin/bash /var/nagios/home nagios
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ if ! use radius; then
+ EPATCH_OPTS="-p1 -d ${S}" epatch \
+ "${FILESDIR}"/nagios-plugins-1.4.10-noradius.patch
+ fi
+
+ epatch "${FILESDIR}"/${PN}-1.4.10-contrib.patch
+
+ AT_M4DIR="m4 gl/m4" eautoreconf
+}
+
+src_compile() {
+
+ local conf
+ if use ssl; then
+ conf="${conf} --with-openssl=/usr"
+ else
+ conf="${conf} --without-openssl"
+ fi
+
+ econf \
+ $(use_with mysql) \
+ $(use_with postgres pgsql) \
+ $(use_with ipv6) \
+ ${conf} \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --libexecdir=/usr/$(get_libdir)/nagios/plugins \
+ --sysconfdir=/etc/nagios || die "econf failed"
+
+ # fix problem with additional -
+ sed -i -e 's:/bin/ps -axwo:/bin/ps axwo:g' config.h || die "sed failed"
+
+ emake || die "emake failed"
+}
+
+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 || die "sed failed"
+ sed -i -e '30s/use lib utils.pm;/use utils;/' \
+ "${S}"/plugins-scripts/check_file_age.pl || die "sed failed"
+
+ dodoc ACKNOWLEDGEMENTS AUTHORS BUGS CODING \
+ ChangeLog FAQ NEWS README REQUIREMENTS SUPPORT THANKS
+
+ emake DESTDIR="${D}" install || die "make install failed"
+
+ if use mysql || use postgres; then
+ dodir /usr/$(get_libdir)/nagios/plugins
+ exeinto /usr/$(get_libdir)/nagios/plugins
+ doexe "${S}"/contrib/check_nagios_db.pl
+ fi
+
+ mv "${S}"/contrib "${D}"/usr/$(get_libdir)/nagios/plugins/contrib
+
+ chown -R root:nagios "${D}"/usr/$(get_libdir)/nagios/plugins \
+ || die "Failed chown of ${D}usr/$(get_libdir)/nagios/plugins"
+
+ chmod -R o-rwx "${D}"/usr/$(get_libdir)/nagios/plugins \
+ || die "Failed chmod of ${D}usr/$(get_libdir)/nagios/plugins"
+
+ chmod 04710 "${D}"/usr/$(get_libdir)/nagios/plugins/check_icmp \
+ || die "Failed chmod of ${D}usr/$(get_libdir)/nagios/plugins/check_icmp"
+
+}
+
+pkg_postinst() {
+ einfo "This ebuild has a number of USE flags which determines what nagios is able 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/$(get_libdir)/nagios/plugins/contrib"
+}
diff --git a/net-analyzer/nagios-plugins/nagios-plugins-1.4.12.ebuild b/net-analyzer/nagios-plugins/nagios-plugins-1.4.12.ebuild
new file mode 100644
index 000000000000..8c35fab0cf58
--- /dev/null
+++ b/net-analyzer/nagios-plugins/nagios-plugins-1.4.12.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2008 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.12.ebuild,v 1.1 2008/05/29 12:57:42 dertobi123 Exp $
+
+WANT_AUTOCONF="latest"
+WANT_AUTOMAKE="latest"
+
+inherit eutils autotools
+
+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="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="ssl samba mysql postgres ldap snmp nagios-dns nagios-ntp nagios-ping
+nagios-ssh nagios-game ups ipv6 radius"
+
+DEPEND="ldap? ( >=net-nds/openldap-2.0.25 )
+ mysql? ( virtual/mysql )
+ postgres? ( >=virtual/postgresql-base-7.2 )
+ ssl? ( >=dev-libs/openssl-0.9.6g )
+ radius? ( >=net-dialup/radiusclient-0.3.2 )"
+
+RESTRICT="test"
+
+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
+ )
+ mysql? ( dev-perl/DBI
+ dev-perl/DBD-mysql )
+ 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? ( >=sys-power/nut-1.4 )
+ !sparc? ( nagios-game? ( >=games-util/qstat-2.6 ) )"
+
+pkg_setup() {
+ enewgroup nagios
+ enewuser nagios -1 /bin/bash /var/nagios/home nagios
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ if ! use radius; then
+ EPATCH_OPTS="-p1 -d ${S}" epatch \
+ "${FILESDIR}"/nagios-plugins-1.4.10-noradius.patch
+ fi
+
+ epatch "${FILESDIR}"/${PN}-1.4.10-contrib.patch
+
+ AT_M4DIR="m4 gl/m4" eautoreconf
+}
+
+src_compile() {
+
+ local conf
+ if use ssl; then
+ conf="${conf} --with-openssl=/usr"
+ else
+ conf="${conf} --without-openssl"
+ fi
+
+ econf \
+ $(use_with mysql) \
+ $(use_with postgres pgsql) \
+ $(use_with ipv6) \
+ ${conf} \
+ --host=${CHOST} \
+ --prefix=/usr/nagios \
+ --sysconfdir=/etc/nagios \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man || die "econf failed"
+
+ # fix problem with additional -
+ sed -i -e 's:/bin/ps -axwo:/bin/ps axwo:g' config.h || die "sed failed"
+
+ emake || die "emake failed"
+}
+
+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 || die "sed failed"
+ sed -i -e '30s/use lib utils.pm;/use utils;/' \
+ "${S}"/plugins-scripts/check_file_age.pl || die "sed failed"
+
+ dodoc ACKNOWLEDGEMENTS AUTHORS BUGS CODING \
+ ChangeLog FAQ NEWS README REQUIREMENTS SUPPORT THANKS
+
+ emake DESTDIR="${D}" install || die "make install failed"
+
+ 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 root:nagios "${D}"/usr/nagios || die "Failed Chown of ${D}usr/nagios"
+ chown -R root:nagios "${D}"/usr/nagios/libexec || die "Failed Chown of ${D}usr/nagios/libexec"
+
+ chmod -R o-rwx "${D}"/usr/nagios/libexec || die "Failed Chmod of ${D}usr/nagios/libexec"
+
+ chmod 04710 "${D}"/usr/nagios/libexec/check_icmp || die "Failed Chmod of ${D}usr/nagios/libexec/check_icmp"
+}
+
+pkg_postinst() {
+ einfo "This ebuild has a number of USE flags which determines what nagios is able 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"
+}