On 20.12.2011 16:41, Patrick Lamaiziere wrote:> Hello,
>
> Looks like tar -xf with zip archive is broken on 9.0. It creates the
> directories but files are empty.
>
> See with nagios-checker firefox plugin (.xpi which is a zip file)
>
http://code.google.com/p/nagioschecker/downloads/detail?name=nagioschecker-0.16.xpi&can=2&q>
> total 20
> drwxr-xr-x 4 patrick patrick 6 20 d?c 16:35 ./
> drwxr-xr-x 43 patrick patrick 89 20 d?c 16:34 ../
> drwxr-xr-x 3 patrick patrick 3 20 d?c 16:35 chrome/
> -rwxr-xr-x 1 patrick patrick 0 15 d?c 2010 chrome.manifest*
> drwxr-xr-x 3 patrick patrick 3 20 d?c 16:35 defaults/
> -rwxr-xr-x 1 patrick patrick 0 31 d?c 2010 install.rdf*
>
> On 8.2 that works fine.
>
> Regards.
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to
"freebsd-stable-unsubscribe@freebsd.org"
This is a libarchive bug.
Fixed in upstream r3723:
http://code.google.com/p/libarchive/source/detail?r=3723
I am preparing a libarchive update to 2.8.5 + recent SVN bugfixes. This
won't make it to 9.0, though.
--
Martin Matuska
FreeBSD committer
http://blog.vx.sk