head	1.5;
access;
symbols
	pkgsrc-2018Q2:1.4.0.14
	pkgsrc-2018Q2-base:1.4
	pkgsrc-2018Q1:1.4.0.12
	pkgsrc-2018Q1-base:1.4
	pkgsrc-2017Q4:1.4.0.10
	pkgsrc-2017Q4-base:1.4
	pkgsrc-2017Q3:1.4.0.8
	pkgsrc-2017Q3-base:1.4
	pkgsrc-2017Q2:1.4.0.4
	pkgsrc-2017Q2-base:1.4
	pkgsrc-2017Q1:1.4.0.2
	pkgsrc-2017Q1-base:1.4
	pkgsrc-2016Q4:1.3.0.6
	pkgsrc-2016Q4-base:1.3
	pkgsrc-2016Q3:1.3.0.4
	pkgsrc-2016Q3-base:1.3
	pkgsrc-2016Q2:1.3.0.2
	pkgsrc-2016Q2-base:1.3
	pkgsrc-2016Q1:1.1.0.18
	pkgsrc-2016Q1-base:1.1
	pkgsrc-2015Q4:1.1.0.16
	pkgsrc-2015Q4-base:1.1
	pkgsrc-2015Q3:1.1.0.14
	pkgsrc-2015Q3-base:1.1
	pkgsrc-2015Q2:1.1.0.12
	pkgsrc-2015Q2-base:1.1
	pkgsrc-2015Q1:1.1.0.10
	pkgsrc-2015Q1-base:1.1
	pkgsrc-2014Q4:1.1.0.8
	pkgsrc-2014Q4-base:1.1
	pkgsrc-2014Q3:1.1.0.6
	pkgsrc-2014Q3-base:1.1
	pkgsrc-2014Q2:1.1.0.4
	pkgsrc-2014Q2-base:1.1
	pkgsrc-2014Q1:1.1.0.2
	pkgsrc-2014Q1-base:1.1;
locks; strict;
comment	@# @;


1.5
date	2018.09.23.14.31.10;	author taca;	state dead;
branches;
next	1.4;
commitid	HMhOPhbyVRmWKeTA;

1.4
date	2017.02.20.15.19.54;	author fhajny;	state Exp;
branches;
next	1.3;
commitid	RkGIfmrTipGqEHGz;

1.3
date	2016.06.08.10.16.53;	author jperkin;	state Exp;
branches;
next	1.2;
commitid	gLVNKJFqUSe9fE9z;

1.2
date	2016.06.08.10.02.25;	author jperkin;	state Exp;
branches;
next	1.1;
commitid	FnMbJp7hUbv0bE9z;

1.1
date	2014.03.11.14.34.38;	author jperkin;	state Exp;
branches;
next	;
commitid	EXdByYWMBsGq2isx;


desc
@@


1.5
log
@net/bind99: remove bind99

Remove bind99 from pkgsrc since BIND 9.9 became EOL on 30 June 2018.
@
text
@<?xml version="1.0"?>
<!--
CDDL HEADER START

The contents of this file are subject to the terms of the
Common Development and Distribution License (the "License").
You may not use this file except in compliance with the License.

You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
or http://www.opensolaris.org/os/licensing.
See the License for the specific language governing permissions
and limitations under the License.

When distributing Covered Code, include this CDDL HEADER in each
file and include the License file at usr/src/OPENSOLARIS.LICENSE.
If applicable, add the following below this CDDL HEADER, with the
fields enclosed by brackets "[]" replaced with your own identifying
information: Portions Copyright [yyyy] [name of copyright owner]

CDDL HEADER END
-->
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<!--
        Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
        Use is subject to license terms.

        ident   "@@(#)server.xml 1.8     07/06/19 SMI"
-->
<!-- Portions Copyright 2007 Vedran Bender -->
<service_bundle type='manifest' name='export'>
  <service name='@@SMF_PREFIX@@/@@SMF_NAME@@' type='service' version='1'>
    <dependency name='filesystem_minimal' grouping='require_all' restart_on='none' type='service'>
      <service_fmri value='svc:/system/filesystem/local' />
    </dependency>
    <dependency name='loopback' grouping='require_any' restart_on='error' type='service'>
      <service_fmri value='svc:/network/loopback' />
    </dependency>
    <dependency name='network' grouping='optional_all' restart_on='error' type='service'>
      <service_fmri value='svc:/milestone/network' />
    </dependency>
    <dependency name='config-files' grouping='require_any' restart_on='refresh' type='path'>
      <service_fmri value='file://localhost@@PKG_SYSCONFDIR@@/named.conf' />
    </dependency>
    <!--
        In order to run multiple named(1M) processes with their own
        configuration file or properties each must have a unique
        instance.
    -->
    <instance name='default' enabled='false'>
      <exec_method type='method' name='start' exec='@@PREFIX@@/@@SMF_METHOD_FILE.named@@ %m %i' timeout_seconds='60'>
        <method_context>
          <method_credential user='root' group='root' />
        </method_context>
      </exec_method>
      <exec_method type='method' name='stop' exec='@@PREFIX@@/@@SMF_METHOD_FILE.named@@ %m %i %{restarter/contract}' timeout_seconds='60'>
        <method_context>
          <method_credential user='root' group='root' />
        </method_context>

      </exec_method>
      <!--
              SIGHUP causes named to reread its configuration file, but not any
              of the properties below.
      -->
      <exec_method type='method' name='refresh' exec=':kill -HUP' timeout_seconds='60'>
        <method_context />
      </exec_method>
      <property_group name='general' type='framework'>
        <!-- manage DNS server state -->
        <propval name='action_authorization' type='astring' value='solaris.smf.manage.bind' />
        <propval name='value_authorization' type='astring' value='solaris.smf.manage.bind' />
      </property_group>
      <!-- Default property settings for named(1M) instance. -->
      <property_group name='options' type='application'>
        <!--
                server: specifies an alternative server command.  If
                not specified the default /usr/sbin/named is used.
        -->
        <propval name='server' type='astring' value='' />
        <!--
                configuration_file: specifies an alternative
                configuration file to be used. The property is similar
                to named(1M) command line option '-c'
        -->
        <propval name='configuration_file' type='astring' value='' />
        <!--
                ip_interfaces: specifies which IP transport BIND will
                transmit on. Possible values are 'IPv4' or 'IPv6'. Any
                other setting assumes 'all', the default.
                Equivalent command line option '-4' or '-6'.
        -->
        <propval name='ip_interfaces' type='astring' value='all' />
        <!--
                listen_on_port: Specifies the default UDP and TCP port
                which will be used to listen for DNS requests.
                Equivalent command line option '-p <integer>'.
        -->
        <propval name='listen_on_port' type='integer' value='0' />
        <!--
                debug_level: Specifies the default debug level.  The
                default is 0; no debugging. The Higher the number the
                more verbose debug information becomes.
                Equivalent command line option '-d <integer>'.
        -->
        <propval name='debug_level' type='integer' value='0' />
        <!--
                threads: Specifies the number of cpu worker threads to
                create.  The default of 0 causes named to try and
                determine the number of CPUs present and create one
                thread per CPU.
                Equivalent command line option '-n <integer>'.
        -->
        <propval name='threads' type='integer' value='0' />
        <!--
                chroot_dir: Change the root directory using chroot(2)
                to directory after processing the command line
                arguments, but before reading the configuration file.
                Equivalent command line option '-t <pathname>'.
        -->
        <propval name='chroot_dir' type='astring' value='' />
	<!--
		user: Change the user id after processing command line
		arguments, but before reading the configuration file.
		Equivalent command line option '-u <user>'.
	-->
        <propval name='user' type='astring' value='named' />
      </property_group>
    </instance>
    <template>
      <common_name>
        <loctext xml:lang='C'>BIND DNS server</loctext>
      </common_name>
      <documentation>
        <manpage title='named' section='1M' manpath='@@PREFIX@@/@@PKGMANDIR@@' />
      </documentation>
    </template>
  </service>
</service_bundle>
@


1.4
log
@Change bind99 and bind910 package to use the standard PKG_SYSCONFDIR
for config files instead of the hardcoded /etc path. Sync SMF support
across the two packages. Bump PKGREVISION.
@
text
@@


1.3
log
@Remove the stability entity, it has no meaning outside of an official context.
@
text
@a43 1
    <exec_method type='method' name='stop' exec=':kill' timeout_seconds='60' />
d52 1
a52 14
          <!--
                privileges: (see privileges(5) and /etc/security/priv_names)
                file_dac_read, file_dac_search:
                        Necessary for reading the configuration file
                        even it is restricted by the file permission.
                net_privaddr:
                        Bind to a privileged port number.
                sys_resource:
                        Permit the setting of resource limits (eg. stack
                        size).
                proc_chroot:
                        Permit use of chroot(2).
          -->
          <method_credential user='root' group='root' privileges='basic,!proc_session,!proc_info,!file_link_any,net_privaddr,file_dac_read,file_dac_search,sys_resource,proc_chroot' />
d55 6
d121 6
@


1.2
log
@Change the service_bundle name to "export" to reduce diffs between the
original manifest.xml file and the output from "svccfg export".
@
text
@a130 1
    <stability value='Unstable' />
@


1.1
log
@Import initial SMF support for individual packages.
@
text
@d30 1
a30 1
<service_bundle type='manifest' name='@@SMF_NAME@@'>
@

