From owner-freebsd-ports@FreeBSD.ORG Wed Jan 6 21:13:12 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 347AD106566C for ; Wed, 6 Jan 2010 21:13:12 +0000 (UTC) (envelope-from jhelfman@e-e.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [64.156.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 216E58FC1B for ; Wed, 6 Jan 2010 21:13:11 +0000 (UTC) Received: from eggman.experts-exchange.com (unknown [72.29.180.81]) by mail.experts-exchange.com (Postfix) with ESMTP id E77234A6FF39 for ; Wed, 6 Jan 2010 12:21:10 -0800 (PST) Received: by eggman.experts-exchange.com (sSMTP sendmail emulation); Wed, 06 Jan 2010 12:26:58 -0800 Date: Wed, 6 Jan 2010 12:26:58 -0800 From: Jason To: freebsd-ports@freebsd.org Message-ID: <20100106202657.GD93034@eggman.experts-exchange.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-Operating-System: FreeBSD 7.2-RELEASE-p4 X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.20 (2009-06-14) Subject: UIDs question X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 21:13:12 -0000 Hi, I am new to building ports, however I have started to get the hang of things. I am not building any ports that I intend on submitting to FreeBSD, yet, however maybe that isn't too far off :) I've used a guide I found to create a local ports repository that is working out wonderfully with the existing ports tree under /usr/ports My tree is under /usr/ports/local, and I found a way to integrate a local UIDs and GIDs file, by setting this variable in my Makefile: UID_FILES:=${PORTSDIR}/local/UIDs When I go to install my port it installs the user as expected, however it fails on the ${INSTALL_PROGRAM} function. I understand this is just using "install" with the appropriate flags. Obviously, the port doesn't install. If I run it again, the user is already on the system, and the port installs successfully. I was wondering if there is a way to have the port install the user using the native USERS or GROUPS directives in the do-install phase with the INSTALL macros, or if there is a more suggested, or conventional, way of doing this operation. Thanks in advance! Jason