From nobody@FreeBSD.org  Thu Jan  7 17:24:04 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id F36FE106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  7 Jan 2010 17:24:04 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id E2B458FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  7 Jan 2010 17:24:04 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o07HO4PB089210
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 7 Jan 2010 17:24:04 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o07HO4rB089209;
	Thu, 7 Jan 2010 17:24:04 GMT
	(envelope-from nobody)
Message-Id: <201001071724.o07HO4rB089209@www.freebsd.org>
Date: Thu, 7 Jan 2010 17:24:04 GMT
From: Jason Helfman <jhelfman@e-e.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: USERS directive doesn't work as documented in Porter's Handbook
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 07 17:30:03 UTC 2010
>Closed-Date:    Mon Jan 18 22:02:00 UTC 2010
>Last-Modified:  Mon Jan 18 22:02:00 UTC 2010
>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:

From: Jason <jhelfman@e-e.com>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: docs/142429: USERS directive doesn't work as documented in
 Porter's Handbook
Date: Mon, 18 Jan 2010 12:22:00 -0800

 Correction. It does work.
 
 Format of the UID is a little different, and after correcting my local
 version, it worked as noted in the Porter's Handbook.
 
 As a suggestion, it may be a good idea to add an example of a new UID
 example that would work.
 
 This can be closed.
 
 -jgh
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Mon Jan 18 22:01:47 UTC 2010 
State-Changed-Why:  
Closed at submitter's request. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=142429 
>Unformatted:
