Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2010 17:24:04 GMT
From:      Jason Helfman <jhelfman@e-e.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/142429: USERS directive doesn't work as documented in Porter's Handbook
Message-ID:  <201001071724.o07HO4rB089209@www.freebsd.org>
Resent-Message-ID: <201001071730.o07HU3l1096213@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001071724.o07HO4rB089209>