Package: texinfo Version: 4.13a.dfsg.1-8 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 texinfo-4.13a.dfsg.1.harden/debian/rules texinfo-4.13a.dfsg.1/debian/rules --- texinfo-4.13a.dfsg.1.harden/debian/rules 2012-01-17 23:54:20.000000000 +0100 +++ texinfo-4.13a.dfsg.1/debian/rules 2012-01-20 19:15:18.000000000 +0100 @@ -9,12 +9,7 @@ SAVEDGMO=po/nl.gmo po/ro.gmo po/tr.gmo po/de.gmo -CFLAGS := -g -Wall -ifneq "$(findstring noopt,$(DEB_BUILD_OPTIONS))" "" -CFLAGS += -O0 -else -CFLAGS += -O2 -endif +DEB_CFLAGS_MAINT_APPEND=-Wall texinfo := $(CURDIR)/debian/texinfo ii := $(CURDIR)/debian/install-info @@ -32,7 +27,7 @@ touch doc/texi2pdf.1 touch doc/pdftexi2dvi.1 dh_testdir - CFLAGS="$(CFLAGS)" ./configure --prefix=/usr \ + ./configure --prefix=/usr $(shell dpkg-buildflags --export=configure) \ --infodir='$${prefix}/share/info' --mandir='$${prefix}/share/man' touch po/texinfo.pot $(MAKE) Nur in texinfo-4.13a.dfsg.1/debian: rules~.