tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

open issue of *OWN/*GRP variables and installation to DESTDIR




To: tech-pkg%NetBSD.org@localhost

Subject: open issue of *OWN/*GRP variables and installation to DESTDIR

From: Klaus Heinz <k.heinz%janacht.kh-22.de@localhost>

Date: Sun, 6 Jan 2008 22:43:23 +0100


Hi,

if a package uses PKG_DESTDIR_SUPPORT=user-destdir the variables
ROOT_USER, ROOT_GROUP, BINOWN, BINGRP, GAMEOWN, GAMEGRP, MANOWN, MANGRP,
SHAREOWN, SHAREGRP, DOCOWN and DOCGRP will be redefined and the original
value be unavailable for pkgsrc Makefiles (see mk/unprivileged.mk).

In the case of ROOT_USER and ROOT_GROUP this loss of information was
solved with REAL_ROOT_USER and REAL_ROOT_GROUP but the issue still
remains open for all the other variables.

As an example, a package currently using ${GAMEOWN}:${GAMEGRP} cannot
be converted to correctly using PKG_DESTDIR_SUPPORT=user-destdir because
we have no way to tell to which user/group the ownership of files should
be assigned at installation time.

ciao
     Klaus



Follow-Ups:

Re: open issue of *OWN/*GRP variables and installation to DESTDIR
From: Joerg Sonnenberger

Re: open issue of *OWN/*GRP variables and installation to DESTDIR
From: Alistair Crooks




Prev by Date: misc/openoffice and Xorg modular

Next by Date: Re: CVS commit: pkgsrc/pkgtools/pkglint/files

Previous by Thread: misc/openoffice and Xorg modular

Next by Thread: Re: open issue of *OWN/*GRP variables and installation to DESTDIR

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index