Subject: pkg/24176: pkgtools/pkg_install-info overrides BINOWN and BINGRP
To: None <gnats-bugs@gnats.NetBSD.org>
From: Min Sik Kim <minskim@bawi.org>
List: netbsd-bugs
Date: 01/20/2004 17:31:57
>Number:         24176
>Category:       pkg
>Synopsis:       pkgtools/pkg_install-info overrides BINOWN and BINGRP
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 20 23:33:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Min Sik Kim
>Release:        NetBSD 1.6ZH
>Organization:
>Environment:
>Description:
Files installed by pkgtools/pkg_install-info are always owned by root.
BINOWN and BINGRP are ignored.

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/pkg_install-info/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	2003/07/21 17:14:08	1.5
+++ Makefile	2004/01/20 23:27:11
@@ -20,6 +20,8 @@
 # Otherwise use PKGREVISION if you need to change this package version.
 VERSION=		4.5
 
+MAKE_ENV+=	BINOWN=${BINOWN} BINGRP=${BINGRP}
+
 do-extract:
 	@${CP} -Rp ${FILESDIR} ${WRKSRC}
 
>Release-Note:
>Audit-Trail:
>Unformatted:
 Environment:
 System: NetBSD sulley.infnis.com 1.6ZH NetBSD 1.6ZH (SULLEY) #3: Fri Jan 16 16:57:45 CST 2004 root@sulley.infnis.com:/usr/obj/sys/arch/i386/compile/SULLEY i386
 Architecture: i386
 Machine: i386