Package: mtr
Version: 0.82-1
Severity: important
Tags: patch
Please enabled hardened build flags through dpkg-buildflags.
Patch attached.
Cheers,
Moritz
diff -aur mtr-0.82.orig/debian/rules mtr-0.82/debian/rules
--- mtr-0.82.orig/debian/rules 2012-01-02 02:26:06.000000000 +0100
+++ mtr-0.82/debian/rules 2012-01-02 02:27:45.000000000 +0100
@@ -26,10 +26,10 @@
touch aclocal.m4 && \
touch configure
- mkdir mtr && cd mtr && ../configure $(confflags) --prefix=`pwd`/debian/tmp/usr --mandir=`pwd`/debian/tmp/usr/share/man --sbindir=`pwd`/debian/tmp/usr/bin --enable-gtk2
+ mkdir mtr && cd mtr && ../configure $(shell dpkg-buildflags --export=configure) $(confflags) --prefix=`pwd`/debian/tmp/usr --mandir=`pwd`/debian/tmp/usr/share/man --sbindir=`pwd`/debian/tmp/usr/bin --enable-gtk2
make -C mtr
- mkdir mtr-tiny && cd mtr-tiny && ../configure --prefix=`pwd`/debian/tmp/usr --mandir=`pwd`/debian/tmp/usr/share/man --sbindir=`pwd`/debian/tmp/usr/bin --without-gtk
+ mkdir mtr-tiny && cd mtr-tiny && ../configure $(shell dpkg-buildflags --export=configure) --prefix=`pwd`/debian/tmp/usr --mandir=`pwd`/debian/tmp/usr/share/man --sbindir=`pwd`/debian/tmp/usr/bin --without-gtk
make -C mtr-tiny
touch build-stamp
Nur in mtr-0.82/debian: rules~.