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



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



Home | Main Index | Thread Index | Old Index