aboutsummaryrefslogtreecommitdiffstats
path: root/packages/doorman.xml
diff options
context:
space:
mode:
authorDaniel Stefan Haischt <dsh@pfsense.org>2007-09-01 06:30:15 +0000
committerDaniel Stefan Haischt <dsh@pfsense.org>2007-09-01 06:30:15 +0000
commitf113ef9068aea8af863e3bfda1454388558bc798 (patch)
tree02f74bccb4aadd3cb7c2d391929bb54650b78d5f /packages/doorman.xml
parent9f2521ca8351e454e03193ddccbf5eb2166ec1fd (diff)
downloadpfsense-packages-f113ef9068aea8af863e3bfda1454388558bc798.tar.gz
pfsense-packages-f113ef9068aea8af863e3bfda1454388558bc798.tar.bz2
pfsense-packages-f113ef9068aea8af863e3bfda1454388558bc798.zip
* added remaining DTDs
Diffstat (limited to 'packages/doorman.xml')
-rw-r--r--packages/doorman.xml28
1 files changed, 15 insertions, 13 deletions
diff --git a/packages/doorman.xml b/packages/doorman.xml
index 8bac222b..64f35087 100644
--- a/packages/doorman.xml
+++ b/packages/doorman.xml
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE packagegui SYSTEM "./schema/packages.dtd">
<?xml-stylesheet type="text/xsl" href="./xsl/package.xsl"?>
<packagegui>
<copyright>
@@ -45,6 +46,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>doorman</name>
+ <version>none</version>
<title>doorman: Settings</title>
<aftersaveredirect>pkg_edit.php?xml=doorman.xml&amp;id=0</aftersaveredirect>
<menu>
@@ -61,7 +63,7 @@
</service>
<tabs>
<tab>
- <text>Settings</ext>
+ <text>Settings</text>
<url>/pkg_edit.php?xml=doorman.xml&amp;id=0</url>
<active/>
</tab>
@@ -70,10 +72,10 @@
<url>/pkg.php?xml=doormanusers.xml</url>
</tab>
</tabs>
+ <configpath>installedpackages->package->$packagename->configuration->settings</configpath>
<additional_files_needed>
<item>http://www.pfsense.com/packages/config/doormanusers.xml</item>
</additional_files_needed>
- <configpath>installedpackages->package->$packagename->configuration->settings</configpath>
<fields>
<field>
<fielddescr>Initial connection timeout</fielddescr>
@@ -109,20 +111,10 @@
<fielddescr>Listening port</fielddescr>
<fieldname>port</fieldname>
<description>Enter the port that doormand should listen on. (default 1001)</description>
- <value>1001</value>
<type>input</type>
+ <value>1001</value>
</field>
</fields>
- <custom_php_install_command>
- global $config;
- $start = "/usr/local/sbin/doormand -D &amp;";
- write_rcfile(array(
- "file" => "doorman.sh",
- "start" => $start,
- "stop" => "/usr/bin/killall doormand"
- )
- );
- </custom_php_install_command>
<custom_php_global_functions>
function sync_package_doorman() {
conf_mount_rw();
@@ -151,5 +143,15 @@
<custom_add_php_command>
sync_package_doorman();
</custom_add_php_command>
+ <custom_php_install_command>
+ global $config;
+ $start = "/usr/local/sbin/doormand -D &amp;";
+ write_rcfile(array(
+ "file" => "doorman.sh",
+ "start" => $start,
+ "stop" => "/usr/bin/killall doormand"
+ )
+ );
+ </custom_php_install_command>
</packagegui>