aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Crane <mcrane@pfsense.org>2008-12-26 18:55:43 +0000
committerMark Crane <mcrane@pfsense.org>2008-12-26 18:55:43 +0000
commit5bdc36e509594d5e09d3d23f441ca08e23dfda5e (patch)
treea37cfbd5cd08052a67c511610fd366f5719f424d
parentdb0b8a3ccaf3f366c87cd4e2f2e18da5eda0490e (diff)
downloadpfsense-packages-5bdc36e509594d5e09d3d23f441ca08e23dfda5e.tar.gz
pfsense-packages-5bdc36e509594d5e09d3d23f441ca08e23dfda5e.tar.bz2
pfsense-packages-5bdc36e509594d5e09d3d23f441ca08e23dfda5e.zip
TFTP package fix path to tftp_files.php and add basic wording to tftp.xml.
-rw-r--r--packages/tftp/tftp.inc2
-rw-r--r--packages/tftp/tftp.xml43
-rw-r--r--pkg_config.7.xml2
3 files changed, 7 insertions, 40 deletions
diff --git a/packages/tftp/tftp.inc b/packages/tftp/tftp.inc
index 27396064..e487247d 100644
--- a/packages/tftp/tftp.inc
+++ b/packages/tftp/tftp.inc
@@ -121,7 +121,7 @@ function php_install_command()
$contents = str_replace("#tftp dgram udp wait root /usr/libexec/tftpd", "tftp dgram udp wait root /usr/libexec/tftpd", $contents);
fwrite($handle, $contents);
unset($contents);
- fclose($fout);
+ fclose($handle);
unset($filename);
diff --git a/packages/tftp/tftp.xml b/packages/tftp/tftp.xml
index 05112044..ecdd3c46 100644
--- a/packages/tftp/tftp.xml
+++ b/packages/tftp/tftp.xml
@@ -41,7 +41,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>tftp Settings</name>
- <version>0.5</version>
+ <version>0.5.1</version>
<title>TFTP: Settings</title>
<include_file>/usr/local/pkg/tftp.inc</include_file>
<menu>
@@ -75,48 +75,15 @@
<item>http://www.pfsense.com/packages/config/tftp/tftp.inc</item>
</additional_files_needed>
<additional_files_needed>
- <prefix>/usr/local/pkg/</prefix>
+ <prefix>/tmp/</prefix>
<chmod>0755</chmod>
<item>http://www.pfsense.com/packages/config/tftp/tftp_files.tmp</item>
</additional_files_needed>
<fields>
<field>
- <fielddescr>Numbering Plan</fielddescr>
- <fieldname>numbering_plan</fieldname>
- <description>Enter the numbering plan here. example: US</description>
- <type>input</type>
- </field>
- <field>
- <fielddescr>Default Gateway</fielddescr>
- <fieldname>default_gateway</fieldname>
- <description>Enter the default gateway name here. example: asterlink.com</description>
- <type>input</type>
- </field>
- <field>
- <fielddescr>Default Area Code</fielddescr>
- <fieldname>default_area_code</fieldname>
- <description>Enter the area code here. example: 918</description>
- <type>input</type>
- </field>
- <field>
- <fielddescr>SMTP Secure</fielddescr>
- <fieldname>smtpsecure</fieldname>
- <description>Select the SMTP security. None, TLS, SSL</description>
- <type>select</type>
- <options>
- <option>
- <name>none</name>
- <value></value>
- </option>
- <option>
- <name>tls</name>
- <value>tls</value>
- </option>
- <option>
- <name>ssl</name>
- <value>ssl</value>
- </option>
- </options>
+ <fielddescr>TFTP</fielddescr>
+ <fieldname>tftp</fieldname>
+ <description>Trivial File Transport Protocol is a very simple file transfer protocol. Often used with routers, voip phones and more.</description>
</field>
</fields>
<custom_add_php_command>
diff --git a/pkg_config.7.xml b/pkg_config.7.xml
index 7de37433..486a24fc 100644
--- a/pkg_config.7.xml
+++ b/pkg_config.7.xml
@@ -80,7 +80,7 @@
<pkginfolink></pkginfolink>
<config_file>http://www.pfsense.com/packages/config/tftp/tftp.xml</config_file>
<depends_on_package_base_url>http://files.pfsense.org/packages/7/All/</depends_on_package_base_url>
- <version>0.5</version>
+ <version>0.5.1</version>
<status>Alpha</status>
<required_version>1.2.1</required_version>
<maintainer>markjcrane@gmail.com</maintainer>