From f4cd906f2eaf602ea9ce71ed513fd4e9e1742609 Mon Sep 17 00:00:00 2001 From: kaian Date: Fri, 22 Dec 2017 13:53:44 +0100 Subject: [PATCH] pkg: include rules for debian debug package --- pkg/debian/control | 12 ++++++++++++ pkg/debian/rules | 11 +++++++++++ tests/Makefile.am | 2 ++ 3 files changed, 25 insertions(+) diff --git a/pkg/debian/control b/pkg/debian/control index 3c99a0f..1c61cee 100644 --- a/pkg/debian/control +++ b/pkg/debian/control @@ -21,3 +21,15 @@ Description: Ncurses SIP Messages flow viewer You can also create new PCAP files from captures or displayed dialogs. . +Package: sngrep-dbg +Architecture: any +Section: debug +Priority: extra +Depends: sngrep (= ${binary:Version}), ${misc:Depends} +Description: Debugging symbols for sngrep SIP Messages flow viewer + sngrep displays SIP Messages grouped by Call-Id into flow + diagrams. It can be used as an offline PCAP viewer or online + capture using libpcap functions. + . + This package contains the debugging sysmbols. + . diff --git a/pkg/debian/rules b/pkg/debian/rules index 77770f3..e06c567 100755 --- a/pkg/debian/rules +++ b/pkg/debian/rules @@ -1,5 +1,16 @@ #!/usr/bin/make -f + override_dh_auto_configure: dh_auto_configure -- --with-gnutls --with-pcre --enable-unicode --enable-ipv6 --enable-eep + +override_dh_strip: + dh_strip --dbg-package=sngrep-dbg + +override_dh_auto_install: + dh_auto_install --destdir=debian/sngrep + +override_dh_installdocs: + dh_installdocs --link-doc=sngrep + %: dh $@ --with autoreconf diff --git a/tests/Makefile.am b/tests/Makefile.am index dccee8c..84065bd 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,3 +1,5 @@ +AUTOMAKE_OPTIONS=subdir-objects + check_PROGRAMS=test-001 test-002 test-003 test-004 test-005 check_PROGRAMS+=test-006 test-007 test-008 test-009 test-010