pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/nagios-nrpe net/nagios-nrpe: Change SMF now that p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5c13e695a480
branches:  trunk
changeset: 374427:5c13e695a480
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Mon Jan 22 15:57:16 2018 +0000

description:
net/nagios-nrpe: Change SMF now that process switches to
non-privileged user on its own. Fixes joyent/pkgsrc#72.

diffstat:

 net/nagios-nrpe/Makefile               |  3 ++-
 net/nagios-nrpe/files/smf/manifest.xml |  3 ---
 2 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r ee071cf02232 -r 5c13e695a480 net/nagios-nrpe/Makefile
--- a/net/nagios-nrpe/Makefile  Mon Jan 22 15:50:37 2018 +0000
+++ b/net/nagios-nrpe/Makefile  Mon Jan 22 15:57:16 2018 +0000
@@ -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 -r ee071cf02232 -r 5c13e695a480 net/nagios-nrpe/files/smf/manifest.xml
--- a/net/nagios-nrpe/files/smf/manifest.xml    Mon Jan 22 15:50:37 2018 +0000
+++ b/net/nagios-nrpe/files/smf/manifest.xml    Mon Jan 22 15:57:16 2018 +0000
@@ -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" />



Home | Main Index | Thread Index | Old Index