Subject: Re: pkg_info broken for meta-pkgs
To: Gavan Fantom <gavan@coolfactor.org>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 08/06/2004 11:20:54
--Qbvjkv9qwOGw/5Fx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thu, Aug 05, 2004 at 11:41:58AM +0100, Gavan Fantom wrote:

> Is pkg_info being too harsh in treating a warning from tar as an error?

yes, though I think this has been fixed in NetBSD-current.

> The best solution to this would seem to be to teach pkg_info to choose the
> files it wishes to extract more carefully, based on the flags given.
> Alternatively, should it just extract all files starting with a + sign?

that's how GNU tar's --fast-read worked, pkg_info used to call "tar
zxf blah.tgz +*" but in pax-as-tar that extracts the first file
starting with a + and then exits.

grant.


--Qbvjkv9qwOGw/5Fx
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFBEtz2luYOb9yiFXoRAnPRAKCm8UpDnS+se3Lp2EW+cqRGOPNHMwCgkRSf
bpax/3h6SQ2gTMbcv1xgC60=
=kU86
-----END PGP SIGNATURE-----

--Qbvjkv9qwOGw/5Fx--