[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#498681: openssh: strips binaries even with DEB_BUILD_OPTIONS=nostrip



tags 498681 pending
thanks

On Fri, Sep 12, 2008 at 10:45:36AM +0200, Bernhard R. Link wrote:
> openssh fails to support the nonstrip DEB_BUILD_OPTION as described in
> policy 4.9.1.
> 
> While dh_strip handles this correctly by default, binaries are still
> stripped because upstream's build system strips them when configure is
> not called with --disable-strip (or --enable-strip=no if you prefer).
> 
> As dh_strip already does the stripping, I suggest just adding
> --disable-strip unconditionally to the configure call:
> 
> --- debian/rules.orig	2008-09-12 10:42:09.000000000 +0200
> +++ debian/rules	2008-09-12 10:42:35.000000000 +0200
> @@ -62,6 +62,7 @@
>  confflags += --prefix=/usr --sysconfdir=/etc/ssh --libexecdir=/usr/lib/openssh --mandir=/usr/share/man
>  
>  # Common build options.
> +confflags += --disable-strip
>  confflags += --with-mantype=doc
>  confflags += --with-4in6
>  confflags += --with-privsep-path=/var/run/sshd

Thanks, committed.

> P.S: Is there a reason it says --with-xauth=/usr/bin/X11/xauth
> instead of --with-xauth=/usr/bin/xauth ? Even etch had it there...

Because I don't like to break compatibility when it's not necessary, and
/usr/bin/X11/xauth works both before and after the big X11R7 shake-up.

Cheers,

-- 
Colin Watson                                       [cjwatson@debian.org]



Reply to: