pulseaudio: fix dependencies for openssl-3
[oi-userland.git] / components / x11 / tigervnc / files / xvnc-inetd.xml
blob81330a38afad9804c6381ab0f92e1a36cf0707c3
1 <?xml version='1.0'?>
2 <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
3 <!--
4     Service manifest for the Xvnc service, when run from inetd(1M)
6     Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved.
8     Permission is hereby granted, free of charge, to any person obtaining a
9     copy of this software and associated documentation files (the "Software"),
10     to deal in the Software without restriction, including without limitation
11     the rights to use, copy, modify, merge, publish, distribute, sublicense,
12     and/or sell copies of the Software, and to permit persons to whom the
13     Software is furnished to do so, subject to the following conditions:
15     The above copyright notice and this permission notice (including the next
16     paragraph) shall be included in all copies or substantial portions of the
17     Software.
19     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20     IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21     FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
22     THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23     LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
24     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25     DEALINGS IN THE SOFTWARE.
26 -->
28 <service_bundle type='manifest' name='SUNWxwplr:vnc'>
30 <service
31         name='application/x11/xvnc-inetd'
32         type='service'
33         version='1'>
35         <create_default_instance enabled='false' />
37         <restarter>
38                 <service_fmri value='svc:/network/inetd:default' />
39         </restarter>
41         <!--
42             Set a timeout of 0 to signify to inetd that we don't want to
43             timeout this service, since the forked process is the one that
44             does the service's work. This is the case for most/all legacy
45             inetd services; for services written to take advantage of SMF
46             capabilities, the start method should fork off a process to
47             handle the request and return a success code.
48         -->
49         <exec_method
50                 type='method'
51                 name='inetd_start'
52                 exec='/usr/bin/Xvnc -inetd -query localhost -once securitytypes=none'
53                 timeout_seconds='0'>
54                 <method_context>
55                         <method_credential user='noaccess' group='noaccess' />
56                 </method_context>
57         </exec_method>
59         <!--
60             Use inetd's built-in kill support to disable services.
61         -->
62         <exec_method
63                 type='method'
64                 name='inetd_disable'
65                 exec=':kill'
66                 timeout_seconds='0'>
67         </exec_method>
69         <property_group name='inetd' type='framework'>
70                 <propval name='name' type='astring' value='vnc-server' />
71                 <propval name='endpoint_type' type='astring' value='stream' />
72                 <propval name='proto' type='astring' value='tcp' />
73                 <propval name='wait' type='boolean' value='false' />
74                 <propval name='isrpc' type='boolean' value='false' />
75                 <propval name='action_authorization' type='astring'
76                         value='solaris.smf.manage.x11' />
77                 <propval name='value_authorization' type='astring'
78                         value='solaris.smf.manage.x11' />
79         </property_group>
81         <stability value='External' />
83         <template>
84                 <common_name>
85                         <loctext xml:lang='C'>
86                                 X server that displays to VNC viewers
87                         </loctext>
88                 </common_name>
89                 <documentation>
90                         <manpage title='Xvnc' section='1' 
91                                 manpath='/usr/share/man' />
92                 </documentation>
93         </template>
94 </service>
96 </service_bundle>