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

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



Your message dated Sun, 04 Mar 2012 09:51:49 +0000
with message-id <E1S486X-000235-JA@franck.debian.org>
and subject line Bug#654154: fixed in libxfont 1:1.4.5-1
has caused the Debian Bug report #654154,
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.)


-- 
654154: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=654154
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: libxfont
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 libxfont-1.4.4.orig/debian/rules libxfont-1.4.4/debian/rules
--- libxfont-1.4.4.orig/debian/rules	2012-01-02 03:58:33.000000000 +0100
+++ libxfont-1.4.4/debian/rules	2012-01-02 03:59:11.000000000 +0100
@@ -11,12 +11,11 @@
 
 include debian/xsfbs/xsfbs.mk
 
-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)
@@ -48,7 +47,7 @@
 	             --infodir=\$${prefix}/share/info $(confflags) \
 	             --with-bzip2 \
 	             --with-xmlto --without-fop \
-	             CFLAGS="$(CFLAGS)" LDFLAGS=""
+	             CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)"
 
 build-udeb/config.status: configure
 	mkdir -p build-udeb
@@ -57,7 +56,7 @@
 	             --infodir=\$${prefix}/share/info $(confflags) \
 	             --without-bzip2 \
 	             --without-xmlto --without-fop \
-	             CFLAGS="$(CFLAGS)" LDFLAGS=""
+	             CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)"
 
 build: build-stamp
 build-stamp: build/config.status build-udeb/config.status
Nur in libxfont-1.4.4/debian: rules~.

--- End Message ---
--- Begin Message ---
Source: libxfont
Source-Version: 1:1.4.5-1

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

libxfont-dev_1.4.5-1_amd64.deb
  to main/libx/libxfont/libxfont-dev_1.4.5-1_amd64.deb
libxfont1-dbg_1.4.5-1_amd64.deb
  to main/libx/libxfont/libxfont1-dbg_1.4.5-1_amd64.deb
libxfont1-udeb_1.4.5-1_amd64.udeb
  to main/libx/libxfont/libxfont1-udeb_1.4.5-1_amd64.udeb
libxfont1_1.4.5-1_amd64.deb
  to main/libx/libxfont/libxfont1_1.4.5-1_amd64.deb
libxfont_1.4.5-1.diff.gz
  to main/libx/libxfont/libxfont_1.4.5-1.diff.gz
libxfont_1.4.5-1.dsc
  to main/libx/libxfont/libxfont_1.4.5-1.dsc
libxfont_1.4.5.orig.tar.gz
  to main/libx/libxfont/libxfont_1.4.5.orig.tar.gz



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

Debian distribution maintenance software
pp.
Cyril Brulebois <kibi@debian.org> (supplier of updated libxfont 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: Sun, 04 Mar 2012 09:24:59 +0000
Source: libxfont
Binary: libxfont1 libxfont1-udeb libxfont1-dbg libxfont-dev
Architecture: source amd64
Version: 1:1.4.5-1
Distribution: unstable
Urgency: low
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Cyril Brulebois <kibi@debian.org>
Description: 
 libxfont-dev - X11 font rasterisation library (development headers)
 libxfont1  - X11 font rasterisation library
 libxfont1-dbg - X11 font rasterisation library (debug package)
 libxfont1-udeb - X11 font rasterisation library (udeb)
Closes: 654154
Changes: 
 libxfont (1:1.4.5-1) unstable; urgency=low
 .
   [ Cyril Brulebois ]
   * New upstream release.
   * Switch to dh:
     - Bump debhelper build-dep and compat.
     - Rewrite debian/rules, using autoreconf and quilt sequences.
     - Adjust build dependencies accordingly.
     - Use build-main and build-udeb as build directories.
     - Adjust .install accordingly.
   * Remove xsfbs accordingly.
   * Add support for hardened build flags through dpkg-buildflags, based
     on a patch by Moritz Muehlenhoff, thanks! (Closes: #654154).
 .
   [ Julien Cristau ]
   * Remove David Nusinow from Uploaders.
Checksums-Sha1: 
 cd42d8cdd7d2788a2f82cdec329bbcfb5c54f0e9 1599 libxfont_1.4.5-1.dsc
 9b88310bac0a81783789a62f426202a921bab5ee 593436 libxfont_1.4.5.orig.tar.gz
 b50a52d6eded7c84340b99be54570dc9fac17b4b 9147 libxfont_1.4.5-1.diff.gz
 6d2b1b9cfa7e3dd6b768015bd0fda91550c30d61 162020 libxfont1_1.4.5-1_amd64.deb
 cd20fbf7041660e5cc17ed07e476d418b2549901 127434 libxfont1-udeb_1.4.5-1_amd64.udeb
 ffcea236de698d5614146dd193fc4dc3c81d79c6 274638 libxfont1-dbg_1.4.5-1_amd64.deb
 c7a4e82ecee716f5a32e8e83ee0d38bc1ebbb51f 213202 libxfont-dev_1.4.5-1_amd64.deb
Checksums-Sha256: 
 7ce7d9ed38248a81a158cc425cee512bbab48698e84e971b26ebcfa58f2a0179 1599 libxfont_1.4.5-1.dsc
 d0eaa0b180b09986532ef4c2eba94a77c246fce7b8f263b8c45bb6dae30dc4e0 593436 libxfont_1.4.5.orig.tar.gz
 30c3ae4579b898f304094bf626bf63bbddd4e587b0824ff7f85c482f8c53ba36 9147 libxfont_1.4.5-1.diff.gz
 36e28dfc426e91f1837cf7fb3f60a2db19c3c8aabf70b0cd5ad850963b995dea 162020 libxfont1_1.4.5-1_amd64.deb
 92ee81034b5b46a41bd55ac706d4c598c51aa21cf79756ec19d1562f744c79ad 127434 libxfont1-udeb_1.4.5-1_amd64.udeb
 0f95d3cdfcead073ba0e8518eb13afc22322eb9ecd17a077616916c86077c145 274638 libxfont1-dbg_1.4.5-1_amd64.deb
 bbb25aa63a211cc23431bb92dc6c3caf5717e1b90edd75affa76ce350a9712fe 213202 libxfont-dev_1.4.5-1_amd64.deb
Files: 
 48fb7cf974af1b02217c0b7fc66f9bd1 1599 x11 optional libxfont_1.4.5-1.dsc
 a54dea0debecf232a346c22e71d76836 593436 x11 optional libxfont_1.4.5.orig.tar.gz
 b01d250d817cc0bf6513866873d48d02 9147 x11 optional libxfont_1.4.5-1.diff.gz
 4d926182118702aae2afd9187e75110a 162020 libs optional libxfont1_1.4.5-1_amd64.deb
 70758e556c40f051976ecf57bc08a6bd 127434 debian-installer optional libxfont1-udeb_1.4.5-1_amd64.udeb
 db99a4746f0e50c23119c2b806da7631 274638 debug extra libxfont1-dbg_1.4.5-1_amd64.deb
 5ef4209fe1998d74a0fb09cbb15c8780 213202 libdevel optional libxfont-dev_1.4.5-1_amd64.deb
Package-Type: udeb

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

iEYEARECAAYFAk9TOAAACgkQeGfVPHR5Nd1WyACcDT0yIC9SbQDjBq8KG67qCqlF
hXcAnjld6Obc+fMK64XG6PHo/naziith
=yu2U
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: