From owner-freebsd-arch Tue Jul 9 15:55:25 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5825C37B400; Tue, 9 Jul 2002 15:55:23 -0700 (PDT) Received: from thuvia.demon.co.uk (thuvia.demon.co.uk [193.237.34.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id 662B143E09; Tue, 9 Jul 2002 15:55:21 -0700 (PDT) (envelope-from mark@thuvia.demon.co.uk) Received: from dotar.thuvia.org (dotar.thuvia.org [10.0.0.4]) by phaidor.thuvia.org (8.11.6/8.11.6) with ESMTP id g69Mt4b19446; Tue, 9 Jul 2002 23:55:05 +0100 (BST) (envelope-from mark@thuvia.demon.co.uk) Received: from dotar.thuvia.org (localhost [IPv6:::1]) by dotar.thuvia.org (8.12.3/8.12.3) with ESMTP id g69Mt4KC011432; Tue, 9 Jul 2002 23:55:04 +0100 (BST) (envelope-from mark@dotar.thuvia.org) Received: (from mark@localhost) by dotar.thuvia.org (8.12.3/8.12.3/Submit) id g69Mt3n8011431; Tue, 9 Jul 2002 23:55:03 +0100 (BST) Date: Tue, 9 Jul 2002 23:55:03 +0100 (BST) From: Mark Valentine Message-Id: <200207092255.g69Mt3n8011431@dotar.thuvia.org> In-Reply-To: Wes Peters's message of Jul 8, 3:41pm X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: Wes Peters Subject: Re: Package system flaws? Cc: Doug Barton , Garrett Wollman , arch@freebsd.org Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: Wes Peters > Date: Mon 8 Jul, 2002 > Subject: Re: Package system flaws? > Mark Valentine wrote: > > Example 1: simple package, not sub-packaged. > > > > $ ls /var/spool/pkg/foo-x.y > > base.bz2 package.xml > > Ick. Why not have the XML include the base.bz2 file in whatever encoding > (including direct binary) we deem appropriate? That requires special tools to extract base.bz2 conveniently. > If you want truly > minimal package sizes, specify the blob(s) as external URLs rather than > encoding them. That's effectively identical to the behaviour implicit in my proposal. > Come to think if it, it would be a simple transformation to "convert" a > package from external references to a full binary, with something like > a pkg_fetch command. It would read a package with external URLs for > the filesets, fetch them, and re-write the package with the blobs > encased. tar(1) is a simpler conversion. ;-) Cheers, Mark. -- Mark Valentine, Thuvia Labs "Tigers will do ANYTHING for a tuna fish sandwich." Mark Valentine uses "We're kind of stupid that way." *munch* *munch* and endorses FreeBSD -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message