summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Albertson <ramereth@gentoo.org>2006-07-04 20:01:30 +0000
committerLance Albertson <ramereth@gentoo.org>2006-07-04 20:01:30 +0000
commit49baf3ee476980d3bc70bb08be1d728443f4d9ce (patch)
treeca50baffc3004faa4accbbb683d787907b5753ef /net-analyzer/nagios-nrpe
parentversion bump, marked 2.5.1 stable, cleaned old files (diff)
downloadgentoo-2-49baf3ee476980d3bc70bb08be1d728443f4d9ce.tar.gz
gentoo-2-49baf3ee476980d3bc70bb08be1d728443f4d9ce.tar.bz2
gentoo-2-49baf3ee476980d3bc70bb08be1d728443f4d9ce.zip
version bump, marked 2.5.1 stable, cleaned old files
(Portage version: 2.1-r1) (Unsigned Manifest commit)
Diffstat (limited to 'net-analyzer/nagios-nrpe')
-rw-r--r--net-analyzer/nagios-nrpe/Manifest62
-rw-r--r--net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.01
-rw-r--r--net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.0-r11
-rw-r--r--net-analyzer/nagios-nrpe/files/nrpe-2.028
-rw-r--r--net-analyzer/nagios-nrpe/files/nrpe-2.0.cfg109
-rw-r--r--net-analyzer/nagios-nrpe/nagios-nrpe-2.0-r1.ebuild86
-rw-r--r--net-analyzer/nagios-nrpe/nagios-nrpe-2.0.ebuild74
7 files changed, 50 insertions, 311 deletions
diff --git a/net-analyzer/nagios-nrpe/Manifest b/net-analyzer/nagios-nrpe/Manifest
index 66d36e5d29a3..ec58cb1c69a0 100644
--- a/net-analyzer/nagios-nrpe/Manifest
+++ b/net-analyzer/nagios-nrpe/Manifest
@@ -1,18 +1,56 @@
-MD5 d708f0f252011468eb6e251951829ae3 ChangeLog 3558
-MD5 a9506069b34b36a580c78efa20b05cc9 files/digest-nagios-nrpe-1.8-r1 59
-MD5 f1fc0bb370291c6d0304900e25a62dc6 files/digest-nagios-nrpe-2.0 59
-MD5 f1fc0bb370291c6d0304900e25a62dc6 files/digest-nagios-nrpe-2.0-r1 59
-MD5 82211b8da1d8b71325856f9ef0334c31 files/digest-nagios-nrpe-2.3 59
-MD5 2b30ccd58fec24b4259f418590703f73 files/digest-nagios-nrpe-2.5.1 62
+AUX nrpe-1.8 462 RMD160 00f49ef6b7c795cf9d02b8dd4e93b65fbfcb202c SHA1 b91dbfedda11eab9afb49adca3e294269bfa3ae3 SHA256 2453bf826b428777736c9a04a605c83cdc774765372e0525704e73116045fff7
MD5 1ea034ce9ade9210fa8c4ade4d51d132 files/nrpe-1.8 462
+RMD160 00f49ef6b7c795cf9d02b8dd4e93b65fbfcb202c files/nrpe-1.8 462
+SHA256 2453bf826b428777736c9a04a605c83cdc774765372e0525704e73116045fff7 files/nrpe-1.8 462
+AUX nrpe-1.8.cfg 3501 RMD160 dd41f8c3bbd7d1891b41b5ee40540ef6f8cb270f SHA1 b4b0b7a92d16d9bde1c10a18cdb32cb191e162e5 SHA256 7149773365ef36afc4d1adef78cde5eb22aaa7aa6d9a10d2c17cc29a643c797f
MD5 3c91382446609ec78fa98d94509539dd files/nrpe-1.8.cfg 3501
-MD5 1ea034ce9ade9210fa8c4ade4d51d132 files/nrpe-2.0 462
-MD5 3c91382446609ec78fa98d94509539dd files/nrpe-2.0.cfg 3501
+RMD160 dd41f8c3bbd7d1891b41b5ee40540ef6f8cb270f files/nrpe-1.8.cfg 3501
+SHA256 7149773365ef36afc4d1adef78cde5eb22aaa7aa6d9a10d2c17cc29a643c797f files/nrpe-1.8.cfg 3501
+AUX nrpe-2.3 462 RMD160 00f49ef6b7c795cf9d02b8dd4e93b65fbfcb202c SHA1 b91dbfedda11eab9afb49adca3e294269bfa3ae3 SHA256 2453bf826b428777736c9a04a605c83cdc774765372e0525704e73116045fff7
MD5 1ea034ce9ade9210fa8c4ade4d51d132 files/nrpe-2.3 462
+RMD160 00f49ef6b7c795cf9d02b8dd4e93b65fbfcb202c files/nrpe-2.3 462
+SHA256 2453bf826b428777736c9a04a605c83cdc774765372e0525704e73116045fff7 files/nrpe-2.3 462
+AUX nrpe-2.5.1 591 RMD160 27dec27f122cc022215e1c049b8749cc75746150 SHA1 08c79e7a2e0458c2e896e1470fe6de1591095881 SHA256 795470c9bce54145e54879b22ae9a1a3c288c87418bc45e4b9f5420112a27d5e
MD5 42f690b8d27db81fc5ead027cad36202 files/nrpe-2.5.1 591
-MD5 56c82d2c8a7e7500f3fec23e5bc43cf1 metadata.xml 483
+RMD160 27dec27f122cc022215e1c049b8749cc75746150 files/nrpe-2.5.1 591
+SHA256 795470c9bce54145e54879b22ae9a1a3c288c87418bc45e4b9f5420112a27d5e files/nrpe-2.5.1 591
+DIST nrpe-1.8.tar.gz 41347
+DIST nrpe-2.3.tar.gz 97586 RMD160 b366e1bb4209921002079c8cf75414bb9cf25cd7 SHA1 03231fecaf5dbbde1d56ba95b0ad77b30106df0c SHA256 c961a21feff2995df39ee18478bc1b1a38ab8da0e5fe62b31fafc234de58f248
+DIST nrpe-2.5.1.tar.gz 100382 RMD160 757eb92cde878d8a0d3e483149d8969728ed7e03 SHA1 1beab9dc5fe77b722a12161b23b536ac5e28a6a4 SHA256 a23a0a37d81900d03884898bd0ae9b9da95348cc4a08695a4c229337c83fbe5e
+DIST nrpe-2.5.2.tar.gz 100637 RMD160 79eb2486ebe81e520b4092d91f44e4c1ad0fd44e SHA1 e0fe51474d0d08fa6fc4b09ceab9adcc2585ddac SHA256 701fa133cffaaab9bce826b076d689f3216fd472585307ab1302b3e469a367b8
+EBUILD nagios-nrpe-1.8-r1.ebuild 1562 RMD160 62e21be8bdc8ac1750f406a812eef141751cf3e7 SHA1 41726d2140d4b283502a8bfa1fb8ef5f23ee9541 SHA256 7c37c99999f410703a38b01173edf18229eea73f7486df0b284e0b42b5903eb9
MD5 9d91fabf9f7f1bda0b75ba5280521932 nagios-nrpe-1.8-r1.ebuild 1562
-MD5 92e4878b8d7dfe7d82f5e7373b808e13 nagios-nrpe-2.0-r1.ebuild 2365
-MD5 7b0467e3d86956a9f4441597238c5f3a nagios-nrpe-2.0.ebuild 1889
+RMD160 62e21be8bdc8ac1750f406a812eef141751cf3e7 nagios-nrpe-1.8-r1.ebuild 1562
+SHA256 7c37c99999f410703a38b01173edf18229eea73f7486df0b284e0b42b5903eb9 nagios-nrpe-1.8-r1.ebuild 1562
+EBUILD nagios-nrpe-2.3.ebuild 2365 RMD160 bdb91218370052616e4f89d7fce0dddb38f9f206 SHA1 a420fb4bfd5121db33aab792cfff406356a8d839 SHA256 46d3c359ab38c55c53c6092753f4a1b25ec58067ba751c257bf11c4e2ce66504
MD5 8c195340e31b09e23d889daa5df292de nagios-nrpe-2.3.ebuild 2365
-MD5 94f44e85ae4a1e70cf860f4e0ba91039 nagios-nrpe-2.5.1.ebuild 2371
+RMD160 bdb91218370052616e4f89d7fce0dddb38f9f206 nagios-nrpe-2.3.ebuild 2365
+SHA256 46d3c359ab38c55c53c6092753f4a1b25ec58067ba751c257bf11c4e2ce66504 nagios-nrpe-2.3.ebuild 2365
+EBUILD nagios-nrpe-2.5.1.ebuild 2370 RMD160 ffa5be49c9c7ab805d1812be7bcebd7f536130fa SHA1 e8096920f0770b610487ddf349aa5b1abf3bfa5f SHA256 82be4063de8cbb56bb3123d5c58a348f626470a9f67aef0173d841c4f53d7c30
+MD5 6e32a443c7ab221564f29b51cc35dfd1 nagios-nrpe-2.5.1.ebuild 2370
+RMD160 ffa5be49c9c7ab805d1812be7bcebd7f536130fa nagios-nrpe-2.5.1.ebuild 2370
+SHA256 82be4063de8cbb56bb3123d5c58a348f626470a9f67aef0173d841c4f53d7c30 nagios-nrpe-2.5.1.ebuild 2370
+EBUILD nagios-nrpe-2.5.2.ebuild 2371 RMD160 84037d7b1f8f5f349496ca41d900bd6421cb2a65 SHA1 2f12632e8bbcb4b76570f1168533e6f058538514 SHA256 4cd77ee1d1645c3695cdd244ce1d33dd9eb942e5a79afe951894a941c7db6d8c
+MD5 30eaef707a3a90b513e6abd69f88ff9d nagios-nrpe-2.5.2.ebuild 2371
+RMD160 84037d7b1f8f5f349496ca41d900bd6421cb2a65 nagios-nrpe-2.5.2.ebuild 2371
+SHA256 4cd77ee1d1645c3695cdd244ce1d33dd9eb942e5a79afe951894a941c7db6d8c nagios-nrpe-2.5.2.ebuild 2371
+MISC ChangeLog 3873 RMD160 3da2be8991a166b8484efcb567a15cf00f8fc764 SHA1 f07a9f9ad29b337f24c734073cd035fbcf35a45b SHA256 e4bd6dea13ef82c9db5503363c3c3e4918d3c0dd65ab4558343c09ebaf97557e
+MD5 abc734ee6d57fa4c21fe9de1c9323171 ChangeLog 3873
+RMD160 3da2be8991a166b8484efcb567a15cf00f8fc764 ChangeLog 3873
+SHA256 e4bd6dea13ef82c9db5503363c3c3e4918d3c0dd65ab4558343c09ebaf97557e ChangeLog 3873
+MISC metadata.xml 483 RMD160 17cbf2c8c726024d7ab5d9856f417ecfb6c8624a SHA1 57c75f6469598a3ad0828022b36db734752a6170 SHA256 20e6427e87ba3ff8ed5a3df13c3a5c4ac9e1e36fec8e14bc63fdb3e80d0743d9
+MD5 56c82d2c8a7e7500f3fec23e5bc43cf1 metadata.xml 483
+RMD160 17cbf2c8c726024d7ab5d9856f417ecfb6c8624a metadata.xml 483
+SHA256 20e6427e87ba3ff8ed5a3df13c3a5c4ac9e1e36fec8e14bc63fdb3e80d0743d9 metadata.xml 483
+MD5 a9506069b34b36a580c78efa20b05cc9 files/digest-nagios-nrpe-1.8-r1 59
+RMD160 063200c154663aa8da605b84b0624c9fc908ddcb files/digest-nagios-nrpe-1.8-r1 59
+SHA256 292b20bc9cb7e89f165995a5a9de68af1888fcb08bad8886d38f61c7c12f5048 files/digest-nagios-nrpe-1.8-r1 59
+MD5 fdd1a27a02fad4c0f569bb8482ce0208 files/digest-nagios-nrpe-2.3 223
+RMD160 1a9e2b61fbbd073046c65962346ec16d92c91f15 files/digest-nagios-nrpe-2.3 223
+SHA256 69e6c6029caf44d643a499d72eaf01de4b085d3846bd75af5f5c14671f08ae63 files/digest-nagios-nrpe-2.3 223
+MD5 bca0c3464d4185576338950243fc75ee files/digest-nagios-nrpe-2.5.1 232
+RMD160 f0ebfd3f6d4f9e798b0fa3ebfc6640fce8b0bac0 files/digest-nagios-nrpe-2.5.1 232
+SHA256 f1a60ba0f4b225ada804d2d49c56f25edccfd51291c8b03ed7dba60dcf311189 files/digest-nagios-nrpe-2.5.1 232
+MD5 310907b9fcd3cc8c8fdf4f61c4025c5d files/digest-nagios-nrpe-2.5.2 232
+RMD160 1ffdb4206729412896ab41cd6acd0f04665e6cec files/digest-nagios-nrpe-2.5.2 232
+SHA256 234b64d0371546d8665a25e680911d6fe7a482abdcae45b2daddd660dcd8574b files/digest-nagios-nrpe-2.5.2 232
diff --git a/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.0 b/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.0
deleted file mode 100644
index fb06ce736c2b..000000000000
--- a/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 70ef9502a3b7e49fa520dbceabfa04d0 nrpe-2.0.tar.gz 52157
diff --git a/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.0-r1 b/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.0-r1
deleted file mode 100644
index fb06ce736c2b..000000000000
--- a/net-analyzer/nagios-nrpe/files/digest-nagios-nrpe-2.0-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 70ef9502a3b7e49fa520dbceabfa04d0 nrpe-2.0.tar.gz 52157
diff --git a/net-analyzer/nagios-nrpe/files/nrpe-2.0 b/net-analyzer/nagios-nrpe/files/nrpe-2.0
deleted file mode 100644
index dfb4f832138e..000000000000
--- a/net-analyzer/nagios-nrpe/files/nrpe-2.0
+++ /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.0.cfg b/net-analyzer/nagios-nrpe/files/nrpe-2.0.cfg
deleted file mode 100644
index 3f35b7e46964..000000000000
--- a/net-analyzer/nagios-nrpe/files/nrpe-2.0.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/nagios-nrpe-2.0-r1.ebuild b/net-analyzer/nagios-nrpe/nagios-nrpe-2.0-r1.ebuild
deleted file mode 100644
index ab0748aded22..000000000000
--- a/net-analyzer/nagios-nrpe/nagios-nrpe-2.0-r1.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2006 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.0-r1.ebuild,v 1.6 2006/02/07 20:45:53 blubb 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 ${FILESDIR}/nrpe-${PV}.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
-
- exeinto /etc/init.d
- newexe ${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.0.ebuild b/net-analyzer/nagios-nrpe/nagios-nrpe-2.0.ebuild
deleted file mode 100644
index 3755ff6e51ca..000000000000
--- a/net-analyzer/nagios-nrpe/nagios-nrpe-2.0.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2005 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.0.ebuild,v 1.12 2005/12/19 08:36:15 corsair Exp $
-
-inherit eutils
-
-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"
-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`"
-
- # 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
-}
-
-src_install() {
- dodoc LEGAL Changelog README SECURITY README.SSL
-
- insinto /etc/nagios
- newins ${FILESDIR}/nrpe-${PV}.cfg nrpe.cfg
- fowners root:nagios /etc/nagios/nrpe.cfg
- fperms 0640 /etc/nagios/nrpe.cfg
-
- exeinto /usr/nagios/bin
- doexe src/nrpe
-
- exeinto /usr/nagios/libexec
- doexe src/check_nrpe
-
- fowners nagios:nagios /usr/nagios/libexec/check_nrpe /usr/nagios/bin/nrpe
- fperms 0750 /usr/nagios/libexec/check_nrpe /usr/nagios/bin/nrpe
-
- exeinto /etc/init.d
- newexe ${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
-}