Hi, 

I don't have a debian/rules in my "upstream" distribution. 

Should I grab a copy somewhere and start distributing it?

        Rogier.

On Mon, Jan 02, 2012 at 02:31:30AM +0100, Moritz Muehlenhoff wrote:
> 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~.


-- 
** r.e.wo...@bitwizard.nl ** http://www.BitWizard.nl/ ** +31-15-2600998 **
**    Delftechpark 26 2628 XH  Delft, The Netherlands. KVK: 27239233    **
*-- BitWizard writes Linux device drivers for any device you may have! --*
The plan was simple, like my brother-in-law Phil. But unlike
Phil, this plan just might work.



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

Reply via email to