components/lighttpd/Solaris/http-lighttpd14.xml
author Jiri Kukacka <jiri.kukacka@oracle.com>
Mon, 23 Jun 2014 07:12:03 -0700
branchs11u1-sru
changeset 3190 44a15b136f48
parent 331 5001b63ddc8a
permissions -rw-r--r--
18450732 Upgrade lighttpd to version 1.4.35 18394858 problem in UTILITY/LIGHTTPD
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
331
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     1
<?xml version="1.0"?>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     2
<!--
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     3
CDDL HEADER START
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     4
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     5
The contents of this file are subject to the terms of the
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     6
Common Development and Distribution License (the "License").
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     7
You may not use this file except in compliance with the License.
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     8
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     9
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    10
or http://www.opensolaris.org/os/licensing.
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    11
See the License for the specific language governing permissions
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    12
and limitations under the License.
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    13
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    14
When distributing Covered Code, include this CDDL HEADER in each
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    15
file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    16
If applicable, add the following below this CDDL HEADER, with the
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    17
fields enclosed by brackets "[]" replaced with your own identifying
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    18
information: Portions Copyright [yyyy] [name of copyright owner]
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    19
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    20
CDDL HEADER END
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    21
-->
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    22
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    23
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    24
<!--
3190
44a15b136f48 18450732 Upgrade lighttpd to version 1.4.35
Jiri Kukacka <jiri.kukacka@oracle.com>
parents: 331
diff changeset
    25
    Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved.
331
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    26
-->
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    27
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    28
<service_bundle type='manifest' name='SUNWlighttpd14r:lighttpd'>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    29
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    30
<service
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    31
    name='network/http'
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    32
    type='service'
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    33
    version='1'>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    34
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    35
    <!--
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    36
       Because we may have multiple instances of network/http
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    37
       provided by different implementations, we keep dependencies
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    38
       and methods within the instance.
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    39
    -->
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    40
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    41
    <instance name='lighttpd14' enabled='false'>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    42
    <!--
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    43
       Wait for network interfaces to be initialized.
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    44
    -->
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    45
       <dependency name='network'
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    46
           grouping='require_all'
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    47
           restart_on='error'
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    48
           type='service'>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    49
           <service_fmri value='svc:/milestone/network:default'/>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    50
       </dependency>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    51
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    52
       <!--
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    53
          Wait for all local filesystems to be mounted.
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    54
       -->
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    55
       <dependency name='filesystem-local'
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    56
           grouping='require_all'
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    57
           restart_on='none'
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    58
           type='service'>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    59
           <service_fmri
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    60
               value='svc:/system/filesystem/local:default'/>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    61
       </dependency>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    62
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    63
       <!--
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    64
           Wait for automounting to be available, as we may be
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    65
           serving data from home directories or other remote
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    66
           filesystems.
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    67
       -->
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    68
       <dependency name='autofs'
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    69
           grouping='optional_all'
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    70
           restart_on='error'
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    71
           type='service'>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    72
           <service_fmri
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    73
               value='svc:/system/filesystem/autofs:default'/>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    74
       </dependency>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    75
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    76
       <exec_method
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    77
           type='method'
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    78
           name='start'
3190
44a15b136f48 18450732 Upgrade lighttpd to version 1.4.35
Jiri Kukacka <jiri.kukacka@oracle.com>
parents: 331
diff changeset
    79
           exec='/usr/lighttpd/1.4/sbin/lighttpd -f /etc/lighttpd/1.4/lighttpd.conf'
331
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    80
           timeout_seconds='60'>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    81
      </exec_method>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    82
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    83
      <exec_method
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    84
           type='method'
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    85
           name='stop'
3190
44a15b136f48 18450732 Upgrade lighttpd to version 1.4.35
Jiri Kukacka <jiri.kukacka@oracle.com>
parents: 331
diff changeset
    86
           exec=':kill'
331
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    87
           timeout_seconds='60'>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    88
           <method_context />
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    89
      </exec_method>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    90
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    91
       <exec_method
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    92
           type='method'
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    93
           name='refresh'
3190
44a15b136f48 18450732 Upgrade lighttpd to version 1.4.35
Jiri Kukacka <jiri.kukacka@oracle.com>
parents: 331
diff changeset
    94
           exec=':kill -HUP'
331
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    95
           timeout_seconds='60'>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    96
      </exec_method>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    97
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    98
      <property_group name='httpd' type='application'>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    99
        <stability value='Evolving' />
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   100
        <propval name='value_authorization' type='astring' value='solaris.smf.value.http/lighttpd14' />
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   101
      </property_group>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   102
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   103
      <property_group name='general' type='framework'>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   104
        <propval name='action_authorization' type='astring' value='solaris.smf.manage.http/lighttpd14' />
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   105
        <propval name='value_authorization' type='astring' value='solaris.smf.value.http/lighttpd14' />
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   106
      </property_group>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   107
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   108
      <property_group name='startd' type='framework'>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   109
            <!-- sub-process core dumps shouldn't restart session -->
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   110
            <propval name='ignore_error' type='astring'
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   111
                     value='core,signal' />
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   112
      </property_group>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   113
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   114
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   115
      <template>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   116
          <common_name>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   117
              <loctext xml:lang='C'>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   118
                  Lighttpd Web Server
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   119
              </loctext>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   120
          </common_name>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   121
          <documentation>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   122
              <manpage title='lighttpd' section='1'
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   123
                manpath='/usr/lighttpd/1.4/man' />
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   124
              <doc_link name='lighttpd.net'
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   125
                  uri='http://trac.lighttpd.net/trac/wiki/Docs' />
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   126
          </documentation>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   127
      </template>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   128
    </instance>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   129
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   130
    <stability value='Evolving' />
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   131
</service>
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   132
5001b63ddc8a 7057442 Move Lighttpd to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
   133
</service_bundle>