Your message dated Sat, 03 Mar 2012 13:18:56 +0000
with message-id <[email protected]>
and subject line Bug#653853: fixed in diffutils 1:3.2-2
has caused the Debian Bug report #653853,
regarding Please enabled hardened build flags
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
653853: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653853
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: diffutils
Version: 1:3.2-1
Severity: important
Tags: patch

Please enabled hardened build flags through dpkg-buildflags.

Patch attached. (dpkg-buildflags abides "noopt" from DEB_BUILD_OPTIONS)

Cheers,
        Moritz
diff -aur diffutils-3.2.orig/debian/rules diffutils-3.2/debian/rules
--- diffutils-3.2.orig/debian/rules	2011-08-04 20:27:24.000000000 +0200
+++ diffutils-3.2/debian/rules	2011-12-31 15:46:20.000000000 +0100
@@ -3,12 +3,13 @@
 package = diffutils
 docdir = debian/tmp/usr/share/doc/$(package)
 
-CFLAGS = -g -Wall
+CFLAGS = `dpkg-buildflags --get CFLAGS`
+CFLAGS += -Wall
+LDFLAGS = `dpkg-buildflags --get LDFLAGS`
+CPPFLAGS = `dpkg-buildflags --get CPPFLAGS`
+
 STRIP = true
 
-ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-  CFLAGS += -O2
-endif
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
   STRIP = strip --remove-section=.comment --remove-section=.note
 endif
@@ -23,7 +24,7 @@
 endif
 
 build:
-	./configure $(confflags) --prefix=/usr
+	./configure CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" $(confflags) --prefix=/usr
 	$(MAKE) CFLAGS="$(CFLAGS)"
 	touch build
 
Nur in diffutils-3.2/debian: rules~.

--- End Message ---
--- Begin Message ---
Source: diffutils
Source-Version: 1:3.2-2

We believe that the bug you reported is fixed in the latest version of
diffutils, which is due to be installed in the Debian FTP archive:

diffutils-doc_3.2-2_all.deb
  to main/d/diffutils/diffutils-doc_3.2-2_all.deb
diffutils_3.2-2.debian.tar.gz
  to main/d/diffutils/diffutils_3.2-2.debian.tar.gz
diffutils_3.2-2.dsc
  to main/d/diffutils/diffutils_3.2-2.dsc
diffutils_3.2-2_amd64.deb
  to main/d/diffutils/diffutils_3.2-2_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Vila <[email protected]> (supplier of updated diffutils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 03 Mar 2012 13:31:40 +0100
Source: diffutils
Binary: diffutils diffutils-doc
Architecture: source all amd64
Version: 1:3.2-2
Distribution: unstable
Urgency: low
Maintainer: Santiago Vila <[email protected]>
Changed-By: Santiago Vila <[email protected]>
Description: 
 diffutils  - File comparison utilities
 diffutils-doc - Documentation for GNU diffutils in HTML format
Closes: 653853
Changes: 
 diffutils (1:3.2-2) unstable; urgency=low
 .
   * Dropped dummy "diff" binary package.
   * Build with hardened flags. Closes: #653853.
Checksums-Sha1: 
 60fe302e290ce0c2d6a195443c1e1e86cd4c8ed6 1424 diffutils_3.2-2.dsc
 b517189f8c3b73c6be1b805dbba57980a0ec1f9a 7806 diffutils_3.2-2.debian.tar.gz
 bd21b7f2f249fe35dc9300811458521306e4a461 115978 diffutils-doc_3.2-2_all.deb
 ad43e4d46135e0947cfab135e8402b1c9427d704 373300 diffutils_3.2-2_amd64.deb
Checksums-Sha256: 
 e14f3f3562ad3297ff9a4be60987bf552b4252fce697b638c1a4daf0490c24f3 1424 
diffutils_3.2-2.dsc
 4128e1185d9a5f4e69cdfc09b8b4509849af783a6c6f93615487660a4a2334fb 7806 
diffutils_3.2-2.debian.tar.gz
 d92014e9e1648d5c5c82fb77efea5da18597b6bbfc64d247ca2210f5cbef9c90 115978 
diffutils-doc_3.2-2_all.deb
 341aed2e0c39820af954022539daefb63881756d50a9a960d3a52d61899e6779 373300 
diffutils_3.2-2_amd64.deb
Files: 
 5ff60522f5f6a960e9e1e59d0dd89fc4 1424 utils required diffutils_3.2-2.dsc
 62405bb1561e7daf1c0ea35f4fde2d8c 7806 utils required 
diffutils_3.2-2.debian.tar.gz
 49ed8c6b5dcc2b12b6ac68cc9b3c0564 115978 doc optional 
diffutils-doc_3.2-2_all.deb
 124a3a564494c2ad99b8eae6a2107252 373300 utils required 
diffutils_3.2-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBCAAGBQJPUhAkAAoJEEHOfwufG4syTqAIAJMeZtIHHIjEt5f63yQIk7pC
x54Ld1UgDb13A4gNkN2ZWY4C/h7J3ms4uJ1090/5QZOAQk6Ke/UHT/LjUitLJorA
3p1UuPfyzDzOBcE75+kiSQprVNxVWbVVn25YilxBZ/No/BZyZTjFvv12n4UQyP9S
i4RbJalgtqNDFSZ30sCLneSlXG4d7xTW69mmnd4GSuybNiTYQv6Ithd56uqRMCyN
fWrgKP/jL1oV0q7LmOWkQcwsTpHPuk/vp+YRD4BxtRRp44IaQY1/AN4edjG9xcob
gb/v6isFO9AKf+PGr6XEDHeaVkAytKm6sh1+HLSCE6xdCoG7Su4q4Y7G61bHt+w=
=HQIK
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to