Subject: pkg/7384: PostgreSQL package deficiencies
To: None <gnats-bugs@gnats.netbsd.org>
From: Klaus Klein <kleink@ira.uka.de>
List: netbsd-bugs
Date: 04/14/1999 07:51:58
>Number:         7384
>Category:       pkg
>Synopsis:       PostgreSQL package deficiencies
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 14 07:50:01 1999
>Last-Modified:
>Originator:     Klaus Klein
>Organization:
Frobozz Magic Standards Company
>Release:        NetBSD-current as of April 10, 1999
>Environment:
System: NetBSD layla 1.4A NetBSD 1.4A (LAYLA+CTX+NMFS) #1182: Thu Apr 8 22:31:15 CEST 1999 kleink@layla:/export/home/tmp/kernels/LAYLA+CTX+NMFS i386


>Description:
	1) When updating the package, the package's Makfile first
	   removes the existing install directory (pre-install target);
	   it then depends on the REQ script to create the install
	   directory (${PREFIX}/${PGUSER}) by means of addnerd(8).
	   However, if the desired PGUSER and PGGROUP are already present
	   in the system (i.e. from a previous installation), addnerd(8)
	   will not create the install directory, and installation will
	   fail.

	2) The executables being installed are not being strip(1)'ped
	   (${PREFIX}/${PGUSER}/bin/{ecpg,pg_dump,pg_id,pg_passwd,pg_version,
	   pgtclsh,pgtksh,postgres,psql}).

>How-To-Repeat:
	1) Delete package, don't bother with removing the user/group IDs,
	   attempt to install again.

	2) Observation.

>Fix:
	None supplied.
>Audit-Trail:
>Unformatted: