Your message dated Mon, 05 Mar 2012 18:18:47 +0000
with message-id <[email protected]>
and subject line Bug#657848: fixed in multipath-tools 0.4.9+git0.4dfdaf2b-2
has caused the Debian Bug report #657848,
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.)


-- 
657848: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657848
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: multipath-tools
Version: 0.4.9-3
Severity: important
Tags: patch

Please enable hardened build flags through dpkg-buildflags.

Patch attached.

Cheers,
        Moritz
diff -aur multipath-tools-0.4.9.harden/kpartx/Makefile multipath-tools-0.4.9/kpartx/Makefile
--- multipath-tools-0.4.9.harden/kpartx/Makefile	2010-05-22 14:01:58.000000000 +0200
+++ multipath-tools-0.4.9/kpartx/Makefile	2012-01-29 12:37:47.000000000 +0100
@@ -6,7 +6,7 @@
 
 CFLAGS += -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
 
-LDFLAGS = -ldevmapper
+LDFLAGS = `dpkg-buildflags --get LDFLAGS` -ldevmapper
 OBJS = bsd.o dos.o kpartx.o solaris.o unixware.o dasd.o sun.o \
        gpt.o mac.o crc32.o lopart.o xstrncpy.o devmapper.o
 EXEC = kpartx
Nur in multipath-tools-0.4.9/kpartx: Makefile~.
diff -aur multipath-tools-0.4.9.harden/Makefile.inc multipath-tools-0.4.9/Makefile.inc
--- multipath-tools-0.4.9.harden/Makefile.inc	2010-05-22 14:01:58.000000000 +0200
+++ multipath-tools-0.4.9/Makefile.inc	2012-01-29 12:37:22.000000000 +0100
@@ -35,10 +35,12 @@
 GZIP        = /bin/gzip -9 -c
 INSTALL_PROGRAM = install
 
-OPTFLAGS     = -pipe -g -Wall -Wunused -Wstrict-prototypes
-CFLAGS	     = $(OPTFLAGS) -fPIC -DLIB_STRING=\"${LIB}\"
+OPTFLAGS     = -pipe -Wall -Wunused -Wstrict-prototypes
+CFLAGS	     = `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` $(OPTFLAGS) -fPIC -DLIB_STRING=\"${LIB}\"
 SHARED_FLAGS = -shared
 
 %.o:	%.c
 	$(CC) $(CFLAGS) -c -o $@ $<
 
+
+
Nur in multipath-tools-0.4.9: Makefile.inc~.
diff -aur multipath-tools-0.4.9.harden/multipath/Makefile multipath-tools-0.4.9/multipath/Makefile
--- multipath-tools-0.4.9.harden/multipath/Makefile	2010-05-22 14:01:58.000000000 +0200
+++ multipath-tools-0.4.9/multipath/Makefile	2012-01-29 12:37:56.000000000 +0100
@@ -7,7 +7,7 @@
 OBJS = main.o
 
 CFLAGS += -I$(multipathdir)
-LDFLAGS += -lpthread -ldevmapper -ldl -lmultipath -L$(multipathdir)
+LDFLAGS += `dpkg-buildflags --get LDFLAGS` -lpthread -ldevmapper -ldl -lmultipath -L$(multipathdir)
 
 EXEC = multipath
 
Nur in multipath-tools-0.4.9/multipath: Makefile~.
diff -aur multipath-tools-0.4.9.harden/multipathd/Makefile multipath-tools-0.4.9/multipathd/Makefile
--- multipath-tools-0.4.9.harden/multipathd/Makefile	2012-01-29 12:35:20.000000000 +0100
+++ multipath-tools-0.4.9/multipathd/Makefile	2012-01-29 12:38:03.000000000 +0100
@@ -6,7 +6,7 @@
 # basic flags setting
 #
 CFLAGS += -I$(multipathdir)
-LDFLAGS += -lpthread -ldevmapper -lreadline -ldl \
+LDFLAGS += `dpkg-buildflags --get LDFLAGS` -lpthread -ldevmapper -lreadline -ldl \
 	   -lmultipath -L$(multipathdir)
 
 #
Nur in multipath-tools-0.4.9/multipathd: Makefile~.

--- End Message ---
--- Begin Message ---
Source: multipath-tools
Source-Version: 0.4.9+git0.4dfdaf2b-2

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

kpartx_0.4.9+git0.4dfdaf2b-2_amd64.deb
  to main/m/multipath-tools/kpartx_0.4.9+git0.4dfdaf2b-2_amd64.deb
multipath-tools-boot_0.4.9+git0.4dfdaf2b-2_all.deb
  to main/m/multipath-tools/multipath-tools-boot_0.4.9+git0.4dfdaf2b-2_all.deb
multipath-tools-dbg_0.4.9+git0.4dfdaf2b-2_amd64.deb
  to main/m/multipath-tools/multipath-tools-dbg_0.4.9+git0.4dfdaf2b-2_amd64.deb
multipath-tools_0.4.9+git0.4dfdaf2b-2.debian.tar.gz
  to main/m/multipath-tools/multipath-tools_0.4.9+git0.4dfdaf2b-2.debian.tar.gz
multipath-tools_0.4.9+git0.4dfdaf2b-2.dsc
  to main/m/multipath-tools/multipath-tools_0.4.9+git0.4dfdaf2b-2.dsc
multipath-tools_0.4.9+git0.4dfdaf2b-2_amd64.deb
  to main/m/multipath-tools/multipath-tools_0.4.9+git0.4dfdaf2b-2_amd64.deb
multipath-udeb_0.4.9+git0.4dfdaf2b-2_amd64.udeb
  to main/m/multipath-tools/multipath-udeb_0.4.9+git0.4dfdaf2b-2_amd64.udeb



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.
Ritesh Raj Sarraf <[email protected]> (supplier of updated multipath-tools 
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: SHA512

Format: 1.8
Date: Mon, 05 Mar 2012 23:30:52 +0530
Source: multipath-tools
Binary: multipath-tools multipath-tools-dbg kpartx multipath-tools-boot 
multipath-udeb
Architecture: source amd64 all
Version: 0.4.9+git0.4dfdaf2b-2
Distribution: unstable
Urgency: low
Maintainer: Debian LVM Team <[email protected]>
Changed-By: Ritesh Raj Sarraf <[email protected]>
Description: 
 kpartx     - create device mappings for partitions
 multipath-tools - maintain multipath block device access
 multipath-tools-boot - Support booting from multipath devices
 multipath-tools-dbg - maintain multipath block device access - debugging 
symbols
 multipath-udeb - maintain multipath block device access - udeb package (udeb)
Closes: 657848 661597
Changes: 
 multipath-tools (0.4.9+git0.4dfdaf2b-2) unstable; urgency=low
 .
   * Upload to unstable
   * [4e3eedb] Drop syslog loggin in initrd.
     Thanks to Martin Sofaru (Closes: #661597)
   * [787ad2a] Enable hardening build flags.
     Thanks to Moritz Muehlenhoff (Closes: #657848)
Checksums-Sha1: 
 fcd244f58f31d6a7d5963ad116a329ba350859f6 2395 
multipath-tools_0.4.9+git0.4dfdaf2b-2.dsc
 23185a521fd290e21795105fcce872d6bb73c9ab 28964 
multipath-tools_0.4.9+git0.4dfdaf2b-2.debian.tar.gz
 8bd23dd4f624b2896d7ab0235d0c057fcbe91214 206316 
multipath-tools_0.4.9+git0.4dfdaf2b-2_amd64.deb
 f9602c4afac7fd0b272a010e3a3bf4585757a8b3 390716 
multipath-tools-dbg_0.4.9+git0.4dfdaf2b-2_amd64.deb
 8e3e9d9718bf74d242a23961a0373ad9decaf293 31760 
kpartx_0.4.9+git0.4dfdaf2b-2_amd64.deb
 2cb5c5382c15c7511806c40e62f527dd70900915 15700 
multipath-tools-boot_0.4.9+git0.4dfdaf2b-2_all.deb
 1a68b0e9613bd86a71a17da08e6e5161273e5c9b 164084 
multipath-udeb_0.4.9+git0.4dfdaf2b-2_amd64.udeb
Checksums-Sha256: 
 0001db997d7224feaa9a221dbf9db4ba5b92db87bc6909c94a2e0bcf792bcec6 2395 
multipath-tools_0.4.9+git0.4dfdaf2b-2.dsc
 a6ad476fabe6b865ca640d6ccd9cd0d427a72f4aa895dc13ea1b3a17c151195a 28964 
multipath-tools_0.4.9+git0.4dfdaf2b-2.debian.tar.gz
 2f2311e45b420302f0317d51bcbc86319ffe1dcef2f5c1730eef9f36c3c1c59b 206316 
multipath-tools_0.4.9+git0.4dfdaf2b-2_amd64.deb
 644e0f975f0b43c9a0bb8695e3e60dda0a42b924518ab39b2aa9210bebd51e5a 390716 
multipath-tools-dbg_0.4.9+git0.4dfdaf2b-2_amd64.deb
 59a8b4bc43556c3477d03fa662fb0f7864a7ef2e88e94adc16c545acb0ad4d35 31760 
kpartx_0.4.9+git0.4dfdaf2b-2_amd64.deb
 b3708fcdb9435ef107730625d08b8517ba29701a2a82f601b7889c920a6e5593 15700 
multipath-tools-boot_0.4.9+git0.4dfdaf2b-2_all.deb
 9c2fed0c9d013489275cbb616b078de7224ecfc7835f7ac9d1037f5083895601 164084 
multipath-udeb_0.4.9+git0.4dfdaf2b-2_amd64.udeb
Files: 
 36682dea0a8d63e0ba1f092b8a89b09c 2395 admin extra 
multipath-tools_0.4.9+git0.4dfdaf2b-2.dsc
 ef1c236106743b76e0fa9d8cc73f1724 28964 admin extra 
multipath-tools_0.4.9+git0.4dfdaf2b-2.debian.tar.gz
 668c7bc09d86078f533d533adbf12b19 206316 admin extra 
multipath-tools_0.4.9+git0.4dfdaf2b-2_amd64.deb
 df01f4ca8d48954cf92887fdc0e58b2f 390716 debug extra 
multipath-tools-dbg_0.4.9+git0.4dfdaf2b-2_amd64.deb
 d30a82db073a8b6c85de3b214e896c70 31760 admin extra 
kpartx_0.4.9+git0.4dfdaf2b-2_amd64.deb
 ea70f66289644067d7526804ba270c08 15700 admin extra 
multipath-tools-boot_0.4.9+git0.4dfdaf2b-2_all.deb
 26a74126b8b560620531e43bb4065eb9 164084 debian-installer extra 
multipath-udeb_0.4.9+git0.4dfdaf2b-2_amd64.udeb

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

iQIcBAEBCgAGBQJPVQAnAAoJEKY6WKPy4XVpZAMQAIpEN+16Fix55ExijeB11BeK
FLIenMeyssgzo49pXN45Jq+DrMT1Cw+0/tUFfMPflaTHlTdb3LGbAYDVEu1erxoC
5aZSQ4zqV8J7zIpGPMVfqaB03CfBtQhhrDcGIBdWObKoD4SWl2HWIwa1r9k/sMXo
P7yOyPC/xn21ynvOjw7d0QswEJnRx1pCFA6iqkqxG5ycFiQKHk6UtAqpSEWnu5Iu
piTXd3XZm87DMWJ/rDfMjRMd6GmR+I6kQxONVGYFE+obtuSiVfPX0u8VZ6XRa4f1
72xWLdU+ggD5FX4YkSN2MYE9ZHm6T/15bREZN7/+q8z/4RKIiWL25BeSk0c09nl9
Y7cWAawHuuMHjhXyMkc6WXKNMDIeHfrbWRCAuRVLvTzKmPv8qN6M1QFlI4g7u2Fu
ILFYVEN2P+7+Js9D/x6oNDeSq8v41kUzq3pyqt5RKqbo/ppVTbdqTA7JVJnVdEYN
XgY+TsRqQMbhCmsw2UQgE1W9u24MyYkv2VaHjgf+z5QSwVpaMHV7nIyYNrPLWod0
bY6wll5+mf4mGidkLXRAnOcQUQUiyPsUmyP/cBLax20TN7nZCro4X54q0hCU4VqE
DhPR2n3SCOnCFEPdQzK7ITfiupwj8K6zT/S55IKu+fHvbIzJp5VoOs3LAVK68HTh
1gQ4wTiJSvDfwQGimhr4
=UKgz
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to