Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2002 23:55:03 +0100 (BST)
From:      Mark Valentine <mark@thuvia.demon.co.uk>
To:        Wes Peters <wes@softweyr.com>
Cc:        Doug Barton <DougB@freebsd.org>, Garrett Wollman <wollman@lcs.mit.edu>, arch@freebsd.org
Subject:   Re: Package system flaws?
Message-ID:  <200207092255.g69Mt3n8011431@dotar.thuvia.org>
In-Reply-To: Wes Peters's message of Jul  8,  3:41pm

next in thread | raw e-mail | index | archive | help
> From: Wes Peters <wes@softweyr.com>
> 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 <mark@thuvia.co.uk>       <http://www.thuvia.co.uk>;
"Tigers will do ANYTHING for a tuna fish sandwich."       Mark Valentine uses
"We're kind of stupid that way."   *munch* *munch*        and endorses FreeBSD
  -- <http://www.calvinandhobbes.com>;                  <http://www.freebsd.org>;

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207092255.g69Mt3n8011431>