aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/freeswitch_dev/v_config.inc124
1 files changed, 64 insertions, 60 deletions
diff --git a/config/freeswitch_dev/v_config.inc b/config/freeswitch_dev/v_config.inc
index bdd33fab..50de5d91 100644
--- a/config/freeswitch_dev/v_config.inc
+++ b/config/freeswitch_dev/v_config.inc
@@ -2969,7 +2969,7 @@ function v_php_install_command()
global $config;
//exec("/etc/./rc.conf_mount_rw");
- $v_package_version = "0.9.5.6";
+ $v_package_version = "0.9.5.7";
$v_build_version = "1.0.4 pre 10";
$v_build_revision = "14306";
@@ -3019,68 +3019,72 @@ function v_php_install_command()
$static_output = 'Downloading Files';
update_output_window($static_output);
+ if (!is_dir('/tmp/v_pkg/')) {
+ exec("/tmp/v_pkg/");
+ }
+
//download the packages
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/wget-1.11.4.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/bash-4.0.24.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/libgcrypt-1.4.4.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/libgpg-error-1.7.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/libiconv-1.13.1.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/libogg-1.1.4,4.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/libpri-1.4.1.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/libslang2-2.1.4_1.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/popt-1.14.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/p5-gettext-1.05_2.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/gdbm-1.8.3_3.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/pkg-config-0.23_1.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/ca_root_nss-3.11.9_2.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/gettext-0.17_1.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/zaptel-1.4.11_1.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/gnutls-2.6.5.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/ncurses-5.7.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/unixODBC-2.2.14_1.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/libvorbis-1.2.3,3.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/tiff-3.8.2_4.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/newt-0.51.0_8.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/jpeg-7.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/pcre-7.9.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/png-1.2.37.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/tiff2png-0.91_1,1.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/db42-4.2.52_5.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/curl-7.19.5_1.tbz");
- exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/freeswitch-1.0.4.p10.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/wget-1.11.4.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/bash-4.0.24.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/libgcrypt-1.4.4.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/libgpg-error-1.7.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/libiconv-1.13.1.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/libogg-1.1.4,4.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/libpri-1.4.1.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/libslang2-2.1.4_1.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/popt-1.14.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/p5-gettext-1.05_2.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/gdbm-1.8.3_3.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/pkg-config-0.23_1.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/ca_root_nss-3.11.9_2.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/gettext-0.17_1.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/zaptel-1.4.11_1.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/gnutls-2.6.5.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/ncurses-5.7.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/unixODBC-2.2.14_1.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/libvorbis-1.2.3,3.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/tiff-3.8.2_4.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/newt-0.51.0_8.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/jpeg-7.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/pcre-7.9.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/png-1.2.37.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/tiff2png-0.91_1,1.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/db42-4.2.52_5.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/curl-7.19.5_1.tbz");
+ exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/freeswitch-1.0.4.p10.tbz");
//install the packages
- exec("pkg_add -f wget-1.11.4.tbz");
- exec("pkg_add -f bash-4.0.24.tbz;");
- exec("pkg_add -f libgcrypt-1.4.4.tbz");
- exec("pkg_add -f libgpg-error-1.7.tbz");
- exec("pkg_add -f libiconv-1.13.1.tbz");
- exec("pkg_add -f libogg-1.1.4,4.tbz");
- exec("pkg_add -f libpri-1.4.1.tbz");
- exec("pkg_add -f libslang2-2.1.4_1.tbz");
- exec("pkg_add -f popt-1.14.tbz");
- exec("pkg_add -f p5-gettext-1.05_2.tbz");
- exec("pkg_add -f gdbm-1.8.3_3.tbz");
- exec("pkg_add -f pkg-config-0.23_1.tbz");
- exec("pkg_add -f ca_root_nss-3.11.9_2.tbz");
- exec("pkg_add -f gettext-0.17_1.tbz");
- exec("pkg_add -f zaptel-1.4.11_1.tbz");
- exec("pkg_add -f gnutls-2.6.5.tbz");
- exec("pkg_add -f ncurses-5.7.tbz");
- exec("pkg_add -f unixODBC-2.2.14_1.tbz");
- exec("pkg_add -f libvorbis-1.2.3,3.tbz");
- exec("pkg_add -f tiff-3.8.2_4.tbz");
- exec("pkg_add -f newt-0.51.0_8.tbz");
- exec("pkg_add -f jpeg-7.tbz");
- exec("pkg_add -f pcre-7.9.tbz");
- exec("pkg_add -f png-1.2.37.tbz");
- exec("pkg_add -f tiff2png-0.91_1,1.tbz");
- exec("pkg_add -f db42-4.2.52_5.tbz");
- exec("pkg_add -f curl-7.19.5_1.tbz");
- exec("pkg_add -f freeswitch-1.0.4.p10.tbz");
- //exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/perl-5.8.9_3.tbz; pkg_add -f perl-5.8.9_3.tbz; rm perl-5.8.9_3.tbz");
- //exec("cd /tmp/; fetch ".$download_path."freebsd7.2/pre10/zzz; pkg_add -f zzz; rm zzz");
- exec("rm /tmp/*.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f wget-1.11.4.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f bash-4.0.24.tbz;");
+ exec("cd /tmp/v_pkg/; pkg_add -f libgcrypt-1.4.4.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f libgpg-error-1.7.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f libiconv-1.13.1.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f libogg-1.1.4,4.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f libpri-1.4.1.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f libslang2-2.1.4_1.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f popt-1.14.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f p5-gettext-1.05_2.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f gdbm-1.8.3_3.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f pkg-config-0.23_1.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f ca_root_nss-3.11.9_2.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f gettext-0.17_1.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f zaptel-1.4.11_1.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f gnutls-2.6.5.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f ncurses-5.7.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f unixODBC-2.2.14_1.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f libvorbis-1.2.3,3.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f tiff-3.8.2_4.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f newt-0.51.0_8.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f jpeg-7.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f pcre-7.9.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f png-1.2.37.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f tiff2png-0.91_1,1.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f db42-4.2.52_5.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f curl-7.19.5_1.tbz");
+ exec("cd /tmp/v_pkg/; pkg_add -f freeswitch-1.0.4.p10.tbz");
+ //exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/perl-5.8.9_3.tbz; pkg_add -f perl-5.8.9_3.tbz; rm perl-5.8.9_3.tbz");
+ //exec("cd /tmp/v_pkg/; fetch ".$download_path."freebsd7.2/pre10/zzz; pkg_add -f zzz; rm zzz");
+ //exec("rm /tmp/v_pkg/*.tbz");
//download the dialplan default.xml