From e0937fcaf109b848a6ba45d7c3b599d0cc66f0a8 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 20 Nov 2014 23:49:56 +0100 Subject: [PATCH] MT#10263 Provide debug package (ngcp-asterisk-dbg) Change-Id: I67dc22736aa4f2a2f5a8bc091f625a9716fe5623 --- debian/control | 15 +++++++++++++++ debian/rules | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 7c35175..2884a2c 100644 --- a/debian/control +++ b/debian/control @@ -21,3 +21,18 @@ Depends: libmyodbc, ${shlibs:Depends} Description: Sipwise's custom asterisk for NGCP platforms. This package provides Asterisk 1.4.24.1 with Sipwise and asterisk-es-rsp.org patches. + +Package: ngcp-asterisk-dbg +Priority: extra +Section: debug +Architecture: any +Pre-Depends: ${misc:Pre-Depends} +Depends: ngcp-asterisk (= ${binary:Version}), + ${misc:Depends} +Conflicts: asterisk-dbg +Replaces: asterisk-dbg +Description: Sipwise's custom asterisk for NGCP platforms + This package provides Asterisk 1.4.24.1 with Sipwise and asterisk-es-rsp.org patches. + . + This package contains the debugging symbols for the Asterisk binary and + modules. You only need to install it if you need to debug Asterisk. diff --git a/debian/rules b/debian/rules index d347ef2..c0d7755 100755 --- a/debian/rules +++ b/debian/rules @@ -80,7 +80,7 @@ binary-arch: build install dh_installchangelogs dh_installman dh_link - dh_strip + dh_strip --dbg-package=ngcp-asterisk-dbg dh_compress dh_fixperms dh_installdeb