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

Bug#653511: marked as done (Please enable hardened build flags)



Your message dated Thu, 07 Feb 2013 02:47:43 +0000
with message-id <E1U3HWZ-000835-J7@franck.debian.org>
and subject line Bug#653511: fixed in bochs 2.6-1
has caused the Debian Bug report #653511,
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 owner@bugs.debian.org
immediately.)


-- 
653511: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653511
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: bochs
Version: 2.4.6-4
Severity: important
Tags: patch

Please enable hardened build flags through dpkg-buildflags.

Patch attached.

Cheers,
        Moritz
diff -aur bochs-2.4.6.orig/debian/rules bochs-2.4.6/debian/rules
--- bochs-2.4.6.orig/debian/rules	2011-10-31 16:42:24.000000000 +0100
+++ bochs-2.4.6/debian/rules	2011-12-29 01:14:30.000000000 +0100
@@ -19,13 +19,11 @@
   conf_gnu_type += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
 endif
 
-CFLAGS = -Wall -g
+CFLAGS = `dpkg-buildflags --get CFLAGS`
+CFLAGS += -Wall
 
-ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
-  CFLAGS += -O0
-else
-  CFLAGS += -O2
-endif
+LDFLAGS_DEF = `dpkg-buildflags --get LDFLAGS`
+CPPFLAGS_DEF = `dpkg-buildflags --get CPPFLAGS`
 
 sb16 := dummy
 cdrom := cdrom
@@ -93,7 +91,7 @@
 	# Note: We disable docbook support here as a cheap way to avoid
 	# building it in build-arch, and only in build-indep. This works
 	# because configure only disables entering the directory.
-	CFLAGS="$(CFLAGS)" CXXFLAGS="$(CFLAGS)" ./configure \
+	CFLAGS="$(CFLAGS)" CXXFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS_DEF)" LDFLAGS="$(LDFLAGS_DEF)" ./configure \
 	  $(conf_gnu_type) \
 	  --prefix=/usr \
 	  --mandir=\$${prefix}/share/man \
Nur in bochs-2.4.6/debian: rules~.

--- End Message ---
--- Begin Message ---
Source: bochs
Source-Version: 2.6-1

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

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

Debian distribution maintenance software
pp.
Guillem Jover <guillem@debian.org> (supplier of updated bochs 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: SHA1

Format: 1.8
Date: Mon, 04 Feb 2013 21:07:00 +0100
Source: bochs
Binary: bochs bochs-doc bochsbios bochs-wx bochs-sdl bochs-term bochs-x bochs-svga bximage sb16ctrl-bochs
Architecture: source all amd64
Version: 2.6-1
Distribution: experimental
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Guillem Jover <guillem@debian.org>
Description: 
 bochs      - IA-32 PC emulator
 bochs-doc  - Bochs upstream documentation
 bochs-sdl  - SDL plugin for Bochs
 bochs-svga - SVGA plugin for Bochs
 bochs-term - Terminal (ncurses-based) plugin for Bochs
 bochs-wx   - WxWindows plugin for Bochs
 bochs-x    - X11 plugin for Bochs
 bochsbios  - BIOS for the Bochs emulator
 bximage    - Disk Image Creation Tool for Bochs
 sb16ctrl-bochs - control utility for Bochs emulated SB16 card
Closes: 653511
Changes: 
 bochs (2.6-1) experimental; urgency=low
 .
   * QA upload.
   * New upstream release.
     - Fixes random wxWidgets GUI freezes.
     - Refresh patches.
     - debian/patches/bios-discard-eh_frame.patch: Remove, merged upstream.
     - debian/patches/build-fix-SHELL.patch: Likewise.
     - debian/patches/build-fix-libtool-calls.patch: Likewise.
     - debian/patches/build-link-only-needed-libs.patch: Likewise.
     - debian/patches/build-on-linux-3.x.patch: Likewise.
     - debian/patches/build-recursive-make.patch: Likewise.
   * Now using Standards-Version 3.9.4 (no changes needed).
   * Honour standard build flags, so that hardening gets properly enabled.
     Based on a patch by Simon Ruderich <simon@ruderich.org>.
     (Closes: #653511)
Checksums-Sha1: 
 1a0b96534455ebfb05c45f791d5fbd3b596a258c 1863 bochs_2.6-1.dsc
 2edfe7f7f94c414225e7bc8b5fa7014907722153 4073275 bochs_2.6.orig.tar.gz
 fa571d53e6ecf32ed56b6005bebfd8a5356953eb 46162 bochs_2.6-1.debian.tar.gz
 56e86ab1f2008ed3b5054c5d06675d7f12d39aa3 255548 bochs-doc_2.6-1_all.deb
 aafa4e93539672104dad5b175bdf95a0b23f5ead 179496 bochsbios_2.6-1_all.deb
 17ab4a038f500b5341f915fddfb6df492a889ee2 1369738 bochs_2.6-1_amd64.deb
 d556e5527a20838c0f79374d7a0bdcc12da87888 190796 bochs-wx_2.6-1_amd64.deb
 69b44ee46497b1f1bde1772de696c81ae11053bc 107272 bochs-sdl_2.6-1_amd64.deb
 840ae484b1b63f883d1e8888d4409e9b4af63d73 94366 bochs-term_2.6-1_amd64.deb
 4e50b1ee7cbf6f7bb919a6b56e5c9cd01281da15 112566 bochs-x_2.6-1_amd64.deb
 4e73012fd53b23aee86356c94ac93d276cf6049d 95426 bochs-svga_2.6-1_amd64.deb
 30140f4745c77a349b3151ee46df45d726c449a5 100202 bximage_2.6-1_amd64.deb
Checksums-Sha256: 
 42a3f1e9b7c84c249dece667860f10611fb7313dd6478afba6a39b18d0518272 1863 bochs_2.6-1.dsc
 bb7265b98931fb7f0d4b0199cefb27594851779414c1e833782ee89eab900b38 4073275 bochs_2.6.orig.tar.gz
 2f013bdc465444a32593c26bd0854a28408db9c872ca3ee5b90aebff43eebac5 46162 bochs_2.6-1.debian.tar.gz
 55d46612d7f8301280f7cd0f825c2ccc31ee1e6b1602572b0b0fbc9253fc0003 255548 bochs-doc_2.6-1_all.deb
 5e03c8883c74bf23ede3527d0910cea7736e91599de08ca698bde3dd13863b12 179496 bochsbios_2.6-1_all.deb
 feca3bf4549cb8439cb5813f0735cb84fa33ad248b609ba552a3ae3733f82193 1369738 bochs_2.6-1_amd64.deb
 401abb3a55944a4bbad7b7e4cc8eb69ee0bc958836233c27e1e93ed3612a7af5 190796 bochs-wx_2.6-1_amd64.deb
 7b43cbea046465d99bcd55949a0973e4235bdea545f060b71118e1869a2d914b 107272 bochs-sdl_2.6-1_amd64.deb
 49f7052e8243d331bfe840007d16fab7e98efc396644bf7aa9ad36bdc4d2e150 94366 bochs-term_2.6-1_amd64.deb
 adcccfc95282a2b07d817f047c4d4a54e8adafbcbe18278b03df33f6cfe7f6e8 112566 bochs-x_2.6-1_amd64.deb
 6481b73b85a9394b49cdc0f0d8854967a8df0c4314f700ab209cf5b1da405118 95426 bochs-svga_2.6-1_amd64.deb
 643eaef4776ed7bc9a8c59cb2ff943036d622c20cc6b13a813595bf4137d2203 100202 bximage_2.6-1_amd64.deb
Files: 
 b9578da129a830fcd7b5ce37a2450fbf 1863 misc extra bochs_2.6-1.dsc
 1ff52e614adf7a4cdb5b9f7f8613756b 4073275 misc extra bochs_2.6.orig.tar.gz
 63b0721faef889234e4ed5e2e73b8520 46162 misc extra bochs_2.6-1.debian.tar.gz
 d1a2bcf4dcba815448ea26a5639bf98e 255548 doc extra bochs-doc_2.6-1_all.deb
 1a8ec7f596c94a50d066f58451a25b31 179496 misc extra bochsbios_2.6-1_all.deb
 29e3aebbe72d5269af7328d4f9d0c7b6 1369738 misc extra bochs_2.6-1_amd64.deb
 db618c8e4478af3da11a9a18cb8b125a 190796 misc extra bochs-wx_2.6-1_amd64.deb
 a3b6b34de2a20156b98290e552dfb6af 107272 misc extra bochs-sdl_2.6-1_amd64.deb
 3c760ddfc0dfe48b6b3fbb4faf37705b 94366 misc extra bochs-term_2.6-1_amd64.deb
 cee96d9796babb4128a9a4307ccc39b2 112566 misc extra bochs-x_2.6-1_amd64.deb
 747ab0f57153c31bdc3078959cd633d7 95426 misc extra bochs-svga_2.6-1_amd64.deb
 d32e987e423374c90a1a7c35b20baab0 100202 misc extra bximage_2.6-1_amd64.deb

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

iEYEARECAAYFAlETDJwACgkQuW9ciZ2SjJsv0ACdEs3zMMbgeICrDiAK9CxgEfxR
jSUAn0vYy4rSeGLjl0CMLbIwxfGE4AbL
=cZ4r
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: