Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jul 2002 18:15:06 +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:  <200207111715.g6BHF6nb072300@dotar.thuvia.org>
In-Reply-To: Wes Peters's message of Jul 10, 11:55pm

next in thread | raw e-mail | index | archive | help
> From: Wes Peters <wes@softweyr.com>
> Date: Wed 10 Jul, 2002
> Subject: Re: Package system flaws?

> > > 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".

It has side effects, though it may be the case that it has sufficient
options to turn them all off.

> Tar sucks for trying to extract the metadata only.

I only used tar as one particular bundling example, but it seems to serve the
purpose with:

    tar --extract --to-stdout --fast-read --file foo-x.y.tar package.xml

> tar is fine for balling up groups of files, let's leave it at that.

That's all I was using for.  Note that my updated examples showed a scheme
identical to the variant of your proposal which used external file references,
which I like better.  The bundled variant was simply intended to make transport
of packages more convenient, at the expense of convenient direct access to the
files.

		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?200207111715.g6BHF6nb072300>