aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Crane <mcrane@pfsense.org>2009-02-01 11:52:06 +0000
committerMark Crane <mcrane@pfsense.org>2009-02-01 11:52:06 +0000
commit5fdc5f3d053e66d7083ec6ed25c6f9affdb8a0a8 (patch)
treed9dc32052a8c6890683afceffee3b592d30f9106
parentd00e4a703c02e59b9318d11612109642a1186b36 (diff)
downloadpfsense-packages-5fdc5f3d053e66d7083ec6ed25c6f9affdb8a0a8.tar.gz
pfsense-packages-5fdc5f3d053e66d7083ec6ed25c6f9affdb8a0a8.tar.bz2
pfsense-packages-5fdc5f3d053e66d7083ec6ed25c6f9affdb8a0a8.zip
TFTP package syntax change, and change to inetd so that tftp will start on pfsense 1.2.3.
-rw-r--r--packages/tftp/tftp.inc6
-rw-r--r--packages/tftp/tftp.xml2
-rw-r--r--pkg_config.7.xml2
3 files changed, 5 insertions, 5 deletions
diff --git a/packages/tftp/tftp.inc b/packages/tftp/tftp.inc
index b731a9ac..348ef6c4 100644
--- a/packages/tftp/tftp.inc
+++ b/packages/tftp/tftp.inc
@@ -126,7 +126,7 @@ function php_install_command()
fclose($handle);
$handle = fopen($filename,"w");
- $contents = str_replace("#tftp dgram udp wait root /usr/libexec/tftpd", "tftp dgram udp wait root /usr/libexec/tftpd", $contents);
+ $contents = str_replace("#tftp dgram", "tftp dgram", $contents);
fwrite($handle, $contents);
unset($contents);
fclose($handle);
@@ -155,7 +155,7 @@ function php_install_command()
$tmpsearch = "function show_netboot_config() {";
$tmpreplace = "function show_tftp_config() {\n";
- $tmpreplace .= " document.getElementById(\"showtftpbox\").innerHTML=''\n";
+ $tmpreplace .= " document.getElementById(\"showtftpbox\").innerHTML='';\n";
$tmpreplace .= " aodiv = document.getElementById('showtftp');\n";
$tmpreplace .= " aodiv.style.display = \"block\";\n";
$tmpreplace .= "}\n";
@@ -258,7 +258,7 @@ function php_deinstall_command()
fclose($handle);
$handle = fopen($filename,"w");
- $contents = str_replace("tftp dgram udp wait root /usr/libexec/tftpd", "#tftp dgram udp wait root /usr/libexec/tftpd", $contents);
+ $contents = str_replace("tftp dgram", "#tftp dgram", $contents);
fwrite($handle, $contents);
unset($contents);
fclose($fout);
diff --git a/packages/tftp/tftp.xml b/packages/tftp/tftp.xml
index cf2bb680..2b27da88 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>1.0</version>
+ <version>1.0.1</version>
<title>TFTP: Settings</title>
<include_file>/usr/local/pkg/tftp.inc</include_file>
<menu>
diff --git a/pkg_config.7.xml b/pkg_config.7.xml
index 4e34a043..7887f44d 100644
--- a/pkg_config.7.xml
+++ b/pkg_config.7.xml
@@ -106,7 +106,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>1.0</version>
+ <version>1.0.1</version>
<status>Stable</status>
<required_version>1.2.1</required_version>
<maintainer>markjcrane@gmail.com</maintainer>