[Pkg-xfce-commits] r4469 - goodies/branches/experimental/xfswitch-plugin/debian
Yves-Alexis Perez
corsac at alioth.debian.org
Fri Nov 5 06:54:36 UTC 2010
Author: corsac
Date: 2010-11-05 18:54:30 +0000 (Fri, 05 Nov 2010)
New Revision: 4469
Modified:
goodies/branches/experimental/xfswitch-plugin/debian/changelog
goodies/branches/experimental/xfswitch-plugin/debian/control
goodies/branches/experimental/xfswitch-plugin/debian/rules
Log:
* 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/xfswitch-plugin/debian/changelog
===================================================================
--- goodies/branches/experimental/xfswitch-plugin/debian/changelog 2010-11-05 16:16:10 UTC (rev 4468)
+++ goodies/branches/experimental/xfswitch-plugin/debian/changelog 2010-11-05 18:54:30 UTC (rev 4469)
@@ -9,8 +9,12 @@
- switch to xfce section.
- add build-dep on libxfcegui4-dev.
- update standards version to 3.9.1.
+ * 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 17:15:42 +0100
+ -- Yves-Alexis Perez <corsac at debian.org> Fri, 05 Nov 2010 17:28:47 +0100
xfswitch-plugin (0.0.1-1) unstable; urgency=low
Modified: goodies/branches/experimental/xfswitch-plugin/debian/control
===================================================================
--- goodies/branches/experimental/xfswitch-plugin/debian/control 2010-11-05 16:16:10 UTC (rev 4468)
+++ goodies/branches/experimental/xfswitch-plugin/debian/control 2010-11-05 18:54:30 UTC (rev 4469)
@@ -4,7 +4,7 @@
Maintainer: Debian Xfce Maintainers <pkg-xfce-devel at lists.alioth.debian.org>
Uploaders: Yves-Alexis Perez <corsac at debian.org>, Emanuele Rocca <ema at debian.org>, Simon Huggins <huggie at earth.li>
Build-Depends: debhelper (>= 7), autotools-dev, intltool, xfce4-panel-dev,
- libxfcegui4-dev
+ libxfcegui4-dev, hardening-includes
Standards-Version: 3.9.1
Homepage: http://goodies.xfce.org/projects/panel-plugins/xfswitch-plugin
Vcs-Svn: svn://svn.debian.org/pkg-xfce/goodies/trunk/xfswitch-plugin/
Modified: goodies/branches/experimental/xfswitch-plugin/debian/rules
===================================================================
--- goodies/branches/experimental/xfswitch-plugin/debian/rules 2010-11-05 16:16:10 UTC (rev 4468)
+++ goodies/branches/experimental/xfswitch-plugin/debian/rules 2010-11-05 18:54:30 UTC (rev 4469)
@@ -1,3 +1,11 @@
#!/usr/bin/make -f
+
+include /usr/share/hardening-includes/hardening.make
+
+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)
+
%:
dh $@
More information about the Pkg-xfce-commits
mailing list