From owner-freebsd-ports Sun Jan 9 9:53:30 2000 Delivered-To: freebsd-ports@freebsd.org Received: from florence.pavilion.net (florence.pavilion.net [212.74.0.25]) by hub.freebsd.org (Postfix) with ESMTP id 8B95314F27; Sun, 9 Jan 2000 09:53:25 -0800 (PST) (envelope-from joe@florence.pavilion.net) Received: (from joe@localhost) by florence.pavilion.net (8.9.3/8.8.8) id RAA07218; Sun, 9 Jan 2000 17:53:15 GMT (envelope-from joe) Date: Sun, 9 Jan 2000 17:53:15 +0000 From: Josef Karthauser To: Satoshi - Ports Wraith - Asami Cc: Will Andrews , ports@FreeBSD.ORG Subject: Re: multi-level categories Message-ID: <20000109175315.G96061@florence.pavilion.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: X-NCC-RegID: uk.pavilion Organisation: Pavilion Internet plc, Lees House, 21-23 Dyke Road, Brighton, England Phone: +44-845-333-5000 Fax: +44-845-333-5001 Mobile: +44-403-596893 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Jan 08, 2000 at 03:04:27AM -0800, Satoshi - Ports Wraith - Asami wrote: > > Note that for most ports, this will mean ${FILESDIR} and ${PKGDIR} > will entirely dissapear since md5 is the only one in ${FILESDIR}. > This will be what you'll be getting with an "ls" with a typical port: > > 1 CVS/ 1 Makefile 1 PKGCOMMENT > 1 PKGDESCR 6 PKGPLIST 1 md5 > 1 patches/ > > As opposed to what we have now: > > 1 CVS/ 1 Makefile 1 files/ > 1 patches/ 1 pkg/ > > (Hmm, maybe I should call the package files "pkgCOMMENT" etc....) > > What do you think? > On a slightly different note... it would be really good if the pkg_install program could ask if you wanted to uninstall a previous version at install time. Part of why this isn't possible at the moment is that the /var/db/pkg hierarchy doesn't contain the actual package name anywhere, only the 'pkgname-version'. If the structure of the ports directory is seriously being reconsidered, isn't it time to reconsider the structure of the /var/db/pkg hierarchy as well to make it more future proof? Joe -- Josef Karthauser FreeBSD: Take the red pill and we'll show you just how Technical Manager deep the rabbit hole goes. (http://www.uk.freebsd.org) Pavilion Internet plc. [joe@pavilion.net, joe@freebsd.org, joe@tao.org.uk] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message