Subject: Re: ${INSTALL}
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
From: Todd Vierling <tv@wasabisystems.com>
List: tech-pkg
Date: 02/23/2001 21:12:29
On Sat, 24 Feb 2001, Hubert Feyrer wrote:

: is not a good idea as the group of the dir will be wrong. Setting it
: via
:
: 	${INSTALL_DATA_DIR} -g group  ${PREFIX}/share/angband
:
: may work, but it's not a good idea either, as install(8) will be
: called with -g twice, and the result will be implementation defined.

However, I did note in the PRs another issue:  the things which need a
special group do not need a special owner.  One such statement is using
"-o bin", which many find insecure, while others use "-o root", which
some do not want.

These statements should be using ${BINOWN} if they are not going to use an
${INSTALL_SOMETHING} macro.  Only the things needing overriding should not
be a macro.

Note that "implementation defined" is a bit of a misrepresentation for
pkgsrc; we have certain expectations of system tools on any OS using pkgsrc,
and expecting the "BSD-like install program" to override options in this
manner should be perfectly acceptable.

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  Wasabi NetBSD:  Run with it.
-- NetBSD 1.5 now available on CD-ROM  --  http://www.wasabisystems.com/