Subject: pkg/12623: uvscan, uvscan-dat package directory problems
To: None <gnats-bugs@gnats.netbsd.org>
From: Dave Burgess <burgess@Webserv02.neonramp.com>
List: netbsd-bugs
Date: 04/12/2001 15:10:28
>Number:         12623
>Category:       pkg
>Synopsis:       uvscan does not create the /usr/pkg/libexec/uvscan directory
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 12 13:11:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Dave Burgess
>Release:        1.5 Release
>Organization:
The MITRE Corporation
>Environment:
System: NetBSD webserv02.neonramp.com 1.5 NetBSD 1.5 (NEONRAMP-RADIUS) #0: Sat Feb 3 07:42:20 CST 2001 root@radius1.neonramp.com:/usr/src/sys/arch/i386/compile/NEONRAMP i386


>Description:
	The package does not correctly create the
	/usr/pkg/libexec/uvscan and /usr/pkg/share/doc/uvscan
	directories on a clean install.  This causes each of the files
	destined for that directory to be copied, one after another,
	as a file called 'uvscan' in the respective directories, which
	keeps the program 'uvscan/uvscan' from working, thereby
	invalidating the package and making it unusable.
>How-To-Repeat:
	On an old installation, remove the /usr/pkg/libexec/uvscan
	directory and reinstall the system.  The program will not work
	(since it can't be executed).
>Fix:
	Add an "install -d" at the beginning of the install section of
	the Makefile.  The reason I don't offer a patch is because I
	don't know if this should be addressed at the uvscan Makefile
	level or if this needs to be moved up into one of the master
	package Makefiles.

>Release-Note:
>Audit-Trail:
>Unformatted:
 Severity:	critical