diff options
author | Chris Buechler <cmb@pfsense.org> | 2014-05-22 19:45:28 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2014-05-22 19:45:28 -0500 |
commit | 8ba84ead554bffa9cc697a2989be196b06c1b0cd (patch) | |
tree | 288b57e1e8550618d8ad52e999a01262fb8007df /config/archive/jail_template.xml | |
parent | 8524a8fb7596aaa1f3dd4bf17ce2e81f7ba79ac9 (diff) | |
download | pfsense-packages-8ba84ead554bffa9cc697a2989be196b06c1b0cd.tar.gz pfsense-packages-8ba84ead554bffa9cc697a2989be196b06c1b0cd.tar.bz2 pfsense-packages-8ba84ead554bffa9cc697a2989be196b06c1b0cd.zip |
move jail package bits to archive
Diffstat (limited to 'config/archive/jail_template.xml')
-rw-r--r-- | config/archive/jail_template.xml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/config/archive/jail_template.xml b/config/archive/jail_template.xml new file mode 100644 index 00000000..fc6b2502 --- /dev/null +++ b/config/archive/jail_template.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!DOCTYPE packagegui SYSTEM "./schema/packages.dtd"> +<?xml-stylesheet type="text/xsl" href="./xsl/package.xsl"?> +<packagegui> + <description>Basic jail template</description> + <requirements>Disk space...</requirements> + <faq>Currently there are no FAQ items provided.</faq> + <name>jail_template</name> + <version>0.1</version> + <title>Jail template</title> + <!-- configpath gets expanded out automatically and config items will be + stored in that location --> + <configpath>['installedpackages']['$packagename']['config']</configpath> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>0755</chmod> + <item>https://packages.pfsense.org/packages/config/jail_template/jail_template.inc</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/</prefix> + <chmod>0755</chmod> + <item>https://packages.pfsense.org/packages/config/jail_template/jail_template.img.uzip</item> + </additional_files_needed> + + <include_file>/usr/local/pkg/jail_template.inc</include_file> + <custom_php_install_command> + jail_template_install(); + </custom_php_install_command> + <custom_php_deinstall_command> + jail_template_deinstall(); + </custom_php_deinstall_command> + <custom_php_resync_config_command> + jail_template_resync(); + </custom_php_resync_config_command> +</packagegui> + |