summaryrefslogtreecommitdiff
path: root/net/nagios-nrpe
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2018-01-22 15:57:16 +0000
committerfhajny <fhajny@pkgsrc.org>2018-01-22 15:57:16 +0000
commitd2d2b69179137b6838d340fadb9b5f76d7cac4a4 (patch)
tree08b81a96cb6c1c2fe27f25f45ae5790778f1d283 /net/nagios-nrpe
parentefc81292ee568103ef80c3d90536d23adbce4ae0 (diff)
downloadpkgsrc-d2d2b69179137b6838d340fadb9b5f76d7cac4a4.tar.gz
net/nagios-nrpe: Change SMF now that process switches to
non-privileged user on its own. Fixes joyent/pkgsrc#72.
Diffstat (limited to 'net/nagios-nrpe')
-rw-r--r--net/nagios-nrpe/Makefile3
-rw-r--r--net/nagios-nrpe/files/smf/manifest.xml3
2 files changed, 2 insertions, 4 deletions
diff --git a/net/nagios-nrpe/Makefile b/net/nagios-nrpe/Makefile
index a4e08a0bc25..824c7d5e946 100644
--- a/net/nagios-nrpe/Makefile
+++ b/net/nagios-nrpe/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.32 2017/11/03 17:14:10 bsiegert Exp $
+# $NetBSD: Makefile,v 1.33 2018/01/22 15:57:16 fhajny Exp $
#
DISTNAME= nrpe-3.2.0
PKGNAME= nagios-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= net sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nagios/}
diff --git a/net/nagios-nrpe/files/smf/manifest.xml b/net/nagios-nrpe/files/smf/manifest.xml
index 8c43678a5de..664821ed58c 100644
--- a/net/nagios-nrpe/files/smf/manifest.xml
+++ b/net/nagios-nrpe/files/smf/manifest.xml
@@ -10,9 +10,6 @@
<dependency name="filesystem" grouping="require_all" restart_on="error" type="service">
<service_fmri value="svc:/system/filesystem/local" />
</dependency>
- <method_context working_directory="/tmp">
- <method_credential user="@NAGIOS_USER@" group="@NAGIOS_GROUP@" />
- </method_context>
<exec_method type="method" name="start" exec="@PREFIX@/sbin/nrpe -c %{config_file} -d" timeout_seconds="60" />
<exec_method type="method" name="stop" exec=":kill" timeout_seconds="60" />
<exec_method type="method" name="refresh" exec=":kill -HUP" timeout_seconds="60" />