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 19:00:25 UTC 2011
The following reply was made to PR ports/158179; it has been noted by GNATS.
From: Stephen Montgomery-Smith <stephen at missouri.edu>
To: Dieter BSD <dieterbsd at engineer.com>
Cc: "bug-followup at freebsd.org" <bug-followup at freebsd.org>,
"freebsd at sopwith.solgatos.com" <freebsd at sopwith.solgatos.com>,
"freebsd at fokker.solgatos.com" <freebsd at fokker.solgatos.com>,
FreeBSD Ports <freebsd-ports at freebsd.org>
Subject: Re: ports/158179: some packages do not fully honor -P dir option
in pkg_add(1)
Date: Tue, 19 Jul 2011 13:56:28 -0500
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-bugs
mailing list