[Build-System] Add Bullseye to the Debian packaging

This commit is contained in:
Andrey Volk 2021-09-21 22:49:04 +03:00
parent a4603c7cb8
commit 46efa0cdb8
3 changed files with 12 additions and 10 deletions

6
debian/bootstrap.sh vendored
View File

@ -29,7 +29,7 @@ conf_dir="../conf"
lang_dir="../conf/vanilla/lang" 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." 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="." 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_ubuntu_distros="trusty utopic xenial"
supported_distros="$supported_debian_distros $supported_ubuntu_distros" supported_distros="$supported_debian_distros $supported_ubuntu_distros"
avoid_mods=( avoid_mods=(
@ -299,7 +299,7 @@ print_source_control () {
esac esac
local debhelper_dep="debhelper (>= 8.0.0)" local debhelper_dep="debhelper (>= 8.0.0)"
if [ ${use_sysvinit} = "false" ]; then if [ ${use_sysvinit} = "false" ]; then
debhelper_dep=${debhelper_dep}", dh-systemd" debhelper_dep=${debhelper_dep}", dh-systemd | debhelper (>= 8.0.0)"
fi fi
cat <<EOF cat <<EOF
Source: freeswitch Source: freeswitch
@ -325,7 +325,7 @@ Build-Depends:
# configure options # configure options
libssl1.0-dev | libssl-dev, unixodbc-dev, libpq-dev, libssl1.0-dev | libssl-dev, unixodbc-dev, libpq-dev,
libncurses5-dev, libjpeg62-turbo-dev | libjpeg-turbo8-dev | libjpeg62-dev | libjpeg8-dev, libncurses5-dev, libjpeg62-turbo-dev | libjpeg-turbo8-dev | libjpeg62-dev | libjpeg8-dev,
python-dev, python3-dev, python-all-dev, python-support (>= 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 # documentation
doxygen, doxygen,
# for APR (not essential for build) # for APR (not essential for build)

View File

@ -492,6 +492,7 @@ Description: Adds mod_verto.
Adds mod_verto. Adds mod_verto.
Build-Depends: libperl-dev Build-Depends: libperl-dev
Build-Depends-Buster: libperl-dev, libgdbm-compat-dev Build-Depends-Buster: libperl-dev, libgdbm-compat-dev
Build-Depends-Bullseye: libperl-dev, libgdbm-compat-dev
## mod/event_handlers ## mod/event_handlers
@ -665,11 +666,12 @@ Description: mod_perl
Adds mod_perl. Adds mod_perl.
Build-Depends: libperl-dev Build-Depends: libperl-dev
Build-Depends-Buster: libperl-dev, libgdbm-compat-dev Build-Depends-Buster: libperl-dev, libgdbm-compat-dev
Build-Depends-Bullseye: libperl-dev, libgdbm-compat-dev
Module: languages/mod_python Module: languages/mod_python
Description: mod_python Description: mod_python
Adds mod_python. Adds mod_python.
Build-Depends: python-dev Build-Depends: python-dev | python-dev-is-python2
Module: languages/mod_python3 Module: languages/mod_python3
Description: mod_python3 Description: mod_python3

12
debian/util.sh vendored
View File

@ -46,9 +46,9 @@ find_distro () {
case "$1" in case "$1" in
experimental) echo "sid";; experimental) echo "sid";;
unstable) echo "sid";; unstable) echo "sid";;
testing) echo "buster";; testing) echo "bullseye";;
stable) echo "stretch";; stable) echo "buster";;
oldstable) echo "jessie";; oldstable) echo "stretch";;
*) echo "$1";; *) echo "$1";;
esac esac
} }
@ -56,9 +56,9 @@ find_distro () {
find_suite () { find_suite () {
case "$1" in case "$1" in
sid) echo "unstable";; sid) echo "unstable";;
buster) echo "testing";; bullseye) echo "testing";;
stretch) echo "stable";; buster) echo "stable";;
jessie) echo "oldstable";; stretch) echo "oldstable";;
*) echo "$1";; *) echo "$1";;
esac esac
} }