Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 2009 23:44:50 -0700
From:      Tim Kientzle <kientzle@freebsd.org>
To:        =?ISO-8859-1?Q?Horst_G=FCnther_Burkhardt_III?= <horst@sxemacs.org>
Cc:        current@freebsd.org
Subject:   lzma and bsdtar
Message-ID:  <4A222762.4040505@freebsd.org>
In-Reply-To: <1243743036.16061.17.camel@horst-tla>
References:  <57200BF94E69E54880C9BB1AF714BBCB5DE72E@w2003s01.double-l.local>	 <4A20D97B.1030609@freebsd.org> <20090530070306.GQ48776@hoeg.nl>	 <200905301224.40156.mel.flynn%2Bfbsd.current@mailing.thruhere.net>	 <4A21F067.6000202@freebsd.org> <1243743036.16061.17.camel@horst-tla>

next in thread | previous in thread | raw e-mail | index | archive | help
Horst Günther Burkhardt III wrote:
> 
> Just as an aside, are you guys still not supporting lzma in bsdtar?

bsdtar in -CURRENT does support lzma and xz compression
and decompression by feeding the data through the external
lzma, unlzma, xz, and unxz command-line programs.  This
only works if you have those programs installed from the
archivers/lzmautils-devel port, of course, and it's
significantly slower than using the library support.

There is an option in libarchive to compile against the
liblzma library for direct support of these formats.
Of course, that requires you to have the libraries
installed first (from archivers/lzmautils-devel port)
and then recompiling libarchive.  (See comments in
/usr/src/lib/libarchive/Makefile for how to turn on
the liblzma support.)

I would like to import liblzma (not liblzmadec) into
the FreeBSD base system.  Liblzma is generously licensed
and supports both writing and reading and also supports
the newer "xz" file format.  Once that is done, we can
turn on the full libarchive/bsdtar support for lzma/xz
by default.  I don't have time to work on this right now,
unfortunately.

Tim




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