4390d56940
the owner of all installed files is a non-root user. This change affects most packages that require special users or groups by making them use the specified unprivileged user and group instead. (1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to unprivileged.mk. These two variables are lists of other bmake variables that define package-specific users and groups. Packages that have user-settable variables for users and groups, e.g. apache and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP}, etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER} and ${UNPRIVILEGED_GROUP}. (2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
15 lines
318 B
Text
15 lines
318 B
Text
# $NetBSD: Makefile.common,v 1.3 2007/07/04 20:55:07 jlam Exp $
|
|
#
|
|
|
|
PYTHON_VERSIONS_ACCEPTED= 24
|
|
|
|
ZOPE3_DIR= ${PREFIX}/share/zope3
|
|
ZOPE3_DOCDIR= ${PREFIX}/share/doc/zope3
|
|
|
|
ZOPE3_GROUP?= zope3
|
|
ZOPE3_USER?= zope3
|
|
|
|
PKG_GROUPS_VARS+= ZOPE3_GROUP
|
|
PKG_USERS_VARS+= ZOPE3_USER
|
|
|
|
.include "../../lang/python/application.mk"
|