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

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



Your message dated Mon, 09 Jan 2012 21:04:09 +0000
with message-id <E1RkMO1-0003iO-5S@franck.debian.org>
and subject line Bug#655140: fixed in mldonkey 3.1.0-3
has caused the Debian Bug report #655140,
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.)


-- 
655140: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655140
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: mldonkey
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 mldonkey-3.1.0.orig/debian/rules mldonkey-3.1.0/debian/rules
--- mldonkey-3.1.0.orig/debian/rules	2011-09-15 00:01:03.000000000 +0200
+++ mldonkey-3.1.0/debian/rules	2012-01-08 20:03:48.000000000 +0100
@@ -10,14 +10,6 @@
   confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
 endif
 
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-        CFLAGS += -O0
-else
-        CFLAGS += -O2
-endif
-
 override_dh_auto_clean:
 # Update the PO, as suggested in "man 7 po-debconf"
 	debconf-updatepo
@@ -32,7 +24,7 @@
 
 override_dh_auto_configure:
 	cd config; autoconf
-	CFLAGS="$(CFLAGS)" CXXFLAGS="$(CFLAGS)" ./configure $(confflags) \
+	./configure $(confflags) $(shell dpkg-buildflags --export=configure) \
 	  --enable-gui=newgui2 \
 	  --enable-directconnect \
           --disable-magic \
Nur in mldonkey-3.1.0/debian: rules~.

--- End Message ---
--- Begin Message ---
Source: mldonkey
Source-Version: 3.1.0-3

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

mldonkey-gui_3.1.0-3_amd64.deb
  to main/m/mldonkey/mldonkey-gui_3.1.0-3_amd64.deb
mldonkey-server_3.1.0-3_amd64.deb
  to main/m/mldonkey/mldonkey-server_3.1.0-3_amd64.deb
mldonkey_3.1.0-3.debian.tar.gz
  to main/m/mldonkey/mldonkey_3.1.0-3.debian.tar.gz
mldonkey_3.1.0-3.dsc
  to main/m/mldonkey/mldonkey_3.1.0-3.dsc



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

Debian distribution maintenance software
pp.
Mehdi Dogguy <mehdi@debian.org> (supplier of updated mldonkey 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, 09 Jan 2012 12:27:37 +0100
Source: mldonkey
Binary: mldonkey-server mldonkey-gui
Architecture: source amd64
Version: 3.1.0-3
Distribution: unstable
Urgency: low
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Mehdi Dogguy <mehdi@debian.org>
Description: 
 mldonkey-gui - Graphical frontend for mldonkey based on GTK+
 mldonkey-server - Door to the 'donkey' network
Closes: 655140
Changes: 
 mldonkey (3.1.0-3) unstable; urgency=low
 .
   * Enable hardened build flags through dpkg-buildflags (Closes: #655140).
     Thanks to Moritz Muehlenhoff for reporting it and providing a patch.
Checksums-Sha1: 
 cd611b6b78c9a8cb92f4180f53e3f372e513a2a1 2040 mldonkey_3.1.0-3.dsc
 c27de5f549d15f853d4c76c31aead9933eba175c 129756 mldonkey_3.1.0-3.debian.tar.gz
 8fdbf4e71e751b52b4c3f12632ffd6fff9bba759 3217940 mldonkey-server_3.1.0-3_amd64.deb
 8c91b0dea735b75784b8af3dcd98ae0ba335b47d 4587792 mldonkey-gui_3.1.0-3_amd64.deb
Checksums-Sha256: 
 b1943ec6f2d67e41c7ad31bbc0142ccdff64a5a74581c8f15d50abd3f8ec9234 2040 mldonkey_3.1.0-3.dsc
 1f22dbe756d17cdb99b0bc21a20a65f429ebfd836c8c099d2cda06edc1f9dcce 129756 mldonkey_3.1.0-3.debian.tar.gz
 783b2eea3c375a4122a20c137fabd04a2d716d439231a5123c022bb3f7a963dc 3217940 mldonkey-server_3.1.0-3_amd64.deb
 bb622d172c829666b2d1396cfad3cc36da6f0eb005a198c281ac275e9e473357 4587792 mldonkey-gui_3.1.0-3_amd64.deb
Files: 
 a6d8e39aaf58f886ca4c615067bdf0fe 2040 net optional mldonkey_3.1.0-3.dsc
 61fe264f88bcf172ba015fa4d1a75ae6 129756 net optional mldonkey_3.1.0-3.debian.tar.gz
 49198a93f4dcd9f3d5d6f25cbc6938e5 3217940 net optional mldonkey-server_3.1.0-3_amd64.deb
 9f7b9d80b7c326ab6ee1c61cd3fcce4a 4587792 net optional mldonkey-gui_3.1.0-3_amd64.deb

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

iQEcBAEBAgAGBQJPC0Y+AAoJEDe1GR0FRlJoNwIH/AxbxDg5awgsDgQ6NVJrEKub
/gFUSFJqhMudVg6I1nKUI46MLHJ25wN34rV6ZWb6R6qs+shnV+H499+rGNKg4b4e
4JfMc2OuuN3WNdvp6qqhSUW+kQPITPp+VHNR1U1hJiVK03hc8TCfLcYSpQyA8uJW
sO6Ziq/pIOZWmbWQ/zfgvdk1c4zt8NhQQa2dWBfm3adXDMuzwVi0FQLTcsUlAcZ3
ulML1u+j51dDmwERudLTN89IfHTnj42humI2RDbmE/EE4qBsXIn0Jh7RMyzIvtVE
IRPVo9G3B7QWi6I52vM/2zfXdeF166l4ga+rO35zlB+sX+E58iWKHajbaWZlTDc=
=Luog
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: