docs/142429: USERS directive doesn't work as documented in Porter's Handbook

Jason Helfman jhelfman at e-e.com
Thu Jan 7 17:30:03 UTC 2010


>Number:         142429
>Category:       docs
>Synopsis:       USERS directive doesn't work as documented in Porter's Handbook
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 07 17:30:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Jason Helfman
>Release:        8.0-RELEASE-p2
>Organization:
Experts Exchange
>Environment:
8.0-RELEASE-p2
>Description:
It seems when using the USERS or GROUPS directives in a Makefile, that the user will be installed, but the INSTALL macros will fail. I've only been able to verify this when the "configure" script is not used.
>How-To-Repeat:
Add to some test port:

USERS=  <some user, or new user in UIDs>

do-install:
        ${INSTALL_SCRIPT} ${WRKSRC}/script.sh ${PREFIX}/bin


.include <bsd.port.mk>
>Fix:
Not known, as of yet. The only thing it seems this could be is either a bug in bsd.port.mk or a bug in the Documentation as for the correct process. In looking at other ports, it seems that it is broken, as scripts that add users use the PRE-INSTALL script method.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/users-and-groups.html

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list