[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 Mon, 30 Apr 2012 19:34:03 +0000
with message-id <E1SOwMF-0001Mz-ET@franck.debian.org>
and subject line Bug#655503: fixed in x11-xserver-utils 7.7~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: x11-xserver-utils
Source-Version: 7.7~1

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

x11-xserver-utils_7.7~1.dsc
  to main/x/x11-xserver-utils/x11-xserver-utils_7.7~1.dsc
x11-xserver-utils_7.7~1.tar.gz
  to main/x/x11-xserver-utils/x11-xserver-utils_7.7~1.tar.gz
x11-xserver-utils_7.7~1_amd64.deb
  to main/x/x11-xserver-utils/x11-xserver-utils_7.7~1_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 655503@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Cristau <jcristau@debian.org> (supplier of updated x11-xserver-utils 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: Mon, 30 Apr 2012 21:22:58 +0200
Source: x11-xserver-utils
Binary: x11-xserver-utils
Architecture: source amd64
Version: 7.7~1
Distribution: unstable
Urgency: low
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Julien Cristau <jcristau@debian.org>
Description: 
 x11-xserver-utils - X server utilities
Closes: 655503
Changes: 
 x11-xserver-utils (7.7~1) unstable; urgency=low
 .
   [ Julien Cristau ]
   * xset 1.2.2
     + add build-dep on x11proto-core-dev 7.0.17
   * Drop --disable-xprint from configure flags, it's not used anywhere.
   * Stop passing RSH and MANCONF to configure.  The former was only needed by
     xsm, the latter by xman, before the xbase-clients split.
   * sessreg 1.0.7.
   * xcmsdb 1.0.4.
   * xgamma 1.0.5.
   * xhost 1.0.5.
   * xmodmap 1.0.7.
   * Don't use dh_testroot in debian/rules clean.
   * Rediff 01_sessreg_implement_hostname_hashing.diff.
   * 02_xmodmap-include-config.h-before-system-headers.diff: patch from
     upstream git to fix a build failure.
 .
   [ Moritz Muehlenhoff ]
   * Enable hardened build flags (closes: #655503)
Checksums-Sha1: 
 cb1135addaa1b663cb117e6cf4b6c8fe82d7cf25 1986 x11-xserver-utils_7.7~1.dsc
 91451403cc310b25782c7b68f7639df6484d8309 2341641 x11-xserver-utils_7.7~1.tar.gz
 fed88ea243c2a4e25159cae9abc1ec9066601ada 189188 x11-xserver-utils_7.7~1_amd64.deb
Checksums-Sha256: 
 2c578804222d80fa1e2ae75ecf59e2a17b5b5bae92bf5653bb3a27fa56504bd4 1986 x11-xserver-utils_7.7~1.dsc
 b225fc707b1edfdd7e04a73da2f653008c3c2458c6922be7148df87e76f85b75 2341641 x11-xserver-utils_7.7~1.tar.gz
 ac196d290f7c7a4a6f126018ea7aafef26389f910af1d8567f836cad898559a4 189188 x11-xserver-utils_7.7~1_amd64.deb
Files: 
 e7ee2b020857aa55db1af922c7ded289 1986 x11 optional x11-xserver-utils_7.7~1.dsc
 0fbfcf95044b0cc5c1d697002e5da9a1 2341641 x11 optional x11-xserver-utils_7.7~1.tar.gz
 1e843f4c2514bb4e0e551d764a018b17 189188 x11 optional x11-xserver-utils_7.7~1_amd64.deb

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

iQIcBAEBCAAGBQJPnudHAAoJEDEBgAUJBeQMvuwQAL0m5MGKbBovMqzb24pXajAA
o0iZmLBN/x6VgYMHNbSnGfXgy32bUQK+vmznTHbMXDBcpKnxl+YfYbrVjweoJY6G
qRDmCE8Cjbb4jWr4SuSmTsXVbEd9Lum/tTewtmnZwFXLzxi49BerVLc2y13U1RED
KsyJtFMIB9zZHH7SFLusNUt+Z0HuTWQ3b8QUi3vB5EMuVcjDL5AZfhKQ0Kd0Erw4
ctDGI9Q5XfUkecjvtnxw1qotuHyyRhz3kvXWBJ6a+niboTBqmlgYPkbhK9S7L8yA
tsEPiWMdNinkOqJotXQcrnH2BgY0ldEgoaOof1QUYvS26Xx3GgIIW9undNyel/vz
KwCeoQnU0mGixohCpHplDVvRp3NQ4XKx3/SqmIHgH4brp2q2L3MvigxrSMpGQ7Br
/GLd2LKYhmNyPDFdKagFsUreh7nKqPNo8Z6YErwnk0xEUYbXZaCzaDxWoXOAl1B9
vjfGZbf9q/+n0SO9uWH4cG+/S1bdytj2ctY7jB86KDCmrgMeeBXLg9rYEYtKfLex
mRMOpAxcVPH6IzZ2noVQjizlcd3doZzLeIOIdWKTGZ+QamPRGiXGOBIJVQYBkLdu
r1qpefUeXs+FcM8TgCUW5rrCEpqAT6u+FfQGZyTqJEfHHuxH6AmuuCQo/4vl1RFg
LSuh2a5OPw+oOlpkUx6X
=yPQy
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: