diff --git a/debian/control b/debian/control index 7c35175..e550261 100644 --- a/debian/control +++ b/debian/control @@ -21,3 +21,19 @@ 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 +Multi-Arch: same +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