Hi!

On Sat, Feb 25, 2012 at 06:26:04PM +0000, Bas van den Dikkenberg wrote:
> Can you tell me how i can make a dpkg package what do i need to do in the 
> control file ?
> 
> If you could point me in the right direction that would be nice

http://wiki.debian.org/DebugPackage gives what you need.
But just in case, a patch is attached ;-)

Also, you need to include the bug submitter when replying to bug reports
(either in To or Cc; hitthing "reply to all" will do the right job for
you), otherwise he/she won't receive messages that you send to the bug
thread.

Best regards,
Nelson
>From d4085eee4e85b682b5cd3af8b8efcabfb3de93f6 Mon Sep 17 00:00:00 2001
From: "Nelson A. de Oliveira" <nao...@debian.org>
Date: Sat, 25 Feb 2012 21:25:25 -0200
Subject: [PATCH] Add debug package

---
 debian/control |   11 +++++++++++
 debian/rules   |    8 ++++++++
 2 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/debian/control b/debian/control
index 00c7878..54722fb 100644
--- a/debian/control
+++ b/debian/control
@@ -15,3 +15,14 @@ Description: Simple cross-platform network BackUp and 
Restore Program
  Burp is a client/server backup system that saves space and network
  usage by using librsync, and uses the Volume Snapshot Service when
  backing up Windows clients.
+
+Package: burp-dbg
+Architecture: any
+Section: debug
+Depends: burp (= ${binary:Version}), ${misc:Depends}
+Description: debugging symbols for Burp
+ Burp is a client/server backup system that saves space and network
+ usage by using librsync, and uses the Volume Snapshot Service when
+ backing up Windows clients.
+ .
+ This package contains debugging symbols for burp.
diff --git a/debian/rules b/debian/rules
index e5721b3..a58c1a9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,3 +24,11 @@ override_dh_fixperms:
 override_dh_auto_configure:
        ./configure
 
+override_dh_strip:
+       dh_strip --dbg-package=burp-dbg
+
+override_dh_auto_install:
+       dh_auto_install --destdir=debian/burp
+
+override_dh_installdocs:
+       dh_installdocs --link-doc=burp
-- 
1.7.9.1

Reply via email to