Your message dated Tue, 07 Feb 2012 14:48:07 +0000
with message-id <[email protected]>
and subject line Bug#653511: fixed in bochs 2.4.6-5
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 [email protected]
immediately.)


-- 
653511: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653511
Debian Bug Tracking System
Contact [email protected] 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.4.6-5

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:

bochs-doc_2.4.6-5_all.deb
  to main/b/bochs/bochs-doc_2.4.6-5_all.deb
bochs-sdl_2.4.6-5_amd64.deb
  to main/b/bochs/bochs-sdl_2.4.6-5_amd64.deb
bochs-svga_2.4.6-5_amd64.deb
  to main/b/bochs/bochs-svga_2.4.6-5_amd64.deb
bochs-term_2.4.6-5_amd64.deb
  to main/b/bochs/bochs-term_2.4.6-5_amd64.deb
bochs-wx_2.4.6-5_amd64.deb
  to main/b/bochs/bochs-wx_2.4.6-5_amd64.deb
bochs-x_2.4.6-5_amd64.deb
  to main/b/bochs/bochs-x_2.4.6-5_amd64.deb
bochs_2.4.6-5.debian.tar.gz
  to main/b/bochs/bochs_2.4.6-5.debian.tar.gz
bochs_2.4.6-5.dsc
  to main/b/bochs/bochs_2.4.6-5.dsc
bochs_2.4.6-5_amd64.deb
  to main/b/bochs/bochs_2.4.6-5_amd64.deb
bochsbios_2.4.6-5_all.deb
  to main/b/bochs/bochsbios_2.4.6-5_all.deb
bximage_2.4.6-5_amd64.deb
  to main/b/bochs/bximage_2.4.6-5_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.
Guillem Jover <[email protected]> (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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 07 Feb 2012 13:10:17 +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.4.6-5
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <[email protected]>
Changed-By: Guillem Jover <[email protected]>
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.4.6-5) unstable; urgency=low
 .
   * Orphan package, set maintainer to Debian QA Group.
   * Fix typo (targeted) in README.Debian, spotted by lintian.
   * Remove sb16ctrl.exe from upstream tarball in debian/tarball.sh.
   * Add missing backslash to escape $ on XPM_LIB variable:
     - debian/patches/link-only-needed-libs.patch
   * Enable support for RFB protocol as GUI frontend (works with VNC viewer).
   * Use dpkg-buildflags to set build flags (enables default hardening flags).
     Based on a patch by Moritz Muehlenhoff <[email protected]>. (Closes: #653511)
   * Fix man page warnings due to unescaped ' at the beginning of line.
   * Reorganize patches:
     - Remove sequence numbers from non-imported patch filenames.
     - Rename non-imported patches to more descriptive names.
     - Split 00_base.patch into a local-config.patch and local-paths.patch.
   * Switch sb16ctrl-bochs to any-i386 instead of explicit arch list.
   * Clarify output on what's being done by debian/tarball.sh.
   * Build bochs-svga on all architectures where svgalib is now available;
     implies switching from i386 and amd64 to linux-any and kfreebsd-any.
Checksums-Sha1: 
 71e2bae2b181abe41324a94525e8fa0d8a267083 1864 bochs_2.4.6-5.dsc
 8eb74b1e8ca034d2ae5e9331456119f8832d4b5b 46313 bochs_2.4.6-5.debian.tar.gz
 3e027e7f773a30ebcb9688179aa9f18881c395d3 246174 bochs-doc_2.4.6-5_all.deb
 f6224277d666c86eae14557aec2ec689fdb7922a 174338 bochsbios_2.4.6-5_all.deb
 cf55daf65fa0c7aae8680b07c58ca9a758c8f5c2 1075314 bochs_2.4.6-5_amd64.deb
 100ebac6e2d688b4e25d4b5cd42ec72d013509c3 173286 bochs-wx_2.4.6-5_amd64.deb
 5e11653ad684817fc45cb1811684b7a62e6b07a3 98704 bochs-sdl_2.4.6-5_amd64.deb
 baa065e32c050c1857b5fe7874b649a87e31936e 86834 bochs-term_2.4.6-5_amd64.deb
 1e5eb1a6baf84013666cea3d1009343ee3606e5d 102604 bochs-x_2.4.6-5_amd64.deb
 bf5ab9628a47df0870d0e8b3c731ff2e77cdbe4b 87914 bochs-svga_2.4.6-5_amd64.deb
 ec9db908e34cf811a9f184f10875149a03a012c8 90754 bximage_2.4.6-5_amd64.deb
Checksums-Sha256: 
 5644f3d357a6c5c8a8d1cb55c0a8d0496605a69922df27e9687308bb81e56d52 1864 
bochs_2.4.6-5.dsc
 206ee735fd1ce9e1ea637556a15ec5de7e6128b5622bc731ef7ea1af7e1f3f49 46313 
bochs_2.4.6-5.debian.tar.gz
 fc3c1b7dac14109ed72e068b2788c3d2b8d3edf11e7eeaf00862474e1c5adff8 246174 
bochs-doc_2.4.6-5_all.deb
 2bf6d56db16e2e4527386fc13a2427f1e035c9f73b5bc9c9338b3f2601ccefdd 174338 
bochsbios_2.4.6-5_all.deb
 a9bfbdd755e1fbc84e3c8548dbbe260210e902dbdff340ddb1803d8a87c33436 1075314 
bochs_2.4.6-5_amd64.deb
 dd72d56ff760086b53d9c7b927d652ba63544ceb144545ca5906504351f58931 173286 
bochs-wx_2.4.6-5_amd64.deb
 eb07d19b3a6e67308d25e2156e55aeb510c54e723f53805794c7dbf04f5d5d05 98704 
bochs-sdl_2.4.6-5_amd64.deb
 18d147c9112e60a4a47fe67a930381515098448f39e9412c9d3082f1562e19c7 86834 
bochs-term_2.4.6-5_amd64.deb
 a31fa188ace8e850c0be8b28d6d916a7c3cbbab1279c55f9031efcebae37403a 102604 
bochs-x_2.4.6-5_amd64.deb
 a34b65253e31ac1f23864e24b8221ad36b1df476bbe05bfacbe5053fa9c94049 87914 
bochs-svga_2.4.6-5_amd64.deb
 9a1e18005c28bf362c6daa721662f75c711a72e3d0d3676ef87500362acbc51e 90754 
bximage_2.4.6-5_amd64.deb
Files: 
 e29b60cb24341563021ae17cc1598c13 1864 misc extra bochs_2.4.6-5.dsc
 829ec2ceef03b2aad6ff9eb4d91fdf95 46313 misc extra bochs_2.4.6-5.debian.tar.gz
 c27cae38642d49e53765bd8e24ef4479 246174 doc extra bochs-doc_2.4.6-5_all.deb
 85aeb52e608700217eeadef567f33c80 174338 misc extra bochsbios_2.4.6-5_all.deb
 f192808cea0818895c28156a4cff73f3 1075314 misc extra bochs_2.4.6-5_amd64.deb
 8f5c86d27cde3758551286bb09067198 173286 misc extra bochs-wx_2.4.6-5_amd64.deb
 1db7e6b72d3b92bd9a00d04b6ee8f32f 98704 misc extra bochs-sdl_2.4.6-5_amd64.deb
 8ef802e3d93e523eafe98ed88762ce15 86834 misc extra bochs-term_2.4.6-5_amd64.deb
 1e8310825c0a03f95ccc59cfae4e9fb6 102604 misc extra bochs-x_2.4.6-5_amd64.deb
 0cca6a75ee2fc611257e08589967edc5 87914 misc extra bochs-svga_2.4.6-5_amd64.deb
 33f5e69611c2b5e44e5cc467d9714bc8 90754 misc extra bximage_2.4.6-5_amd64.deb

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

iEYEARECAAYFAk8xK5AACgkQuW9ciZ2SjJtqpACfcK4+l0gBdMOd8r9HAt5DpSxB
vTcAoIlBxY4V/nXm7l+WwL3l8+jOKZ7x
=00RO
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to