From owner-freebsd-doc@FreeBSD.ORG Thu Jan 7 17:30:03 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DDB71065694 for ; Thu, 7 Jan 2010 17:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 61DE38FC13 for ; Thu, 7 Jan 2010 17:30:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o07HU3os096218 for ; Thu, 7 Jan 2010 17:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o07HU3l1096213; Thu, 7 Jan 2010 17:30:03 GMT (envelope-from gnats) Resent-Date: Thu, 7 Jan 2010 17:30:03 GMT Resent-Message-Id: <201001071730.o07HU3l1096213@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jason Helfman Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F36FE106566B for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/142429: USERS directive doesn't work as documented in Porter's Handbook X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2010 17:30:03 -0000 >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= do-install: ${INSTALL_SCRIPT} ${WRKSRC}/script.sh ${PREFIX}/bin .include >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: