]> source.dussan.org Git - rspamd.git/commitdiff
Add debuginfo package
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 31 Dec 2015 18:04:17 +0000 (18:04 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 31 Dec 2015 18:04:17 +0000 (18:04 +0000)
debian/control
debian/rules

index 87ecde50a8a882598aa78acc26e24d588b3cb7b3..2c04049f5837ee731483421c39ee33ad01eb5769 100644 (file)
@@ -15,3 +15,13 @@ Description: Rapid spam filtering system
  Rspamd is a rapid, modular and lightweight spam filter. It is designed to work
  with big amount of mail and can be easily extended with own filters written in
  lua.
+
+Package: rspamd-debuginfo
+Architecture: any
+Section: debug
+Priority: extra
+Depends:
+    rspamd (= ${binary:Version}),
+    ${misc:Depends}
+Description: debugging symbols for rspamd
+ This package contains the debugging symbols for rspamd.
index 9205b5a5544e12e9567f4a990873736392d27122..f96c3edb2da175ef75d3f2f74b3accfca7e8d2d3 100755 (executable)
@@ -25,6 +25,10 @@ override_dh_auto_configure:
 override_dh_makeshlibs:
        dh_makeshlibs -Xrspamd-actrie
 
+override_dh_strip:
+       dh_strip --dbg-package=rspamd-debuginfo
+
+
 override_dh_auto_clean:
        dh_auto_clean
        rm -f src/modules.c