components/privoxy/files/http-privoxy.xml
author Rich Burridge <rich.burridge@oracle.com>
Fri, 15 Jul 2011 10:47:35 -0700
changeset 407 371955ee7fe6
permissions -rw-r--r--
7067109 Move privoxy to userland
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
407
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
<?xml version="1.0"?>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
<!--
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
CDDL HEADER START
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
The contents of this file are subject to the terms of the
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
Common Development and Distribution License (the "License").
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
You may not use this file except in compliance with the License.
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
or http://www.opensolaris.org/os/licensing.
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
See the License for the specific language governing permissions
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
and limitations under the License.
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
When distributing Covered Code, include this CDDL HEADER in each
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
file and include the License file at usr/src/OPENSOLARIS.LICENSE.
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
If applicable, add the following below this CDDL HEADER, with the
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
fields enclosed by brackets "[]" replaced with your own identifying
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
information: Portions Copyright [yyyy] [name of copyright owner]
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
CDDL HEADER END
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    21
-->
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    23
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    24
<!--
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    25
    Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
    Use is subject to license terms.
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
-->
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    29
<service_bundle type='manifest' name='SUNWprivoxy'>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    30
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
<service
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    32
	name='network/http'
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    33
	type='service'
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    34
	version='1'>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    35
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    36
	<!--
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    37
	  Because we may have multiple instances of network/http
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    38
	  provided by different implementations, we keep dependencies
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    39
	  and methods within the instance.
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    40
	-->
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    41
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    42
	<instance name='privoxy' enabled='false'>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    43
		<!--
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    44
		  Wait for network interfaces to be initialized.
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    45
		-->
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    46
		<dependency name='network'
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    47
		    grouping='require_all'
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    48
		    restart_on='error'
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    49
		    type='service'>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    50
		    <service_fmri value='svc:/milestone/network:default'/>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    51
		</dependency>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    52
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    53
		<!--
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    54
		  Wait for all local filesystems to be mounted.
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    55
		-->
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    56
		<dependency name='filesystem-local'
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    57
		    grouping='require_all'
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    58
		    restart_on='none'
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    59
		    type='service'>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    60
		    <service_fmri
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    61
			value='svc:/system/filesystem/local:default'/>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    62
		</dependency>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    63
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    64
		<!--
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    65
		  Wait for automounting to be available, as we may be
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    66
		  serving data from home directories or other remote
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    67
		  filesystems.
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    68
		-->
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    69
		<dependency name='autofs'
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    70
		    grouping='optional_all'
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    71
		    restart_on='error'
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    72
		    type='service'>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    73
		    <service_fmri
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    74
			value='svc:/system/filesystem/autofs:default'/>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    75
		</dependency>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    76
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    77
		<exec_method
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    78
			type='method'
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    79
			name='start'
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    80
			exec='/lib/svc/method/http-privoxy start'
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    81
			timeout_seconds='60' />
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    82
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    83
		<exec_method
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    84
			type='method'
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    85
			name='stop'
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    86
			exec=':kill -TERM'
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    87
			timeout_seconds='10' />
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    88
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    89
		<property_group name='startd' type='framework'>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    90
			<!-- sub-process core dumps shouldn't restart
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    91
				session -->
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    92
			<propval name='ignore_error' type='astring'
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    93
				value='core,signal' />
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    94
		</property_group>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    95
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    96
        <template>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    97
            <common_name>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    98
                <loctext xml:lang='C'>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    99
                    Privoxy Web Proxy
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   100
                </loctext>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   101
            </common_name>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   102
            <documentation>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   103
                <manpage title='privoxy' section='1'
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   104
                    manpath='/usr/share/man' />
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   105
                <doc_link name='privoxy.org'
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   106
                    uri='http://www.privoxy.org/' />
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   107
            </documentation>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   108
        </template>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   109
	</instance>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   110
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   111
        <stability value='Evolving' />
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   112
</service>
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   113
371955ee7fe6 7067109 Move privoxy to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   114
</service_bundle>