archivers/unzip vs tar -xf

Alex Kozlov spam at rm-rf.kiev.ua
Mon Jun 6 21:29:01 UTC 2011


On Mon, Jun 06, 2011 at 11:50:36AM -0700, Xin LI wrote:
> On Mon, Jun 6, 2011 at 10:20 AM, Eir Nym <eirnym at gmail.com> wrote:
>> Since FreeBSD 5.4.0-Release libarchive(3) support to unpack zip files.
>> Why not to use it to unpack distributives to workdir?
>>
>> I've downloaded all distros and tried to unpack them all with tar(1)
>> with no problems. I use FreeBSD 9.0-CURRENT r222717.
> I think the reason is that at the beginning tar(1) does not work for a
> little fraction of distfiles, but yes, I think it's reasonable to take
> a step forward and add a new option to force using the info-zip
> implementation.
Firstly, pr153429 need to be committed, after this exp-run with native
unzip must be done. While only 4-5 distributives can't be extracted by native
unzip, problem with incorrect permissions after extraction exists in
significant numbers of cases.


--
Adios


More information about the freebsd-ports mailing list