diff --git a/debian/bootstrap.sh b/debian/bootstrap.sh index b566bc26d9..61098cb11a 100755 --- a/debian/bootstrap.sh +++ b/debian/bootstrap.sh @@ -29,7 +29,7 @@ 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_debian_distros="wheezy jessie stretch buster sid" +supported_debian_distros="wheezy jessie stretch buster bullseye sid" supported_ubuntu_distros="trusty utopic xenial" supported_distros="$supported_debian_distros $supported_ubuntu_distros" avoid_mods=( @@ -299,7 +299,7 @@ print_source_control () { esac local debhelper_dep="debhelper (>= 8.0.0)" if [ ${use_sysvinit} = "false" ]; then - debhelper_dep=${debhelper_dep}", dh-systemd" + debhelper_dep=${debhelper_dep}", dh-systemd | debhelper (>= 8.0.0)" fi cat <= 0.90) | dh-python, erlang-dev, libtpl-dev (>= 1.5), + python-dev | python-dev-is-python2, python3-dev, python-all-dev, python-support (>= 0.90) | dh-python, erlang-dev, libtpl-dev (>= 1.5), # documentation doxygen, # for APR (not essential for build) diff --git a/debian/control-modules b/debian/control-modules index 24c89d3e39..a3b53790a4 100644 --- a/debian/control-modules +++ b/debian/control-modules @@ -492,6 +492,7 @@ Description: Adds mod_verto. Adds mod_verto. Build-Depends: libperl-dev Build-Depends-Buster: libperl-dev, libgdbm-compat-dev +Build-Depends-Bullseye: libperl-dev, libgdbm-compat-dev ## mod/event_handlers @@ -665,11 +666,12 @@ Description: mod_perl Adds mod_perl. Build-Depends: libperl-dev Build-Depends-Buster: libperl-dev, libgdbm-compat-dev +Build-Depends-Bullseye: libperl-dev, libgdbm-compat-dev Module: languages/mod_python Description: mod_python Adds mod_python. -Build-Depends: python-dev +Build-Depends: python-dev | python-dev-is-python2 Module: languages/mod_python3 Description: mod_python3 diff --git a/debian/util.sh b/debian/util.sh index 88cee7949b..6a5d8f27da 100755 --- a/debian/util.sh +++ b/debian/util.sh @@ -46,9 +46,9 @@ find_distro () { case "$1" in experimental) echo "sid";; unstable) echo "sid";; - testing) echo "buster";; - stable) echo "stretch";; - oldstable) echo "jessie";; + testing) echo "bullseye";; + stable) echo "buster";; + oldstable) echo "stretch";; *) echo "$1";; esac } @@ -56,9 +56,9 @@ find_distro () { find_suite () { case "$1" in sid) echo "unstable";; - buster) echo "testing";; - stretch) echo "stable";; - jessie) echo "oldstable";; + bullseye) echo "testing";; + buster) echo "stable";; + stretch) echo "oldstable";; *) echo "$1";; esac }