osmo-pcap[master]: debian: Add -dbg packages for the osmo-pcap-client and osmo-...

Submitted by gerrit-no-reply@lists.osmocom.org on March 7, 2017, 10:18 p.m.

Details

Message ID gerrit.1488925126540.I7d6c8e491be459151c1531b86f28bb1dc2ee8bb4@gerrit.osmocom.org
State New
Headers show

Commit Message

gerrit-no-reply@lists.osmocom.org March 7, 2017, 10:18 p.m.
Review at  https://gerrit.osmocom.org/2000

debian: Add -dbg packages for the osmo-pcap-client and osmo-pcap-server

Currently looking at a weird issue. Make it possible to install the
-dbg packages.

Change-Id: I7d6c8e491be459151c1531b86f28bb1dc2ee8bb4
---
M debian/changelog
M debian/control
M debian/rules
3 files changed, 15 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-pcap refs/changes/00/2000/1

Comments

gerrit-no-reply@lists.osmocom.org March 8, 2017, 8:23 a.m.
Patch Set 1: Code-Review+1
gerrit-no-reply@lists.osmocom.org March 23, 2017, 7:30 a.m.
Patch Set 1: Code-Review+2

Patch hide | download patch | download mbox

diff --git a/debian/changelog b/debian/changelog
index 6e4df55..13bce30 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@ 
 osmo-pcap (0.0.11) UNRELEASED; urgency=medium
 
   * Add "source ip A.B.C.D" option to use specific address.
+  * Add osmo-pcap-client-dbg/osmo-pcap-server-dbg package
 
  -- Holger Hans Peter Freyther <holger@moiji-mobile.com>  Tue, 17 Jan 2017 09:12:52 +0100
 
diff --git a/debian/control b/debian/control
index 3364e34..2677bc0 100644
--- a/debian/control
+++ b/debian/control
@@ -17,3 +17,13 @@ 
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Collect traces from other systems.
+
+Package: osmo-pcap-client-dbg
+Architecture: any
+Depends: osmo-pcap-client (= ${binary:Version})
+Description: Debug symbols of osmo-pcap-client-dbg
+
+Package: osmo-pcap-server-dbg
+Architecture: any
+Depends: osmo-pcap-server (= ${binary:Version})
+Description: Debug symbols of osmo-pcap-server-dbg
diff --git a/debian/rules b/debian/rules
index 78ddc43..872097c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,3 +39,7 @@ 
 
 	install -d -m 0755 $(CURDIR)/debian/osmo-pcap-server/etc/cron.daily/
 	install -m 0755 $(CURDIR)/contrib/osmo_pcap_clean_old $(CURDIR)/debian/osmo-pcap-server/etc/cron.daily/
+
+override_dh_strip:
+	dh_strip -posmo-pcap-client --dbg-package=osmo-pcap-client-dbg
+	dh_strip -posmo-pcap-server --dbg-package=osmo-pcap-server-dbg