summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Scherbaum <dertobi123@gentoo.org>2007-06-10 17:02:37 +0000
committerTobias Scherbaum <dertobi123@gentoo.org>2007-06-10 17:02:37 +0000
commita462bdba79ef7b9051e0d5dfe9f3819fa10f9bd8 (patch)
tree3c1dd5f27b6525040061b461cb7269fbf6f93361 /net-analyzer/nagios-nrpe
parentTake over as maintainer. (diff)
downloadgentoo-2-a462bdba79ef7b9051e0d5dfe9f3819fa10f9bd8.tar.gz
gentoo-2-a462bdba79ef7b9051e0d5dfe9f3819fa10f9bd8.tar.bz2
gentoo-2-a462bdba79ef7b9051e0d5dfe9f3819fa10f9bd8.zip
Version bump, clean out old versions.
(Portage version: 2.1.2.9)
Diffstat (limited to 'net-analyzer/nagios-nrpe')
-rw-r--r--net-analyzer/nagios-nrpe/ChangeLog11
-rw-r--r--net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-1.8-r13
-rw-r--r--net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.33
-rw-r--r--net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.5.23
-rw-r--r--net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.5.2-r13
-rw-r--r--net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.7.1-r22
-rw-r--r--net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.8.13
-rw-r--r--net-analyzer/nagios-nrpe/files/nrpe-1.828
-rw-r--r--net-analyzer/nagios-nrpe/files/nrpe-1.8.cfg109
-rw-r--r--net-analyzer/nagios-nrpe/files/nrpe-2.328
-rw-r--r--net-analyzer/nagios-nrpe/files/nrpe-2.5.236
-rw-r--r--net-analyzer/nagios-nrpe/metadata.xml7
-rw-r--r--net-analyzer/nagios-nrpe/nagios-nrpe-1.8-r1.ebuild57
-rw-r--r--net-analyzer/nagios-nrpe/nagios-nrpe-2.3.ebuild85
-rw-r--r--net-analyzer/nagios-nrpe/nagios-nrpe-2.5.2-r1.ebuild93
-rw-r--r--net-analyzer/nagios-nrpe/nagios-nrpe-2.5.2.ebuild85
-rw-r--r--net-analyzer/nagios-nrpe/nagios-nrpe-2.8.1.ebuild (renamed from net-analyzer/nagios-nrpe/nagios-nrpe-2.7.1-r2.ebuild)2
17 files changed, 16 insertions, 542 deletions
diff --git a/net-analyzer/nagios-nrpe/ChangeLog b/net-analyzer/nagios-nrpe/ChangeLog
index d57a9670fc2d..af6b31f7bb47 100644
--- a/net-analyzer/nagios-nrpe/ChangeLog
+++ b/net-analyzer/nagios-nrpe/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for net-analyzer/nagios-nrpe
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/ChangeLog,v 1.41 2007/06/06 08:09:49 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/ChangeLog,v 1.42 2007/06/10 17:02:37 dertobi123 Exp $
+
+*nagios-nrpe-2.8.1 (10 Jun 2007)
+
+ 10 Jun 2007; Tobias Scherbaum <dertobi123@gentoo.org> -files/nrpe-1.8,
+ -files/nrpe-1.8.cfg, -files/nrpe-2.3, -files/nrpe-2.5.2,
+ -nagios-nrpe-1.8-r1.ebuild, -nagios-nrpe-2.3.ebuild,
+ -nagios-nrpe-2.5.2.ebuild, -nagios-nrpe-2.5.2-r1.ebuild,
+ -nagios-nrpe-2.7.1-r2.ebuild, +nagios-nrpe-2.8.1.ebuild:
+ Version bump, clean out old versions.
*nagios-nrpe-2.7.1-r2 (06 Jun 2007)
diff --git a/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-1.8-r1 b/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-1.8-r1
deleted file mode 100644
index 0e5e10ecf6eb..000000000000
--- a/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-1.8-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 b285e2838685508ab85395f480018373 nrpe-1.8.tar.gz 41347
-RMD160 87f52d5618bb170d3372f6c5a5eab16acc7ccd28 nrpe-1.8.tar.gz 41347
-SHA256 bcf2cfc830bc9a6e3c80ffcd1369dc466b964b59940d6d181e5c35f3b98a7ad6 nrpe-1.8.tar.gz 41347
diff --git a/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.3 b/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.3
deleted file mode 100644
index 1eb7c4788a9f..000000000000
--- a/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.3
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 2e9b7d0a29aa9b57c4a0cc14d80c75c1 nrpe-2.3.tar.gz 97586
-RMD160 b366e1bb4209921002079c8cf75414bb9cf25cd7 nrpe-2.3.tar.gz 97586
-SHA256 c961a21feff2995df39ee18478bc1b1a38ab8da0e5fe62b31fafc234de58f248 nrpe-2.3.tar.gz 97586
diff --git a/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.5.2 b/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.5.2
deleted file mode 100644
index a7f996c9f225..000000000000
--- a/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.5.2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 22afa197db8e4e5b13fac48636917b6d nrpe-2.5.2.tar.gz 100637
-RMD160 79eb2486ebe81e520b4092d91f44e4c1ad0fd44e nrpe-2.5.2.tar.gz 100637
-SHA256 701fa133cffaaab9bce826b076d689f3216fd472585307ab1302b3e469a367b8 nrpe-2.5.2.tar.gz 100637
diff --git a/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.5.2-r1 b/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.5.2-r1
deleted file mode 100644
index a7f996c9f225..000000000000
--- a/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.5.2-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 22afa197db8e4e5b13fac48636917b6d nrpe-2.5.2.tar.gz 100637
-RMD160 79eb2486ebe81e520b4092d91f44e4c1ad0fd44e nrpe-2.5.2.tar.gz 100637
-SHA256 701fa133cffaaab9bce826b076d689f3216fd472585307ab1302b3e469a367b8 nrpe-2.5.2.tar.gz 100637
diff --git a/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.7.1-r2 b/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.7.1-r2
deleted file mode 100644
index 0117f21c9d15..000000000000
--- a/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.7.1-r2
+++ /dev/null
@@ -1,2 +0,0 @@
-RMD160 7af488b8b05991cd8f49d28f716ecaf19cd6d838 nrpe-2.7.1.tar.gz 102000
-SHA256 e8013cc820a2e7352284e24053919622546d3dc2e39c26fbe148d22285809e54 nrpe-2.7.1.tar.gz 102000
diff --git a/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.8.1 b/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.8.1
new file mode 100644
index 000000000000..04d37f84dede
--- /dev/null
+++ b/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.8.1
@@ -0,0 +1,3 @@
+MD5 932dbbe899cd069415fb1f4c65ec479e nrpe-2.8.1.tar.gz 293421
+RMD160 e217606af70afcfd16e3cf9a760597949c737c5d nrpe-2.8.1.tar.gz 293421
+SHA256 672c9523fdbfa08c981f43ef664ae753271a86c7bd65883ad7c4a690615f25e2 nrpe-2.8.1.tar.gz 293421
diff --git a/net-analyzer/nagios-nrpe/files/nrpe-1.8 b/net-analyzer/nagios-nrpe/files/nrpe-1.8
deleted file mode 100644
index dfb4f832138e..000000000000
--- a/net-analyzer/nagios-nrpe/files/nrpe-1.8
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/runscript
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting nrpe"
- start-stop-daemon --start --quiet --name nrpe \
- --startas /usr/nagios/bin/nrpe \
- -c nagios:nagios \
- -- -c /etc/nagios/nrpe.cfg \
- --daemon
- eend $? "Failed to Start nrpe"
-}
-
-stop() {
- ebegin "Stopping nrpe"
- start-stop-daemon --stop --quiet -n nrpe
- eend $? "Failed to Stop nrpe"
-}
-
-restart() {
- ebegin "Restarting nrpe"
- svc_stop
- svc_start
- eend $? "Failed to Restart nrpe"
-}
diff --git a/net-analyzer/nagios-nrpe/files/nrpe-1.8.cfg b/net-analyzer/nagios-nrpe/files/nrpe-1.8.cfg
deleted file mode 100644
index 3f35b7e46964..000000000000
--- a/net-analyzer/nagios-nrpe/files/nrpe-1.8.cfg
+++ /dev/null
@@ -1,109 +0,0 @@
-#############################################################################
-# Sample NRPE Config File
-# Written by: Ethan Galstad (nagios@nagios.org)
-#
-# Last Modified: 12-30-2002
-#
-# NOTES:
-# This is a sample configuration file for the NRPE daemon. It needs to be
-# located on the remote host that is running the NRPE daemon, not the host
-# from which the check_nrpe client is being executed.
-#############################################################################
-
-
-
-# PORT NUMBER
-# Port number we should wait for connections on.
-# NOTE: This must be a non-priviledged port (i.e. > 1024).
-# NOTE: This option is ignored if NRPE is running under either inetd or xinetd
-
-server_port=5666
-
-
-
-# SERVER ADDRESS
-# Address that nrpe should bind to in case there are more than one interface
-# and you do not want nrpe to bind on all interfaces.
-# NOTE: This option is ignored if NRPE is running under either inetd or xinetd
-
-#server_address=192.168.1.1
-
-
-
-# ALLOWED HOST ADDRESSES
-# This is a comma-delimited list of IP address of hosts that are allowed
-# to talk to the NRPE daemon.
-#
-# NOTE: The daemon only does rudimentary checking of the client's IP
-# address. I would highly recommend adding entries in your
-# /etc/hosts.allow file to allow only the specified host to connect
-# to the port you are running this daemon on.
-#
-# NOTE: This option is ignored if NRPE is running under either inetd or xinetd
-
-allowed_hosts=127.0.0.1
-
-
-
-# NRPE USER
-# This determines the effective user that the NRPE daemon should run as.
-# You can either supply a username or a UID.
-#
-# NOTE: This option is ignored if NRPE is running under either inetd or xinetd
-
-nrpe_user=nagios
-
-
-
-# NRPE GROUP
-# This determines the effective group that the NRPE daemon should run as.
-# You can either supply a group name or a GID.
-#
-# NOTE: This option is ignored if NRPE is running under either inetd or xinetd
-
-nrpe_group=nagios
-
-
-
-# DEBUGGING OPTION
-# This option determines whether or not debugging messages are logged to the
-# syslog facility.
-# Values: 0=debugging off, 1=debugging on
-
-debug=0
-
-
-
-# COMMAND TIMEOUT
-# This specifies the maximum number of seconds that the NRPE daemon will
-# allow plugins to finish executing before killing them off.
-
-command_timeout=60
-
-
-
-# COMMAND DEFINITIONS
-# Command definitions that this daemon will run. Definitions
-# are in the following format:
-#
-# command[<command_name>]=<command_line>
-#
-# When the daemon receives a request to return the results of <command_name>
-# it will execute the command specified by the <command_line> argument.
-#
-# Unlike Nagios, the command line cannot contain macros - it must be
-# typed exactly as it should be executed.
-#
-# Note: Any plugins that are used in the command lines must reside
-# on the machine that this daemon is running on! The examples below
-# assume that you have plugins installed in a /usr/nagios/libexec
-# directory. Also note that you will have to modify the definitions below
-# to match the argument format the plugins expect. Remember, these are
-# examples only!
-
-command[check_users]=/usr/nagios/libexec/check_users -w 5 -c 10
-command[check_load]=/usr/nagios/libexec/check_load -w 15,10,5 -c 30,25,20
-command[check_disk1]=/usr/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hda1
-command[check_disk2]=/usr/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hdb1
-command[check_zombie_procs]=/usr/nagios/libexec/check_procs -w 5 -c 10 -s Z
-command[check_total_procs]=/usr/nagios/libexec/check_procs -w 150 -c 200
diff --git a/net-analyzer/nagios-nrpe/files/nrpe-2.3 b/net-analyzer/nagios-nrpe/files/nrpe-2.3
deleted file mode 100644
index dfb4f832138e..000000000000
--- a/net-analyzer/nagios-nrpe/files/nrpe-2.3
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/runscript
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting nrpe"
- start-stop-daemon --start --quiet --name nrpe \
- --startas /usr/nagios/bin/nrpe \
- -c nagios:nagios \
- -- -c /etc/nagios/nrpe.cfg \
- --daemon
- eend $? "Failed to Start nrpe"
-}
-
-stop() {
- ebegin "Stopping nrpe"
- start-stop-daemon --stop --quiet -n nrpe
- eend $? "Failed to Stop nrpe"
-}
-
-restart() {
- ebegin "Restarting nrpe"
- svc_stop
- svc_start
- eend $? "Failed to Restart nrpe"
-}
diff --git a/net-analyzer/nagios-nrpe/files/nrpe-2.5.2 b/net-analyzer/nagios-nrpe/files/nrpe-2.5.2
deleted file mode 100644
index 768d860a7b17..000000000000
--- a/net-analyzer/nagios-nrpe/files/nrpe-2.5.2
+++ /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/nagios/bin/nrpe \
- -c nagios:nagios \
- -- -c /etc/nagios/nrpe.cfg \
- --daemon
- 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
index 705f40d57950..caaf15fc407d 100644
--- a/net-analyzer/nagios-nrpe/metadata.xml
+++ b/net-analyzer/nagios-nrpe/metadata.xml
@@ -3,11 +3,8 @@
<pkgmetadata>
<herd>netmon</herd>
<maintainer>
- <email>malverian@gentoo.org</email>
-</maintainer>
-<maintainer>
- <email>ramereth@gentoo.org</email>
- <name>Lance Albertson</name>
+ <email>dertobi123@gentoo.org</email>
+ <name>Tobias Scherbaum</name>
</maintainer>
<longdescription>
A daemon for allowing Nagios to connect directly to servers and
diff --git a/net-analyzer/nagios-nrpe/nagios-nrpe-1.8-r1.ebuild b/net-analyzer/nagios-nrpe/nagios-nrpe-1.8-r1.ebuild
deleted file mode 100644
index 3777ac4cdc9d..000000000000
--- a/net-analyzer/nagios-nrpe/nagios-nrpe-1.8-r1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/nagios-nrpe-1.8-r1.ebuild,v 1.11 2007/04/28 17:40:40 swegener Exp $
-inherit eutils
-
-DESCRIPTION="Nagios $PV NRPE - Nagios Remote Plugin Executor"
-HOMEPAGE="http://www.nagios.org/"
-SRC_URI="mirror://sourceforge/nagios/nrpe-1.8.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc x86"
-IUSE=""
-DEPEND=">=net-analyzer/nagios-plugins-1.3.0"
-S="${WORKDIR}/nrpe-1.8"
-
-pkg_setup() {
- enewgroup nagios
- enewuser nagios -1 /bin/bash /dev/null nagios
-}
-
-src_compile() {
- ./configure \
- --host=${CHOST} \
- --prefix=/usr/nagios \
- --localstatedir=/var/nagios \
- --sysconfdir=/etc/nagios \
- --with-nrpe-user=nagios \
- --with-nrpe-grp=nagios \
- --infodir=/usr/share/info \
- --mandir=/usr/share/man || die "./configure failed"
- emake all || die
-}
-
-src_install() {
- dodoc LEGAL Changelog README
-
- insinto /etc/nagios
- newins ${FILESDIR}/nrpe-1.8.cfg nrpe.cfg
- fowners root:nagios /etc/nagios/nrpe.cfg
- fperms 0640 /etc/nagios/nrpe.cfg
-
- exeinto /usr/nagios/bin
- doexe src/nrpe
- fowners nagios:nagios /usr/nagios/bin/nrpe
- exeinto /usr/nagios/libexec
- doexe src/check_nrpe
- fowners nagios:nagios /usr/nagios/libexec/check_nrpe
- newinitd ${FILESDIR}/nrpe-1.8 nrpe
-
- fperms 0750 /usr/nagios/libexec/check_nrpe /usr/nagios/bin/nrpe
-}
-pkg_postinst() {
- einfo
- einfo "If you are using the nrpe daemon, remember to edit"
- einfo "the config file /etc/nagios/nrpe.cfg"
- einfo
-}
diff --git a/net-analyzer/nagios-nrpe/nagios-nrpe-2.3.ebuild b/net-analyzer/nagios-nrpe/nagios-nrpe-2.3.ebuild
deleted file mode 100644
index 9933d16b71f3..000000000000
--- a/net-analyzer/nagios-nrpe/nagios-nrpe-2.3.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2007 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.3.ebuild,v 1.5 2007/04/28 17:40:40 swegener 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="nomirror"
-LICENSE="GPL-2"
-SLOT="0"
-
-KEYWORDS="~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
-
- ./configure ${myconf} \
- --host=${CHOST} \
- --prefix=/usr/nagios \
- --localstatedir=/var/nagios \
- --sysconfdir=/etc/nagios \
- --with-nrpe-user=nagios \
- --with-nrpe-grp=nagios \
- --infodir=/usr/share/info \
- --mandir=/usr/share/man || die "./configure failed"
- emake all || die
- # 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/nagios/bin
- doexe src/nrpe
-
- exeopts -m0750 -o nagios -g nagios
- exeinto /usr/nagios/libexec
- doexe src/check_nrpe contrib/nrpe_check_control
-
- newinitd ${FILESDIR}/nrpe-${PV} 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.gz for more info"
- fi
-}
diff --git a/net-analyzer/nagios-nrpe/nagios-nrpe-2.5.2-r1.ebuild b/net-analyzer/nagios-nrpe/nagios-nrpe-2.5.2-r1.ebuild
deleted file mode 100644
index e39d135e0767..000000000000
--- a/net-analyzer/nagios-nrpe/nagios-nrpe-2.5.2-r1.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2007 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.5.2-r1.ebuild,v 1.3 2007/04/28 12:07:55 tove 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="nomirror"
-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
-
- ./configure ${myconf} \
- --host=${CHOST} \
- --prefix=/usr/nagios \
- --localstatedir=/var/nagios \
- --sysconfdir=/etc/nagios \
- --with-nrpe-user=nagios \
- --with-nrpe-grp=nagios \
- --infodir=/usr/share/info \
- --mandir=/usr/share/man || die "./configure failed"
- emake all || die
- # 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/nagios/bin
- doexe src/nrpe
-
- exeopts -m0750 -o nagios -g nagios
- exeinto /usr/nagios/libexec
- doexe src/check_nrpe contrib/nrpe_check_control
-
- newinitd "${FILESDIR}"/nrpe-${PV} nrpe
-
- cat << EOF > "${T}"/55-nagios-revdep
-SEARCH_DIRS="/usr/nagios/bin /usr/nagios/libexec"
-EOF
-
- insinto /etc/revdep-rebuild
- doins "${T}"/55-nagios-revdep
-}
-
-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.gz for more info"
- fi
-}
diff --git a/net-analyzer/nagios-nrpe/nagios-nrpe-2.5.2.ebuild b/net-analyzer/nagios-nrpe/nagios-nrpe-2.5.2.ebuild
deleted file mode 100644
index e550fe91fd98..000000000000
--- a/net-analyzer/nagios-nrpe/nagios-nrpe-2.5.2.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2007 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.5.2.ebuild,v 1.2 2007/04/28 17:40:40 swegener 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="nomirror"
-LICENSE="GPL-2"
-SLOT="0"
-
-KEYWORDS="~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
-
- ./configure ${myconf} \
- --host=${CHOST} \
- --prefix=/usr/nagios \
- --localstatedir=/var/nagios \
- --sysconfdir=/etc/nagios \
- --with-nrpe-user=nagios \
- --with-nrpe-grp=nagios \
- --infodir=/usr/share/info \
- --mandir=/usr/share/man || die "./configure failed"
- emake all || die
- # 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/nagios/bin
- doexe src/nrpe
-
- exeopts -m0750 -o nagios -g nagios
- exeinto /usr/nagios/libexec
- doexe src/check_nrpe contrib/nrpe_check_control
-
- newinitd ${FILESDIR}/nrpe-${PV} 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.gz for more info"
- fi
-}
diff --git a/net-analyzer/nagios-nrpe/nagios-nrpe-2.7.1-r2.ebuild b/net-analyzer/nagios-nrpe/nagios-nrpe-2.8.1.ebuild
index 742d0bcf90bd..e34e5e43639e 100644
--- a/net-analyzer/nagios-nrpe/nagios-nrpe-2.7.1-r2.ebuild
+++ b/net-analyzer/nagios-nrpe/nagios-nrpe-2.8.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 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.7.1-r2.ebuild,v 1.1 2007/06/06 08:09:49 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/nagios-nrpe-2.8.1.ebuild,v 1.1 2007/06/10 17:02:37 dertobi123 Exp $
inherit eutils toolchain-funcs