From cc9810b968004ab5cca587c55e6a1e23e6c51388 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Tue, 24 Jul 2012 23:29:23 +0000 Subject: [PATCH] Build package ngcp-mediaproxy-ng-dbg providing debugging symbols Split out the debugging symbols from the main packages into one single package named ngcp-mediaproxy-ng-dbg Closes: https://bugtracker.sipwise.com/view.php?id=1825 From: Michael Prokop --- debian/control | 14 ++++++++++++++ debian/rules | 11 ++++++++--- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index b8ff05018..ffd80f94d 100644 --- a/debian/control +++ b/debian/control @@ -58,3 +58,17 @@ Description: Development files for mediaproxy-ng . Install this package if you wish to develop your own programs using mediaproxy-ng. + +Package: ngcp-mediaproxy-ng-dbg +Architecture: any +Section: debug +Depends: ngcp-mediaproxy-ng-daemon (= ${binary:Version}), ngcp-mediaproxy-ng-iptables (= ${binary:Version}), ${misc:Depends} +Description: debugging symbols for ngcp-mediaproxy-ng + The ngcp-mediaproxy-ng daemon handles the first stages of proxying media streams and talks to + the kernel part of the proxy for eventual high-performance packet forwarding. + . + ngcp-mediaproxy-ng-iptables provides the IPtables extension needed + to configure the mediaproxy rule. + . + This package contains the debugging symbols for ngcp-mediaproxy-ng-daemon + and ngcp-mediaproxy-ng-iptables diff --git a/debian/rules b/debian/rules index 762316a4b..d9254d8c4 100755 --- a/debian/rules +++ b/debian/rules @@ -85,7 +85,7 @@ install: build dh_installchangelogs -p$@ -P$(b)/$@ # dh_installinit -p$@ -P$(b)/$@ dh_install -p$@ -P$(b)/$@ - dh_strip -p$@ -P$(b)/$@ --keep-debug + dh_strip --dbg-package=ngcp-mediaproxy-ng-dbg dh_compress -p$@ -P$(b)/$@ dh_fixperms -p$@ -P$(b)/$@ dh_makeshlibs -p$@ -P$(b)/$@ -V @@ -98,11 +98,16 @@ install: build # Build architecture dependant packages binary-arch: install \ - ngcp-mediaproxy-ng-iptables ngcp-mediaproxy-ng + ngcp-mediaproxy-ng-daemon \ + ngcp-mediaproxy-ng-dbg \ + ngcp-mediaproxy-ng-iptables # Build architecture independant packages binary-indep: build install \ - ngcp-mediaproxy-ng-daemon ngcp-mediaproxy-ng-kernel-dkms ngcp-mediaproxy-ng-kernel-source ngcp-mediaproxy-ng-dev + ngcp-mediaproxy-ng \ + ngcp-mediaproxy-ng-dev \ + ngcp-mediaproxy-ng-kernel-dkms \ + ngcp-mediaproxy-ng-kernel-source binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install kdist kdist_configure kdist_image kdist_clean