[Pkg-xfce-commits] r4454 - goodies/branches/experimental/xfce4-quicklauncher-plugin/debian

Yves-Alexis Perez corsac at alioth.debian.org
Fri Nov 5 03:32:30 UTC 2010


Author: corsac
Date: 2010-11-05 15:32:29 +0000 (Fri, 05 Nov 2010)
New Revision: 4454

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

Modified: goodies/branches/experimental/xfce4-quicklauncher-plugin/debian/changelog
===================================================================
--- goodies/branches/experimental/xfce4-quicklauncher-plugin/debian/changelog	2010-11-05 14:34:03 UTC (rev 4453)
+++ goodies/branches/experimental/xfce4-quicklauncher-plugin/debian/changelog	2010-11-05 15:32:29 UTC (rev 4454)
@@ -3,9 +3,14 @@
   * debian/control:
     - add build-dep on libxfcegui4-dev now that it's not pulled by
       xfce4-panel-dev.
+    - add build-dep on hardening-includes.
   * Switch to 3.0 (quilt) source format.
+  * debian/rules:
+    - pick {C,LD}FLAGS from dpkg-buildflags.
+    - add -O1, -z,defs, --as-needed to LDFLAGS.
+    - add hardening flags to {C,LD}FLAGS.
 
- -- Yves-Alexis Perez <corsac at debian.org>  Fri, 05 Nov 2010 14:51:35 +0100
+ -- Yves-Alexis Perez <corsac at debian.org>  Fri, 05 Nov 2010 15:35:34 +0100
 
 xfce4-quicklauncher-plugin (1.9.4-8) unstable; urgency=low
 

Modified: goodies/branches/experimental/xfce4-quicklauncher-plugin/debian/control
===================================================================
--- goodies/branches/experimental/xfce4-quicklauncher-plugin/debian/control	2010-11-05 14:34:03 UTC (rev 4453)
+++ goodies/branches/experimental/xfce4-quicklauncher-plugin/debian/control	2010-11-05 15:32:29 UTC (rev 4454)
@@ -5,7 +5,7 @@
 Uploaders: Emanuele Rocca <ema at debian.org>, Simon Huggins <huggie at earth.li>, Yves-Alexis Perez <corsac at debian.org>
 Build-Depends: autotools-dev, cdbs, debhelper (>=7), libgtk2.0-dev, 
  xfce4-panel-dev (>= 4.4.2), libxml2-dev, libstartup-notification0-dev, 
- libxml-parser-perl, libxfcegui4-dev
+ libxml-parser-perl, libxfcegui4-dev, hardening-includes
 Standards-Version: 3.8.4
 Homepage: http://goodies.xfce.org/
 Vcs-Svn: svn://svn.debian.org/pkg-xfce/goodies/trunk/xfce4-quicklauncher-plugin/

Modified: goodies/branches/experimental/xfce4-quicklauncher-plugin/debian/rules
===================================================================
--- goodies/branches/experimental/xfce4-quicklauncher-plugin/debian/rules	2010-11-05 14:34:03 UTC (rev 4453)
+++ goodies/branches/experimental/xfce4-quicklauncher-plugin/debian/rules	2010-11-05 15:32:29 UTC (rev 4454)
@@ -1,7 +1,16 @@
 #!/usr/bin/make -f
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/hardening-includes/hardening.make
 
+#PIE doesn't seem to work :(
+DEB_BUILD_HARDENING_PIE:=0
+
+LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
+CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
+LDFLAGS+=$(HARDENING_LDFLAGS) -Wl,-z,defs -Wl,--as-needed -Wl,-O1
+CFLAGS+=$(HARDENING_CFLAGS)
+
 makebuilddir/xfce4-quicklauncher-plugin::
 	-rm -f config.log
 




More information about the Pkg-xfce-commits mailing list