]> www.vanbest.org Git - sasc-ng.git/commitdiff
Provide debug symbols in -dbg packages debian/620-11
authorJan-Pascal van Best <janpascal@vanbest.org>
Tue, 2 Apr 2013 09:11:32 +0000 (11:11 +0200)
committerJan-Pascal van Best <janpascal@vanbest.org>
Tue, 2 Apr 2013 09:22:04 +0000 (11:22 +0200)
debian/changelog
debian/control.flavor
debian/rules

index be295b6cfb113618acf2d6da096745a4bd336e0b..88b5b8b076e54c68d142028136ea6595e9a5c3ea 100644 (file)
@@ -1,6 +1,12 @@
+sasc-ng (620-11) local; urgency=low
+
+  * Provide debug symbols in -dbg packages
+
+ -- Jan-Pascal van Best <janpascal@vanbest.org>  Tue, 02 Apr 2013 11:10:55 +0200
+
 sasc-ng (620-10) local; urgency=low
 
-  * Hardening
+  * Hardening (not yet complete)
 
  -- Jan-Pascal van Best <janpascal@vanbest.org>  Fri, 29 Mar 2013 09:06:19 +0100
 
index c5437f2225eea3396d78088fdddcfcea8bbc2d65..01b43bd3d0242b4511244f901dd894920a3412ba 100644 (file)
@@ -13,3 +13,19 @@ Description: softcam to help decode DVB streams
  This package contains the sasc-ng daemon and the dvbloopback
  kernel module for kernel #KERNEL#, optimised for #FLAVOR# cpus.
 
+Package: sasc-ng-#KERNEL#-#FLAVOR#-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends:
+    sasc-ng-#KERNEL#-#FLAVOR# (= ${binary:Version}),
+    ${misc:Depends}
+Conflicts: sasc-ng-daemon-dbg
+Replaces: sasc-ng-daemon-dbg
+Provides: sasc-ng-daemon-dbg
+Description: debugging symbols for sasc-ng
+ sasc-ng is a versatile SoftCAM which creates virtual DVB devices 
+ and outputs through them.
+ . 
+ This package contains the debugging symbols for sasc-ng-#KERNEL#-#FLAVOR#.
+
index 583a46fd203ddefc3a926fa9618784bc95f40c57..954e4072f78a745c06a55e570450508b24c4fc4d 100755 (executable)
@@ -93,6 +93,15 @@ override_dh_auto_build:
 
 override_dh_auto_install: build_kernel build_sasc
 
+dh_strip_%:
+       VERSION="$*"; \
+       FLAVOR=$${VERSION#*_}; \
+       KERNEL=$${VERSION/_$$FLAVOR/}; \
+       dh_strip -p sasc-ng-$$KERNEL-$$FLAVOR --dbg-package=sasc-ng-$$KERNEL-$$FLAVOR-dbg
+
+.PHONY: override_dh_strip
+override_dh_strip: $(foreach kernel,$(KERNELS),$(foreach flav,$(FFDECSA_FLAVORS),dh_strip_$(kernel)_$(flav))) 
+
 CONTROL_FILES    = debian/control.source debian/control.flavor debian/rules debian/rules.defs debian/sasc-ng.install.in
 comma            = ,