source: patches/file-5.00-new_compressors-1.patch@ 697d86d

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 697d86d was 89bc6ed, checked in by Jim Gifford <clfs@…>, 16 years ago

Added Patches to File, Man, Tar, and Texinfo to support XZ Utils - Patches

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[89bc6ed]1Submitted By: Jim Gifford <jim at cross-lfs dot org>
2Date: 2009-03-01
3Initial Package Version: 5.00
4Upstream Status: Unknown
5Origin: Jim Gifford
6Description: For using xz compression
7
8diff -Naur file-5.00.orig/magic/Magdir/compress file-5.00/magic/Magdir/compress
9--- file-5.00.orig/magic/Magdir/compress 2008-11-26 06:14:00.000000000 -0800
10+++ file-5.00/magic/Magdir/compress 2009-03-01 23:31:49.670919682 -0800
11@@ -188,6 +188,19 @@
12 >6 byte x version %d
13 >7 byte x \b.%d
14
15+# XZ (Lempel-Ziv-Markov chain-Algorithm) file format supported by:
16+# - 7-Zip <http://7-zip.org/>
17+# - LZMA SDK <http://7-zip.org/sdk.html>
18+# - LZMA Utils <http://tukaani.org/lzma/>
19+#
20+# Note that this is different format than the original format created
21+# by LZMA_Alone from older versions of LZMA SDK. These files are
22+# non-trivial to detect, because they have no magic bytes.
23+#
24+0 ustring \xFD7zXZ\x00 xz compressed data,
25+>6 ubyte&0x10 0x00 single-block stream
26+>6 ubyte&0x10 0x10 multi-block stream
27+
28 # Type: LZMA
29 # URL: http://www.7-zip.org/sdk.html
30 # From: Robert Millan <rmh@aybabtu.com> and Reuben Thomas <rrt@sc3d.org>
Note: See TracBrowser for help on using the repository browser.