pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/daemontools
Module Name: pkgsrc
Committed By: otis
Date: Sat Jul 8 11:11:10 UTC 2023
Modified Files:
pkgsrc/sysutils/daemontools: Makefile
Added Files:
pkgsrc/sysutils/daemontools/files/smf: manifest.xml
Log Message:
sysutils/daemontools: Add Solaris/illumos SMF manifest
Put svscanboot under SMF control on Solaris/illumos.
Approved by: schmonz
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 pkgsrc/sysutils/daemontools/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/daemontools/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/sysutils/daemontools/Makefile
diff -u pkgsrc/sysutils/daemontools/Makefile:1.49 pkgsrc/sysutils/daemontools/Makefile:1.50
--- pkgsrc/sysutils/daemontools/Makefile:1.49 Fri Jun 2 18:35:04 2023
+++ pkgsrc/sysutils/daemontools/Makefile Sat Jul 8 11:11:10 2023
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.49 2023/06/02 18:35:04 schmonz Exp $
+# $NetBSD: Makefile,v 1.50 2023/07/08 11:11:10 otis Exp $
DISTNAME= daemontools-0.76
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= sysutils
MASTER_SITES= http://cr.yp.to/daemontools/ ftp://cr.yp.to/daemontools/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${MANPAGES}
@@ -36,6 +36,8 @@ SUBST_SED.paths+= -e 's|/command/svc |${
MAKE_ENV+= PKGSRC_SHELL=${TOOLS_PLATFORM.sh}
+SMF_NAME= svscanboot
+
.include "options.mk"
do-install:
Added files:
Index: pkgsrc/sysutils/daemontools/files/smf/manifest.xml
diff -u /dev/null pkgsrc/sysutils/daemontools/files/smf/manifest.xml:1.1
--- /dev/null Sat Jul 8 11:11:10 2023
+++ pkgsrc/sysutils/daemontools/files/smf/manifest.xml Sat Jul 8 11:11:10 2023
@@ -0,0 +1,32 @@
+<?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">
+ <create_default_instance enabled="false"/>
+ <single_instance/>
+ <dependency name="network" grouping="require_all" restart_on="error" type="service">
+ <service_fmri value="svc:/milestone/network:default"/>
+ </dependency>
+ <dependency name="filesystem" grouping="require_all" restart_on="error" type="service">
+ <service_fmri value="svc:/system/filesystem/local"/>
+ </dependency>
+ <exec_method type="method" name="start" exec="@PREFIX@/bin/svscanboot" timeout_seconds="60">
+ <method_context>
+ <method_environment>
+ <envvar name="PATH" value="@PREFIX@/sbin:@PREFIX@/bin:/sbin:/usr/sbin:/usr/bin"/>
+ </method_environment>
+ </method_context>
+ </exec_method>
+ <exec_method type="method" name="stop" exec=":kill" timeout_seconds="60"/>
+ <property_group name="application" type="application"></property_group>
+ <property_group name="startd" type="framework">
+ <propval name="duration" type="astring" value="child"/>
+ <propval name="ignore_error" type="astring" value="core,signal"/>
+ </property_group>
+ <template>
+ <common_name>
+ <loctext xml:lang="C">Scan /service directory to start and monitor a collection of services.</loctext>
+ </common_name>
+ </template>
+ </service>
+</service_bundle>
Home |
Main Index |
Thread Index |
Old Index