Bug#654148: Please enabled hardened build flags

2012-06-22 Thread Antonio Radici
On Wed, Jun 20, 2012 at 10:20:39PM +0200, Moritz Muehlenhoff wrote:
> On Fri, Apr 13, 2012 at 09:23:27AM +0200, Antonio Radici wrote:
> > On Fri, Apr 06, 2012 at 06:58:59PM +0200, Antonio Radici wrote:
> > > Sorry I missed this message; I'll have an upload ready for tomorrow.
> > 
> > I haven't forgotten this message, I'll have the upload ready for this
> > weekend, sorry for the delay.
> 
> What's the status? The freeze is really soon now.

Just uploaded mutt 1.5.21-6 (also tagged in the git repo).
Now waiting for ftp-master to accept it.

Sorry again for the delay.

Cheers
Antonio



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#654148: Please enabled hardened build flags

2012-06-22 Thread Antonio Radici
On Wed, Jun 20, 2012 at 10:20:39PM +0200, Moritz Muehlenhoff wrote:
> What's the status? The freeze is really soon now.
> 

Sorry for the continuous delay, I'll have the update ready tonight; if
this bug is not updated by tonight feel free to NMU.

Cheers
Antonio



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#654148: Please enabled hardened build flags

2012-06-20 Thread Moritz Muehlenhoff
On Fri, Apr 13, 2012 at 09:23:27AM +0200, Antonio Radici wrote:
> On Fri, Apr 06, 2012 at 06:58:59PM +0200, Antonio Radici wrote:
> > Sorry I missed this message; I'll have an upload ready for tomorrow.
> 
> I haven't forgotten this message, I'll have the upload ready for this
> weekend, sorry for the delay.

What's the status? The freeze is really soon now.

Cheers,
Moritz



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#654148: Please enabled hardened build flags

2012-04-13 Thread Antonio Radici
On Fri, Apr 06, 2012 at 06:58:59PM +0200, Antonio Radici wrote:
> Sorry I missed this message; I'll have an upload ready for tomorrow.

I haven't forgotten this message, I'll have the upload ready for this
weekend, sorry for the delay.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#654148: Please enabled hardened build flags

2012-04-06 Thread Antonio Radici
On Fri, Apr 06, 2012 at 06:48:03PM +0200, Moritz Mühlenhoff wrote:
> On Mon, Jan 02, 2012 at 02:59:28AM +0100, Moritz Muehlenhoff wrote:
> > Package: mutt
> > Version: 1.5.21-5
> > Severity: important
> > Tags: patch
> > 
> > Please enabled hardened build flags through dpkg-buildflags.
> > 
> > Patch attached. (dpkg-buildflags abides "noopt" from DEB_BUILD_OPTIONS)
> 
> What's the status? Do you plan an upload in the next weeks or
> shall I upload a NMU?

Sorry I missed this message; I'll have an upload ready for tomorrow.

Cheers
Antonio



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#654148: Please enabled hardened build flags

2012-04-06 Thread Moritz Mühlenhoff
On Mon, Jan 02, 2012 at 02:59:28AM +0100, Moritz Muehlenhoff wrote:
> Package: mutt
> Version: 1.5.21-5
> Severity: important
> Tags: patch
> 
> Please enabled hardened build flags through dpkg-buildflags.
> 
> Patch attached. (dpkg-buildflags abides "noopt" from DEB_BUILD_OPTIONS)

What's the status? Do you plan an upload in the next weeks or
shall I upload a NMU?

Cheers,
   Moritz



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#654148: Please enabled hardened build flags

2012-01-01 Thread Moritz Muehlenhoff
Package: mutt
Version: 1.5.21-5
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 mutt-1.5.21.orig/debian/rules mutt-1.5.21/debian/rules
--- mutt-1.5.21.orig/debian/rules	2012-01-02 02:49:32.0 +0100
+++ mutt-1.5.21/debian/rules	2012-01-02 02:51:24.0 +0100
@@ -80,13 +80,11 @@
 endif
 
 # CFLAGS
-CFLAGS   = -Wall -g
-CPPFLAGS = -I/usr/include/qdbm
-ifneq (,$(findstring 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`
+CPPFLAGS += -I/usr/include/qdbm
 
 # Directory to make the build on
 objdir = $(CURDIR)/obj-$(DEB_HOST_GNU_TYPE)
@@ -103,13 +101,13 @@
 	$(QUILT) applied > PATCHES
 	autoreconf --install --include=m4
 	cd $(objdir)-patched && \
-	env CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \
+	env CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS)" \
 	../configure $(confflags)
 	
 	echo '#include "config-debian.h"' >> $(objdir)-patched/config.h
 	
 	# we should just "make mutt" here, but that doesn't work yet
-	cd $(objdir)-patched && $(MAKE) CFLAGS="$(CFLAGS)"
+	cd $(objdir)-patched && $(MAKE) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS)"
 endif
 	
 	touch $@
@@ -123,12 +121,12 @@
 	autoreconf --install --include=m4
 	-mkdir $(objdir)
 	cd $(objdir) && \
-	env CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \
+	env CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)"  \
 	../configure $(confflags)
 	
 	echo '#include "config-debian.h"' >>$(objdir)/config.h
 	
-	cd $(objdir) && $(MAKE) CFLAGS="$(CFLAGS)"
+	cd $(objdir) && $(MAKE) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS)"
 	
 	touch $@
 
Nur in mutt-1.5.21/debian: rules~.