diff options
author | Jim P <jim@pingle.org> | 2012-01-04 08:46:58 -0800 |
---|---|---|
committer | Jim P <jim@pingle.org> | 2012-01-04 08:46:58 -0800 |
commit | f161cc4d2780b1bb6f3138e98e06c30d6219821e (patch) | |
tree | 0b76bd3ed4ae4eb000b6309849be1443b643684f /config/filer/filer.xml | |
parent | a8ad9ef65a750d38ed0f0bb80fb6e07c6a30fdbd (diff) | |
parent | a6cf0cf080e21e905d458668916d19a5bce04819 (diff) | |
download | pfsense-packages-f161cc4d2780b1bb6f3138e98e06c30d6219821e.tar.gz pfsense-packages-f161cc4d2780b1bb6f3138e98e06c30d6219821e.tar.bz2 pfsense-packages-f161cc4d2780b1bb6f3138e98e06c30d6219821e.zip |
Merge pull request #171 from briantist/master
Added Filer package.
Diffstat (limited to 'config/filer/filer.xml')
-rw-r--r-- | config/filer/filer.xml | 132 |
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 |