diff --git a/debian/README.source b/debian/README.source index 3031449844..945f15125f 100644 --- a/debian/README.source +++ b/debian/README.source @@ -67,10 +67,12 @@ If you want actualy Debian binary or source packages to upload to your own repository, you'll need to build them as described here. We have some fancy automatic tools to accomplish this. The tools allow you to start from a very bare Debian image and generate working packages. -Building in this manner is only supported on Debian sid, though it -will generate packages for all supported Debian releases. Simply run: +Building in this manner is only supported on Debian jessie, though it +will generate packages for all supported Debian releases. Simply run as root: - ./debian/util.sh build-all -ibn -z9 + echo "USENETWORK=yes" >$HOME/.pbuilderrc + + ./debian/util.sh build-all -ibn -z9 -aamd64 -cjessie Building on Ubuntu ------------------ diff --git a/debian/apt_sources.list b/debian/apt_sources.list new file mode 100644 index 0000000000..857524c9c5 --- /dev/null +++ b/debian/apt_sources.list @@ -0,0 +1,2 @@ +deb http://httpredir.debian.org/debian jessie main +deb http://files.freeswitch.org/repo/deb/debian/ jessie main diff --git a/debian/bootstrap.sh b/debian/bootstrap.sh index 12c8f4b435..df94f3dffa 100755 --- a/debian/bootstrap.sh +++ b/debian/bootstrap.sh @@ -14,6 +14,7 @@ avoid_mods=( applications/mod_limit applications/mod_mongo applications/mod_mp4 + applications/mod_mp4v2 applications/mod_osp applications/mod_rad_auth applications/mod_skel @@ -21,6 +22,7 @@ avoid_mods=( asr_tts/mod_cepstral codecs/mod_com_g729 codecs/mod_ilbc + codecs/mod_openh264 codecs/mod_siren codecs/mod_skel_codec endpoints/mod_gsmopen @@ -29,6 +31,8 @@ avoid_mods=( endpoints/mod_opal endpoints/mod_reference endpoints/mod_unicall + event_handlers/mod_smpp + formats/mod_webm sdk/autotools xml_int/mod_xml_ldap xml_int/mod_xml_radius diff --git a/debian/util.sh b/debian/util.sh index efeb071a3b..0200409300 100755 --- a/debian/util.sh +++ b/debian/util.sh @@ -276,7 +276,7 @@ build_debs () { set -e local OPTIND OPTARG debug_hook=false hookdir="" cow_build_opts="" local keep_pbuilder_config=false keyring="" custom_keyring="" - local use_system_sources=false + local use_custom_sources=false while getopts 'BbdK:kT:t' o "$@"; do case "$o" in B) cow_build_opts="--debbuildopts '-B'";; @@ -284,7 +284,7 @@ build_debs () { d) debug_hook=true;; k) keep_pbuilder_config=true;; K) custom_keyring="$OPTARG";; - t) use_system_sources=true; custom_sources_file="/etc/apt/sources.list";; + t) use_custom_sources=true; custom_sources_file="/etc/apt/sources.list";; T) use_custom_sources=true; custom_sources_file="$OPTARG";; esac done @@ -308,7 +308,7 @@ build_debs () { apt-key exportall > "$keyring" fi cow () { - if ! $use_system_sources; then + if ! $use_custom_sources; then cowbuilder "$@" \ --distribution $distro \ --architecture $arch \