From c72302c431724eb1ba69df56d60da0e6ced1da14 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 20 May 2017 16:31:45 -0600 Subject: [PATCH] Update source-release.sh --- freebsd/resources/switch/source-release.sh | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/freebsd/resources/switch/source-release.sh b/freebsd/resources/switch/source-release.sh index f8b0106..916a747 100755 --- a/freebsd/resources/switch/source-release.sh +++ b/freebsd/resources/switch/source-release.sh @@ -13,25 +13,25 @@ cwd=$(pwd) echo "Installing the FreeSWITCH source" #install minimum dependencies -pkg install --yes autoconf automake curl git gmake ldns libedit libtool openssl pcre pkgconf speex sqlite3 -pkg install --yes gcc49 wget sudo libsndfile lua52 opus libmemcached libvorbis libogg tiff memcached +pkg install --yes gcc49 autoconf automake curl git gmake ldns libedit libtool openssl pcre pkgconf speex sqlite3 +pkg install --yes wget sudo libsndfile lua52 opus libmemcached libvorbis libogg tiff memcached #additional dependencies #pkg install --yes libshout mpg123 lame -#get the source from git and run boostrap -#git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git /usr/src/freeswitch -#cd /usr/src/freeswitch && /bin/sh /usr/src/freeswitch/bootstrap.sh -j - -#get the release from https -cd /usr/src && fetch https://files.freeswitch.org/freeswitch-releases/freeswitch-1.6.17.zip -cd /usr/src && unzip /usr/src/freeswitch-1.6.17.zip -mv /usr/src/freeswitch-1.6.17 /usr/src/freeswitch - #set environment variables set CC gcc49 set CFLAGS '-Wno-error -std=gnu99' +#get the source from git and run boostrap +git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git /usr/src/freeswitch +cd /usr/src/freeswitch && /bin/sh /usr/src/freeswitch/bootstrap.sh -j + +#get the release from https +#cd /usr/src && fetch https://files.freeswitch.org/freeswitch-releases/freeswitch-1.6.17.zip +#cd /usr/src && unzip /usr/src/freeswitch-1.6.17.zip +#mv /usr/src/freeswitch-1.6.17 /usr/src/freeswitch + #enable the modules sed -i' ' -e s:'#applications/mod_avmd:applications/mod_avmd:' /usr/src/freeswitch/modules.conf sed -i' ' -e s:'#applications/mod_callcenter:applications/mod_callcenter:' /usr/src/freeswitch/modules.conf