aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-02-24 02:49:04 -0700
committermcrane <mctch@yahoo.com>2009-02-24 02:49:04 -0700
commit10c316d4552cfbcf8324e275cfe0607a966ad0a9 (patch)
tree66e85e2ef6869534c1d4a4e808808fd8f7b68c26 /config/freeswitch
parent4a9b77cfad6be93712432ffde9c58930bbe83223 (diff)
downloadpfsense-packages-10c316d4552cfbcf8324e275cfe0607a966ad0a9.tar.gz
pfsense-packages-10c316d4552cfbcf8324e275cfe0607a966ad0a9.tar.bz2
pfsense-packages-10c316d4552cfbcf8324e275cfe0607a966ad0a9.zip
FreeSWITCH remove version detection
Diffstat (limited to 'config/freeswitch')
-rw-r--r--config/freeswitch/freeswitch.inc34
-rw-r--r--config/freeswitch/freeswitch.xml7
2 files changed, 18 insertions, 23 deletions
diff --git a/config/freeswitch/freeswitch.inc b/config/freeswitch/freeswitch.inc
index 83871601..6c36290d 100644
--- a/config/freeswitch/freeswitch.inc
+++ b/config/freeswitch/freeswitch.inc
@@ -1672,7 +1672,10 @@ function sync_package_freeswitch()
function freeswitch_php_install_command()
{
global $config;
- $freeswitch_package_version = "0.8.2";
+ $freeswitch_package_version = "0.8.3";
+ $freeswitch_build_version = "1.0.3";
+ $freeswitch_build_revision = "12228";
+
conf_mount_rw();
config_lock();
@@ -1683,27 +1686,14 @@ function freeswitch_php_install_command()
exec("mkdir /usr/local/www/freeswitch/");
}
- $struname = exec('uname -v');
- if (stristr($struname, 'FreeBSD 7.0')) {
- $freebsd_version = "7.0";
- exec("cd /tmp; fetch
-http://www.portableusbapps.com/packages/config/freeswitch/freeswitch.1.jun.2009.tgz");
- exec("tar zxvf /tmp/freeswitch.1.jun.2009.tgz -C
-/usr/local/");
- unlink_if_exists("/tmp/freeswitch.1.jun.2009.tgz");
-
- $freeswitch_build_version = "1.0.2";
- $freeswitch_build_revision = "";
- }
- else {
- exec("cd /tmp; fetch
-http://www.portableusbapps.com/packages/config/freeswitch/freeswitch.tgz");
- exec("tar zxvf /tmp/freeswitch.tgz -C /usr/local/");
- unlink_if_exists("/tmp/freeswitch.tgz");
-
- $freeswitch_build_version = "1.0.3";
- $freeswitch_build_revision = "12228";
- }
+ //$struname = exec('uname -v');
+ //if (stristr($struname, 'FreeBSD 7.0')) {
+ // $freebsd_version = "7.0";
+ //}
+
+
+ exec("tar zxvf /tmp/freeswitch.tgz -C /usr/local/");
+ unlink_if_exists("/tmp/freeswitch.tgz");
//make a backup copy of the default config
diff --git a/config/freeswitch/freeswitch.xml b/config/freeswitch/freeswitch.xml
index 58ea5165..bfc1a60c 100644
--- a/config/freeswitch/freeswitch.xml
+++ b/config/freeswitch/freeswitch.xml
@@ -44,7 +44,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>FreeSWITCH Settings</name>
- <version>0.8.2</version>
+ <version>0.8.3</version>
<title>FreeSWITCH: Settings</title>
<include_file>/usr/local/pkg/freeswitch.inc</include_file>
<menu>
@@ -112,6 +112,11 @@
</tab>
</tabs>
<configpath>installedpackages->package->$packagename->configuration->freeswitchsettings</configpath>
+ <additional_files_needed>
+ <prefix>/tmp/</prefix>
+ <chmod>0755</chmod>
+ <item>http://www.pfsense.com/packages/config/freeswitch/freeswitch.tgz</item>
+ </additional_files_needed>
<additional_files_needed>
<prefix>/usr/local/pkg/</prefix>
<chmod>0755</chmod>