Introduce sofia_version variable for release

This commit is contained in:
Andy Binder 2021-11-18 11:37:30 +01:00
parent 7934128f73
commit 694d9d9f03
2 changed files with 6 additions and 3 deletions

View File

@ -12,6 +12,9 @@ switch_package=false # true or false
switch_version=1.10.3 # only for source
switch_tls=true # true or false
# Sofia-Sip Settings
sofia_version=1.13.6 # release-version for sofia-sip to use
# Database Settings
database_password=random # random or a custom value (safe characters A-Z, a-z, 0-9)
database_repo=system # PostgreSQL official, system, 2ndquadrant

View File

@ -42,10 +42,10 @@ then
# sofia-sip
cd /usr/src
#git clone https://github.com/freeswitch/sofia-sip.git sofia-sip
wget https://github.com/freeswitch/sofia-sip/archive/refs/tags/v1.13.6.zip
unzip v1.13.6.zip
wget https://github.com/freeswitch/sofia-sip/archive/refs/tags/v$sofia_version.zip
unzip v$sofia_version.zip
rm -R sofia-sip
mv sofia-sip-1.13.6 sofia-sip
mv sofia-sip-$sofia_version sofia-sip
cd sofia-sip
sh autogen.sh
./configure