[Pkg-xfce-commits] r7253 - desktop/branches/experimental/mousepad/debian

Yves-Alexis Perez corsac at alioth.debian.org
Sun Dec 30 03:04:45 UTC 2012


Author: corsac
Date: 2012-12-30 15:04:45 +0000 (Sun, 30 Dec 2012)
New Revision: 7253

Modified:
   desktop/branches/experimental/mousepad/debian/changelog
   desktop/branches/experimental/mousepad/debian/rules
Log:
* debian/rules:
  - use debhelper 9 hardening support.

Modified: desktop/branches/experimental/mousepad/debian/changelog
===================================================================
--- desktop/branches/experimental/mousepad/debian/changelog	2012-12-30 14:50:10 UTC (rev 7252)
+++ desktop/branches/experimental/mousepad/debian/changelog	2012-12-30 15:04:45 UTC (rev 7253)
@@ -9,6 +9,8 @@
     - add build-dep on libgtksourceview2.0-dev and libdbus-glib-1-dev.
     - update debhelper build-dep to 9.
   * debian/compat bumped to 9.
+  * debian/rules:
+    - use debhelper 9 hardening support.
 
  -- Yves-Alexis Perez <corsac at debian.org>  Sun, 30 Dec 2012 14:48:40 +0100
 

Modified: desktop/branches/experimental/mousepad/debian/rules
===================================================================
--- desktop/branches/experimental/mousepad/debian/rules	2012-12-30 14:50:10 UTC (rev 7252)
+++ desktop/branches/experimental/mousepad/debian/rules	2012-12-30 15:04:45 UTC (rev 7253)
@@ -1,13 +1,8 @@
 #!/usr/bin/make -f
-include /usr/share/hardening-includes/hardening.make
 
-CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
-LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
-LDFLAGS+=$(HARDENING_LDFLAGS) -Wl,-z,defs -Wl,--as-needed -Wl,-O1
-CFLAGS+=$(HARDENING_CFLAGS)
+export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -Wl,-O1 -Wl,-z,defs
+export DEB_BUILD_MAINT_OPTIONS=hardening=+pie,+bindnow
 
-export CFLAGS LDFLAGS
-
 override_dh_install:
 	# install menu pixmap
 	install -D -m 644 $(CURDIR)/debian/mousepad.xpm \




More information about the Pkg-xfce-commits mailing list