From owner-freebsd-ports Sat Sep 9 9:46:31 2000 Delivered-To: freebsd-ports@freebsd.org Received: from radon.gryphonsoft.com (mcut-b-167.resnet.purdue.edu [128.211.209.167]) by hub.freebsd.org (Postfix) with ESMTP id 8EB8F37B42C; Sat, 9 Sep 2000 09:46:29 -0700 (PDT) Received: by radon.gryphonsoft.com (Postfix, from userid 1000) id 9BCA318A2; Sat, 9 Sep 2000 11:43:36 -0500 (EST) Date: Sat, 9 Sep 2000 11:43:36 -0500 From: Will Andrews To: Satoshi - Ports Wraith - Asami Cc: Neil Blakey-Milner , Will Andrews , FreeBSD Ports Subject: Re: Ports Options Paper Message-ID: <20000909114336.R632@radon.gryphonsoft.com> Reply-To: Will Andrews Mail-Followup-To: Will Andrews , Satoshi - Ports Wraith - Asami , Neil Blakey-Milner , FreeBSD Ports References: <20000903052226.E1205@radon.gryphonsoft.com> <200009082243.e88Mh9V05579@silvia.hip.berkeley.edu> <20000909020702.A64259@mithrandr.moria.org> <20000909044544.B67715@mithrandr.moria.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from asami@FreeBSD.org on Fri, Sep 08, 2000 at 11:11:13PM -0700 X-Operating-System: FreeBSD 4.1-STABLE i386 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Sep 08, 2000 at 11:11:13PM -0700, Satoshi - Ports Wraith - Asami wrote: > If nobody can think of a problem with this approach, I'll go write a > couple of these (emacs, apache comes to mind). :) I suggested one. Why not create a VIRTUAL_PKGS variable that specificies virtual packages a package creates, and add code to pkg_create where it will maintain a file ${PKG_DBDIR}/virtual with a listing of these files, and modify the code where ${PKG_DBDIR}/${PKGNAME}/+REQUIRED_BY is modified so that virtual packages are prepended with a "virtual+" line. Or perhaps that should be in uppercase, to prevent namespace conflicts (since we explicitly disallow ports with uppercase, unless there's good reason etc). I think that is *THE* best way, because it won't require more inodes, but rather just a little more code. -- Will Andrews GCS/E/S @d- s+:+ a--- C++ UB++++$ P+ L- E--- W+ N-- !o ?K w--- O- M+ V- PS+ PE++ Y+ PGP+>+++ t++ 5 X+ R+ tv+ b++ DI+++ D+ G++ e>++++ h! r- y? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message