Merge pull request #120 in FS/freeswitch from ~STEVEAYRE/freeswitch:master to master
* commit '0822f6a0200662bb01576fb3a0ce923acd9596a6': FS-7019 swap debian/ubuntu autodetection order FS-7019 detect debian explicitly, error on unknown distribution FS-7019 add note on how to build on Ubuntu FS-7019 full list of distributions to target based on distribution autodetection FS-7019 build error on utopic (lber_types.h: No such file or directory) FS-7019 add support for building on ubuntu trusty and utopic
This commit is contained in:
commit
01ac20f6cc
|
@ -72,6 +72,16 @@ will generate packages for all supported Debian releases. Simply run:
|
|||
|
||||
./debian/util.sh build-all -ibn -z9
|
||||
|
||||
Building on Ubuntu
|
||||
------------------
|
||||
|
||||
Building on supported Ubuntu releases requires the main and universe
|
||||
APT components in the pbuilder chroot. You should enable the universe
|
||||
component in your system's APT sources.list and use the -t option to
|
||||
use your system sources in the chroot:
|
||||
|
||||
./debian/util.sh build-all -ibn -z9 -t
|
||||
|
||||
Building only some modules
|
||||
--------------------------
|
||||
|
||||
|
|
|
@ -7,7 +7,9 @@ conf_dir="../conf"
|
|||
lang_dir="../conf/vanilla/lang"
|
||||
fs_description="FreeSWITCH is a scalable open source cross-platform telephony platform designed to route and interconnect popular communication protocols using audio, video, text or any other form of media."
|
||||
mod_build_depends="." mod_depends="." mod_recommends="." mod_suggests="."
|
||||
supported_distros="squeeze wheezy jessie sid"
|
||||
supported_debian_distros="squeeze wheezy jessie sid"
|
||||
supported_ubuntu_distros="trusty utopic"
|
||||
supported_distros=" $supported_debian_distros $supported_ubuntu_distros "
|
||||
avoid_mods=(
|
||||
applications/mod_limit
|
||||
applications/mod_mongo
|
||||
|
@ -50,6 +52,11 @@ avoid_mods_squeeze=(
|
|||
formats/mod_vlc
|
||||
languages/mod_managed
|
||||
)
|
||||
avoid_mods_trusty=(
|
||||
)
|
||||
avoid_mods_utopic=(
|
||||
directories/mod_ldap
|
||||
)
|
||||
manual_pkgs=(
|
||||
freeswitch-all
|
||||
freeswitch
|
||||
|
@ -277,9 +284,11 @@ list_freeswitch_all_dbg_replaces () {
|
|||
|
||||
print_source_control () {
|
||||
local libtool_dep="libtool, libtool-bin"
|
||||
if test "$codename" = wheezy || test "$codename" = squeeze; then
|
||||
libtool_dep="libtool"
|
||||
fi
|
||||
case "$codename" in
|
||||
squeeze|wheezy|trusty)
|
||||
libtool_dep="libtool"
|
||||
;;
|
||||
esac
|
||||
cat <<EOF
|
||||
Source: freeswitch
|
||||
Section: comm
|
||||
|
|
|
@ -385,7 +385,20 @@ build_all () {
|
|||
done
|
||||
shift $(($OPTIND-1))
|
||||
[ -n "$archs" ] || archs="amd64 i386"
|
||||
[ -n "$distros" ] || distros="sid jessie wheezy"
|
||||
if [ -z "$distros" ]; then
|
||||
case "$(lsb_release -is)" in
|
||||
Debian)
|
||||
distros="sid jessie wheezy"
|
||||
;;
|
||||
Ubuntu)
|
||||
distros="utopic trusty"
|
||||
;;
|
||||
*)
|
||||
echo "Unknown distribution"
|
||||
exit -1
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
! $depinst || aptitude install -y \
|
||||
rsync git less cowbuilder ccache \
|
||||
devscripts equivs build-essential
|
||||
|
|
Loading…
Reference in New Issue