From owner-freebsd-ports Mon May 29 4:30:41 2000 Delivered-To: freebsd-ports@freebsd.org Received: from radiac.mine.nu (h20n1fls21o974.telia.com [213.64.95.20]) by hub.freebsd.org (Postfix) with ESMTP id 70A1B37BBB5 for ; Mon, 29 May 2000 04:30:35 -0700 (PDT) (envelope-from ps@radiac.mine.nu) Received: (from ps@localhost) by radiac.mine.nu (8.9.3/8.9.3) id NAA87897; Mon, 29 May 2000 13:30:16 +0200 (CEST) (envelope-from ps) Date: Mon, 29 May 2000 13:30:15 +0200 From: Patrik Sundberg To: Neil Blakey-Milner Cc: Clive Lin , ports@FreeBSD.ORG Subject: Re: Feature request Message-ID: <20000529133015.A87849@radiac.mine.nu> References: <20000529095445.A86482@radiac.mine.nu> <20000529173145.A17004@host.cer.ntnu.edu.tw> <20000529122403.A87267@radiac.mine.nu> <20000529132335.A19617@mithrandr.moria.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000529132335.A19617@mithrandr.moria.org>; from nbm@mithrandr.moria.org on Mon, May 29, 2000 at 01:23:36PM +0200 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, May 29, 2000 at 01:23:36PM +0200, Neil Blakey-Milner wrote: > On Mon 2000-05-29 (12:24), Patrik Sundberg wrote: > > yes - in a way, but that wasn't what I wrote, I talked about the problem of > > new versions using bogus @pkgdep's in their CONTENTS-files. But my proposed > > scheme with multilevel /var/db/pkg-entries could maybe fit into an upgrade > > scheme aswell - needs to know when to move the +REQUIRED_BY entries and > > other stuff too, upgrade is bigger than what I am talking about. > > I can't see the major difference between "/var/db/pkg/gtk-1.2.3" and > "/var/db/pkg/gtk/1.2.3". > > Why would we want the multilevel /var/db/pkg system again? My idea was to have a common dir to look for "any-version" in eg /var/db/gtk. If some version exists we can register the port we are installing with that gtk version and dependencies are correct. Today it will try to register with the portversion in /usr/ports which isn't (always) what is installed. With a one-level struct we can achieve the same thing, but then we need do some regexp on every portdirname in /var/db/pkg to see if it matches our name - i really don't like that idea. that's why I began thinking in multi-level /var/db/pkg system. does this seem totally stupid? (it doesn't to me, but i am not familiar with how big a change this is :)) -- Patrik Sundberg - email: ps@raditex.se || ps@radiac.mine.nu ---> telefon: 013-178 567 - mobiltelefon: 070-760 22 40 <--- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message