From: Frank Brehm Date: Fri, 9 Nov 2012 22:16:05 +0000 (+0100) Subject: Removed net-analyzer/nagios-nrpe, because it's obsolete X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=16193c311eb8bee0d5b356cad4bed993826417f0;p=portage.git Removed net-analyzer/nagios-nrpe, because it's obsolete --- diff --git a/net-analyzer/nagios-nrpe/Manifest b/net-analyzer/nagios-nrpe/Manifest deleted file mode 100644 index 8c9d48c..0000000 --- a/net-analyzer/nagios-nrpe/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX nrpe-conf.d 141 RMD160 b56a0d17927c56c226da520615c094861fcf7e2b SHA1 64cc7a134bc61d150dabf33569b3d4d214da3131 SHA256 7c9053eda1b21e9491deb2134d956f6a2f9f4f75ddaf4c554d7823497b1ee64a -AUX nrpe-nagios3 601 RMD160 50694b2424a6c61219da122019fda6ad2bdfd006 SHA1 958a2f6e4cec1c3c4c3762d246f3e3ab826e6650 SHA256 99b73bf533e2ebd300b65c2951e5db9890cf841f75df5b8f7b2bc96a609c8d35 -DIST nrpe-2.12.tar.gz 405725 RMD160 3413f84c9bb926a4dd55cc02d7b0a01bd7fc99ee SHA1 208595c175d726e8e377d565b21897f4de1648cc SHA256 7e8d093abef7d7ffc7219ad334823bdb612121df40de2dbaec9c6d0adeb04cfc -EBUILD nagios-nrpe-2.12-r102.ebuild 2411 RMD160 41d49282e0221eb5b1b8fdecc7fd8122311cff8f SHA1 2c6680eb828db27b5839de8aeda71d975a03ee7a SHA256 2cc5d45d683ae30d0ebeaf1d217ccb840767d87a8d51020da1293016d99a9446 diff --git a/net-analyzer/nagios-nrpe/files/nrpe-conf.d b/net-analyzer/nagios-nrpe/files/nrpe-conf.d deleted file mode 100644 index 957d2cc..0000000 --- a/net-analyzer/nagios-nrpe/files/nrpe-conf.d +++ /dev/null @@ -1,8 +0,0 @@ -# -# Additional start options for the nrpe-daemon -# -# for instance to start nrpe without SSL: -# NRPE_START_OPTS="-n" -NRPE_START_OPTS="" - - diff --git a/net-analyzer/nagios-nrpe/files/nrpe-nagios3 b/net-analyzer/nagios-nrpe/files/nrpe-nagios3 deleted file mode 100644 index 6ae4da4..0000000 --- a/net-analyzer/nagios-nrpe/files/nrpe-nagios3 +++ /dev/null @@ -1,36 +0,0 @@ -#!/sbin/runscript - -opts="${opts} reload" - -depend() { - need net -} - -start() { - ebegin "Starting nrpe" - start-stop-daemon --start --quiet --name nrpe \ - --startas /usr/bin/nrpe \ - -c nagios:nagios \ - -- -c /etc/nagios/nrpe.cfg \ - --daemon $NRPE_START_OPTS - eend $? "Failed to Start nrpe" -} - -stop() { - ebegin "Stopping nrpe" - start-stop-daemon --stop --quiet -n nrpe - eend $? "Failed to Stop nrpe" -} - -reload() { - ebegin "Reloading nrpe" - kill -HUP `pgrep nrpe | head -1` - eend $? "Failed to reload nrpe" -} - -restart() { - ebegin "Restarting nrpe" - svc_stop - svc_start - eend $? "Failed to Restart nrpe" -} diff --git a/net-analyzer/nagios-nrpe/metadata.xml b/net-analyzer/nagios-nrpe/metadata.xml deleted file mode 100644 index 3f0cbac..0000000 --- a/net-analyzer/nagios-nrpe/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - netmon - - A daemon for allowing Nagios to connect directly to servers and - execute commands defined in a centralized configuration file. - - - frank@brehm-online.com - Frank Brehm - Primary maintainer - - - allow clients to specify command arguments - Adds support for SSL connections - - diff --git a/net-analyzer/nagios-nrpe/nagios-nrpe-2.12-r102.ebuild b/net-analyzer/nagios-nrpe/nagios-nrpe-2.12-r102.ebuild deleted file mode 100644 index 7bf077a..0000000 --- a/net-analyzer/nagios-nrpe/nagios-nrpe-2.12-r102.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2008 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.12-r101.ebuild,v 1.1 2008/04/27 18:14:56 dertobi123 Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="Nagios $PV NRPE - Nagios Remote Plugin Executor" -HOMEPAGE="http://www.nagios.org/" -SRC_URI="mirror://sourceforge/nagios/nrpe-${PV}.tar.gz" - -RESTRICT="mirror" -LICENSE="GPL-2" -SLOT="0" - -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" - -IUSE="ssl command-args" -DEPEND=">=net-analyzer/nagios-plugins-1.3.0 - ssl? ( dev-libs/openssl )" -S="${WORKDIR}/nrpe-${PV}" - -pkg_setup() { - enewgroup nagios - enewuser nagios -1 /bin/bash /dev/null nagios -} - -src_compile() { - local myconf - - myconf="${myconf} $(use_enable ssl) \ - $(use_enable command-args)" - - # Generate the dh.h header file for better security (2005 Mar 20 eldad) - if useq ssl ; then - openssl dhparam -C 512 | sed -n '1,/BEGIN DH PARAMETERS/p' | grep -v "BEGIN DH PARAMETERS" > "${S}"/src/dh.h - fi - - econf ${myconf} \ - --host=${CHOST} \ - --prefix=/usr \ - --libexecdir=/usr/$(get_libdir)/nagios/plugins \ - --localstatedir=/var/nagios \ - --sysconfdir=/etc/nagios \ - --with-nrpe-user=nagios \ - --with-nrpe-grp=nagios || die "econf failed" - emake all || die "make failed" - # Add nifty nrpe check tool - cd contrib - $(tc-getCC) ${CFLAGS} -o nrpe_check_control nrpe_check_control.c -} - -src_install() { - dodoc LEGAL Changelog README SECURITY README.SSL \ - contrib/README.nrpe_check_control - - insinto /etc/nagios - newins "${S}"/sample-config/nrpe.cfg nrpe.cfg - fowners root:nagios /etc/nagios/nrpe.cfg - fperms 0640 /etc/nagios/nrpe.cfg - - exeopts -m0750 -o nagios -g nagios - exeinto /usr/bin - doexe src/nrpe - - exeopts -m0750 -o nagios -g nagios - exeinto /usr/$(get_libdir)/nagios/plugins - doexe src/check_nrpe contrib/nrpe_check_control - - newinitd "${FILESDIR}"/nrpe-nagios3 nrpe - newconfd "${FILESDIR}"/nrpe-conf.d nrpe -} - -pkg_postinst() { - einfo - einfo "If you are using the nrpe daemon, remember to edit" - einfo "the config file /etc/nagios/nrpe.cfg" - einfo - - if useq command-args ; then - ewarn "You have enabled command-args for NRPE. This enables" - ewarn "the ability for clients to supply arguments to commands" - ewarn "which should be run. " - ewarn "THIS IS CONSIDERED A SECURITY RISK!" - ewarn "Please read /usr/share/doc/${PF}/SECURITY.bz2 for more info" - fi -}