[Pkg-haproxy-maintainers] [PATCH] debian/control: Add haproxy-dbg binary package for debug symbols.

Thomas Bechtold t.bechtold at telekom.de
Thu Nov 7 14:16:03 UTC 2013


Hi,

attached is a patch for the precise-1.5 branch to add a debug symbol
package.

Cheers,

Tom


---
 debian/changelog |  6 ++++++
 debian/control   | 12 ++++++++++++
 debian/rules     |  5 +++++
 3 files changed, 23 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 85d6734..52f1a0e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+haproxy (1.5~dev19-3ppa1~precise) precise; urgency=low
+
+  * debian/control: Add haproxy-dbg binary package for debug symbols.
+
+ -- Thomas Bechtold <t.bechtold at telekom.de>  Thu, 07 Nov 2013 15:06:50 +0100
+
 haproxy (1.5~dev19-2ppa1~precise) precise; urgency=low
 
   * Backport for Precise (PPA).
diff --git a/debian/control b/debian/control
index cd37b38..fc36877 100644
--- a/debian/control
+++ b/debian/control
@@ -22,6 +22,18 @@ Description: fast and reliable load balancing reverse proxy
  has request blocking capabilities and provides interface to display server
  status.
 
+Package: haproxy-dbg
+Architecture: any
+Depends: ${misc:Depends}, haproxy (= ${binary:Version})
+Description: fast and reliable load balancing reverse proxy
+ HAProxy is a TCP/HTTP reverse proxy which is particularly suited for high
+ availability environments. It features connection persistence through HTTP
+ cookies, load balancing, header addition, modification, deletion both ways. It
+ has request blocking capabilities and provides interface to display server
+ status.
+ .
+ This package contains the debugging symbols for haproxy.
+
 Package: vim-haproxy
 Architecture: all
 Depends: ${misc:Depends}
diff --git a/debian/rules b/debian/rules
index aca7b89..032097c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -50,3 +50,8 @@ override_dh_installdocs:
 
 override_dh_installexamples:
 	dh_installexamples -X build.cfg
+
+override_dh_strip:
+	dh_strip --dbg-package=haproxy-dbg
+
+.PHONY: override_dh_strip
-- 
1.8.4.2




More information about the Pkg-haproxy-maintainers mailing list