NetBSD Problem Report #4759

Received: (qmail 6056 invoked from network); 31 Dec 1997 11:33:33 -0000
Message-Id: <199712311133.MAA27092@lyssa.owl.de>
Date: Wed, 31 Dec 1997 12:33:11 +0100 (MET)
From: Matthias Scheler <tron@lyssa.owl.de>
Reply-To: tron@lyssa.owl.de
To: gnats-bugs@gnats.netbsd.org
Subject: bash isn't stripped on installation of bash package
X-Send-Pr-Version: 3.95

>Number:         4759
>Category:       pkg
>Synopsis:       bash isn't stripped on install
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 31 03:35:02 +0000 1997
>Closed-Date:    Thu Jan 01 04:59:03 +0000 1998
>Last-Modified:  Thu Jan 01 05:00:48 +0000 1998
>Originator:     Matthias Scheler
>Release:        971230
>Organization:
Matthias Scheler                                http://home.owl.de/~tron/
>Environment:
System: NetBSD lyssa 1.3_BETA NetBSD 1.3_BETA (LYSSA) #0: Mon Dec 22 03:43:27 MET 1997 tron@lyssa:/src/src/sys/arch/i386/compile/LYSSA i386

>Description:
NetBSD's bash 2.01 package doesn't strip the "bash" binary.

>How-To-Repeat:
cd /usr/pkgsrc/shells/bash2
make
make install
file /usr/pkg/bin/bash

>Fix:
*** pkgsrc/shells/bash2/Makefile.orig	Mon Oct 27 05:51:39 1997
--- pkgsrc/shells/bash2/Makefile	Wed Dec 31 12:20:17 1997
*************** post-patch:
*** 24,29 ****
--- 24,30 ----
  	cp /usr/include/fnmatch.h ${WRKSRC}/lib/glob/fnmatch.h

  pre-install:
+ 	strip ${WRKDIR}/bash-2.01/bash
  	if [ ! -s ${PREFIX}/info/dir ]; then \
  	  ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
  	fi
>Release-Note:
>Audit-Trail:

From: Matthias Scheler <tron@lyssa.owl.de>
To: gnats-bugs@gnats.netbsd.org, gnats-admin@NetBSD.ORG,
        netbsd-bugs@NetBSD.ORG
Cc:  Subject: Re: pkg/4759: $$$
Date: Wed, 31 Dec 1997 12:38:16 +0100

 On Wed, Dec 31, 1997 at 11:35:03AM -0000, gnats-bugs@gnats.netbsd.org wrote:
 > Thank you very much for your problem report.
 > It has the internal identification `pkg/4759'.
 > The individual assigned to look at your
 > bug is: gnats-admin (GNATS administrator). 
 > 
 > >Category:       pkg
 > >Responsible:    gnats-admin (GNATS administrator)
 > >Synopsis:       $$$
 > >Arrival-Date:   Wed Dec 31 03:35:02 1997

 Sorry, I forgot to finish the PR before I sent it. :-(

 Sypnopsis:	bash isn't stripped on install

 Description:
 NetBSD's bash 2.01 package doesn't strip the "bash" binary.

 -- 
 Matthias Scheler                                http://home.owl.de/~tron/

From: Todd Vierling <tv@pobox.com>
To: Matthias Scheler <tron@lyssa.owl.de>
Cc: gnats-bugs@gnats.netbsd.org, netbsd-bugs@NetBSD.ORG
Subject: Re: pkg/4759: $$$
Date: Wed, 31 Dec 1997 07:43:28 -0500 (EST)

 On Wed, 31 Dec 1997, Matthias Scheler wrote:

 : Sorry, I forgot to finish the PR before I sent it. :-(
 : 
 : Sypnopsis:	bash isn't stripped on install
 : 
 : Description:
 : NetBSD's bash 2.01 package doesn't strip the "bash" binary.

 I have a feeling quite a few packages have this "problem;" but the more
 elegant solution for each is likely to patch Makefile.in so it uses 'install
 -s -c' instead of GNU's 'install.sh' for binaries. 

 =====
 ===== Todd Vierling (Personal tv@pobox.com; Business tv@lucent.com) =====
 == "There's a myth that there is a scarcity of justice to go around, so
 == that if we extend justice to 'those people,' it will somehow erode the
 == quality of justice everyone else receives."  -- Maria Price


From: Matthias Scheler <tron@lyssa.owl.de>
To: Todd Vierling <tv@pobox.com>
Cc: gnats-bugs@gnats.netbsd.org, netbsd-bugs@NetBSD.ORG
Subject: Re: pkg/4759: $$$
Date: Wed, 31 Dec 1997 14:00:15 +0100

 On Wed, Dec 31, 1997 at 07:43:28AM -0500, Todd Vierling wrote:
 > I have a feeling quite a few packages have this "problem;" but the more
 > elegant solution for each is likely to patch Makefile.in ...

 Yes, indeed. I came to that conclusion, too. And my patch for "zsh"
 will work that way.

 -- 
 Matthias Scheler                                http://home.owl.de/~tron/

From: Hubert Feyrer <hubert.feyrer@rrzc1.rz.uni-regensburg.de>
To: Todd Vierling <tv@pobox.com>
Cc: Matthias Scheler <tron@lyssa.owl.de>, gnats-bugs@gnats.netbsd.org,
        netbsd-bugs@NetBSD.ORG
Subject: Re: pkg/4759: $$$
Date: Thu, 1 Jan 1998 05:21:33 +0100 (MET)

 > I have a feeling quite a few packages have this "problem;" but the more
 > elegant solution for each is likely to patch Makefile.in so it uses 'install
 > -s -c' instead of GNU's 'install.sh' for binaries. 

 If any, it should not hard-code "install -s -c", but use any of the 
 INSTALL_PROGRAM, INSTALL_SCRIPT, INSTALL_DATA and INSTALL_MAN macros (see 
 bsd.port.mk for docs) in Makefiles. 


  - Hubert

 --
 Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>

State-Changed-From-To: open->closed 
State-Changed-By: hubertf 
State-Changed-When: Wed Dec 31 20:59:03 PST 1997 
State-Changed-Why:  
Binary stripped with a slightly different patch: 
strip ${WRKSRC}/bash 
This avoids spreading version information everywhere. 


- Hubert 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.