Bernhard Rosenkraenzer wrote:
> $ cvs diff -u -r1.2 -r1.3 rpm2cpio
> --- rpm/scripts/rpm2cpio 25 May 2007 18:34:16 -0000 1.2
> +++ rpm/scripts/rpm2cpio 12 Oct 2007 19:50:37 -0000 1.3
> +else
> + # Most versions of file don't support LZMA, therefore we assume
> + # anything not detected is LZMA
> + DECOMPRESSOR="lzmash -d -c"
> +fi
> +
> +dd if=$pkg ibs=$o skip=1 2>/dev/null | $DECOMPRESSOR
Shouldn't this use the new "lzma" command from LZMA Utils 4.32,
rather than the old "lzmash" shell wrapper script for LZMA SDK ?
(the old "lzma" command from LZMA Utils 4.27 and/or LZMA SDK has
now been renamed as "lzma_alone" instead, to avoid name conflicts)
See http://tukaani.org/lzma/history and http://7-zip.org/sdk.html
LZMA Utils 4.42 is the best version since it has file magic and is
written in C (not C++), but unfortunately it is still in alpha...
The new LZMA format specification draft text is available online
at http://tukaani.org/lzma/header-format-14.txt now, by the way.
But 4.32.0beta5 ("lzma") should be better than 4.27.1 ("lzmash") ?
--anders
Received on Sun Oct 14 11:43:48 2007