From owner-cvs-src@FreeBSD.ORG Mon Aug 21 11:55:10 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7952216A4DF; Mon, 21 Aug 2006 11:55:10 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from koef.zs64.net (koef.zs64.net [213.238.47.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23FEB43D66; Mon, 21 Aug 2006 11:55:05 +0000 (GMT) (envelope-from stb@lassitu.de) Received: (from stb@koef.zs64.net) (authenticated) by koef.zs64.net (8.13.8/8.13.7) with ESMTP id k7LBsrZ5011101 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Mon, 21 Aug 2006 13:55:04 +0200 (CEST) (envelope-from stb@lassitu.de) In-Reply-To: <1156159640.53353.29.camel@mayday.esat.net> References: <200601161951.k0GJpfNx017833@repoman.freebsd.org> <20060821080945.A48690@p-i-n.com> <20060821110753.GA99959@xor.obsecurity.org> <1156159640.53353.29.camel@mayday.esat.net> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <554420D3-22CD-4610-9ACB-015F43A43C9F@lassitu.de> Content-Transfer-Encoding: 7bit From: Stefan Bethke Date: Mon, 21 Aug 2006 13:54:52 +0200 To: Florent Thoumie X-Mailer: Apple Mail (2.752.2) Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: 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) X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Aug 2006 11:55:10 -0000 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 Fon +49 170 346 0140