]> git.pld-linux.org Git - packages/file.git/blame - file-debian.patch
- updated to file 5.00
[packages/file.git] / file-debian.patch
CommitLineData
2507d101 1#!/bin/sh /usr/share/dpatch/dpatch-run
65ee9ebf 2## 202-magic-update-awk.dpatch by Werner Fink <werner@suse.de>
2507d101 3##
65ee9ebf 4## DP: Updates (and re-enables) awk magic.
2507d101
ER
5
6@DPATCH@
7
65ee9ebf
AM
8diff -Naurp file-4.24.orig/magic/Magdir/commands file-4.24/magic/Magdir/commands
9--- file-4.24.orig/magic/Magdir/commands 2008-05-04 14:12:49.000000000 +0000
10+++ file-4.24/magic/Magdir/commands 2008-05-21 09:36:15.000000000 +0000
11@@ -49,6 +49,7 @@
12 # update to distinguish from *.vcf files
13 # this is broken because postscript has /EBEGIN{ for example.
14 #0 search/Bb BEGIN { awk script text
15+0 regex =^\\s*BEGIN\\s*[{] awk script text
b04ec308 16
65ee9ebf
AM
17 # AT&T Bell Labs' Plan 9 shell
18 0 string/b #!\ /bin/rc Plan 9 rc shell script text executable
19#!/bin/sh /usr/share/dpatch/dpatch-run
20## 203-magic-update-reiserfs.dpatch by Werner Fink <werner@suse.de>
21##
22## DP: Updating reiserfs magic to detect ReiserFS V3.6.19.
23
24@DPATCH@
25
26diff -Naurp file-4.24.orig/magic/Magdir/filesystems file-4.24/magic/Magdir/filesystems
27--- file-4.24.orig/magic/Magdir/filesystems 2008-05-04 14:12:49.000000000 +0000
28+++ file-4.24/magic/Magdir/filesystems 2008-05-21 09:43:04.000000000 +0000
29@@ -1178,6 +1178,7 @@
30 # reiserfs - russell@coker.com.au
31 0x10034 string ReIsErFs ReiserFS V3.5
32 0x10034 string ReIsEr2Fs ReiserFS V3.6
33+0x10034 string ReIsEr3Fs ReiserFS V3.6.19
34 >0x1002c leshort x block size %d
35 >0x10032 leshort &2 (mounted or unclean)
36 >0x10000 lelong x num blocks %d
37#!/bin/sh /usr/share/dpatch/dpatch-run
38## 204-magic-update-asf.dpatch by Daniel Baumann <daniel@debian.org>
39##
40## DP: Add mime to asf magic.
41
42@DPATCH@
43
44diff -Naurp file.orig/magic/Magdir/animation file/magic/Magdir/animation
45--- file.orig/magic/Magdir/animation 2008-05-26 23:24:27.000000000 +0200
46+++ file/magic/Magdir/animation 2008-05-31 15:03:45.000000000 +0200
47@@ -686,6 +686,7 @@
9e8b1616 48
65ee9ebf
AM
49 # Microsoft Advanced Streaming Format (ASF) <mpruett@sgi.com>
50 0 belong 0x3026b275 Microsoft ASF
51+!:mime video/x-ms-asf
b04ec308 52
65ee9ebf
AM
53 # MNG Video Format, <URL:http://www.libpng.org/pub/mng/spec/>
54 0 string \x8aMNG MNG video data,
55#!/bin/sh /usr/share/dpatch/dpatch-run
56## 205-magic-update-tcsh.dpatch
57##
58## DP: Add another shebang path for tcsh.
59
60@DPATCH@
61
62diff -Naurp file.orig/magic/Magdir/commands file/magic/Magdir/commands
63--- file.orig/magic/Magdir/commands 2008-04-16 12:28:04.000000000 +0000
64+++ file/magic/Magdir/commands 2008-07-15 13:28:19.000000000 +0000
65@@ -12,6 +12,8 @@
66 !:mime text/x-shellscript
67 0 string/b #!\ /bin/tcsh Tenex C shell script text executable
68 !:mime text/x-shellscript
69+0 string/b #!\ /usr/bin/tcsh Tenex C shell script text executable
70+!:mime text/x-shellscript
71 0 string/b #!\ /usr/local/tcsh Tenex C shell script text executable
72 !:mime text/x-shellscript
73 0 string/b #!\ /usr/local/bin/tcsh Tenex C shell script text executable
74#!/bin/sh /usr/share/dpatch/dpatch-run
b04ec308
JB
75## 206-magic-update-bash.dpatch
76##
77## DP: Add another shebang path for bash.
65ee9ebf
AM
78
79@DPATCH@
80
b04ec308
JB
81diff -Naurp file.orig/magic/Magdir/commands file/magic/Magdir/commands
82--- file.orig/magic/Magdir/commands 2008-07-15 13:31:02.000000000 +0000
83+++ file/magic/Magdir/commands 2008-07-15 13:30:55.000000000 +0000
84@@ -58,6 +58,10 @@ o string/b #!\ /usr/bin/tcsh Tenex C she
85 # bash shell magic, from Peter Tobias (tobias@server.et-inf.fho-emden.de)
86 0 string/b #!\ /bin/bash Bourne-Again shell script text executable
87 !:mime text/x-shellscript
88+0 string/b #!\ /usr/bin/bash Bourne-Again shell script text executable
89+!:mime text/x-shellscript
90+0 string/b #!\ /usr/local/bash Bourne-Again shell script text executable
91+!:mime text/x-shellscript
92 0 string/b #!\ /usr/local/bin/bash Bourne-Again shell script text executable
93 !:mime text/x-shellscript
94
65ee9ebf
AM
95#!/bin/sh /usr/share/dpatch/dpatch-run
96## 207-magic-update-zip.dpatch
b04ec308 97##
65ee9ebf
AM
98## DP: Update zip magic.
99
100@DPATCH@
101
102diff -Naurp file.orig/magic/Magdir/msdos file/magic/Magdir/msdos
103--- file.orig/magic/Magdir/msdos 2008-05-31 22:17:03.000000000 +0200
104+++ file/magic/Magdir/msdos 2008-06-13 09:44:56.000000000 +0200
105@@ -256,7 +256,7 @@
106
107 # a few unknown ZIP sfxes, no idea if they are needed or if they are
108 # already captured by the generic patterns above
109->122 string Windows\ self-extracting\ ZIP \b, ZIP self-extracting archive
110+>0x7a string Windows\ self-extracting\ ZIP \b, ZIP self-extracting archive
111 >(8.s*16) search/0x20 PKSFX \b, ZIP self-extracting archive (PKZIP)
112 # TODO: how to add this? >FileSize-34 string Windows\ Self-Installing\ Executable \b, ZIP self-extracting archive
113 #
114#!/bin/sh /usr/share/dpatch/dpatch-run
115## 207-magic-update-real.dpatch
b04ec308 116##
65ee9ebf
AM
117## DP: Update RealMedia magic.
118
119@DPATCH@
120
121diff -Naurp file.orig/magic/Magdir/audio file/magic/Magdir/audio
122--- file.orig/magic/Magdir/audio 2008-05-31 22:17:03.000000000 +0200
123+++ file/magic/Magdir/audio 2008-06-13 09:48:01.000000000 +0200
124@@ -116,7 +116,7 @@
125 # Real Audio (Magic .ra\0375)
126 0 belong 0x2e7261fd RealAudio sound file
127 !:mime audio/x-pn-realaudio
128-0 string .RMF RealMedia file
129+0 string .RMF\0\0\0 RealMedia file
130 !:mime application/vnd.rn-realmedia
131 #video/x-pn-realvideo
132 #video/vnd.rn-realvideo
133#!/bin/sh /usr/share/dpatch/dpatch-run
134## 209-magic-update-os2.dpatch
2507d101 135##
65ee9ebf
AM
136## DP: Update OS/2 REXX magic.
137
138@DPATCH@
139
140diff -Naurp file.orig/magic/Magdir/msdos file/magic/Magdir/msdos
141--- file.orig/magic/Magdir/msdos 2008-06-13 09:44:56.000000000 +0200
142+++ file/magic/Magdir/msdos 2008-06-13 09:51:35.000000000 +0200
143@@ -14,8 +14,10 @@
2507d101 144
65ee9ebf
AM
145 # OS/2 batch files are REXX. the second regex is a bit generic, oh well
146 # the matched commands seem to be common in REXX and uncommon elsewhere
147-100 regex/c =^[\ \t]{0,10}call[\ \t]{1,10}rxfunc OS/2 REXX batch file text
148-100 regex/c =^[\ \t]{0,10}say\ ['"] OS/2 REXX batch file text
149+100 search/0xffff rxfuncadd
150+>100 regex/c =^[\ \t]{0,10}call[\ \t]{1,10}rxfunc OS/2 REXX batch file text
151+100 search/0xffff say
152+>100 regex/c =^[\ \t]{0,10}say\ ['"] OS/2 REXX batch file text
153
154 0 leshort 0x14c MS Windows COFF Intel 80386 object file
155 #>4 ledate x stamp %s
156#!/bin/sh /usr/share/dpatch/dpatch-run
b04ec308
JB
157## 210-magic-update-digifax.dpatch
158##
159## DP: Update Digifax magic.
65ee9ebf
AM
160
161@DPATCH@
162
b04ec308
JB
163diff -Naurp file.orig/magic/Magdir/modem file/magic/Magdir/modem
164--- file.orig/magic/Magdir/modem 2008-06-13 15:00:30.000000000 +0200
165+++ file/magic/Magdir/modem 2008-06-13 15:25:40.000000000 +0200
166@@ -2,9 +2,9 @@
167 # modem: file(1) magic for modem programs
2507d101 168 #
b04ec308
JB
169 # From: Florian La Roche <florian@knorke.saar.de>
170-4 string Research, Digifax-G3-File
171->29 byte 1 , fine resolution
172->29 byte 0 , normal resolution
173+1 string PC\ Research,\ Inc Digifax-G3-File
174+>29 byte 1 \b, fine resolution
175+>29 byte 0 \b, normal resolution
2507d101 176
b04ec308
JB
177 0 short 0x0100 raw G3 data, byte-padded
178 0 short 0x1400 raw G3 data
65ee9ebf
AM
179#!/bin/sh /usr/share/dpatch/dpatch-run
180## 211-magic-update-mono.dpatch
b04ec308
JB
181##
182## DP: Update Mono magic.
65ee9ebf
AM
183
184@DPATCH@
185
b04ec308
JB
186diff -Naurp file.orig/magic/Magdir/msdos file/magic/Magdir/msdos
187--- file.orig/magic/Magdir/msdos 2008-07-02 15:16:52.000000000 +0000
188+++ file/magic/Magdir/msdos 2008-07-15 13:33:43.000000000 +0000
189@@ -68,6 +68,7 @@
190 >>&0 leshort 0x290 PA-RISC
191 >>&18 leshort&0x0100 >0 32-bit
192 >>&18 leshort&0x1000 >0 system file
193+>>&228 lelong >0 \b, Mono/.Net assembly
194 >>&0xf4 search/0x140 \x0\x40\x1\x0
195 >>>(&0.l+(4)) string MSCF \b, WinHKI CAB self-extracting archive
196 >30 string Copyright\ 1989-1990\ PKWARE\ Inc. Self-extracting PKZIP archive
65ee9ebf 197#!/bin/sh /usr/share/dpatch/dpatch-run
b04ec308
JB
198## 212-magic-update-pfm.dpatch
199##
200## DP: Update pfm magic.
65ee9ebf
AM
201
202@DPATCH@
203
b04ec308
JB
204diff -Naurp file.orig/magic/Magdir/msdos file/magic/Magdir/msdos
205--- file.orig/magic/Magdir/msdos 2008-07-02 15:16:52.000000000 +0000
206+++ file/magic/Magdir/msdos 2008-07-15 13:36:26.000000000 +0000
207@@ -504,6 +504,13 @@
208 # Acroread or something files wrongly identified as G3 .pfm
209 # these have the form \000 \001 any? \002 \000 \000
210 # or \000 \001 any? \022 \000 \000
211+0 belong&0xffff00ff 0x00010012 PFM data
212+>4 string \000\000
213+>6 string >\060 - %s
214+
215+0 belong&0xffff00ff 0x00010002 PFM data
216+>4 string \000\000
217+>6 string >\060 - %s
218 #0 string \000\001 pfm?
219 #>3 string \022\000\000Copyright\ yes
220 #>3 string \002\000\000Copyright\ yes
65ee9ebf
AM
221#!/bin/sh /usr/share/dpatch/dpatch-run
222## 213-magic-update-ocaml.dpatch by Eric Cooper <ecc@cmu.edu>
2507d101 223##
65ee9ebf
AM
224## DP: Update ocaml magic (Closes: #488992).
225
226@DPATCH@
227
228diff -Naurp file.orig/magic/Magdir/ocaml file/magic/Magdir/ocaml
229--- file.orig/magic/Magdir/ocaml 2008-07-15 14:13:20.000000000 +0000
230+++ file/magic/Magdir/ocaml 2008-07-15 14:13:08.000000000 +0000
231@@ -1,7 +1,7 @@
2507d101 232
65ee9ebf
AM
233 #------------------------------------------------------------------------------
234 # ocaml: file(1) magic for Objective Caml files.
235-0 string Caml1999 Objective caml
236+0 string Caml1999 OCaml
237 >8 string X exec file
238 >8 string I interface file (.cmi)
239 >8 string O object file (.cmo)
240@@ -10,4 +10,4 @@
241 >8 string Z native library file (.cmxa)
242 >8 string M abstract syntax tree implementation file
243 >8 string N abstract syntax tree interface file
244->9 string >\0 (Version %3.3s).
245+>9 string >\0 (Version %3.3s)
246#!/bin/sh /usr/share/dpatch/dpatch-run
247## 214-magic-update-linuxswap.dpatch by Russell Coker <russell@coker.com.au>
2507d101 248##
b04ec308 249## DP: Adding volume label and UUID support for linux swap (Closes: #489865).
65ee9ebf
AM
250
251@DPATCH@
252
b04ec308
JB
253diff -Naurp file.orig/magic/Magdir/linux file/magic/Magdir/linux
254--- file.orig/magic/Magdir/linux 2008-06-04 18:02:25.000000000 +0000
255+++ file/magic/Magdir/linux 2008-07-15 14:16:43.000000000 +0000
256@@ -56,11 +56,19 @@
257 # Linux swap file with swsusp1 image, from Jeff Bailey <jbailey@ubuntu.com>
258 4076 string SWAPSPACE2S1SUSPEND Linux/i386 swap file (new style) with SWSUSP1 image
259 # according to man page of mkswap (8) March 1999
260-4086 string SWAPSPACE2 Linux/i386 swap file (new style)
261->0x400 long x %d (4K pages)
262->0x404 long x size %d pages
263->>4086 string SWAPSPACE2
264->>>1052 string >\0 Label %s
265+# volume label and UUID Russell Coker
266+# http://etbe.coker.com.au/2008/07/08/label-vs-uuid-vs-device/
267+4086 string SWAPSPACE2 Linux/i386 swap file (new style),
268+>0x400 long x version %d (4K pages),
269+>0x404 long x size %d pages,
270+>1052 string \0 no label,
271+>1052 string >\0 LABEL=%s,
272+>0x40c belong x UUID=%x
273+>0x410 beshort x \b-%x
274+>0x412 beshort x \b-%x
275+>0x414 beshort x \b-%x
276+>0x416 belong x \b-%x
277+>0x41a beshort x \b%x
278 # ECOFF magic for OSF/1 and Linux (only tested under Linux though)
279 #
280 # from Erik Troan (ewt@redhat.com) examining od dumps, so this
65ee9ebf 281#!/bin/sh /usr/share/dpatch/dpatch-run
b04ec308
JB
282## 215-magic-update-linuxext.dpatch by Russell Coker <russell@coker.com.au>
283##
284## DP: Adding volume label and UUID support for linux ext (Closes: #489865).
65ee9ebf
AM
285
286@DPATCH@
287
b04ec308
JB
288diff -Naurp file.orig/magic/Magdir/filesystems file/magic/Magdir/filesystems
289--- file.orig/magic/Magdir/filesystems 2008-07-02 13:47:23.000000000 +0000
290+++ file/magic/Magdir/filesystems 2008-07-15 14:21:39.000000000 +0000
291@@ -1027,6 +1027,8 @@
292
293 # ext2/ext3 filesystems - Andreas Dilger <adilger@dilger.ca>
294 # ext4 filesystem - Eric Sandeen <sandeen@sandeen.net>
295+# volume label and UUID Russell Coker
296+# http://etbe.coker.com.au/2008/07/08/label-vs-uuid-vs-device/
297 0x438 leshort 0xEF53 Linux
298 >0x44c lelong x rev %d
299 >0x43e leshort x \b.%d
300@@ -1042,25 +1044,32 @@
301 # else large RO_COMPAT?
302 >>>0x464 lelong >0x0000007 ext4 filesystem data
303 # else large INCOMPAT?
304->>0x460 lelong >0x000003f ext4 filesystem data
305+>>0x460 lelong >0x000003f ext4 filesystem data
306+>0x468 belong x \b, UUID=%x
307+>0x46c beshort x \b-%x
308+>0x46e beshort x \b-%x
309+>0x470 beshort x \b-%x
310+>0x472 belong x \b-%x
311+>0x476 beshort x \b%x
312+>0x478 string >0 \b, volume name "%s"
313 # General flags for any ext* fs
314->0x460 lelong &0x0000004 (needs journal recovery)
315->0x43a leshort &0x0000002 (errors)
316+>0x460 lelong &0x0000004 (needs journal recovery)
317+>0x43a leshort &0x0000002 (errors)
318 # INCOMPAT flags
319->0x460 lelong &0x0000001 (compressed)
320-#>0x460 lelong &0x0000002 (filetype)
321-#>0x460 lelong &0x0000010 (meta bg)
322->0x460 lelong &0x0000040 (extents)
323->0x460 lelong &0x0000080 (64bit)
324-#>0x460 lelong &0x0000100 (mmp)
325-#>0x460 lelong &0x0000200 (flex bg)
326+>0x460 lelong &0x0000001 (compressed)
327+#>0x460 lelong &0x0000002 (filetype)
328+#>0x460 lelong &0x0000010 (meta bg)
329+>0x460 lelong &0x0000040 (extents)
330+>0x460 lelong &0x0000080 (64bit)
331+#>0x460 lelong &0x0000100 (mmp)
332+#>0x460 lelong &0x0000200 (flex bg)
333 # RO_INCOMPAT flags
334-#>0x464 lelong &0x0000001 (sparse super)
335->0x464 lelong &0x0000002 (large files)
336->0x464 lelong &0x0000008 (huge files)
337-#>0x464 lelong &0x0000010 (gdt checksum)
338-#>0x464 lelong &0x0000020 (many subdirs)
339-#>0x463 lelong &0x0000040 (extra isize)
340+#>0x464 lelong &0x0000001 (sparse super)
341+>0x464 lelong &0x0000002 (large files)
342+>0x464 lelong &0x0000008 (huge files)
343+#>0x464 lelong &0x0000010 (gdt checksum)
344+#>0x464 lelong &0x0000020 (many subdirs)
345+#>0x463 lelong &0x0000040 (extra isize)
346
347 # SGI disk labels - Nathan Scott <nathans@debian.org>
348 0 belong 0x0BE5A941 SGI disk label (volume header)
65ee9ebf 349#!/bin/sh /usr/share/dpatch/dpatch-run
b04ec308
JB
350## 318-magic-add-par2.dpatch by Daniel van Eeden <daniel_e@dds.nl>
351##
352## DP: New magic for PAR2 archive files (Closes: #294070).
65ee9ebf
AM
353
354@DPATCH@
355
b04ec308
JB
356diff -Naurp file-4.24.orig/magic/Magdir/archive file-4.24/magic/Magdir/archive
357--- file-4.24.orig/magic/Magdir/archive 2008-02-28 18:57:34.000000000 +0000
358+++ file-4.24/magic/Magdir/archive 2008-04-07 08:05:47.000000000 +0000
359@@ -803,3 +803,6 @@
360 >24 belong 1 SHA-1 checksum
361 >24 belong 2 MD5 checksum
362
363+# Type: Parity Archive
364+# From: Daniel van Eeden <daniel_e@dds.nl>
365+0 string PAR2 Parity Archive Volume Set
65ee9ebf
AM
366#!/bin/sh /usr/share/dpatch/dpatch-run
367## 319-magic-add-pe5.dpatch by Simon Horman <horms@debian.org>
b04ec308 368##
65ee9ebf
AM
369## DP: New magic for the Ulead Photo Explorer5 image format (Closes: #339397).
370
371@DPATCH@
372
373diff -Naurp file.orig/magic/Magdir/images file/magic/Magdir/images
374--- file.orig/magic/Magdir/images 2008-07-02 15:16:52.000000000 +0000
375+++ file/magic/Magdir/images 2008-07-15 13:39:37.000000000 +0000
2adda200
AM
376@@ -605,3 +605,9 @@
377 # JPEG 2000 Code Stream Bitmap
378 # From Petr Splichal <psplicha@redhat.com>
379 0 string \xFF\x4F\xFF\x51\x00 JPEG-2000 Code Stream Bitmap data
380+
381+# Type: Ulead Photo Explorer5 (.pe5)
382+# URL: http://www.jisyo.com/cgibin/view.cgi?EXT=pe5 (Japanese)
383+# From: Simon Horman <horms@debian.org>
384+0 string IIO2H Ulead Photo Explorer5
b04ec308 385+
65ee9ebf
AM
386#!/bin/sh /usr/share/dpatch/dpatch-run
387## 320-magic-add-pmenu.dpatch by Edward Betts <edward@debian.org>
388##
389## DP: New magic for pmenu (Closes: #38543).
390
391@DPATCH@
392
393diff -Naurp file-4.23.orig/magic/Magdir/commands file-4.23/magic/Magdir/commands
394--- file-4.23.orig/magic/Magdir/commands 2007-06-01 19:40:26.000000000 +0000
395+++ file-4.23/magic/Magdir/commands 2008-01-12 17:34:41.000000000 +0000
396@@ -55,3 +55,8 @@
397 0 string Zend\x00 PHP script Zend Optimizer data
398
399 0 string $! DCL command file
400+
401+# Type: Pdmenu
402+# URL: http://packages.debian.org/pdmenu
403+# From: Edward Betts <edward@debian.org>
404+0 string #!/usr/bin/pdmenu Pdmenu configuration file text
405#!/bin/sh /usr/share/dpatch/dpatch-run
406## 321-magic-add-powertab.dpatch by Jelmer Vernooij <jelmer@samba.org>
407##
408## DP: New magic for Power-Tab
409
410@DPATCH@
411
412diff -Naur file-4.20.orig/magic/Magdir/chord file-4.20/magic/Magdir/chord
413--- file-4.20.orig/magic/Magdir/chord 2003-03-24 14:48:32.000000000 +0000
414+++ file-4.20/magic/Magdir/chord 2007-05-17 16:33:26.000000000 +0000
415@@ -7,3 +7,8 @@
416 #
417 0 string {title Chord text file
418
419+# Type: PowerTab file format
420+# URL: http://www.power-tab.net/
421+# From: Jelmer Vernooij <jelmer@samba.org>
422+0 string ptab\003\000 Power-Tab v3 Tablature File
423+0 string ptab\004\000 Power-Tab v4 Tablature File
424#!/bin/sh /usr/share/dpatch/dpatch-run
425## 322-magic-add-scummvm.dpatch by Sven Hartge <debian@ds9.argh.org>
426##
427## DP: New magic for scummVM savegame files (Closes: #263488).
428
429@DPATCH@
430
431diff -Naurp file-4.23.orig/magic/Magdir/console file-4.23/magic/Magdir/console
432--- file-4.23.orig/magic/Magdir/console 2007-09-26 20:22:31.000000000 +0000
433+++ file-4.23/magic/Magdir/console 2008-01-12 17:36:55.000000000 +0000
434@@ -252,3 +252,7 @@
435 # .w3m
436 0 string HM3W Warcraft III map file
437
438+# Type: scummVM savegame files
439+# From: Sven Hartge <debian@ds9.argh.org>
440+0 string SCVM scummVM savegame
441+>12 string >\0 "%s"
442#!/bin/sh /usr/share/dpatch/dpatch-run
443## 323-magic-add-sgf.dpatch by Eduardo Sabbatella <eduardo_sabbatella@yahoo.com.ar>
444##
445## DP: New magic for SGF Smart Game Format
446
447@DPATCH@
448
449diff -Naurp file.orig/magic/Magdir/games file/magic/Magdir/games
450--- file.orig/magic/Magdir/games 2008-04-23 19:00:59.000000000 +0000
451+++ file/magic/Magdir/games 2008-07-15 13:41:19.000000000 +0000
452@@ -243,3 +243,14 @@
453 >&0 string n\ NetImmerse game engine file
454 >>&0 regex [0-9a-z.]+ \b, version %s
455
456+# Type: SGF Smart Game Format
457+# URL: http://www.red-bean.com/sgf/
458+# From: Eduardo Sabbatella <eduardo_sabbatella@yahoo.com.ar>
459+2 regex/c \\(;.*GM\\[[0-9]{1,2}\\] Smart Game Format
460+>2 regex/c GM\\[1\\] - Go Game
461+>2 regex/c GM\\[6\\] - BackGammon Game
462+>2 regex/c GM\\[11\\] - Hex Game
463+>2 regex/c GM\\[18\\] - Amazons Game
464+>2 regex/c GM\\[19\\] - Octi Game
465+>2 regex/c GM\\[20\\] - Gess Game
466+>2 regex/c GM\\[21\\] - twix Game
467#!/bin/sh /usr/share/dpatch/dpatch-run
468## 323-magic-add-sisu.dpatch by Ralph Amissah <ralph.amissah@gmail.com>
469##
470## DP: New magic for SiSU Markup Language.
471
472@DPATCH@
473
474diff -Naurp file-4.24.orig/magic/Magdir/sisu file-4.24/magic/Magdir/sisu
475--- file-4.24.orig/magic/Magdir/sisu 1970-01-01 00:00:00.000000000 +0000
476+++ file-4.24/magic/Magdir/sisu 2008-04-07 08:10:25.000000000 +0000
477@@ -0,0 +1,18 @@
478+# Type: SiSU Markup Language
479+# URL: http://www.sisudoc.org/
480+# From: Ralph Amissah <ralph.amissah@gmail.com>
481+
482+0 regex \^%?[\ \t]*SiSU[\ \t]+insert SiSU text insert
483+>5 regex [0-9.]+ %s
484+
485+0 regex \^%[\ \t]+SiSU[\ \t]+master SiSU text master
486+>5 regex [0-9.]+ %s
487+
488+0 regex \^%?[\ \t]*SiSU[\ \t]+text SiSU text
489+>5 regex [0-9.]+ %s
490+
491+0 regex \^%?[\ \t]*SiSU[\ \t][0-9.]+ SiSU text
492+>5 regex [0-9.]+ %s
493+
494+0 regex \^%*[\ \t]*sisu-[0-9.]+ SiSU text
495+>5 regex [0-9.]+ %s
496diff -Naurp file-4.24.orig/magic/Makefile.am file-4.24/magic/Makefile.am
497--- file-4.24.orig/magic/Makefile.am 2008-03-22 21:41:00.000000000 +0000
498+++ file-4.24/magic/Makefile.am 2008-04-07 08:11:04.000000000 +0000
499@@ -170,6 +170,7 @@ $(MAGIC_FRAGMENT_DIR)/sgi \
500 $(MAGIC_FRAGMENT_DIR)/sgml \
501 $(MAGIC_FRAGMENT_DIR)/sharc \
502 $(MAGIC_FRAGMENT_DIR)/sinclair \
503+$(MAGIC_FRAGMENT_DIR)/sisu \
504 $(MAGIC_FRAGMENT_DIR)/sketch \
505 $(MAGIC_FRAGMENT_DIR)/smalltalk \
506 $(MAGIC_FRAGMENT_DIR)/sniffer \
507diff -Naurp file-4.24.orig/magic/Makefile.in file-4.24/magic/Makefile.in
508--- file-4.24.orig/magic/Makefile.in 2008-03-22 21:41:06.000000000 +0000
509+++ file-4.24/magic/Makefile.in 2008-04-07 08:11:10.000000000 +0000
510@@ -330,6 +330,7 @@ $(MAGIC_FRAGMENT_DIR)/sgi \
511 $(MAGIC_FRAGMENT_DIR)/sgml \
512 $(MAGIC_FRAGMENT_DIR)/sharc \
513 $(MAGIC_FRAGMENT_DIR)/sinclair \
514+$(MAGIC_FRAGMENT_DIR)/sisu \
515 $(MAGIC_FRAGMENT_DIR)/sketch \
516 $(MAGIC_FRAGMENT_DIR)/smalltalk \
517 $(MAGIC_FRAGMENT_DIR)/sniffer \
518#!/bin/sh /usr/share/dpatch/dpatch-run
519## 324-magic-add-snes.dpatch by Josh Triplett <josh@freedesktop.org>
520##
521## DP: New magic for SNES SPC700 sound files (Closes: #410847).
522
523@DPATCH@
524
525diff -Naur file-4.21.orig/magic/Magdir/audio file-4.21/magic/Magdir/audio
526--- file-4.21.orig/magic/Magdir/audio 2007-12-23 17:32:42.000000000 +0000
527+++ file-4.21/magic/Magdir/audio 2007-12-23 17:33:57.000000000 +0000
528@@ -268,6 +268,15 @@
529 >122 byte&0x1 =1 PAL
530 >122 byte&0x1 =0 NTSC
531
532+# Type: SNES SPC700 sound files
533+# From: Josh Triplett <josh@freedesktop.org>
534+0 string SNES-SPC700\ Sound\ File\ Data\ v SNES SPC700 sound file
535+>&0 string 0.30 \b, version %s
536+>>0x23 byte 0x1B \b, without ID666 tag
537+>>0x23 byte 0x1A \b, with ID666 tag
538+>>>0x2E string >\0 \b, song "%.32s"
539+>>>0x4E string >\0 \b, game "%.32s"
540+
541 # Impulse tracker module (audio/x-it)
542 0 string IMPM Impulse Tracker module sound data -
543 >4 string >\0 "%s"
544#!/bin/sh /usr/share/dpatch/dpatch-run
545## 325-magic-add-ssl.dpatch by Nicolas Collignon <tsointsoin@gmail.com>
546##
547## DP: New magic for OpenSSH key files (Closes: #439537).
548
549@DPATCH@
550
551diff -Naur file-4.21.orig/magic/Magdir/ssh file-4.21/magic/Magdir/ssh
552--- file-4.21.orig/magic/Magdir/ssh 1970-01-01 00:00:00.000000000 +0000
553+++ file-4.21/magic/Magdir/ssh 2007-08-26 08:25:03.000000000 +0000
554@@ -0,0 +1,8 @@
555+# Type: OpenSSH key files
556+# From: Nicolas Collignon <tsointsoin@gmail.com>
557+
558+0 string SSH\ PRIVATE\ KEY OpenSSH RSA1 private key,
559+>28 string >\0 version %s
560+
561+0 string ssh-dss\ OpenSSH DSA public key
562+0 string ssh-rsa\ OpenSSH RSA public key
563#!/bin/sh /usr/share/dpatch/dpatch-run
564## 325-magic-add-ssl.dpatch by Nicolas Collignon <tsointsoin@gmail.com>
565##
566## DP: New magic for OpenSSL certificates/key files (Closes: #439537).
567
568@DPATCH@
569
570diff -Naur file-4.21.orig/magic/Magdir/ssl file-4.21/magic/Magdir/ssl
571--- file-4.21.orig/magic/Magdir/ssl 1970-01-01 00:00:00.000000000 +0000
572+++ file-4.21/magic/Magdir/ssl 2007-08-26 08:27:04.000000000 +0000
573@@ -0,0 +1,7 @@
574+# Type: OpenSSL certificates/key files
575+# From: Nicolas Collignon <tsointsoin@gmail.com>
576+
577+0 string -----BEGIN\ CERTIFICATE----- PEM certificate
578+0 string -----BEGIN\ CERTIFICATE\ REQ PEM certificate request
579+0 string -----BEGIN\ RSA\ PRIVATE PEM RSA private key
580+0 string -----BEGIN\ DSA\ PRIVATE PEM DSA private key
581#!/bin/sh /usr/share/dpatch/dpatch-run
582## 325-magic-add-subversion.dpatch by Michael Piefel <piefel@debian.org>
583##
584## DP: New magic for SVN dumps (closes: #256652).
585
586@DPATCH@
587
588diff -Naur file-4.21.orig/magic/Magdir/revision file-4.21/magic/Magdir/revision
589--- file-4.21.orig/magic/Magdir/revision 2007-12-23 17:25:39.000000000 +0000
590+++ file-4.21/magic/Magdir/revision 2007-12-23 17:26:34.000000000 +0000
591@@ -17,3 +17,8 @@
592 0 string HG10 Mercurial bundle,
593 >4 string UN uncompressed
594 >4 string BZ bzip2 compressed
595+
596+# Type: Subversion (SVN) dumps
597+# From: Uwe Zeisberger <zeisberg@informatik.uni-freiburg.de>
598+0 string SVN-fs-dump-format-version: Subversion dumpfile
599+>28 string >\0 (version: %s)
600#!/bin/sh /usr/share/dpatch/dpatch-run
601## 326-magic-add-supercollider.dpatch by Mario Lang <mlang@debian.org>
602##
603## DP: Adds new magic for SuperCollider 3 Synth Definition File Format
604## DP: (Closes: #284803).
605
606@DPATCH@
607
608diff -Naurp file-4.23.orig/magic/Magdir/audio file-4.23/magic/Magdir/audio
609--- file-4.23.orig/magic/Magdir/audio 2008-01-12 17:39:01.000000000 +0000
610+++ file-4.23/magic/Magdir/audio 2008-01-12 17:38:49.000000000 +0000
611@@ -576,3 +576,8 @@
612 # URL: http://filext.com/detaillist.php?extdetail=AMR
613 # From: Russell Coker <russell@coker.com.au>
614 0 string #!AMR Adaptive Multi-Rate Codec (GSM telephony)
615+
616+# Type: SuperCollider 3 Synth Definition File Format
617+# From: Mario Lang <mlang@debian.org>
618+0 string SCgf SuperCollider3 Synth Definition file,
619+>4 belong x version %d
620#!/bin/sh /usr/share/dpatch/dpatch-run
621## 328-magic-add-xen.dpatch by Radek Vokal <rvokal@redhat.com>
622##
623## DP: xen patch, recognizes Xen saved domain
624
625@DPATCH@
626
627diff -Naurp file-4.23.orig/magic/Magdir/linux file-4.23/magic/Magdir/linux
628--- file-4.23.orig/magic/Magdir/linux 2008-01-12 17:47:04.000000000 +0000
629+++ file-4.23/magic/Magdir/linux 2008-01-12 17:46:42.000000000 +0000
630@@ -248,3 +248,9 @@
631 >72 string x %s]
632 >168 string x UUID: %s
633
634+# Type: Xen, the virtual machine monitor
635+# From: Radek Vokal <rvokal@redhat.com>
636+0 string LinuxGuestRecord Xen saved domain
637+#>2 regex \(name\ [^)]*\) %s
638+>20 search/256 (name (name
639+>>&1 string x %s...)
640#!/bin/sh /usr/share/dpatch/dpatch-run
641## 331-magic-add-xcursor.dpatch by Mathias Brodala <info@noctus.net>
642##
643## DP: New magic for X11 cursor files (Closes: #451246).
644
645@DPATCH@
646
647diff -Naur file-4.21.orig/magic/Magdir/images file-4.21/magic/Magdir/images
648--- file-4.21.orig/magic/Magdir/images 2007-12-23 17:40:53.000000000 +0000
649+++ file-4.21/magic/Magdir/images 2007-12-23 17:40:46.000000000 +0000
2adda200
AM
650@@ -611,3 +611,8 @@
651 # From: Simon Horman <horms@debian.org>
652 0 string IIO2H Ulead Photo Explorer5
653
654+# Type: X11 cursor
655+# URL: http://webcvs.freedesktop.org/mime/shared-mime-info/freedesktop.org.xml.in?view=markup
656+# From: Mathias Brodala <info@noctus.net>
657+0 string Xcur X11 cursor
65ee9ebf 658+
65ee9ebf
AM
659#!/bin/sh /usr/share/dpatch/dpatch-run
660## 335-magic-add-freemind.dpatch by Jamie Thompson <debian-bugs@jamie-thompson.co.uk>
661##
662## DP: New magic for Freemind (Closes: #472385).
663
664@DPATCH@
665
666diff -Naurp file.orig/magic/Magdir/wordprocessors file/magic/Magdir/wordprocessors
667--- file.orig/magic/Magdir/wordprocessors 2008-05-04 14:12:49.000000000 +0000
668+++ file/magic/Magdir/wordprocessors 2008-05-04 14:18:38.000000000 +0000
669@@ -148,3 +148,8 @@
670 0 string DOC
671 >43 byte 0x16 Just System Word Processor Ichitaro v6
672 !:mime application/x-ichitaro6
673+
674+# Type: Freemind mindmap documents
675+# From: Jamie Thompson <debian-bugs@jamie-thompson.co.uk>
676+0 string/cB \<map\ version Freemind document
677+!:mime application/x-freemind
678#!/bin/sh /usr/share/dpatch/dpatch-run
679## 336-magic-add-qdmb.dpatch by Benoit Sibaud <bsibaud@april.org>
680##
681## DP: New magic for QDBM Quick Database Manager (Closes: #481717).
682
683@DPATCH@
684
685diff -Naurp file-4.24.orig/magic/Magdir/database file-4.24/magic/Magdir/database
686--- file-4.24.orig/magic/Magdir/database 2008-05-04 14:12:49.000000000 +0000
687+++ file-4.24/magic/Magdir/database 2008-05-21 09:07:49.000000000 +0000
688@@ -242,3 +242,8 @@
689 # URL: http://www.grc.nasa.gov/WWW/cgns/adf/
690 # From: Nicolas Chauvat <nicolas.chauvat@logilab.fr>
691 0 string @(#)ADF\ Database CGNS Advanced Data Format
692+
693+# Type: QDBM Quick Database Manager
694+# From: Benoit Sibaud <bsibaud@april.org>
695+0 string \\[depot\\]\n\f Quick Database Manager, little endian
696+0 string \\[DEPOT\\]\n\f Quick Database Manager, big endian
697#!/bin/sh /usr/share/dpatch/dpatch-run
698## 337-magic-add-tokyocabinet.dpatch by Benoit Sibaud <bsibaud@april.org>
699##
700## DP: New magic for TokyoCabinet database (Closes: #481768).
701
702@DPATCH@
703
704diff -Naurp file-4.24.orig/magic/Magdir/database file-4.24/magic/Magdir/database
705--- file-4.24.orig/magic/Magdir/database 2008-05-21 09:07:49.000000000 +0000
706+++ file-4.24/magic/Magdir/database 2008-05-21 09:15:26.000000000 +0000
707@@ -247,3 +247,9 @@
708 # From: Benoit Sibaud <bsibaud@april.org>
709 0 string \\[depot\\]\n\f Quick Database Manager, little endian
710 0 string \\[DEPOT\\]\n\f Quick Database Manager, big endian
711+
712+# Type: TokyoCabinet database
713+# URL: http://tokyocabinet.sourceforge.net/
714+# From: Benoit Sibaud <bsibaud@april.org>
715+0 string ToKyO\ CaBiNeT\n TokyoCabinet database
716+>14 string x (version %s)
717#!/bin/sh /usr/share/dpatch/dpatch-run
718## 338-magic-add-cromfs.dpatch by Werner Fink <werner@suse.de>
719##
720## DP: Adds new magic for CROM filesystem.
721
722@DPATCH@
723
724diff -Naurp file.orig/magic/Magdir/filesystems file/magic/Magdir/filesystems
725--- file.orig/magic/Magdir/filesystems 2008-07-02 13:47:23.000000000 +0000
726+++ file/magic/Magdir/filesystems 2008-07-15 13:43:26.000000000 +0000
727@@ -1327,3 +1327,15 @@
728 # dvdisaster's .ecc
729 # From: "Nelson A. de Oliveira" <naoliv@gmail.com>
730 0 string *dvdisaster* dvdisaster error correction file
731+
732+# Type: CROM filesystem
733+# From: Werner Fink <werner@suse.de>
734+0 string CROMFS CROMFS
735+>6 string >\0 \b version %2.2s,
736+>8 ulequad >0 \b block data at %lld,
737+>16 ulequad >0 \b fblock table at %lld,
738+>24 ulequad >0 \b inode table at %lld,
739+>32 ulequad >0 \b root at %lld,
740+>40 ulelong >0 \b fblock size = %ld,
741+>44 ulelong >0 \b block size = %ld,
742+>48 ulequad >0 \b bytes = %lld
743#!/bin/sh /usr/share/dpatch/dpatch-run
744## 339-magic-add-scribus.dpatch by Werner Fink <werner@suse.de>
745##
746## DP: Adds new magics for Scribus.
747
748@DPATCH@
749
750diff -Naurp file-4.24.orig/magic/Magdir/wordprocessors file-4.24/magic/Magdir/wordprocessors
751--- file-4.24.orig/magic/Magdir/wordprocessors 2008-05-21 09:49:43.000000000 +0000
752+++ file-4.24/magic/Magdir/wordprocessors 2008-05-21 09:50:54.000000000 +0000
753@@ -153,3 +153,9 @@
754 # From: Jamie Thompson <debian-bugs@jamie-thompson.co.uk>
755 0 string/cB \<map\ version Freemind document
756 !:mime application/x-freemind
757+
758+# Type: Scribus
759+# From: Werner Fink <werner@suse.de>
760+0 string \<SCRIBUSUTF8\ Version Scribus Document
761+0 string \<SCRIBUSUTF8NEW\ Version Scribus Document
762+!:mime application/x-scribus
763#!/bin/sh /usr/share/dpatch/dpatch-run
764## 339-magic-add-selinux.dpatch by Russell Coker <russell@coker.com.au>
765##
766## DP: Adds new magics for SE Linux (Closes: #485886).
767
768@DPATCH@
769
770diff -Naurp file.orig/magic/Magdir/selinux file/magic/Magdir/selinux
771--- file.orig/magic/Magdir/selinux 1970-01-01 01:00:00.000000000 +0100
772+++ file/magic/Magdir/selinux 2008-06-13 09:07:24.000000000 +0200
773@@ -0,0 +1,24 @@
774+# Type: SE Linux policy modules *.pp reference policy
775+# for Fedora 5 to 9, RHEL5, and Debian Etch and Lenny.
776+# URL: http://doc.coker.com.au/computers/selinux-magic
777+# From: Russell Coker <russell@coker.com.au>
778+
779+0 lelong 0xf97cff8f SE Linux modular policy
780+>4 lelong x version %d,
781+>8 lelong x %d sections,
782+>>(12.l) lelong 0xf97cff8d
783+>>>(12.l+27) lelong x mod version %d,
784+>>>(12.l+31) lelong 0 Not MLS,
785+>>>(12.l+31) lelong 1 MLS,
786+>>>(12.l+23) lelong 2
787+>>>>(12.l+47) string >\0 module name %s
788+>>>(12.l+23) lelong 1 base
789+
790+1 string policy_module( SE Linux policy module source
791+2 string policy_module( SE Linux policy module source
792+
793+0 string ##\ <summary> SE Linux policy interface source
794+
795+#0 search gen_context( SE Linux policy file contexts
796+
797+#0 search gen_sens( SE Linux policy MLS constraints source
798diff -Naurp file.orig/magic/Makefile.am file/magic/Makefile.am
799--- file.orig/magic/Makefile.am 2008-06-13 09:07:45.000000000 +0200
800+++ file/magic/Makefile.am 2008-06-13 09:08:16.000000000 +0200
801@@ -164,6 +164,7 @@ $(MAGIC_FRAGMENT_DIR)/sc \
802 $(MAGIC_FRAGMENT_DIR)/sccs \
803 $(MAGIC_FRAGMENT_DIR)/scientific \
804 $(MAGIC_FRAGMENT_DIR)/securitycerts \
805+$(MAGIC_FRAGMENT_DIR)/selinux \
806 $(MAGIC_FRAGMENT_DIR)/sendmail \
807 $(MAGIC_FRAGMENT_DIR)/sequent \
808 $(MAGIC_FRAGMENT_DIR)/sgi \
809diff -Naurp file.orig/magic/Makefile.in file/magic/Makefile.in
810--- file.orig/magic/Makefile.in 2008-06-13 09:07:45.000000000 +0200
811+++ file/magic/Makefile.in 2008-06-13 09:08:23.000000000 +0200
812@@ -324,6 +324,7 @@ $(MAGIC_FRAGMENT_DIR)/sc \
813 $(MAGIC_FRAGMENT_DIR)/sccs \
814 $(MAGIC_FRAGMENT_DIR)/scientific \
815 $(MAGIC_FRAGMENT_DIR)/securitycerts \
816+$(MAGIC_FRAGMENT_DIR)/selinux \
817 $(MAGIC_FRAGMENT_DIR)/sendmail \
818 $(MAGIC_FRAGMENT_DIR)/sequent \
819 $(MAGIC_FRAGMENT_DIR)/sgi \
820#!/bin/sh /usr/share/dpatch/dpatch-run
821## 341-magic-add-bzr.dpatch by Jelmer Vernooij <jelmer@samba.org>
822##
823## DP: Adds new magics for bzr (Closes: #488742).
824
825@DPATCH@
826
827diff -Naurp file.orig/magic/Magdir/revision file/magic/Magdir/revision
828--- file.orig/magic/Magdir/revision 2008-07-01 15:42:16.000000000 +0200
829+++ file/magic/Magdir/revision 2008-07-01 15:43:34.000000000 +0200
830@@ -22,3 +22,9 @@
831 # From: Uwe Zeisberger <zeisberg@informatik.uni-freiburg.de>
832 0 string SVN-fs-dump-format-version: Subversion dumpfile
833 >28 string >\0 (version: %s)
834+
835+# Type: Bazaar revision bundles and merge requests
836+# URL: http://www.bazaar-vcs.org/
837+# From: Jelmer Vernooij <jelmer@samba.org>
838+0 string #\ Bazaar\ revision\ bundle\ v Bazaar Bundle
839+0 string #\ Bazaar\ merge\ directive\ format Bazaar merge directive
This page took 0.148679 seconds and 4 git commands to generate.