From nobody@FreeBSD.org  Thu Sep 27 10:11:21 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id A104037B42B
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Sep 2001 10:11:21 -0700 (PDT)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f8RHBLK67833;
	Thu, 27 Sep 2001 10:11:21 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200109271711.f8RHBLK67833@freefall.freebsd.org>
Date: Thu, 27 Sep 2001 10:11:21 -0700 (PDT)
From: Michael Wayne <wayne@staff.msen.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Change ports system to note installs outside of /usr/ports
X-Send-Pr-Version: www-1.0

>Number:         30874
>Category:       ports
>Synopsis:       Change ports system to note installs outside of /usr/ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 27 10:20:01 PDT 2001
>Closed-Date:    Thu Sep 27 15:19:29 PDT 2001
>Last-Modified:  Thu Sep 27 15:19:41 PDT 2001
>Originator:     Michael Wayne
>Release:        4.3 RELEASE -p19
>Organization:
Msen, Inc.
>Environment:
FreeBSD dns3.msen.com 4.3-RELEASE-p19 FreeBSD 4.3-RELEASE-p19 #2: Tue Sep 11 17:23:02 EDT 2001 root@stats2.msen.com:/usr/obj/usr/src/sys/GENERICkbd i386
>Description:
When building a port, make install writes files, including work/.install_done
into the /usr/prots tree.  As make install is normally run by root, this
means that companies trying to NFS mount a single copy of/usr/ports are 
required to mount it write enabled AND -maproot=root.
Also, it is not intuitive that one must do make reinstall on a new machine
to circumvent the ports system.
>How-To-Repeat:
NFS mount /usr/ports read only and try to make install
>Fix:
Move the files read/written by make install and make reinstall 
from the ports work directory to /var/db/pkg/<PORT NAME>.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: sf 
State-Changed-When: Thu Sep 27 15:19:29 PDT 2001 
State-Changed-Why:  
use WRKDIRPREFIX. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30874 
>Unformatted:
