ports/158179: some packages do not fully honor -P dir option in pkg_add(1)

Stephen Montgomery-Smith stephen at missouri.edu
Tue Jul 19 18:56:31 UTC 2011


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).



More information about the freebsd-ports mailing list