From 4266442d6ef5fed435babfa3daf8295b3e500c4f Mon Sep 17 00:00:00 2001
From: Travis Cross <tc@traviscross.com>
Date: Sat, 25 May 2013 09:52:01 +0000
Subject: [PATCH] debian: wheezy is the new stable

And jessie is the new testing.

The king is dead, long live the king!
---
 debian/bootstrap.sh |  4 +++-
 debian/util.sh      | 12 +++++++-----
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/debian/bootstrap.sh b/debian/bootstrap.sh
index 2521a588d0..a7b12cee3d 100755
--- a/debian/bootstrap.sh
+++ b/debian/bootstrap.sh
@@ -7,7 +7,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="."
-supported_distros="squeeze wheezy sid"
+supported_distros="squeeze wheezy jessie sid"
 avoid_mods=(
   applications/mod_limit
   applications/mod_mongo
@@ -37,6 +37,8 @@ avoid_mods=(
 )
 avoid_mods_sid=(
 )
+avoid_mods_jessie=(
+)
 avoid_mods_wheezy=(
 )
 avoid_mods_squeeze=(
diff --git a/debian/util.sh b/debian/util.sh
index ca160c846c..adb14988ee 100755
--- a/debian/util.sh
+++ b/debian/util.sh
@@ -46,8 +46,9 @@ find_distro () {
   case "$1" in
     experimental) echo "sid";;
     unstable) echo "sid";;
-    testing) echo "wheezy";;
-    stable) echo "squeeze";;
+    testing) echo "jessie";;
+    stable) echo "wheezy";;
+    oldstable) echo "squeeze";;
     *) echo "$1";;
   esac
 }
@@ -55,8 +56,9 @@ find_distro () {
 find_suite () {
   case "$1" in
     sid) echo "unstable";;
-    wheezy) echo "testing";;
-    squeeze) echo "stable";;
+    jessie) echo "testing";;
+    wheezy) echo "stable";;
+    squeeze) echo "oldstable";;
     *) echo "$1";;
   esac
 }
@@ -332,7 +334,7 @@ build_all () {
   done
   shift $(($OPTIND-1))
   [ -n "$archs" ] || archs="amd64 i386"
-  [ -n "$distros" ] || distros="sid wheezy squeeze"
+  [ -n "$distros" ] || distros="sid jesse wheezy squeeze"
   [ -n "$orig" ] || orig="$(create_orig $orig_opts HEAD | tail -n1)"
   mkdir -p ../log
   > ../log/changes