summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2012-01-23 13:27:15 +0100
committerOndřej Surý <ondrej@sury.org>2012-01-23 13:27:15 +0100
commitf9c395eeed49617787200e04b601f1adf795f8d3 (patch)
treee7a523068c090e24c3fa3ab0d5853123fa5e0883
parent56d56fe39d8341b1ce22d37718311340d8548af7 (diff)
downloadknot-f9c395eeed49617787200e04b601f1adf795f8d3.tar.gz
Build knot-dbg package with debug symbols
-rw-r--r--debian/control17
-rwxr-xr-xdebian/rules3
2 files changed, 20 insertions, 0 deletions
diff --git a/debian/control b/debian/control
index 14a5e39..0d46fb1 100644
--- a/debian/control
+++ b/debian/control
@@ -21,3 +21,20 @@ Description: authoritative domain name server
.
Note: this release is still EXPERIMENTAL and you should know what
you are doing and be able to write bug reports.
+
+Package: knot-dbg
+Architecture: any
+Depends: ${misc:Depends}, knot (= ${binary:Version})
+Recommends: gdb
+Section: debug
+Priority: extra
+Description: Debug symbols for Knot DNS
+ Knot DNS is a fast, authoritative only, high performance, feature
+ full and open source name server.
+ .
+ Knot DNS is developed by CZ.NIC Labs, the R&D department of .CZ
+ registry and hence is well suited to run anything from the root
+ zone, the top-level domain, to many smaller standard domain names.
+ .
+ This package provides the debug symbols for Knot DNS needed for
+ properly debugging errors in Knot DNS with gdb.
diff --git a/debian/rules b/debian/rules
index 81bc6fd..22c8a77 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,3 +16,6 @@ override_dh_auto_configure:
dh_auto_configure -- \
--sysconfdir=/etc/knot \
--localstatedir /var/lib
+
+override_dh_strip:
+ dh_strip --dbg-package=knot-dbg