[Pkg-xfce-commits] r5685 - goodies/trunk/squeeze/debian

Yves-Alexis Perez corsac at alioth.debian.org
Sat Apr 23 09:56:27 UTC 2011


Author: corsac
Date: 2011-04-23 21:56:27 +0000 (Sat, 23 Apr 2011)
New Revision: 5685

Modified:
   goodies/trunk/squeeze/debian/changelog
   goodies/trunk/squeeze/debian/control
   goodies/trunk/squeeze/debian/rules
Log:
* debian/rules:
  - pick build flags from dpkg-buildflags
  - add -O1, -z,defs and --as-needed to LDFLAGS
  - enable hardening wrapper.
* debian/control:
  - add build-dep on hardening-wrapper.

Modified: goodies/trunk/squeeze/debian/changelog
===================================================================
--- goodies/trunk/squeeze/debian/changelog	2011-04-23 20:39:46 UTC (rev 5684)
+++ goodies/trunk/squeeze/debian/changelog	2011-04-23 21:56:27 UTC (rev 5685)
@@ -1,3 +1,14 @@
+squeeze (0.2.3-10) UNRELEASED; urgency=low
+
+  * debian/rules:
+    - pick build flags from dpkg-buildflags
+    - add -O1, -z,defs and --as-needed to LDFLAGS
+    - enable hardening wrapper.
+  * debian/control:
+    - add build-dep on hardening-wrapper.
+
+ -- Yves-Alexis Perez <corsac at debian.org>  Sat, 23 Apr 2011 23:56:03 +0200
+
 squeeze (0.2.3-9) unstable; urgency=low
 
   [ Lionel Le Folgoc ]

Modified: goodies/trunk/squeeze/debian/control
===================================================================
--- goodies/trunk/squeeze/debian/control	2011-04-23 20:39:46 UTC (rev 5684)
+++ goodies/trunk/squeeze/debian/control	2011-04-23 21:56:27 UTC (rev 5685)
@@ -5,7 +5,8 @@
 Uploaders: Yves-Alexis Perez <corsac at debian.org>,
  Lionel Le Folgoc <mrpouit at gmail.com>
 Build-Depends: debhelper (>= 7), cdbs, libexo-1-dev (>= 0.5.0),
- libthunar-vfs-1-dev (>= 0.4.0), libdbus-glib-1-dev (>= 0.34), libgtk2.0-dev
+ libthunar-vfs-1-dev (>= 0.4.0), libdbus-glib-1-dev (>= 0.34), libgtk2.0-dev,
+ hardening-wrapper
 Standards-Version: 3.9.2
 Vcs-Svn: svn://svn.debian.org/pkg-xfce/goodies/trunk/squeeze/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-xfce/goodies/trunk/squeeze/

Modified: goodies/trunk/squeeze/debian/rules
===================================================================
--- goodies/trunk/squeeze/debian/rules	2011-04-23 20:39:46 UTC (rev 5684)
+++ goodies/trunk/squeeze/debian/rules	2011-04-23 21:56:27 UTC (rev 5685)
@@ -2,6 +2,13 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
 
+CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
+LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
+LDFLAGS+=-Wl,-z,defs -Wl,--as-needed -Wl,-O1
+
+export CFLAGS LDFLAGS
+export DEB_BUILD_HARDENING=1                                                    
+
 DEB_INSTALL_MANPAGES_squeeze := debian/squeeze.1
 
 binary-post-install/squeeze::




More information about the Pkg-xfce-commits mailing list