lzma compression/decompression in bsdtar/libarchive?

bf bf2006a at yahoo.com
Tue Nov 25 03:23:37 PST 2008


Tim:

There is good news: Igor Pavlov, the primary author of the original LZMA
SDK, has placed the latest version, available at:

http://downloads.sourceforge.net/sevenzip/lzma461.tar.bz2

into the public domain.  It's a mix of ANSI-C and C++ code, and so it
would seem suitable for adoption into the FreeBSD source tree in some
form that could be integrated with bsdtar/libarchive.  What do you 
think?  It would be *really* nice to have this, since in many ways
it is better than bzip2, and many projects have started to distribute
code in lzma-compressed tarballs.  It could help us save disk space
and network throughput, and help us with the current problems in 
shoehorning releases onto as few cds as possible, etc.

Regards,
           b.



--- On Thu, 3/6/08, bf <bf2006a at yahoo.com> wrote:

> From: bf <bf2006a at yahoo.com>
> Subject: Re: bsdtar/libarchive
> To: "Tim Kientzle" <kientzle at freebsd.org>
> Date: Thursday, March 6, 2008, 1:52 PM
> Yes, the LZMA implementations that I have seen are
> LGPL, CPL, and/or GPL:
> 
> http://www.7-zip.org/sdk.html
> http://tukaani.org/lzma/
> 
> I will inquire if anyone knows of a BSD-licensed
> alternative.  I was hoping that portmgr would make
> some minimal changes to encourage people to take
> advantage of the LZMA port distfiles that are now
> available, but it would be nice to have it available
> in the base, too.
> 
> Regards,
> 
> bf
> 
> 
> 
> --- Tim Kientzle <kientzle at freebsd.org> wrote:
> 
> > This would first require incorporating a
> > BSD-licensed LZMA
> > library into the base system.  Last I checked, the
> > LZMA
> > code was all GPL, but that may have changed.  (I
> > seem to recall finding suitable decompression code
> > at one point, but that's not sufficient for this
> > type
> > of change.)
> > 
> > After that hurdle, incorporating LZMA support into
> > libarchive is pretty straightforward.  Once
> > libarchive
> > supports it, bsdtar gets it pretty much for free.
> > 
> > Tim
> > 
> > bf wrote:
> > > Perhaps you have some comments or suggestions?:
> > > 
> > > 
> > >
> >
> http://www.FreeBSD.org/cgi/query-pr.cgi?pr=ports/121413
> > > 
> > > 
> > > Regards,
> > > bf
> > > 



      


More information about the freebsd-hackers mailing list