Subject: pkg/21197: several packages install #!/usr/bin/perl scripts
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nathanw@wasabisystems.com>
List: netbsd-bugs
Date: 04/15/2003 16:17:00
>Number:         21197
>Category:       pkg
>Synopsis:       several packages install /usr/bin/perl scripts
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 15 21:29:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Nathan J. Williams
>Release:        NetBSD 1.6R
>Organization:
	Wasabi Systems, Inc.
>Environment:
System: NetBSD marvin-the-martian.stuartst.com 1.6R NetBSD 1.6R (MARVIN) #52: Tue Apr 15 15:16:25 EDT 2003 nathanw@marvin-the-martian.stuartst.com:/nbsd/src/sys/arch/i386/compile/MARVIN i386
Architecture: i386
Machine: i386
>Description:

Poking around for useful SMB tools after installing samba, I
tried to run /usr/pkg/bin/findsmb, only to discover that it is a
script that starts with "#!/usr/bin/perl". Since perl is installed in
/usr/pkg/bin/perl, the script doesn't work.

Here is the set of offenders I found by grepping for /usr/bin/perl in
/usr/pkg/*bin:

audio/nas-1.6nb1:		/usr/pkg/bin/auscope
audio/kdemultimedia-3.1:        /usr/pkg/bin/workman2cddb.pl
editors/emacs-21.3nb1: 		/usr/pkg/bin/emacs-grep-changelog
graphics/libungif-4.1.0.1:  	/usr/pkg/bin/gifburst
net/kdenetwork-3.1: 		/usr/pkg/bin/dsirc
net/samba-2.2.8a:   		/usr/pkg/bin/findsmb
print/ghostscript-6.01nb4:  	/usr/pkg/bin/fixmswrd.pl
x11/kdebase-3.1: 		/usr/pkg/bin/filesharelist
			     	/usr/pkg/bin/fileshareset
x11/kdelibs-3.1:        	/usr/pkg/bin/preparetips

 
>How-To-Repeat:

Try to run one of the above scripts; debug the usual annoying "Command
not found" interpreter-missing error.

>Fix:

None supplied.
>Release-Note:
>Audit-Trail:
>Unformatted: