Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jul 2011 13:56:28 -0500
From:      Stephen Montgomery-Smith <stephen@missouri.edu>
To:        Dieter BSD <dieterbsd@engineer.com>
Cc:        "freebsd@sopwith.solgatos.com" <freebsd@sopwith.solgatos.com>, "freebsd@fokker.solgatos.com" <freebsd@fokker.solgatos.com>, FreeBSD Ports <freebsd-ports@freebsd.org>, "bug-followup@freebsd.org" <bug-followup@freebsd.org>
Subject:   Re: ports/158179: some packages do not fully honor -P dir option in pkg_add(1)
Message-ID:  <4E25D35C.3030303@missouri.edu>
In-Reply-To: <20110719184133.185870@gmx.com>
References:  <20110719184133.185870@gmx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 07/19/2011 01:41 PM, Dieter BSD wrote:
>> 1.  Spell out very clearly its purpose - is it to populate a jail, for
>> example?
>
> Populating a chroot/jail is one purpose.
>
> Another is to test a new version of a package without messing up the
> existing version.

I don't see how these two goals are compatible.  Any programs installed 
for the purpose of a chroot/jail will have to point to $PREFIX, whereas 
any programs installed for the purpose of testing it elsewhere will 
either have to point to $PREFIX (if the stuff it is pointing to was not 
installed by the current package and the "-p" option was invoked), or to 
$PKG_PREFIX (if the stuff it is pointing to was installed by the current 
package or the "-P" option was invoked).




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