summaryrefslogtreecommitdiff
path: root/testing/file/file-5.07-zip-detect.patch
blob: ce433bb901cde68c149c2e40bfb4e5483ebe4b64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
diff -Naur file-5.07-orig//magic/Magdir/archive file-5.07/magic/Magdir/archive
--- file-5.07-orig//magic/Magdir/archive	2011-04-24 01:02:48.000000000 +1000
+++ file-5.07/magic/Magdir/archive	2011-07-14 11:55:11.821178049 +1000
@@ -1,5 +1,5 @@
 #------------------------------------------------------------------------------
-# $File: archive,v 1.63 2011/04/23 15:02:48 christos Exp $
+# $File: archive,v 1.66 2011/05/25 17:45:54 christos Exp $
 # archive:  file(1) magic for archive formats (see also "msdos" for self-
 #           extracting compressed archives)
 #
@@ -654,12 +654,6 @@
 >>>>78	string	-template		Template
 !:mime	application/vnd.oasis.opendocument.image-template
 
-# StarView Metafile
-# From Pierre Ducroquet <pinaraf@pinaraf.info>
-0	string	VCLMTF	StarView MetaFile
->6	beshort	x	\b, version %d
->8	belong	x	\b, size %d
-
 #  EPUB (OEBPS) books using OCF (OEBPS Container Format)
 #    From: Adam Buchbinder <adam.buchbinder@gmail.com>
 #    http://www.idpf.org/ocf/ocf1.0/download/ocf10.htm, section 4.
@@ -692,8 +686,15 @@
 >>4	byte		0x09		\b, at least v0.9 to extract
 >>4	byte		0x0a		\b, at least v1.0 to extract
 >>4	byte		0x0b		\b, at least v1.1 to extract
->>0x161	string		WINZIP		\b, WinZIP self-extracting
 >>4	byte		0x14		\b, at least v2.0 to extract
+>>4	byte		0x2d		\b, at least v3.0 to extract
+>>0x161	string		WINZIP		\b, WinZIP self-extracting
+
+# StarView Metafile
+# From Pierre Ducroquet <pinaraf@pinaraf.info>
+0	string	VCLMTF	StarView MetaFile
+>6	beshort	x	\b, version %d
+>8	belong	x	\b, size %d
 
 # Zoo archiver
 20	lelong		0xfdc4a7dc	Zoo archive data