[Pkg-xfce-commits] r5065 - goodies/branches/experimental/xfce4-hdaps/debian

Yves-Alexis Perez corsac at alioth.debian.org
Sun Feb 27 01:48:03 UTC 2011


Author: corsac
Date: 2011-02-27 13:47:55 +0000 (Sun, 27 Feb 2011)
New Revision: 5065

Modified:
   goodies/branches/experimental/xfce4-hdaps/debian/changelog
   goodies/branches/experimental/xfce4-hdaps/debian/rules
Log:
  - pick {C,LD}FLAGS from dpkg-buildflags.
  - add -O1, -z,defs and --as-needed to LDFLAGS.
  - add hardening flags to {C,LD}FLAGS>
* debian/control:
  - add build-dep on hardening-includes. 

Modified: goodies/branches/experimental/xfce4-hdaps/debian/changelog
===================================================================
--- goodies/branches/experimental/xfce4-hdaps/debian/changelog	2011-02-27 13:46:07 UTC (rev 5064)
+++ goodies/branches/experimental/xfce4-hdaps/debian/changelog	2011-02-27 13:47:55 UTC (rev 5065)
@@ -11,8 +11,13 @@
   * New upstream release.
   * debian/rules:
     - switch to tiny rules from dh 7.
+    - pick {C,LD}FLAGS from dpkg-buildflags.
+    - add -O1, -z,defs and --as-needed to LDFLAGS.
+    - add hardening flags to {C,LD}FLAGS>
+  * debian/control:
+    - add build-dep on hardening-includes. 
 
- -- Yves-Alexis Perez <corsac at debian.org>  Sun, 27 Feb 2011 14:45:18 +0100
+ -- Yves-Alexis Perez <corsac at debian.org>  Sun, 27 Feb 2011 14:47:01 +0100
 
 xfce4-hdaps (0.0.5-2) unstable; urgency=low
 

Modified: goodies/branches/experimental/xfce4-hdaps/debian/rules
===================================================================
--- goodies/branches/experimental/xfce4-hdaps/debian/rules	2011-02-27 13:46:07 UTC (rev 5064)
+++ goodies/branches/experimental/xfce4-hdaps/debian/rules	2011-02-27 13:47:55 UTC (rev 5065)
@@ -1,4 +1,13 @@
 #!/usr/bin/make -f
 
+include /usr/share/hardening-includes/hardening.make
+
+CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
+LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
+#CFLAGS+=$(HARDENING_CFLAGS)
+LDFLAGS+=-Wl,-z,defs -Wl,--as-needed #$(HARDENING_LDFLAGS)
+
+export CFLAGS LDFLAGS
+
 %:
 	dh $@




More information about the Pkg-xfce-commits mailing list