[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#682085: unblock: bdfresize/1.5-8



tags 682085 - moreinfo
retitle 682085 unblock: bdfresize/1.5-8
thanks

On July 19, 2012 at 3:11PM +0200,
niels (at thykier.net) wrote:

>>   * Update debhelper compat level to 9 to support hardening flags
>
> I am not sure we are ready to accept a debhelper bump at this time if we
> can avoid it.  Would it be possible to use dpkg-buildflags directly?

I've uploaded bdfresize/1.5-8 with the following changes:

  * debian/rules: Use dpkg-buildflags to enable hardening flags
  * Revert the previous debhelper bump

See also the attached debdiff.

unblock bdfresize/1.5-8

Thanks,
--
Tatsuya Kinoshita
diffstat for bdfresize-1.5 bdfresize-1.5

 changelog |    7 +++++++
 compat    |    2 +-
 control   |    2 +-
 rules     |    7 +++++++
 4 files changed, 16 insertions(+), 2 deletions(-)

diff -Nru bdfresize-1.5/debian/changelog bdfresize-1.5/debian/changelog
--- bdfresize-1.5/debian/changelog	2012-07-08 16:44:05.000000000 +0900
+++ bdfresize-1.5/debian/changelog	2012-07-19 23:38:10.000000000 +0900
@@ -1,3 +1,10 @@
+bdfresize (1.5-8) unstable; urgency=low
+
+  * debian/rules: Use dpkg-buildflags to enable hardening flags
+  * Revert the previous debhelper bump
+
+ -- Tatsuya Kinoshita <tats@debian.org>  Thu, 19 Jul 2012 23:03:54 +0900
+
 bdfresize (1.5-7) unstable; urgency=low
 
   * Update debhelper compat level to 9 to support hardening flags
diff -Nru bdfresize-1.5/debian/compat bdfresize-1.5/debian/compat
--- bdfresize-1.5/debian/compat	2012-07-08 16:40:12.000000000 +0900
+++ bdfresize-1.5/debian/compat	2012-07-19 23:03:50.000000000 +0900
@@ -1 +1 @@
-9
+8
diff -Nru bdfresize-1.5/debian/control bdfresize-1.5/debian/control
--- bdfresize-1.5/debian/control	2012-07-08 16:43:32.000000000 +0900
+++ bdfresize-1.5/debian/control	2012-07-19 23:03:42.000000000 +0900
@@ -2,7 +2,7 @@
 Section: x11
 Priority: optional
 Maintainer: Tatsuya Kinoshita <tats@debian.org>
-Build-Depends: debhelper (>= 9~)
+Build-Depends: debhelper (>= 8~)
 Standards-Version: 3.9.3
 Homepage: http://openlab.jp/efont/
 
diff -Nru bdfresize-1.5/debian/rules bdfresize-1.5/debian/rules
--- bdfresize-1.5/debian/rules	2012-07-08 16:40:21.000000000 +0900
+++ bdfresize-1.5/debian/rules	2012-07-20 00:04:34.000000000 +0900
@@ -4,5 +4,12 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+dpkg_buildflags = DEB_BUILD_MAINT_OPTIONS=$(DEB_BUILD_MAINT_OPTIONS) dpkg-buildflags
+CFLAGS=$(shell $(dpkg_buildflags) --get CFLAGS)
+CPPFLAGS=$(shell $(dpkg_buildflags) --get CPPFLAGS)
+LDFLAGS=$(shell $(dpkg_buildflags) --get LDFLAGS)
+export CFLAGS CPPFLAGS LDFLAGS
+
 %:
 	dh $@

Attachment: pgpaQjRwPt7Ya.pgp
Description: PGP signature


Reply to: