<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE packagegui SYSTEM "../../schema/packages.dtd">
<?xml-stylesheet type="text/xsl" href="../../xsl/package.xsl"?>
<packagegui>
        <copyright>
        <![CDATA[
/* $Id$ */
/* ========================================================================== */
/*
    authng.xml
    part of pfSense (http://www.pfSense.com)
    Copyright (C) 2007 Daniel S. Haischt <me@daniel.stefan.haischt.name>
    All rights reserved.

    Based on m0n0wall (http://m0n0.ch/wall)
    Copyright (C) 2003-2006 Manuel Kasper <mk@neon1.net>.
    All rights reserved.
                                                                              */
/* ========================================================================== */
/*
    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are met:

     1. Redistributions of source code must retain the above copyright notice,
        this list of conditions and the following disclaimer.

     2. Redistributions in binary form must reproduce the above copyright
        notice, this list of conditions and the following disclaimer in the
        documentation and/or other materials provided with the distribution.

    THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
    INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
    AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
    AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
    OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    POSSIBILITY OF SUCH DAMAGE.
                                                                              */
/* ========================================================================== */
        ]]>
        </copyright>
  <description>Describe your package here</description>
  <requirements>Describe your package requirements here</requirements>
  <faq>Currently there are no FAQ items provided.</faq>
  <name>freenas</name>
  <version>1.0</version>
  <title>System: Disks: Management</title>
  <include_file>/usr/local/pkg/freenas.inc</include_file>
  <!-- Menu is where this packages menu will appear -->
  <menu>
    <name>Disks</name>
    <section>System</section>
    <url>/disks_manage.php</url>
  </menu>
  <menu>
    <name>RAID</name>
    <section>System</section>
    <url>/disks_raid_gmirror.php</url>
  </menu>
  <menu>
    <name>Mounts</name>
    <section>System</section>
    <url>/disks_mount.php</url>
  </menu>
  <menu>
    <name>FreeNAS Infos</name>
    <section>Diagnostics</section>
    <url>/diag_disk_infos.php</url>
  </menu>
  <menu>
    <name>FreeNAS Logs</name>
    <section>Diagnostics</section>
    <url>/diag_fn_logs_samba.php</url>
  </menu>
  <menu>
    <name>Disk Status</name>
    <section>Status</section>
    <url>/status_disks.php</url>
  </menu>
  <menu>
    <name>AFP</name>
    <section>Services</section>
    <url>/services_afp.php</url>
  </menu>
  <menu>
    <name>FTP</name>
    <section>Services</section>
    <url>/services_ftp.php</url>
  </menu>
  <menu>
    <name>NFS</name>
    <section>Services</section>
    <url>/services_nfs.php</url>
  </menu>
  <menu>
    <name>Rsync</name>
    <section>Services</section>
    <url>/services_rsyncd.php</url>
  </menu>
  <menu>
    <name>Samba</name>
    <section>Services</section>
    <url>/services_samba.php</url>
  </menu>
  <menu>
    <name>Unison</name>
    <section>Services</section>
    <url>/services_unison.php</url>
  </menu>
  <!--
  <service>
    <name>dspam</name>
    <rcfile>/usr/local/etc/rc.d/dspam.sh</rcfile>
  </service>
  -->
  <tabs />
  <!--
    configpath gets expanded out automatically and config items
    will be stored in that location
  -->
  <configpath>['installedpackages']['freenas']['config']</configpath>
  <!-- PHP files  (disk management) -->
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_manage.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_manage_edit.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_manage_init.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_manage_iscsi.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_manage_tools.php</item>
  </additional_files_needed>
  <!-- PHP files  (RAID management) -->
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_raid_gmirror.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_raid_gmirror_edit.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_raid_gmirror_infos.php</item>
  </additional_files_needed>
  <!--
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_raid_gmirror_init.php</item>
  </additional_files_needed>
  -->
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_raid_gmirror_tools.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_raid_gvinum.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_raid_gvinum_edit.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_raid_gvinum_infos.php</item>
  </additional_files_needed>
  <!--
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_raid_gvinum_init.php</item>
  </additional_files_needed>
  -->
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_raid_gvinum_tools.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_raid_gconcat.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_raid_gconcat_edit.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_raid_gconcat_infos.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_raid_gconcat_tools.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_raid_gstripe.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_raid_gstripe_edit.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_raid_gstripe_infos.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_raid_gstripe_tools.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_raid_graid5.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_raid_graid5_edit.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_raid_graid5_infos.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_raid_graid5_tools.php</item>
  </additional_files_needed>
  <!-- PHP files  (mount management) -->
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_mount.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_mount_edit.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/disks_mount_tools.php</item>
  </additional_files_needed>
  <!-- PHP files  (diagnostics) -->
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/diag_ad_infos.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/diag_ataidle_infos.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/diag_disk_infos.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/diag_iscsi_infos.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/diag_mounts_infos.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/diag_part_infos.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/diag_raid_infos.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/diag_smart_infos.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/diag_space_infos.php</item>
  </additional_files_needed>
  <!-- PHP files  (logs) -->
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/diag_fn_logs_daemon.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/diag_fn_logs_ftp.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/diag_fn_logs_rsyncd.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/diag_fn_logs_samba.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/diag_fn_logs_settings.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/diag_fn_logs_smartd.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/diag_fn_logs_sshd.php</item>
  </additional_files_needed>
  <!-- PHP files  (services) -->
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/services_afp.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/services_ftp.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/services_nfs.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/services_nfs_export.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/services_nfs_export_edit.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/services_rsyncd.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/services_rsyncd_client.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/services_rsyncd_local.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/services_samba.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/services_samba_share.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/services_samba_edit.php</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/services_unison.php</item>
  </additional_files_needed>
  <!-- PHP files  (misc) -->
  <additional_files_needed>
    <prefix>/usr/local/www/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/www/status_disks.php</item>
  </additional_files_needed>
  <!-- package files -->
  <additional_files_needed>
    <prefix>/usr/local/pkg/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/pkg/freenas.inc</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/pkg/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/pkg/freenas_disks.inc</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/pkg/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/pkg/freenas_config.inc</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/pkg/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/pkg/freenas_functions.inc</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/pkg/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/pkg/freenas_guiconfig.inc</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/pkg/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/pkg/freenas_services.inc</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/pkg/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/pkg/freenas_utils.inc</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/pkg/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/pkg/freenas_system.inc</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/pkg/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/pkg/rc.freenas</item>
  </additional_files_needed>
  <!-- kernel binaries -->
  <additional_files_needed>
    <prefix>/usr/local/pkg/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/bin/iscsi_initiator.ko</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/pkg/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/bin/ext2fs.ko</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/pkg/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/bin/geom_concat.ko</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/pkg/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/bin/geom_gpt.ko</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/pkg/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/bin/geom_mirror.ko</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/pkg/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/bin/geom_stripe.ko</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/pkg/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/bin/geom_vinum.ko</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/pkg/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/bin/kernel.gz</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/pkg/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/bin/ntfs.ko</item>
  </additional_files_needed>
  <!-- misc binaries -->
  <additional_files_needed>
    <prefix>/usr/local/pkg/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/bin/iscontrol</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/pkg/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/bin/mountd</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/pkg/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/bin/nfsd</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/pkg/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/bin/rpcbind</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/pkg/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/bin/rpc.lockd</item>
  </additional_files_needed>
  <additional_files_needed>
    <prefix>/usr/local/pkg/</prefix>
    <chmod>0755</chmod>
    <item>http://www.pfsense.com/packages/config/freenas/bin/rpc.statd</item>
  </additional_files_needed>
  <!--
    fields gets invoked when the user adds or edits a item. The following items
    will be parsed and rendered for the user as a gui with input, and selectboxes.
  -->
  <!--
    Arbitrary PHP Code, that gets executed if a certain event gets triggered.
  -->
  <custom_php_resync_config_command>
    sync_package_freenas();
  </custom_php_resync_config_command>
  <custom_php_install_command>
    custom_php_install_command();
  </custom_php_install_command>
  <custom_php_deinstall_command>
    custom_php_deinstall_command();
  </custom_php_deinstall_command>
</packagegui>