summaryrefslogtreecommitdiff
path: root/net-mgmt/nrpe
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-05-04 22:42:59 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-05-04 22:42:59 +0000
commitafb67560fc3be13e325bb34abc3d73958008fae2 (patch)
treef2db4a3487ec1751dd7e80b67edc7251b3e510c7 /net-mgmt/nrpe
parent- update to 1.3.10 (diff)
2009-04-28 audio/festival+OGI: unmaintained, does not work with current versions of GCC, needs gcc295 which has been failing to build for months
2009-04-17 net-mgmt/nrpe: Obsolete version, consider migration to net-mgmt/nrpe2
Notes
Notes: svn path=/head/; revision=233242
Diffstat (limited to 'net-mgmt/nrpe')
-rw-r--r--net-mgmt/nrpe/Makefile41
-rw-r--r--net-mgmt/nrpe/distinfo3
-rw-r--r--net-mgmt/nrpe/files/nrpe.in31
-rw-r--r--net-mgmt/nrpe/files/pkg-message.in5
-rw-r--r--net-mgmt/nrpe/pkg-descr9
-rw-r--r--net-mgmt/nrpe/pkg-install68
-rw-r--r--net-mgmt/nrpe/pkg-plist3
7 files changed, 0 insertions, 160 deletions
diff --git a/net-mgmt/nrpe/Makefile b/net-mgmt/nrpe/Makefile
deleted file mode 100644
index 0b18876c259b..000000000000
--- a/net-mgmt/nrpe/Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
-# New ports collection makefile for: nrpe
-# Date created: 1 Aug 2002
-# Whom: Paul Dlug<paul@nerdlabs.com>
-#
-# $FreeBSD$
-#
-
-PORTNAME= nrpe
-PORTVERSION= 1.9
-PORTREVISION= 5
-CATEGORIES= net-mgmt
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= nagios
-
-MAINTAINER= jarrod@netleader.com.au
-COMMENT= Nagios Remote Plugin Executor
-
-DEPRECATED= Obsolete version, consider migration to net-mgmt/nrpe2
-EXPIRATION_DATE= 2009-04-17
-
-RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/nagios-plugins
-
-GNU_CONFIGURE= yes
-USE_PERL5= yes
-USE_RC_SUBR= nrpe
-SUB_FILES= pkg-message
-
-CONFIGURE_ARGS= \
- --libexecdir=${PREFIX}/libexec/nagios --sysconfdir=${PREFIX}/etc \
- --sbindir=${PREFIX}/sbin --bindir=${PREFIX}/sbin
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/nrpe ${PREFIX}/sbin/nrpe
- ${INSTALL_PROGRAM} ${WRKSRC}/src/check_nrpe \
- ${PREFIX}/libexec/nagios/check_nrpe
- ${INSTALL_DATA} ${WRKSRC}/nrpe.cfg ${PREFIX}/etc/nrpe.cfg-sample
-
-post-install:
- ${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.mk>
diff --git a/net-mgmt/nrpe/distinfo b/net-mgmt/nrpe/distinfo
deleted file mode 100644
index 905414c70f72..000000000000
--- a/net-mgmt/nrpe/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (nrpe-1.9.tar.gz) = b4a5e00963f1aaa754ae877b9f921565
-SHA256 (nrpe-1.9.tar.gz) = c1909fca9987f10ad4280e0d17d76016e3646e631572cc1e3e45a1f2f9bc4a35
-SIZE (nrpe-1.9.tar.gz) = 41513
diff --git a/net-mgmt/nrpe/files/nrpe.in b/net-mgmt/nrpe/files/nrpe.in
deleted file mode 100644
index 5e108a3f7aaf..000000000000
--- a/net-mgmt/nrpe/files/nrpe.in
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD: /tmp/pcvs/ports/net-mgmt/nrpe/files/Attic/nrpe.in,v 1.2 2008-04-24 16:21:57 anders Exp $
-#
-
-# PROVIDE: nrpe
-# REQUIRE: NETWORKING
-# KEYWORD: shutdown
-
-#
-# Add the following lines to /etc/rc.conf to enable apache2:
-# nrpe_enable (bool): Set to "NO" by default.
-# Set it to "YES" to enable nrpe
-# nrpe_config (string): Set to "/usr/local/etc/nrpe.cfg" by default.
-#
-
-. %%RC_SUBR%%
-
-name="nrpe"
-rcvar=`set_rcvar`
-
-command="%%PREFIX%%/sbin/nrpe"
-
-[ -z "$nrpe_enable" ] && nrpe_enable="NO"
-[ -z "$nrpe_config" ] && nrpe_config="%%PREFIX%%/etc/nrpe.cfg"
-
-nrpe_flags="-c ${nrpe_config} --daemon"
-
-load_rc_config $name
-
-run_rc_command "$1"
diff --git a/net-mgmt/nrpe/files/pkg-message.in b/net-mgmt/nrpe/files/pkg-message.in
deleted file mode 100644
index b9fec1fc5d5b..000000000000
--- a/net-mgmt/nrpe/files/pkg-message.in
+++ /dev/null
@@ -1,5 +0,0 @@
-*************************************************************************
-Available variables you add/set to /etc/rc.conf:
-- nrpe_enable (bool): Set to "NO" by default
-- nrpe_config (string): Set to %%PREFIX%%/etc/nrpe.cfg by default
-*************************************************************************
diff --git a/net-mgmt/nrpe/pkg-descr b/net-mgmt/nrpe/pkg-descr
deleted file mode 100644
index ad2d2a4cee3f..000000000000
--- a/net-mgmt/nrpe/pkg-descr
+++ /dev/null
@@ -1,9 +0,0 @@
-nrpe is used to execute Nagios plugins on remote hosts and report the results
-to the main Nagios server. From the Nagios homepage:
-
-Allows you to execute "local" plugins (like check_disk, check_procs, etc.) on
-remote hosts. The check_nrpe plugin is called from Nagios and actually makes
-the plugin requests to the remote host. Requires that nrpe be running on the
-remote host (either as a standalone daemon or as a service under inetd).
-
-WWW: http://www.nagios.org/
diff --git a/net-mgmt/nrpe/pkg-install b/net-mgmt/nrpe/pkg-install
deleted file mode 100644
index 84d0055c289f..000000000000
--- a/net-mgmt/nrpe/pkg-install
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD: /tmp/pcvs/ports/net-mgmt/nrpe/Attic/pkg-install,v 1.1 2003-01-09 22:13:58 edwin Exp $
-#
-
-PKG_PREFIX=${PKG_PREFIX:=/usr/local}
-
-user=nagios
-group=nagios
-
-ask() {
- local question default answer
-
- question=$1
- default=$2
- if [ -z "${PACKAGE_BUILDING}" ]; then
- read -p "${question} [${default}]? " answer
- fi
- if [ x${answer} = x ]; then
- answer=${default}
- fi
- echo ${answer}
-}
-
-yesno() {
- local dflt question answer
-
- question=$1
- dflt=$2
- while :; do
- answer=$(ask "${question}" "${dflt}")
- case "${answer}" in
- [Yy]*) return 0;;
- [Nn]*) return 1;;
- esac
- echo "Please answer yes or no."
- done
-}
-
-if [ x"$2" = xPRE-INSTALL ]; then
- if /usr/sbin/pw groupshow "${group}" 2>/dev/null; then
- echo "You already have a group \"${group}\", so I will use it."
- else
- echo "You need a group \"${group}\"."
- if yesno "Would you like me to create it" y; then
- /usr/sbin/pw groupadd ${group} -h - || exit
- echo "Done."
- else
- echo "Please create it, and try again."
- exit 1
- fi
- fi
-
- if /usr/sbin/pw user show "${user}" 2>/dev/null; then
- echo "You already have a user \"${user}\", so I will use it."
- else
- echo "You need a user \"${user}\"."
- if yesno "Would you like me to create it" y; then
- /usr/sbin/pw useradd ${user} -g ${group} -h - -d ${PKG_PREFIX}/var/nagios \
- -s /nonexistent -c "Nagios pseudo-user" || exit
- echo "Done."
- else
- echo "Please create it, and try again."
- exit 1
- fi
- fi
-
-fi
diff --git a/net-mgmt/nrpe/pkg-plist b/net-mgmt/nrpe/pkg-plist
deleted file mode 100644
index e91281a30811..000000000000
--- a/net-mgmt/nrpe/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-sbin/nrpe
-etc/nrpe.cfg-sample
-libexec/nagios/check_nrpe