Package: module-init-tools Version: 3.16-1 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu quantal ubuntu-patch
Hi Marco, While preparing an upload of module-init-tools to Ubuntu for an unrelated issue, I noticed that the package was not building with the hardening flags from dpkg-buildflags. This seems like a good thing to have in Debian as well. Please find the patch attached. Thanks for considering, -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
=== modified file 'debian/control' --- debian/control 2011-11-20 22:23:57 +0000 +++ debian/control 2012-09-06 01:30:25 +0000 @@ -3,7 +3,7 @@ Priority: important Maintainer: Marco d'Itri <m...@linux.it> Standards-Version: 3.8.4 -Build-Depends: debhelper (>= 5), docbook-to-man +Build-Depends: debhelper (>= 5), docbook-to-man, dpkg-dev (>= 1.16.1) Package: module-init-tools Architecture: any === modified file 'debian/rules' --- debian/rules 2011-06-08 11:53:21 +0000 +++ debian/rules 2012-09-06 01:26:27 +0000 @@ -34,13 +34,13 @@ rm -f *.[0-9] # XXX workaround for out of tree builds [ -d build-deb ] || mkdir build-deb cd build-deb/ && \ - ../configure CFLAGS='$(CFLAGS)' \ + ../configure $(shell dpkg-buildflags --export=configure) \ $(DISABLE_ZLIB) $(CONFFLAGS) build-udeb/config.status: [ -d build-udeb ] || mkdir build-udeb cd build-udeb/ && \ - ../configure CFLAGS='$(CFLAGS) -Os -fomit-frame-pointer' \ + ../configure $(shell DEB_CFLAGS_MAINT_APPEND='-Os -fomit-frame-pointer' dpkg-buildflags --export=configure) \ --disable-zlib $(CONFFLAGS) build: .stamp-build