[Patch] Add .tar.lzma support to setup

Charles Wilson cygwin@cwilson.fastmail.fm
Mon Jun 30 05:45:00 GMT 2008


This patch depends on the one posted here:
http://cygwin.com/ml/cygwin-apps/2008-06/msg00106.html

Using the lzma code from lzma-sdk 4.58, I've added support for .tar.lzma 
files to setup. The lzma-sdk code is available under the following terms:

    1. GNU Lesser General Public License (GNU LGPL)
    2. Common Public License (CPL)
    3. Simplified license for unmodified code (read SPECIAL EXCEPTION)
    4. Proprietary license

I had to modify the code to add c++ guards, so #3 is out (as is #4, 
natch). But, I think LGPL is ok for setup code, right? (And, of course, 
my new code is provided under the GPL like most of the rest of the setup 
code).

This has only been briefly tested, but it successfully unpacks several 
tarballs and I inspected its internal behavior to make sure that all the 
buffers had to get refilled and there were no obvious pointer or 
counting errors. I can't rule out non-obvious ones, tho. <g>

--
Chuck

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: setup-lzma.changelog
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20080630/fe8f963f/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: setup-lzma.patch
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20080630/fe8f963f/attachment-0001.ksh>


More information about the Cygwin-apps mailing list