[Pkg-xfce-commits] r4464 - goodies/branches/experimental/xfce4-radio-plugin/debian
Yves-Alexis Perez
corsac at alioth.debian.org
Fri Nov 5 04:01:11 UTC 2010
Author: corsac
Date: 2010-11-05 16:01:02 +0000 (Fri, 05 Nov 2010)
New Revision: 4464
Modified:
goodies/branches/experimental/xfce4-radio-plugin/debian/changelog
goodies/branches/experimental/xfce4-radio-plugin/debian/control
goodies/branches/experimental/xfce4-radio-plugin/debian/rules
Log:
- add build-dep on hardening-includes.
* debian/rules:
- pick {C,LD}FLAGS from dpkg-buildflags.
- add -O1, -z,defs and --as-needed to LDFLAGS.
- add hardening flags to {C,LD}FLAGS.
Modified: goodies/branches/experimental/xfce4-radio-plugin/debian/changelog
===================================================================
--- goodies/branches/experimental/xfce4-radio-plugin/debian/changelog 2010-11-05 15:56:01 UTC (rev 4463)
+++ goodies/branches/experimental/xfce4-radio-plugin/debian/changelog 2010-11-05 16:01:02 UTC (rev 4464)
@@ -1,4 +1,4 @@
-xfce4-radio-plugin (0.4.4-2) UNRELEASED; urgency=low
+xfce4-radio-plugin (0.4.4-1) UNRELEASED; urgency=low
* New upstream release.
* debian/control:
@@ -7,11 +7,16 @@
- switch to xfce section.
- update standards version to 3.9.1.
- update debhelper build-dep to 7.
+ - add build-dep on hardening-includes.
* Switch to 3.0 (quilt) source format.
* debian/watch updated to track archive reorganization.
* debian/compat updated to 7.
+ * debian/rules:
+ - pick {C,LD}FLAGS from dpkg-buildflags.
+ - add -O1, -z,defs and --as-needed to LDFLAGS.
+ - add hardening flags to {C,LD}FLAGS.
- -- Yves-Alexis Perez <corsac at debian.org> Fri, 05 Nov 2010 16:52:59 +0100
+ -- Yves-Alexis Perez <corsac at debian.org> Fri, 05 Nov 2010 16:56:28 +0100
xfce4-radio-plugin (0.4.2-1) unstable; urgency=low
Modified: goodies/branches/experimental/xfce4-radio-plugin/debian/control
===================================================================
--- goodies/branches/experimental/xfce4-radio-plugin/debian/control 2010-11-05 15:56:01 UTC (rev 4463)
+++ goodies/branches/experimental/xfce4-radio-plugin/debian/control 2010-11-05 16:01:02 UTC (rev 4464)
@@ -4,7 +4,7 @@
Maintainer: Debian Xfce Maintainers <pkg-xfce-devel at lists.alioth.debian.org>
Uploaders: Emanuele Rocca <ema at debian.org>, Simon Huggins <huggie at earth.li>, Stefan Ott <stefan at ott.net>, Yves-Alexis Perez <corsac at debian.org>
Build-Depends: cdbs, debhelper (>= 7), xfce4-panel-dev (>= 4.4.2),
- libxml2-dev, libxml-parser-perl, intltool, libxfcegui4-dev
+ libxml2-dev, libxml-parser-perl, intltool, libxfcegui4-dev, hardening-includes
Standards-Version: 3.9.1
Homepage: http://goodies.xfce.org/
Vcs-Svn: svn://svn.debian.org/pkg-xfce/goodies/xfce4-radio-plugin/
Modified: goodies/branches/experimental/xfce4-radio-plugin/debian/rules
===================================================================
--- goodies/branches/experimental/xfce4-radio-plugin/debian/rules 2010-11-05 15:56:01 UTC (rev 4463)
+++ goodies/branches/experimental/xfce4-radio-plugin/debian/rules 2010-11-05 16:01:02 UTC (rev 4464)
@@ -1,7 +1,13 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
+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)
+
binary-post-install/xfce4-radio-plugin::
-rm -rf debian/`dh_listpackages`/usr/lib/xfce4/panel-plugins/*.a
-rm -rf debian/`dh_listpackages`/usr/lib/xfce4/panel-plugins/*.la
More information about the Pkg-xfce-commits
mailing list