Subject: Re: CVS commit: pkgsrc/mk
To: Johnny C. Lam <jlam@netbsd.org>
From: Tomasz Luchowski <zuntum@netbsd.org>
List: pkgsrc-changes
Date: 11/26/2001 21:53:16
On Mon, Nov 26, 2001 at 10:37:39PM +0200, Johnny C. Lam wrote:
>
> Module Name: pkgsrc
> Committed By: jlam
> Date: Mon Nov 26 20:37:39 UTC 2001
>
> Modified Files:
> pkgsrc/mk: bsd.pkg.install.mk
> pkgsrc/mk/install: deinstall header install
>
> Log Message:
> Replace PKG_{USER,GROUP} with PKG_USERS and PKG_GROUPS:
>
> PKG_USERS represents the users to create for the package. It is a
> space-separated list of elements of the form
>
> user:group[:[userid][:[descr][:[home][:shell]]]]
>
> Only the user and group are required; everything else is optional,
> but the colons must be in the right places when specifying optional
> bits. Note that if the description contains spaces, then spaces
> should be double backslash-escaped, e.g.
>
> foo:foogrp::The\\ Foomister
>
> PKG_GROUPS represents the groups to create for the package. It is a
> space-separated list of elements of the form
>
> group[:groupid]
>
> Only the group is required; the groupid is optional.
>
> This solves the problem of what to do when there is more than one user or
> group needed for a package, e.g. qmail. Also add a bit more error-checking
> to the INSTALL/DEINSTALL scripts.
Excellent, superb work! Thanks for doing this! :)
Kind regards,
Tomasz
--
/* Tomasz Luchowski <zuntum@netbsd.org> */