Subject: Re: Package-specific users and groups & unprivileged builds
To: None <tech-pkg@netbsd.org>
From: Roland Illig <rillig@NetBSD.org>
List: tech-pkg
Date: 06/18/2007 12:16:04
Johnny C. Lam wrote:
> The following diff does two things:
> 
> (1) It adds 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}.


BUILD_DEFS+= ${PKG_GROUPS_VARS} ${PKG_USER_VARS}

Otherwise, I like your patch. Thanks for all the work.

Roland