Date: Tue, 19 Jul 2011 19:00:24 GMT From: Stephen Montgomery-Smith <stephen@missouri.edu> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/158179: some packages do not fully honor -P dir option in pkg_add(1) Message-ID: <201107191900.p6JJ0OvX043105@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/158179; it has been noted by GNATS. From: Stephen Montgomery-Smith <stephen@missouri.edu> To: Dieter BSD <dieterbsd@engineer.com> Cc: "bug-followup@freebsd.org" <bug-followup@freebsd.org>, "freebsd@sopwith.solgatos.com" <freebsd@sopwith.solgatos.com>, "freebsd@fokker.solgatos.com" <freebsd@fokker.solgatos.com>, FreeBSD Ports <freebsd-ports@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).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107191900.p6JJ0OvX043105>