From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 25 11:23:37 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D387106567A for ; Tue, 25 Nov 2008 11:23:37 +0000 (UTC) (envelope-from bf2006a@yahoo.com) Received: from web39105.mail.mud.yahoo.com (web39105.mail.mud.yahoo.com [209.191.87.224]) by mx1.freebsd.org (Postfix) with SMTP id F3BB78FC19 for ; Tue, 25 Nov 2008 11:23:36 +0000 (UTC) (envelope-from bf2006a@yahoo.com) Received: (qmail 69214 invoked by uid 60001); 25 Nov 2008 10:56:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=k7JBxpoTrxzQljPSBx3lioJ8FeGGKx1i4tYh101VkWTQ7SYfFYpslP1hhmhog7G2aZhMceOQM1YEyMltWgYFg0kq+TfT+K3pc1/BuiTGZmGOx3uXWvtfonqWcz17aIPDCfIClJTxCn9TE9BqLmkGUWTkGNRK3tzaYNc1Ju85G8g=; X-YMail-OSG: vGTUawQVM1nmhUeQottyeX2U1EbHLSXwmIVhVWXjQFrNwOB9il4O51th1XCqCP133pHLBJaAnK0avY_Kv0SJWtbt78nqQSL.53ZRhI3c0izym5Yet2wurmqrGJ9jWWkj3dxi3JAWzVI15zU5D9QcW0lrSIs2zy2P6SLtcZfKtHcnmyp6khKVheT4tN3P5IhMv1.x07rbS267gCA- Received: from [78.107.237.16] by web39105.mail.mud.yahoo.com via HTTP; Tue, 25 Nov 2008 02:56:55 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Tue, 25 Nov 2008 02:56:55 -0800 (PST) From: bf To: Tim Kientzle MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <259774.68895.qm@web39105.mail.mud.yahoo.com> X-Mailman-Approved-At: Tue, 25 Nov 2008 12:30:41 +0000 Cc: freebsd-hackers@FreeBSD.org Subject: lzma compression/decompression in bsdtar/libarchive? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf2006a@yahoo.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2008 11:23:37 -0000 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 wrote: > From: bf > Subject: Re: bsdtar/libarchive > To: "Tim Kientzle" > 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 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 > > >