Package: libaugeas0
Severity: wishlist
Tags: patch

I've just been hunting down a segfault in augeas, and I found debugging
symbols to be awfully useful.  The attached patch modifies the package build
process to produce a separate package containing them.

- Matt

diff -u augeas-0.7.0/debian/rules augeas-0.7.0/debian/rules
--- augeas-0.7.0/debian/rules
+++ augeas-0.7.0/debian/rules
@@ -74,7 +74,7 @@
 	dh_install --sourcedir=debian/tmp
 	dh_installman
 	dh_link
-	dh_strip
+	dh_strip --dbg-package augeas-dbg
 	#Strip rpath.
 	chrpath -d $(CURDIR)/debian/augeas-tools/usr/bin/augtool
 	chrpath -d $(CURDIR)/debian/augeas-tools/usr/bin/augparse
diff -u augeas-0.7.0/debian/control augeas-0.7.0/debian/control
--- augeas-0.7.0/debian/control
+++ augeas-0.7.0/debian/control
@@ -49,6 +49,20 @@
  details. It is controlled by ``lens'' definitions that describe the file
  format and the transformation into a tree.
 
+Package: augeas-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: libaugeas0 (= ${binary:Version}), augeas-tools (= ${binary:Version})
+Description: Debugging symbols for libaugeas0
+ Augeas is a configuration editing tool. It parses configuration files in their
+ native formats and transforms them into a tree. Configuration changes are made
+ by manipulating this tree and saving it back into native config files.
+ .
+ This package provides debugging symbols for augeas, both the core library
+ and the tools, to assist in diagnosing critical bugs.  It is not required
+ for normal operation.
+
 Package: augeas-lenses
 Section: misc
 Suggests: libaugeas0 

Reply via email to