Subject: pkg/29342: packages use /bin/bash
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <mlelstv@serpens.de>
List: pkgsrc-bugs
Date: 02/12/2005 12:15:00
>Number:         29342
>Category:       pkg
>Synopsis:       packages use /bin/bash
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 12 12:15:00 +0000 2005
>Originator:     Michael van Elst
>Release:        NetBSD 2.0
>Organization:
-- 
                                Michael van Elst
Internet: mlelstv@serpens.de
                                "A potential Snark may lurk in every tree."
>Environment:
	
	
System: NetBSD pepew 2.0 NetBSD 2.0 (PEPEW) #20: Sun Jan 9 13:13:02 CET 2005 src@pepew:/sys/arch/i386/compile/PEPEW i386
Architecture: i386
Machine: i386
>Description:
Several packages install scripts into /usr/pkg/bin that rely
on /bin/bash.

gpsdrive: /usr/pkg/bin/gpsfetchmap
mjpegtools: /usr/pkg/bin/lav2avi.sh
            /usr/pkg/bin/lav2mpeg
            /usr/pkg/bin/mpegtranscode

% head -1 /usr/pkg/bin/mpegtranscode
#!/bin/bash

>How-To-Repeat:
>Fix:
Either "port" the scripts to sh or depend on the bash2 package. In
either case the shebang lines must be corrected.

>Unformatted: