pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/nagios-nrpe



Module Name:    pkgsrc
Committed By:   fhajny
Date:           Mon Jan 22 15:57:16 UTC 2018

Modified Files:
        pkgsrc/net/nagios-nrpe: Makefile
        pkgsrc/net/nagios-nrpe/files/smf: manifest.xml

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


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/net/nagios-nrpe/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/nagios-nrpe/files/smf/manifest.xml

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/nagios-nrpe/Makefile
diff -u pkgsrc/net/nagios-nrpe/Makefile:1.32 pkgsrc/net/nagios-nrpe/Makefile:1.33
--- pkgsrc/net/nagios-nrpe/Makefile:1.32        Fri Nov  3 17:14:10 2017
+++ pkgsrc/net/nagios-nrpe/Makefile     Mon Jan 22 15:57:16 2018
@@ -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/}
 

Index: pkgsrc/net/nagios-nrpe/files/smf/manifest.xml
diff -u pkgsrc/net/nagios-nrpe/files/smf/manifest.xml:1.3 pkgsrc/net/nagios-nrpe/files/smf/manifest.xml:1.4
--- pkgsrc/net/nagios-nrpe/files/smf/manifest.xml:1.3   Wed Jun  8 10:16:54 2016
+++ pkgsrc/net/nagios-nrpe/files/smf/manifest.xml       Mon Jan 22 15:57:16 2018
@@ -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