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

Bug#655503: marked as done (Please enabled hardened build flags)



Your message dated Fri, 13 Apr 2012 00:17:35 +0000
with message-id <E1SIUCl-0001MN-BP@franck.debian.org>
and subject line Bug#655503: fixed in grep 2.11-1
has caused the Debian Bug report #655503,
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 owner@bugs.debian.org
immediately.)


-- 
655503: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655503
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: x11-xserver-utils
Version: 7.6+3
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 x11-xserver-utils-7.6+3.orig/debian/rules x11-xserver-utils-7.6+3/debian/rules
--- x11-xserver-utils-7.6+3.orig/debian/rules	2011-06-04 01:07:12.000000000 +0200
+++ x11-xserver-utils-7.6+3/debian/rules	2012-01-11 19:40:09.000000000 +0100
@@ -18,12 +18,11 @@
 SUBDIRS=$(DEF_SUBDIRS)
 BUILD_STAMPS = $(addprefix $(STAMP_DIR)/build-,$(SUBDIRS))
 
-CFLAGS = -Wall -g
-ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
+CFLAGS = `dpkg-buildflags --get CFLAGS`
+CFLAGS += -Wall
+LDFLAGS = `dpkg-buildflags --get LDFLAGS`
+CPPFLAGS = `dpkg-buildflags --get CPPFLAGS`
+
 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 	NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 	MAKEFLAGS += -j$(NUMJOBS)
@@ -50,7 +49,7 @@
 	../$*/configure --prefix=/usr --mandir=\$${prefix}/share/man \
 	                --infodir=\$${prefix}/share/info $(confflags) \
 	                --disable-xprint \
-	                CFLAGS="$(CFLAGS)" \
+	                CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" \
 	                RSH=rsh \
 	                MANCONF="/etc/manpath.config"
 	cd $*-build && $(MAKE)
Nur in x11-xserver-utils-7.6+3/debian: rules~.

--- End Message ---
--- Begin Message ---
Source: grep
Source-Version: 2.11-1

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

grep_2.11-1.debian.tar.bz2
  to main/g/grep/grep_2.11-1.debian.tar.bz2
grep_2.11-1.dsc
  to main/g/grep/grep_2.11-1.dsc
grep_2.11-1_mipsel.deb
  to main/g/grep/grep_2.11-1_mipsel.deb
grep_2.11.orig.tar.bz2
  to main/g/grep/grep_2.11.orig.tar.bz2



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 655503@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anibal Monsalve Salazar <anibal@debian.org> (supplier of updated grep 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 ftpmaster@debian.org)


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

Format: 1.8
Date: Fri, 13 Apr 2012 09:20:46 +1000
Source: grep
Binary: grep
Architecture: source mipsel
Version: 2.11-1
Distribution: unstable
Urgency: low
Maintainer: Anibal Monsalve Salazar <anibal@debian.org>
Changed-By: Anibal Monsalve Salazar <anibal@debian.org>
Description: 
 grep       - GNU grep, egrep and fgrep
Closes: 651617 655503 668534
Changes: 
 grep (2.11-1) unstable; urgency=low
 .
   * New upstream version 2.11
     Closes: 668534
     Fix "input file == output file detection and -q"
     Closes: 651617
   * Enable hardened build flags
     Patch by Moritz Muehlenhoff
     Closes: 655503
   * Drop 55-185208-bigfile.patch as it doesn't work
   * Standards Version is 3.9.3
Checksums-Sha1: 
 5a8f978761e53feb77620eba90a31b265e4cc2a5 1902 grep_2.11-1.dsc
 8d701f5611f4b54ae3b7579206eb22dda162875c 1495175 grep_2.11.orig.tar.bz2
 b8611a9d74010a08c0393b115c1ebb2f6859d8e5 11895 grep_2.11-1.debian.tar.bz2
 6504ac17e1f4f47fd2d6f8effb69c8dedfeda53a 400570 grep_2.11-1_mipsel.deb
Checksums-Sha256: 
 699e3380488bbde1db97f5dae8b74f6fc20da89f14172388f1840af9da582d07 1902 grep_2.11-1.dsc
 53a7db59d704c4d1f1cb857e5b883e4787ea16649580a0c325e71cb1242b165e 1495175 grep_2.11.orig.tar.bz2
 efd7c1e1183870e281c06f090db22a7bb937523760c8e7413716386b9b3fe0be 11895 grep_2.11-1.debian.tar.bz2
 c80219f334ff22b10ee74cd383c3a77a26c8b23195e9c774da732298297f8289 400570 grep_2.11-1_mipsel.deb
Files: 
 12e9c317c9ef1fb15783d67ce4504281 1902 utils required grep_2.11-1.dsc
 41074139e9d54a85adc43266654dcb9c 1495175 utils required grep_2.11.orig.tar.bz2
 529bb7319599fecaf90477b33e899855 11895 utils required grep_2.11-1.debian.tar.bz2
 bccd932c042ee193b3d18693637ce2b5 400570 utils required grep_2.11-1_mipsel.deb

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

iQIcBAEBCAAGBQJPh2wAAAoJEHxWrP6UeJfYwQUP/iuPZ2kdv/jfOSfojYVwkFX0
xLC0esnUEg4Fp9We15pfrrbxagKlSJTz4H3Im8ljl1HQrue6Sc7P5uxdndhm23iC
pdZMw9n2YNaP+suS1SAhzeXIG1WZ5stwtDVTXjQHnhsWUc8YgmPNg0dKCNBGuEPQ
vcl2RcBuoWKe5SrGKKGIyDL7ZR75D0pNtzgI7axd4RvneLxogHtTDNI4BhBFkdFu
+ge/VVXLuiNPHSQ9GRs54mJHidJYtLYEnF08E5GPRH1iTwrsJeRCdFSubDP4WcJh
c+7GHh3YqUQ6MHfyPy7UnAlcs1uB7v2qy/dzTthOqSGhC4inMzUYtjMnQVYwKfi9
nHnmbLggy+nc+UsOA1L0HvYPQVxEsFtin1pw/naRmRD6JD0kJHjK4sVY1cEJhKvw
EcyFYIvf3uEZjT3t7xtdfFMCCN8yGta2RTisOKn01t0D6LypBSg4apUGME8CB44m
/cvIdUDXLn5OlJ8//Q291bLnoJLXSjryaYOH5E49RhA9dqJCPtZpDWUT+HnygA/Q
T15NDl+iadb+8MhkLjLTDyYg5BGEvV0JPXQfAwQYr1uH1uEj3PQAY5fsbg/W7Sgb
4LXPR3gx2/SHhiMJmgw2J24+dcdoKIqJ0deQ0zeVpn1qoOjX4U22RSxsUbYeLUpt
04xBowDhViGtuR8PJDN3
=bBsz
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: