Your message dated Sat, 14 Jan 2012 23:33:19 +0000
with message-id <[email protected]>
and subject line Bug#654903: fixed in libxml2 2.7.8.dfsg-6
has caused the Debian Bug report #654903,
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 [email protected]
immediately.)


-- 
654903: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=654903
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libxml2
Version: 2.7.8.dfsg-5.1
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 libxml2-2.7.8.dfsg.orig/debian/rules libxml2-2.7.8.dfsg/debian/rules
--- libxml2-2.7.8.dfsg.orig/debian/rules	2012-01-06 18:21:57.000000000 +0100
+++ libxml2-2.7.8.dfsg/debian/rules	2012-01-06 18:24:29.000000000 +0100
@@ -5,12 +5,13 @@
 # The current default version of python
 PYVER=$(shell pyversions -d)
 
-CFLAGS = -Wall -g
+CFLAGS = `dpkg-buildflags --get CFLAGS`
+CFLAGS += -Wall
+LDFLAGS = `dpkg-buildflags --get LDFLAGS`
+CPPFLAGS = `dpkg-buildflags --get CPPFLAGS`
 
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-      CFLAGS += -O0
-else
-      CFLAGS += -O2 -fno-strict-aliasing
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+      CFLAGS += -fno-strict-aliasing
 endif
 
 TARGETS := main $(PYVERS) $(PYVERS:%=%-dbg)
@@ -25,7 +26,7 @@
 export DH_OPTIONS = -Nlibxml2-udeb
 endif
 
-CONFIGURE_FLAGS := --with-history CC="gcc -Wl,--as-needed" CFLAGS="$(CFLAGS)" --cache-file="$(CURDIR)/build/config.cache"
+CONFIGURE_FLAGS := --with-history CC="gcc -Wl,--as-needed" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" --cache-file="$(CURDIR)/build/config.cache"
 
 override_dh_auto_configure: $(TARGETS:%=configure-%)
 
Nur in libxml2-2.7.8.dfsg/debian: rules~.

--- End Message ---
--- Begin Message ---
Source: libxml2
Source-Version: 2.7.8.dfsg-6

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

libxml2-dbg_2.7.8.dfsg-6_i386.deb
  to main/libx/libxml2/libxml2-dbg_2.7.8.dfsg-6_i386.deb
libxml2-dev_2.7.8.dfsg-6_i386.deb
  to main/libx/libxml2/libxml2-dev_2.7.8.dfsg-6_i386.deb
libxml2-doc_2.7.8.dfsg-6_all.deb
  to main/libx/libxml2/libxml2-doc_2.7.8.dfsg-6_all.deb
libxml2-utils_2.7.8.dfsg-6_i386.deb
  to main/libx/libxml2/libxml2-utils_2.7.8.dfsg-6_i386.deb
libxml2_2.7.8.dfsg-6.diff.gz
  to main/libx/libxml2/libxml2_2.7.8.dfsg-6.diff.gz
libxml2_2.7.8.dfsg-6.dsc
  to main/libx/libxml2/libxml2_2.7.8.dfsg-6.dsc
libxml2_2.7.8.dfsg-6_i386.deb
  to main/libx/libxml2/libxml2_2.7.8.dfsg-6_i386.deb
python-libxml2-dbg_2.7.8.dfsg-6_i386.deb
  to main/libx/libxml2/python-libxml2-dbg_2.7.8.dfsg-6_i386.deb
python-libxml2_2.7.8.dfsg-6_i386.deb
  to main/libx/libxml2/python-libxml2_2.7.8.dfsg-6_i386.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.
Andrew O. Shadura <[email protected]> (supplier of updated libxml2 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: Thu, 12 Jan 2012 00:57:32 +0300
Source: libxml2
Binary: libxml2 libxml2-utils libxml2-dev libxml2-dbg libxml2-doc 
python-libxml2 python-libxml2-dbg
Architecture: source i386 all
Version: 2.7.8.dfsg-6
Distribution: unstable
Urgency: low
Maintainer: Debian XML/SGML Group <[email protected]>
Changed-By: Andrew O. Shadura <[email protected]>
Description: 
 libxml2    - GNOME XML library
 libxml2-dbg - Debugging symbols for the GNOME XML library
 libxml2-dev - Development files for the GNOME XML library
 libxml2-doc - Documentation for the GNOME XML library
 libxml2-utils - XML utilities
 python-libxml2 - Python bindings for the GNOME XML library
 python-libxml2-dbg - Python bindings for the GNOME XML library (debug 
extension)
Closes: 622358 654903
Changes: 
 libxml2 (2.7.8.dfsg-6) unstable; urgency=low
 .
   * Team upload.
   * Enabled hardened build flags (Closes: #654903).
   * error.c: Fix __xmlRaiseError (Closes: #622358).
Checksums-Sha1: 
 a6054bad10dea2fbc76f58a2d764fcba967a965d 1738 libxml2_2.7.8.dfsg-6.dsc
 0d231c7fd65b627f15642528d68c7238d74c62ba 119769 libxml2_2.7.8.dfsg-6.diff.gz
 3c629781d10a4c2866f52b589bf55afb9dd33b1b 885368 libxml2_2.7.8.dfsg-6_i386.deb
 10729a9d0930ac4442e87c75d0b8f0dc8a2bbb23 92014 
libxml2-utils_2.7.8.dfsg-6_i386.deb
 e3ba31428a30bba6183ba45e764610c18a1df891 814328 
libxml2-dev_2.7.8.dfsg-6_i386.deb
 252b2138e6b11876cbaef5577f518ee07e401668 1104772 
libxml2-dbg_2.7.8.dfsg-6_i386.deb
 c508080887e2410136de0b844eedc40fa724318b 1379144 
libxml2-doc_2.7.8.dfsg-6_all.deb
 0c8ea4f0b1bcc459dd528a6166f6d1296bddb02f 367526 
python-libxml2_2.7.8.dfsg-6_i386.deb
 d80e5a0ce7e8125946c9f9fd32b50388d5d3b6ef 826744 
python-libxml2-dbg_2.7.8.dfsg-6_i386.deb
Checksums-Sha256: 
 f9e1e0560858847cb4053529a09db41227aa6c18f770c8118ccdc03c9874e882 1738 
libxml2_2.7.8.dfsg-6.dsc
 bbe7e5a7b501f45f93b64be53edd84f5f28fa22cceedf782dc78558d71435861 119769 
libxml2_2.7.8.dfsg-6.diff.gz
 fd6d48a4a416d19a0cbe8d8af075d56ed1db22fe93177c51849abcf28db19d7e 885368 
libxml2_2.7.8.dfsg-6_i386.deb
 ec3070e3fa8606abe9d7fe7c4ff9bec8e230b842fa58dc3fd46f5331fee688d2 92014 
libxml2-utils_2.7.8.dfsg-6_i386.deb
 a0ec70dd638fc68d076e7078656753b0bb6cd58bd6db171fba8b3676dd2bfcd9 814328 
libxml2-dev_2.7.8.dfsg-6_i386.deb
 0e88492f60ce617c203d3c59d01356a16f855905512f5783f4366aa97a786d4c 1104772 
libxml2-dbg_2.7.8.dfsg-6_i386.deb
 314e5c3ee4dcd7e86185194647623795ea5e869846605523dbb0ee12b37f23b7 1379144 
libxml2-doc_2.7.8.dfsg-6_all.deb
 7dc5f98c8f8f5f58991ac44ee4f9f6064bd517a66ecd33bfb83ed5e12485ea10 367526 
python-libxml2_2.7.8.dfsg-6_i386.deb
 0f7d71423a9399c8835e8ce796e55c8702692647f2351bd14d1dec441c3634ba 826744 
python-libxml2-dbg_2.7.8.dfsg-6_i386.deb
Files: 
 1a3f0f0ab2793a02c328e2c90f6ae760 1738 libs optional libxml2_2.7.8.dfsg-6.dsc
 3ce45f9cab1713a3cf952fbfaf60adc5 119769 libs optional 
libxml2_2.7.8.dfsg-6.diff.gz
 c7420fac300cc92dbcd7f10955565bf5 885368 libs standard 
libxml2_2.7.8.dfsg-6_i386.deb
 791f41aec5aa01f3557448413757e404 92014 text optional 
libxml2-utils_2.7.8.dfsg-6_i386.deb
 24f401c42fb8d9a8a2c347701d3fe32e 814328 libdevel optional 
libxml2-dev_2.7.8.dfsg-6_i386.deb
 34baa8706db8d40550274b97e1e8dc2e 1104772 debug extra 
libxml2-dbg_2.7.8.dfsg-6_i386.deb
 999eec3a17e76bbf725b3e50110140cf 1379144 doc optional 
libxml2-doc_2.7.8.dfsg-6_all.deb
 7b949bd3b39a275ab3764db9f1bfca60 367526 python optional 
python-libxml2_2.7.8.dfsg-6_i386.deb
 8fba458caf19e1647ec19d40a457b1b1 826744 debug extra 
python-libxml2-dbg_2.7.8.dfsg-6_i386.deb

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

iEYEARECAAYFAk8SDx0ACgkQ5UTeB5t8Mo3IPQCdFPcmeiBsXdbq35izw7X0Ve0u
W+YAn1tyBgOwA1YJ1Og8Bu/ux/XrrOA0
=tl1/
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to