aboutsummaryrefslogtreecommitdiffstats
path: root/config/filer/filer.xml
diff options
context:
space:
mode:
authorBrian Scholer <bscholer@cshl.edu>2012-01-04 11:38:17 -0500
committerBrian Scholer <bscholer@cshl.edu>2012-01-04 11:38:17 -0500
commita6cf0cf080e21e905d458668916d19a5bce04819 (patch)
tree9d108d777077626ebb6d8a8232ad1904c8e2005d /config/filer/filer.xml
parent6d0c7103c4a2b141f7a136f6af66e7dd10ff2fff (diff)
downloadpfsense-packages-a6cf0cf080e21e905d458668916d19a5bce04819.tar.gz
pfsense-packages-a6cf0cf080e21e905d458668916d19a5bce04819.tar.bz2
pfsense-packages-a6cf0cf080e21e905d458668916d19a5bce04819.zip
Added the Filer package.
Diffstat (limited to 'config/filer/filer.xml')
-rw-r--r--config/filer/filer.xml132
1 files changed, 132 insertions, 0 deletions
diff --git a/config/filer/filer.xml b/config/filer/filer.xml
new file mode 100644
index 00000000..f772feb2
--- /dev/null
+++ b/config/filer/filer.xml
@@ -0,0 +1,132 @@
+<?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[
+/* ========================================================================== */
+/*
+ filer.xml
+ part of pfSense (http://www.pfSense.com)
+ Copyright (C) 2010 Scott Ullrich <sullrich@gmail.com>
+ Copyright (C) 2011 Brian Scholer
+ 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>filer</name>
+ <version>0.5</version>
+ <title>Filer</title>
+ <include_file>/usr/local/pkg/filer.inc</include_file>
+ <additional_files_needed>
+ <prefix>/usr/local/pkg/</prefix>
+ <chmod>0755</chmod>
+ <item>http://www.pfsense.com/packages/config/filer/filer.inc</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/pkg/</prefix>
+ <chmod>0755</chmod>
+ <item>http://www.pfsense.com/packages/config/filer/filer_sync.xml</item>
+ </additional_files_needed>
+ <menu>
+ <name>Filer</name>
+ <tooltiptext>Filer</tooltiptext>
+ <section>Diagnostics</section>
+ <configfile>filer.xml</configfile>
+ </menu>
+ <tabs>
+ <tab>
+ <text>Files</text>
+ <url>/pkg.php?xml=filer.xml</url>
+ <active/>
+ </tab>
+ <tab>
+ <text>XMLRPC Sync</text>
+ <url>/pkg_edit.php?xml=filer_sync.xml</url>
+ <active/>
+ </tab>
+ </tabs>
+
+ <adddeleteeditpagefields>
+ <columnitem>
+ <fielddescr>File</fielddescr>
+ <fieldname>fullfile</fieldname>
+ </columnitem>
+ <columnitem>
+ <fielddescr>Permissions</fielddescr>
+ <fieldname>mod</fieldname>
+ </columnitem>
+ <columnitem>
+ <fielddescr>Description</fielddescr>
+ <fieldname>description</fieldname>
+ </columnitem>
+ </adddeleteeditpagefields>
+ <fields>
+ <field>
+ <fielddescr>Full path to the file</fielddescr>
+ <fieldname>fullfile</fieldname>
+ <type>input</type>
+ <required/>
+ </field>
+ <field>
+ <fielddescr>Permissions</fielddescr>
+ <fieldname>mod</fieldname>
+ <type>input</type>
+ <description>Blank leaves the permissions alone.</description>
+ </field>
+ <field>
+ <fielddescr>Description</fielddescr>
+ <fieldname>description</fieldname>
+ <description>Enter a description for this file.</description>
+ <type>input</type>
+ </field>
+ <field>
+ <fielddescr>File Contents</fielddescr>
+ <fieldname>filedata</fieldname>
+ <description>Paste the files contents here.</description>
+ <type>textarea</type>
+ <encoding>base64</encoding>
+ <cols>60</cols>
+ <rows>30</rows>
+ <required/>
+ </field>
+ </fields>
+ <custom_php_install_command>
+ filer_install();
+ </custom_php_install_command>
+ <custom_php_command_before_form>
+ </custom_php_command_before_form>
+ <custom_delete_php_command>
+ sync_package_filer();
+ </custom_delete_php_command>
+ <custom_php_resync_config_command>
+ sync_package_filer();
+ </custom_php_resync_config_command>
+</packagegui> \ No newline at end of file