Package: libneon24
Severity: wishlist
Version: 0.24.7.dfsg-2
Tags: patch

A -dbg package is incredibly useful when debugging what's going on deep
inside a library.  It helped me uncover the dup_cert issue just reported.

The attached patch creates a libneon24-dbg package, which contains just the
debugging symbols for libneon24.  Users can then install this package and
get full debugging information in (eg) gdb whilst tracing through the
library.

- Matt
diff -urN neon-0.24.7.dfsg/debian/control 
neon-0.24.7.dfsg.mpalmer/debian/control
--- neon-0.24.7.dfsg/debian/control     2005-06-21 09:50:56.000000000 +1000
+++ neon-0.24.7.dfsg.mpalmer/debian/control     2005-06-21 09:55:42.000000000 
+1000
@@ -2,7 +2,7 @@
 Section: net
 Priority: optional
 Maintainer: Laszlo Boszormenyi (GCS) <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.0.0), libxml2-dev, libssl-dev, libz-dev, 
autotools-dev
+Build-Depends: debhelper (>= 4.0.0), libxml2-dev, libssl-dev, libz-dev, 
autotools-dev, binutils (>= 2.14.90.0.7)
 Standards-Version: 3.6.1
 
 Package: libneon24
@@ -48,3 +48,15 @@
  Neon provides lower-level interfaces to directly implement new HTTP
  methods, and higher-level interfaces so that you don't have to
  worry about the lower-level stuff.
+
+Package: libneon24-dbg
+Section: libdevel
+Architecture: any
+Depends: libneon24 (= ${Source-Version}), ${shlibs:Depends}
+Description: Detached symbols for libneon24
+ This package contains the debugging symbols for libneon24, suitable for
+ debugging.
+ .
+ Neon provides lower-level interfaces to directly implement new HTTP
+ methods, and higher-level interfaces so that you don't have to
+ worry about the lower-level stuff.
diff -urN neon-0.24.7.dfsg/debian/rules neon-0.24.7.dfsg.mpalmer/debian/rules
--- neon-0.24.7.dfsg/debian/rules       2005-06-21 12:15:56.000000000 +1000
+++ neon-0.24.7.dfsg.mpalmer/debian/rules       2005-06-21 13:36:11.000000000 
+1000
@@ -14,7 +14,7 @@
        cp  /usr/share/misc/config.guess \
            /usr/share/misc/config.sub \
          ./
-       CFLAGS="-O2"                            \
+       CFLAGS="-O2 -g"                         \
        KRB5_CONFIG=/bin/true                   \
        ./configure                             \
                --enable-shared                 \
@@ -82,7 +82,7 @@
        dh_installchangelogs -a ChangeLog
        dh_installdocs -a AUTHORS BUGS NEWS README THANKS TODO
        dh_makeshlibs -V
-       dh_strip -a
+       dh_strip -a --dbg-package=libneon24
        dh_compress -a
        dh_fixperms -a
        dh_installdeb -a

Attachment: signature.asc
Description: Digital signature

Reply via email to