diff --git a/debian/README.source b/debian/README.source index f067c0ebe4..b2cd1bb3a9 100644 --- a/debian/README.source +++ b/debian/README.source @@ -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 -------------------------- diff --git a/debian/bootstrap.sh b/debian/bootstrap.sh index b179f594c0..1502bc9271 100755 --- a/debian/bootstrap.sh +++ b/debian/bootstrap.sh @@ -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 <