pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/samba4/files/smf samba4: Add winbind SMF instance ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1052980a82b2
branches:  trunk
changeset: 442874:1052980a82b2
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Dec 02 10:54:15 2020 +0000

description:
samba4: Add winbind SMF instance and tidy.

diffstat:

 net/samba4/files/smf/manifest.xml |  88 +++++++++++++++++++++-----------------
 1 files changed, 49 insertions(+), 39 deletions(-)

diffs (94 lines):

diff -r 01cac62febe8 -r 1052980a82b2 net/samba4/files/smf/manifest.xml
--- a/net/samba4/files/smf/manifest.xml Wed Dec 02 10:45:47 2020 +0000
+++ b/net/samba4/files/smf/manifest.xml Wed Dec 02 10:54:15 2020 +0000
@@ -1,41 +1,51 @@
-<?xml version="1.0"?>
-<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
+<?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>
-
-       <instance name='smbd' enabled='false'>
-               <exec_method name='start'   type='method' exec='@PREFIX@/sbin/smbd -D' timeout_seconds='0'/>
-               <exec_method name='stop'    type='method' exec=':kill'      timeout_seconds='30'/>
-               <exec_method name='refresh' type='method' exec=':kill -HUP' timeout_seconds='0'/>
-               <template>
-                       <common_name>
-                               <loctext xml:lang='C'>Samba SMB/CIFS services</loctext>
-                       </common_name>
-                       <documentation>
-                               <manpage title='smbd' section='8' manpath='@PREFIX@/@PKGMANDIR@'/>
-                       </documentation>
-               </template>
-       </instance>
-
-       <instance name='nmbd' enabled='false'>
-               <exec_method name='start'   type='method' exec='@PREFIX@/sbin/nmbd -D' timeout_seconds='0'/>
-               <exec_method name='stop'    type='method' exec=':kill'      timeout_seconds='30'/>
-               <exec_method name='refresh' type='method' exec=':kill -HUP' timeout_seconds='0'/>
-               <template>
-                       <common_name>
-                               <loctext xml:lang='C'>Samba NetBIOS name server</loctext>
-                       </common_name>
-                       <documentation>
-                               <manpage title='nmbd' section='8' manpath='@PREFIX@/@PKGMANDIR@'/>
-                       </documentation>
-               </template>
-       </instance>
-
-</service>
+  <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>
+    <instance name='winbind' enabled='false'>
+      <exec_method name='start' type='method' exec='@PREFIX@/sbin/winbindd' timeout_seconds='0'/>
+      <exec_method name='stop' type='method' exec=':kill' timeout_seconds='30'/>
+      <exec_method name='refresh' type='method' exec=':kill -HUP' timeout_seconds='0'/>
+      <template>
+        <common_name>
+          <loctext xml:lang='C'>Samba AD daemon for PAM/NSS</loctext>
+        </common_name>
+        <documentation>
+          <manpage title='winbindd' section='8' manpath='@PREFIX@/@PKGMANDIR@'/>
+        </documentation>
+      </template>
+    </instance>
+    <instance name='nmbd' enabled='false'>
+      <exec_method name='start' type='method' exec='@PREFIX@/sbin/nmbd -D' timeout_seconds='0'/>
+      <exec_method name='stop' type='method' exec=':kill' timeout_seconds='30'/>
+      <exec_method name='refresh' type='method' exec=':kill -HUP' timeout_seconds='0'/>
+      <template>
+        <common_name>
+          <loctext xml:lang='C'>Samba NetBIOS name server</loctext>
+        </common_name>
+        <documentation>
+          <manpage title='nmbd' section='8' manpath='@PREFIX@/@PKGMANDIR@'/>
+        </documentation>
+      </template>
+    </instance>
+    <instance name='smbd' enabled='false'>
+      <exec_method name='start' type='method' exec='@PREFIX@/sbin/smbd -D' timeout_seconds='0'/>
+      <exec_method name='stop' type='method' exec=':kill' timeout_seconds='30'/>
+      <exec_method name='refresh' type='method' exec=':kill -HUP' timeout_seconds='0'/>
+      <template>
+        <common_name>
+          <loctext xml:lang='C'>Samba SMB/CIFS services</loctext>
+        </common_name>
+        <documentation>
+          <manpage title='smbd' section='8' manpath='@PREFIX@/@PKGMANDIR@'/>
+        </documentation>
+      </template>
+    </instance>
+  </service>
 </service_bundle>



Home | Main Index | Thread Index | Old Index