[Pkg-xfce-commits] r7564 - goodies/trunk/xfce4-cpufreq-plugin/debian

Yves-Alexis Perez corsac at alioth.debian.org
Thu May 23 09:23:59 UTC 2013


Author: corsac
Date: 2013-05-23 21:23:59 +0000 (Thu, 23 May 2013)
New Revision: 7564

Modified:
   goodies/trunk/xfce4-cpufreq-plugin/debian/changelog
   goodies/trunk/xfce4-cpufreq-plugin/debian/compat
   goodies/trunk/xfce4-cpufreq-plugin/debian/rules
Log:
* debian/rules:
  - switch to dh with hardening support.
* debian/compat bumped to 9. 

Modified: goodies/trunk/xfce4-cpufreq-plugin/debian/changelog
===================================================================
--- goodies/trunk/xfce4-cpufreq-plugin/debian/changelog	2013-05-23 21:18:46 UTC (rev 7563)
+++ goodies/trunk/xfce4-cpufreq-plugin/debian/changelog	2013-05-23 21:23:59 UTC (rev 7564)
@@ -1,7 +1,13 @@
 xfce4-cpufreq-plugin (1.0.0-5) UNRELEASED; urgency=low
 
+  [ Lionel Le Folgoc ]
   * debian/patches: add missing DEP3 headers.
 
+  [ Yves-Alexis Perez ]
+  * debian/rules:
+    - switch to dh with hardening support.
+  * debian/compat bumped to 9. 
+
  -- Lionel Le Folgoc <mrpouit at gmail.com>  Mon, 20 Feb 2012 22:34:41 +0100
 
 xfce4-cpufreq-plugin (1.0.0-4) unstable; urgency=low

Modified: goodies/trunk/xfce4-cpufreq-plugin/debian/compat
===================================================================
--- goodies/trunk/xfce4-cpufreq-plugin/debian/compat	2013-05-23 21:18:46 UTC (rev 7563)
+++ goodies/trunk/xfce4-cpufreq-plugin/debian/compat	2013-05-23 21:23:59 UTC (rev 7564)
@@ -1 +1 @@
-7
+9

Modified: goodies/trunk/xfce4-cpufreq-plugin/debian/rules
===================================================================
--- goodies/trunk/xfce4-cpufreq-plugin/debian/rules	2013-05-23 21:18:46 UTC (rev 7563)
+++ goodies/trunk/xfce4-cpufreq-plugin/debian/rules	2013-05-23 21:23:59 UTC (rev 7564)
@@ -1,25 +1,6 @@
 #!/usr/bin/make -f
-include /usr/share/hardening-includes/hardening.make
+export DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs -Wl,--as-needed -Wl,-O1
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
-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 $@
-
-override_dh_auto_configure:
-	find .pc -type f -name '*.c' -exec echo '{}' >> po/POTFILES.skip \;
-	dh_auto_configure
-
-override_dh_auto_clean:
-	dh_auto_clean
-	rm -f po/POTFILES.skip
-
-override_dh_auto_install:
-	-rm -rf debian/`dh_listpackages`/usr/lib/xfce4/panel-plugins/*.a
-	-rm -rf debian/`dh_listpackages`/usr/lib/xfce4/panel-plugins/*.la
-	dh_auto_install




More information about the Pkg-xfce-commits mailing list