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
This commit is contained in:
Holger Hans Peter Freyther 2017-03-07 23:17:41 +01:00
parent 17f5b00506
commit 4776b2972e
3 changed files with 15 additions and 0 deletions

1
debian/changelog vendored
View File

@ -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

10
debian/control vendored
View File

@ -17,3 +17,13 @@ Package: osmo-pcap-server
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

4
debian/rules vendored
View File

@ -39,3 +39,7 @@ override_dh_auto_install:
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