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

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



Package: openssh-server
Version: 1:5.1p1-2
Severity: normal
Tags: patch

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

Hochachtungsvoll,
	Bernhard R. Link

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...



Reply to: