Package: ldns
Version: 1.6.12-1
Severity: wishlist
Tags: patch

hi,

please provide a debugging symbols package for ldns.  (patch attached.)

TIA.

-- 
Robert Edmonds
edmo...@debian.org
From 0d06b91739690a115787f3b08ecc90f5e87da9b8 Mon Sep 17 00:00:00 2001
From: "Robert S. Edmonds" <edmo...@debian.org>
Date: Sat, 24 Mar 2012 15:12:51 -0400
Subject: [PATCH] debian/: add libldns1-dbg debugging symbol package

---
 debian/control |   14 ++++++++++++++
 debian/rules   |    4 ++++
 2 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/debian/control b/debian/control
index 174b0e1..ed3fe97 100644
--- a/debian/control
+++ b/debian/control
@@ -34,6 +34,20 @@ Description: ldns library for DNS programming
  .
  This package contains shared libraries.
 
+Package: libldns1-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: libldns1 (= ${binary:Version}),
+	 ${misc:Depends}
+Description: ldns library for DNS programming (debug symbols)
+ The goal of ldns is to simplify DNS programming, it supports recent RFCs
+ like the DNSSEC documents, and allows developers to easily create software
+ conforming to current RFCs, and experimental software for current Internet
+ Drafts.
+ .
+ This package contains debugging symbols.
+
 Package: libldns-dev
 Section: libdevel
 Architecture: any
diff --git a/debian/rules b/debian/rules
index 1dc9cd6..79ffd0e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -76,3 +76,7 @@ override_dh_auto_install:
 	  mv $(CURDIR)/debian/tmp$${PYTHON_DIR}/$$(readlink $(CURDIR)/debian/tmp$${PYTHON_DIR}/_ldns.so) $(CURDIR)/debian/tmp$${PYTHON_DIR}/_ldns.so; \
 	  chrpath -d $(CURDIR)/debian/tmp$${PYTHON_DIR}/_ldns.so; \
 	done
+
+override_dh_strip:
+	dh_strip -p libldns1 --dbg-package=libldns1-dbg
+	dh_strip -a --remaining-packages
-- 
1.7.9.1

Attachment: signature.asc
Description: Digital signature

Reply via email to