Package: p11-kit
Version: 0.14-1
Severity: wishlist
Tags: patch

It would be great to have a libp11-kit0-dbg package (debugging symbols
for the p11-kit library) available.  The attached patch makes it work
for me.

Thanks for maintaining p11-kit in debian!

       --dkg

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.7-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages p11-kit depends on:
ii  libc6        2.13-37
ii  libp11-kit0  0.14-1

p11-kit recommends no packages.

p11-kit suggests no packages.

-- no debconf information
diff -Nru p11-kit-0.14/debian/changelog p11-kit-0.14/debian/changelog
--- p11-kit-0.14/debian/changelog	2012-09-06 13:35:11.000000000 -0400
+++ p11-kit-0.14/debian/changelog	2013-02-15 15:10:50.000000000 -0500
@@ -1,3 +1,9 @@
+p11-kit (0.14-2) experimental; urgency=low
+
+  * added libp11-kit0-dbg package for debugging symbols.
+
+ -- Daniel Kahn Gillmor <d...@fifthhorseman.net>  Fri, 15 Feb 2013 15:10:50 -0500
+
 p11-kit (0.14-1) experimental; urgency=low
 
   * New upstream version.
diff -Nru p11-kit-0.14/debian/control p11-kit-0.14/debian/control
--- p11-kit-0.14/debian/control	2012-04-15 12:48:56.000000000 -0400
+++ p11-kit-0.14/debian/control	2013-02-15 15:13:03.000000000 -0500
@@ -25,6 +25,22 @@
  This package contains the documentation and development headers required
  to build applications using the p11-kit library.
 
+Package: libp11-kit0-dbg
+Priority: standard
+Architecture: any
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libp11-kit0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Multi-Arch: same
+Description: Library for loading and coordinating access to PKCS#11 modules - debugging symbols
+ Provides a way to load and enumerate PKCS#11 modules. Provides a standard
+ configuration setup for installing PKCS#11 modules in such a way that
+ they're discoverable.
+ .
+ Also solves problems with coordinating the use of PKCS#11 by different
+ components or libraries living in the same process.
+ .
+ This package contains the debugging symbols for libp11-kit0.
+
 Package: libp11-kit0
 Priority: standard
 Architecture: any
diff -Nru p11-kit-0.14/debian/rules p11-kit-0.14/debian/rules
--- p11-kit-0.14/debian/rules	2012-07-17 08:01:49.000000000 -0400
+++ p11-kit-0.14/debian/rules	2013-02-15 15:10:14.000000000 -0500
@@ -18,5 +18,9 @@
 	# Force keeping symbol file up to date.
 	dh_makeshlibs -- -c2
 
+override_dh_strip:
+	dh_strip -plibp11-kit0 --dbg-package=libp11-kit0-dbg
+	dh_strip
+
 %:
 	dh $@ 

Reply via email to