aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-08-06 20:51:15 -0600
committermcrane <mctch@yahoo.com>2009-08-06 20:51:15 -0600
commit7d66a5bdbb20df8a5e7e4266de177a2b22458fc7 (patch)
treec78df4b5bc3d27a023ae29809a1156f842b8124d
parent7339884165a21be6ccdbbb6e512e51fea6d009dd (diff)
downloadpfsense-packages-7d66a5bdbb20df8a5e7e4266de177a2b22458fc7.tar.gz
pfsense-packages-7d66a5bdbb20df8a5e7e4266de177a2b22458fc7.tar.bz2
pfsense-packages-7d66a5bdbb20df8a5e7e4266de177a2b22458fc7.zip
FreeSWITCH dev change the package download directory.
-rw-r--r--config/freeswitch_dev/freeswitch.xml2
-rw-r--r--config/freeswitch_dev/v_config.inc8
-rwxr-xr-xpkg_config.7.xml2
3 files changed, 8 insertions, 4 deletions
diff --git a/config/freeswitch_dev/freeswitch.xml b/config/freeswitch_dev/freeswitch.xml
index 3d81d728..b80b9916 100644
--- a/config/freeswitch_dev/freeswitch.xml
+++ b/config/freeswitch_dev/freeswitch.xml
@@ -44,7 +44,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>Settings</name>
- <version>0.9.7.3</version>
+ <version>0.9.7.4</version>
<title>Settings</title>
<include_file>/usr/local/pkg/v_config.inc</include_file>
<menu>
diff --git a/config/freeswitch_dev/v_config.inc b/config/freeswitch_dev/v_config.inc
index fd051ac9..711eb1e3 100644
--- a/config/freeswitch_dev/v_config.inc
+++ b/config/freeswitch_dev/v_config.inc
@@ -2977,10 +2977,14 @@ function sync_package_freeswitch()
function pkg_add($pkg_download_path, $pkg_name)
{
+ if (!is_dir('/usr/pkgs/')) {
+ exec("mkdir /usr/pkgs/");
+ }
+
$pkg_array = split("\.", $pkg_name);
//if the package is not installed then download and install it
if (!strlen(exec('pkg_info | grep '.$pkg_array[0])) > 0) {
- chdir('/tmp/');
+ chdir('/usr/pkgs/');
exec("fetch ".$pkg_download_path.$pkg_name);
exec("pkg_add -F ".$pkg_name);
exec("rm ".$pkg_name);
@@ -2996,7 +3000,7 @@ function v_php_install_command()
global $config;
- $v_package_version = "0.9.7.3";
+ $v_package_version = "0.9.7.4";
$v_build_version = "1.0.4";
$v_build_revision = "14306";
diff --git a/pkg_config.7.xml b/pkg_config.7.xml
index 71107b84..e66dc46e 100755
--- a/pkg_config.7.xml
+++ b/pkg_config.7.xml
@@ -126,7 +126,7 @@
<pkginfolink>http://doc.pfsense.org/index.php/FreeSWITCH</pkginfolink>
<config_file>http://www.pfsense.com/packages/config/freeswitch_dev/freeswitch.xml</config_file>
<depends_on_package_base_url>http://files.pfsense.org/packages/7/All/</depends_on_package_base_url>
- <version>0.9.7.3</version>
+ <version>0.9.7.4</version>
<status>Beta</status>
<required_version>1.2.3</required_version>
<maintainer>markjcrane@gmail.com</maintainer>