From 758a212307871927709213227ea30e59a27484ca Mon Sep 17 00:00:00 2001 From: Jon Bonilla Date: Thu, 16 Aug 2012 18:07:32 +0000 Subject: [PATCH] Add kamailio-dbg package We'll use a very recent version of kamailio in 2.6. It's better to have a dbg package that can be installed in our test systems to debug any problem we find. Should we install it also in customer servers? --- pkg/kamailio/deb/squeeze/control | 13 +++++++++++++ pkg/kamailio/deb/squeeze/rules | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/pkg/kamailio/deb/squeeze/control b/pkg/kamailio/deb/squeeze/control index ab826eb43..0d83770c6 100644 --- a/pkg/kamailio/deb/squeeze/control +++ b/pkg/kamailio/deb/squeeze/control @@ -46,6 +46,7 @@ Conflicts: kamailio-dbg, kamailio-regex-modules Suggests: kamailio-berkeley-modules, kamailio-carrierroute-modules, kamailio-cpl-modules, + kamailio-dbg, kamailio-ldap-modules, kamailio-lua-modules, kamailio-mysql-modules, @@ -76,6 +77,18 @@ Description: very fast and configurable SIP proxy This package contains the main Kamailio binary along with the principal modules and support binaries. + +Package: kamailio-dbg +Architecture: any +Depends: ${shlibs:Depends}, kamailio (= ${binary:Version}) +Description: Debugging symbols for Kamailio SIP proxy + Kamailio is a very fast and flexible SIP (RFC3261) + proxy server. Written entirely in C, Kamailio can handle thousands calls + per second even on low-budget hardware. + . + This package provides gdb debugging symbols for Kamailio + + Package: kamailio-mysql-modules Architecture: any Depends: kamailio (= ${binary:Version}), mysql-client, ${shlibs:Depends} diff --git a/pkg/kamailio/deb/squeeze/rules b/pkg/kamailio/deb/squeeze/rules index bc8372c0d..8c016b0c4 100755 --- a/pkg/kamailio/deb/squeeze/rules +++ b/pkg/kamailio/deb/squeeze/rules @@ -17,7 +17,7 @@ # export DH_COMPAT=4 # -- already set in compat # force no striping (always include debug symbols for now) -export DEB_BUILD_OPTIONS:="$(DEB_BUILD_OPTIONS) nostrip" +export DEB_BUILD_OPTIONS:="$(DEB_BUILD_OPTIONS) debug" # modules not in the "main" kamailio package EXCLUDED_MODULES= purple @@ -193,7 +193,7 @@ binary-common: # dh_undocumented dh_installchangelogs ChangeLog dh_link - dh_strip + dh_strip --dbg-package=kamailio-dbg dh_compress dh_fixperms dh_makeshlibs