Package: screen Version: 4.1.0~20110819git450e8f3-1 Severity: important Tags: patch
Please enabled hardened build flags through dpkg-buildflags. Patch against the version in experimental attached. Cheers, Moritz
diff -aur screen-4.1.0~20110819git450e8f3.harden/debian/rules screen-4.1.0~20110819git450e8f3/debian/rules --- screen-4.1.0~20110819git450e8f3.harden/debian/rules 2011-10-08 19:47:46.000000000 +0200 +++ screen-4.1.0~20110819git450e8f3/debian/rules 2012-01-19 21:05:02.000000000 +0100 @@ -12,6 +12,10 @@ # statically define this... sucko TTYGROUP := 5 +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + + ifeq ($(findstring noopt,$(DEB_BUILD_OPTIONS)),noopt) CC_OPTFLAGS := -O0 -g3 else @@ -33,6 +37,7 @@ dh_testdir dh_autoreconf ./configure --prefix=/usr \ + $(shell dpkg-buildflags --export=configure) \ --infodir='$$(prefix)/share/info' \ --mandir='$$(prefix)/share/man' \ --with-socket-dir=/var/run/screen \ Nur in screen-4.1.0~20110819git450e8f3/debian: rules~.