pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/xymonclient
Module Name: pkgsrc
Committed By: hauke
Date: Wed Oct 14 10:53:44 UTC 2020
Modified Files:
pkgsrc/net/xymonclient: Makefile
Added Files:
pkgsrc/net/xymonclient/files/smf: manifest.xml
Log Message:
Add SMF support for Solarish OSes.
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/net/xymonclient/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/net/xymonclient/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/xymonclient/Makefile
diff -u pkgsrc/net/xymonclient/Makefile:1.24 pkgsrc/net/xymonclient/Makefile:1.25
--- pkgsrc/net/xymonclient/Makefile:1.24 Sun Jan 26 05:26:26 2020
+++ pkgsrc/net/xymonclient/Makefile Wed Oct 14 10:53:44 2020
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.24 2020/01/26 05:26:26 rillig Exp $
+# $NetBSD: Makefile,v 1.25 2020/10/14 10:53:44 hauke Exp $
#
DISTNAME= xymon-4.3.29
PKGNAME= xymonclient-4.3.29
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xymon/}
@@ -39,6 +40,7 @@ PKG_USERS_VARS+= XYMONUSER
# startup and config
RCD_SCRIPTS+= xymonclient
+SMF_INSTANCES+= xymonclient
PKG_SYSCONFDIR.xymon= ${PREFIX}/etc/xymon
EXAMPLEDIR= ${PREFIX}/share/examples/xymon
Added files:
Index: pkgsrc/net/xymonclient/files/smf/manifest.xml
diff -u /dev/null pkgsrc/net/xymonclient/files/smf/manifest.xml:1.1
--- /dev/null Wed Oct 14 10:53:44 2020
+++ pkgsrc/net/xymonclient/files/smf/manifest.xml Wed Oct 14 10:53:44 2020
@@ -0,0 +1,49 @@
+<?xml version="1.0"?>
+<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
+<service_bundle type='manifest' name='export'>
+<service name='@SMF_PREFIX@/@SMF_NAME@' type='service' version='1'>
+ <dependency name='fs-root' grouping='require_all' restart_on='none' type='service'>
+ <service_fmri value='svc:/system/filesystem/root' />
+ </dependency>
+ <dependency name='network-service' grouping='require_all' restart_on='none' type='service'>
+ <service_fmri value='svc:/network/service'/>
+ </dependency>
+ <dependency name='filesystem' grouping='require_all' restart_on='none' type='service'>
+ <service_fmri value='svc:/system/filesystem/local'/>
+ </dependency>
+ <dependency name='multi-user-server' grouping='optional_all' restart_on='none' type='service'>
+ <service_fmri value='svc:/milestone/multi-user-server' />
+ </dependency>
+
+
+ <instance name='xymonclient' enabled='false'>
+ <exec_method type='method' name='start' exec='@PREFIX@/libexec/xymon/client/runclient.sh start' timeout_seconds='10'>
+ <method_context>
+ <method_credential user='xymon'/>
+ </method_context>
+ </exec_method>
+
+ <exec_method type='method' name='stop' exec='@PREFIX@/libexec/xymon/client/runclient.sh stop' timeout_seconds='10'>
+ <method_context>
+ <method_credential user='xymon' />
+ </method_context>
+ </exec_method>
+
+ <exec_method type='method' name='restart' exec='@PREFIX@/libexec/xymon/client/runclient.sh restart' timeout_seconds='10'>
+ <method_context>
+ <method_credential user='xymon' />
+ </method_context>
+ </exec_method>
+
+ <template>
+ <common_name>
+ <loctext xml:lang='C'>Xymon System Monitor Client</loctext>
+ </common_name>
+ <documentation>
+ <manpage title='xymonclient' section='8' manpath='@PREFIX@/@PKGMANDIR@'/>
+ </documentation>
+ </template>
+ </instance>
+
+</service>
+</service_bundle>
Home |
Main Index |
Thread Index |
Old Index