<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE packagegui SYSTEM "./schema/packages.dtd">
<?xml-stylesheet type="text/xsl" href="./xsl/package.xsl"?>
<packagegui>
    <description>Jail management</description>
    <requirements>Built world in /usr/obj</requirements>
    <faq>Currently there are no FAQ items provided.</faq>
	<name>pfJailctl_Defaults</name>
	<version>0.1</version>
	<title>Jails: Jail building defaults</title>
	<!-- configpath gets expanded out automatically and config items will be
	 stored in that location -->
	<configpath>['installedpackages']['package']['$packagename']['config']</configpath>

	<tabs>
		<tab>
			<text>Jails</text>
			<url>/pkg.php?xml=jailctl.xml</url>
		</tab>
		<tab>
			<text>Global settings</text>
			<url>/pkg_edit.php?xml=jailctl_settings.xml&amp;id=0</url>
		</tab>
		<tab>
			<text>Jail defaults</text>
			<url>/pkg_edit.php?xml=jailctl_defaults.xml&amp;id=0</url>
			<active/>
		</tab>
	</tabs>

	<fields>
	<field>
		<fielddescr>Package sets</fielddescr>
		<fieldname>jdist_select_sets</fieldname>
		<type>listtopic</type>
		<name>Select a distribution set:</name>
	</field>
	<field>
		<fielddescr>Distribution set</fielddescr>
		<fieldname>jdist_set</fieldname>
		<description>Select a standard set of distributions to install</description>
		<type>select</type>
		<value>eng</value>
		<options>
			<option><name>Developer (src/all, binaries)</name><value>distSetDeveloper</value></option>
			<option><name>Kernel developer (src/kern, binaries)</name><value>distSetKernDeveloper</value></option>
			<option><name>User (binaries only)</name><value>distSetUser</value></option>
			<option><name>Minimum (minimal binaries)</name><value>distSet</value></option>
		</options>
		<default_value>distSetUser</default_value>
	</field>
	<field>
		<fielddescr>Individual packages</fielddescr>
		<fieldname>jdist_select_individual</fieldname>
		<type>listtopic</type>
		<name>OR select individual distributions in addition to base:</name>
	</field>
	<field>
		<fielddescr>Manual pages</fielddescr>
		<fieldname>jdist_manpages</fieldname>
		<type>checkbox</type>
	</field>
	<field>
		<fielddescr>Games</fielddescr>
		<fieldname>jdist_games</fieldname>
		<type>checkbox</type>
	</field>
	<field>
		<fielddescr>The Ports collection</fielddescr>
		<fieldname>jdist_ports</fieldname>
		<type>checkbox</type>
	</field>
	<field>
		<fielddescr>Miscellaneous documentation</fielddescr>
		<fieldname>jdist_doc</fieldname>
		<type>checkbox</type>
	</field>
	<field>
		<fielddescr>X.Org client binaries</fielddescr>
		<fieldname>jdist_xbin</fieldname>
		<type>checkbox</type>
	</field>
	<field>
		<fielddescr>X.Org libraries</fielddescr>
		<fieldname>jdist_xlib</fieldname>
		<type>checkbox</type>
	</field>
	<field>
		<fielddescr>X.Org manual pages</fielddescr>
		<fieldname>jdist_xman</fieldname>
		<type>checkbox</type>
	</field>
	<field>
		<fielddescr>X.Org imake distribution</fielddescr>
		<fieldname>jdist_xprog</fieldname>
		<type>checkbox</type>
	</field>
	<field>
		<fielddescr>Local additions collection</fielddescr>
		<fieldname>jdist_local</fieldname>
		<type>checkbox</type>
	</field>
	</fields>


	<!-- php hooks -->
	<include_file>/usr/local/pkg/jailctl.inc</include_file>
	<custom_add_php_command>
		sync_package_jailctl();
	</custom_add_php_command>
	<custom_delete_php_command>
		sync_package_jailctl();
	</custom_delete_php_command>
	<custom_php_resync_config_command>
		sync_package_jailctl();
	</custom_php_resync_config_command>
	<custom_php_install_command>
	</custom_php_install_command>
	<custom_php_deinstall_command>
	</custom_php_deinstall_command>
</packagegui>