Your message dated Fri, 01 Jun 2012 01:03:35 +0000
with message-id <[email protected]>
and subject line Bug#653718: fixed in sed 4.2.1-10
has caused the Debian Bug report #653718,
regarding Please enable 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.)


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

Please enable hardened build flags through dpkg-buildflags.

Patch attached.

Cheers,
        Moritz
diff -aur sed-4.2.1.orig/debian/rules sed-4.2.1/debian/rules
--- sed-4.2.1.orig/debian/rules	2011-02-11 22:57:03.000000000 +0100
+++ sed-4.2.1/debian/rules	2011-12-30 15:38:16.000000000 +0100
@@ -11,18 +11,17 @@
 CONFARGS = --host=$(DEB_HOST_GNU_TYPE)
 endif
 
-CFLAGS = -Wall -g
+CFLAGS = `dpkg-buildflags --get CFLAGS`
+CFLAGS += -Wall
+LDFLAGS = `dpkg-buildflags --get LDFLAGS`
+CPPFLAGS = `dpkg-buildflags --get CPPFLAGS`
+
 INSTALL = install
 INSTALL_FILE    = $(INSTALL) -p    -o root -g root  -m  644
 INSTALL_PROGRAM = $(INSTALL) -p    -o root -g root  -m  755
 INSTALL_SCRIPT  = $(INSTALL) -p    -o root -g root  -m  755
 INSTALL_DIR     = $(INSTALL) -p -d -o root -g root  -m  755
 
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-CFLAGS += -O0
-else
-CFLAGS += -O2
-endif
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
 INSTALL_PROGRAM += -s
 endif
@@ -44,7 +43,7 @@
 	test ! -f Makefile || $(MAKE) distclean
 
 Makefile: Makefile.in
-	CFLAGS="$(CFLAGS)" ./configure --prefix=/usr \
+	CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure --prefix=/usr \
 			--exec-prefix=/ \
 			--datadir=/usr/share \
 			--mandir=/usr/share/man \
Nur in sed-4.2.1/debian: rules~.

--- End Message ---
--- Begin Message ---
Source: sed
Source-Version: 4.2.1-10

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

sed_4.2.1-10.debian.tar.gz
  to main/s/sed/sed_4.2.1-10.debian.tar.gz
sed_4.2.1-10.dsc
  to main/s/sed/sed_4.2.1-10.dsc
sed_4.2.1-10_amd64.deb
  to main/s/sed/sed_4.2.1-10_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.
Clint Adams <[email protected]> (supplier of updated sed 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: SHA512

Format: 1.8
Date: Fri, 30 Dec 2011 12:21:54 -0500
Source: sed
Binary: sed
Architecture: source amd64
Version: 4.2.1-10
Distribution: unstable
Urgency: low
Maintainer: Clint Adams <[email protected]>
Changed-By: Clint Adams <[email protected]>
Description: 
 sed        - The GNU sed stream editor
Closes: 653718
Changes: 
 sed (4.2.1-10) unstable; urgency=low
 .
   * Bump to Standards-Version 3.9.2.
   * Use dpkg-buildflags.  closes: #653718.
   * Add build-arch and build-indep targets.
   * Change selinux build-dependency to [linux-any].
Checksums-Sha1: 
 2c22b91988d8fe3572f619d2d81a68e914837ccf 1828 sed_4.2.1-10.dsc
 646360777b7c2fcf664144a68f0727bbf6bc2ebe 67497 sed_4.2.1-10.debian.tar.gz
 249be7568d0342c2ce718707470b426ecb2574c8 250714 sed_4.2.1-10_amd64.deb
Checksums-Sha256: 
 12cda100a4f8e972614665faed9c46a33efc0c844c958e070be801c20f6ef9a1 1828 
sed_4.2.1-10.dsc
 18c05427b7808ab74ba20b487f9e80747ba48afe5d3d8145b468e42c2a697ae2 67497 
sed_4.2.1-10.debian.tar.gz
 ebfc8fcd52c7365a8a3eeb343739273b59c1760db4f7bb387aed193276ebf4f4 250714 
sed_4.2.1-10_amd64.deb
Files: 
 1d0e9b3326ea9345fd4257ca625e1bd0 1828 utils required sed_4.2.1-10.dsc
 01f06c5dff80ceafcdf574bc015fb16d 67497 utils required 
sed_4.2.1-10.debian.tar.gz
 3b686db9a9c258a4f0abfc5041e83e2a 250714 utils required sed_4.2.1-10_amd64.deb

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

iQIcBAEBCgAGBQJPyBLXAAoJEFWSMx4ZnTioXKEQAILROIcugtyylU8fl/dKpQ9F
mTAAqvBJupfUZXrzjUOUKx4gH8c0S2nnpFGG5IU7DVEuWTFsRjNwDEtyEENfWdnB
kRFM34OxUfU7cqW0QK+8TWpvAQTUuKdA3eTnpgBhamYz6NvXqotMMTNvGKas6sYM
95LDSR0yQd/DjU1wd4pEUmPushbMJciOj1CwfUaZT/KoekgeCAWV9a6Okr6TAjLM
qEdLtv8C4c2ZZ/+vI7KNkXybY5muTdl2nxgRphokhhFq6Pu2Cii0je7YtbIOFvje
gFplGdlpxGNgc6va/F/P4deZbLj6cohhowFyOo1BlzGcaa71YHVH8wfaWk6aVnhW
9QiyNMSF9JlpIahHxJXw49LdQHh1UYwRR3g0GHNPcnufbjRXHXUre6yqvI3Qp65R
CwdEDeJwmm9nIgMZA8B8sOh93LijqlA6nbakD5E1mqDv08GNvGswRcxqvMFD3+2I
bdVhbXB/WOCFKKLpeL7QnB6zTywXuHbXGtkuS47WIcxDT/DvjUmYiLjixfQwjc7q
9nYix5LX8d90qGDoYJFNv52j73A9NZtVvRcfm1yKYaKittSrRVNgvi/cCA32B5me
CQEd+mC+oT63TCqdd5iqA7XgZ87pgdt0pYF4lorsmkgMaflIkFdYdQjsVEpJ2oo3
EqEhlnfLigwJ2ahPfoxo
=3Sy5
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to