r49605 - in /packages/unstable/gnome-clocks/debian: changelog rules

jbicha-guest at users.alioth.debian.org jbicha-guest at users.alioth.debian.org
Thu Aug 18 15:53:22 UTC 2016


Author: jbicha-guest
Date: Thu Aug 18 15:53:21 2016
New Revision: 49605

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=49605
Log:
Build with --as-needed and all hardening flags

Modified:
    packages/unstable/gnome-clocks/debian/changelog
    packages/unstable/gnome-clocks/debian/rules

Modified: packages/unstable/gnome-clocks/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gnome-clocks/debian/changelog?rev=49605&op=diff
==============================================================================
--- packages/unstable/gnome-clocks/debian/changelog	[utf-8] (original)
+++ packages/unstable/gnome-clocks/debian/changelog	[utf-8] Thu Aug 18 15:53:21 2016
@@ -6,6 +6,8 @@
     - Drop build dependency on intltool
   * Add debian/docs to install NEWS
   * Use dh compat 10 (with automatic dh_autoreconf) instead of autotools-dev
+  * debian/rules:
+    - Build with --as-needed and all hardening flags
 
   [ Michael Biebl ]
   * Drop --disable-silent-rules from debian/rules. This is now handled by dh

Modified: packages/unstable/gnome-clocks/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gnome-clocks/debian/rules?rev=49605&op=diff
==============================================================================
--- packages/unstable/gnome-clocks/debian/rules	[utf-8] (original)
+++ packages/unstable/gnome-clocks/debian/rules	[utf-8] Thu Aug 18 15:53:21 2016
@@ -1,6 +1,9 @@
 #!/usr/bin/make -f
 
 -include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_LDFLAGS_MAINT_APPEND= -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
 
 %:
 	dh $@ --with gnome
@@ -9,3 +12,6 @@
 	dh_clean
 	# delete the vala stamps, so that valac will always rebuild all sources
 	find . -name "*_vala.stamp" -delete
+
+override_dh_autoreconf:
+	dh_autoreconf --as-needed




More information about the pkg-gnome-commits mailing list