From owner-freebsd-arch Wed Jul 10 23:51: 1 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 97C4737B400; Wed, 10 Jul 2002 23:50:59 -0700 (PDT) Received: from softweyr.com (softweyr.com [65.88.244.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1D0243E4A; Wed, 10 Jul 2002 23:50:58 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from nextgig-9.customer.nethere.net ([209.132.102.169] helo=softweyr.com) by softweyr.com with esmtp (Exim 3.35 #1) id 17SXms-000O8W-00; Thu, 11 Jul 2002 00:50:51 -0600 Message-ID: <3D2D2BC9.7C3D1F82@softweyr.com> Date: Wed, 10 Jul 2002 23:55:05 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Mark Valentine Cc: Doug Barton , Garrett Wollman , arch@freebsd.org Subject: Re: Package system flaws? References: <200207092255.g69Mt3n8011431@dotar.thuvia.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Mark Valentine wrote: > > > 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. Uh, yeah, that tool is "pkg_add". > > 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. ;-) Tar sucks for trying to extract the metadata only. Give it up dude, tar just ain't where it's at for this. tar is fine for balling up groups of files, let's leave it at that. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message