PKGDIR ambiguous (was: cvs commit:
src/usr.sbin/pkg_install/info info.h main.c perform.c
pkg_info.1 src/usr.sbin/pkg_install/add add.h main.c
perform.c pkg_add.1 src/usr.sbin/pkg_install/lib lib.h url.c)
Stefan Bethke
stb at lassitu.de
Mon Aug 21 11:55:10 UTC 2006
Am 21.08.2006 um 13:27 schrieb Florent Thoumie:
> On Mon, 2006-08-21 at 07:07 -0400, Kris Kennaway wrote:
>> Yes, PKGDIR is incorrect in this usage. The documented place where
>> packages are stored is:
>>
>> # PACKAGES - A top level directory where all packages
>> go (rather than
>> # going locally to each port).
>> # Default: ${PORTSDIR}/packages
>> #
>
> PACKAGES is a better choice than PKGDIR, but I'd like to avoid
> confusion
> between "cached" packages (as in, copies of downloaded packages), and
> "home-brewed" packages. That's why I was proposing PKG_CACHEDIR.
>
> Moreover, I think there's no easy way to find the category of a
> package
> before it is downloaded.
They go into ${PACKAGES}/All, and symlinks are created in the
category directories.
Stefan
--
Stefan Bethke <stb at lassitu.de> Fon +49 170 346 0140
More information about the cvs-src
mailing list