]> git.pld-linux.org Git - packages/file.git/commitdiff
- updated
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 18 Nov 2008 16:53:01 +0000 (16:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    file-debian.patch -> 1.23

file-debian.patch

index 1b31e1c7d47d11d753b2c0393d40fb150705a668..c667791d8398c78930e9f97fb770b944d93d9361 100644 (file)
@@ -1,99 +1,83 @@
-## 999-conglomeration.dpatch by Michael Piefel <piefel@debian.org>
-##
-## DP: Needs to be broken out (FIXME).
-diff -Naurp file-4.24.orig/src/fsmagic.c file-4.24/src/fsmagic.c
---- file-4.24.orig/src/fsmagic.c       2008-02-14 20:14:52.000000000 +0000
-+++ file-4.24/src/fsmagic.c    2008-04-07 08:32:13.000000000 +0000
-@@ -110,7 +110,8 @@ file_fsmagic(struct magic_set *ms, const
-               if (file_printf(ms, "cannot open `%s' (%s)",
-                   fn, strerror(errno)) == -1)
-                       return -1;
--              return 1;
-+              ms->haderr++;
-+              return -1;
-       }
-       if (mime) {
-## 906-file-hurd.dpatch by Michael Casadevall <sonicmctails@gmail.com>
-##
-## DP: Fixes a FTBFS on hurd (Closes: #433716).
-diff -Naur file-4.21.orig/src/magic.c file-4.21/src/magic.c
---- file-4.21.orig/src/magic.c 2007-03-26 17:59:50.000000000 +0000
-+++ file-4.21/src/magic.c      2007-07-19 06:25:16.000000000 +0000
-@@ -58,6 +58,11 @@
- #include <locale.h>
- #endif
-+#ifndef PIPE_BUF
-+// Get the PIPE_BUF from pathconf
-+#define PIPE_BUF pathconf(".", _PC_PIPE_BUF)
-+#endif
-+
- #include <netinet/in.h>               /* for byte swapping */
- #include "patchlevel.h"
 #!/bin/sh /usr/share/dpatch/dpatch-run
-## 903-magic-local.dpatch by Michael Piefel <piefel@debian.org>
+## 202-magic-update-awk.dpatch by Werner Fink <werner@suse.de>
 ##
-## DP: No longer includes Localstuff in /usr/share/misc/magic. Local definitions
-## DP: should go to /etc/magic.
+## DP: Updates (and re-enables) awk magic.
 
 @DPATCH@
 
-diff -Naurp file.orig/magic/Header file/magic/Header
---- file.orig/magic/Header     2000-08-05 17:36:46.000000000 +0000
-+++ file/magic/Header  2008-07-15 13:51:04.000000000 +0000
-@@ -1,5 +1,5 @@
--# Magic
- # Magic data for file(1) command.
--# Machine-generated from src/cmd/file/magdir/*; edit there only!
--# Format is described in magic(files), where:
--# files is 5 on V7 and BSD, 4 on SV, and ?? in the SVID.
-+# Format is described in magic(5).
-+# Don't edit this file, edit /etc/magic or send your suggested inclusions to
-+# this file as a wishlist bug against file (using the reportbug utility).
-+
-diff -Naurp file.orig/magic/magic.local file/magic/magic.local
---- file.orig/magic/magic.local        1970-01-01 00:00:00.000000000 +0000
-+++ file/magic/magic.local     2008-07-15 13:51:04.000000000 +0000
-@@ -0,0 +1,3 @@
-+# Magic local data for file(1) command.
-+# Insert here your local magic data. Format is described in magic(5).
-+
-diff -Naurp file.orig/src/Makefile.am file/src/Makefile.am
---- file.orig/src/Makefile.am  2008-05-09 14:12:55.000000000 +0000
-+++ file/src/Makefile.am       2008-07-15 13:51:37.000000000 +0000
-@@ -4,7 +4,7 @@ include_HEADERS = magic.h
- bin_PROGRAMS = file
+diff -Naurp file-4.24.orig/magic/Magdir/commands file-4.24/magic/Magdir/commands
+--- file-4.24.orig/magic/Magdir/commands       2008-05-04 14:12:49.000000000 +0000
++++ file-4.24/magic/Magdir/commands    2008-05-21 09:36:15.000000000 +0000
+@@ -49,6 +49,7 @@
+ # update to distinguish from *.vcf files
+ # this is broken because postscript has /EBEGIN{ for example.
+ #0    search/Bb       BEGIN {                 awk script text
++0     regex           =^\\s*BEGIN\\s*[{]      awk script text
  
--AM_CPPFLAGS = -DMAGIC='"$(MAGIC)"'
-+AM_CPPFLAGS = -DMAGIC='"/etc/magic:$(MAGIC)"'
- AM_CFLAGS = @WARNINGS@
+ # AT&T Bell Labs' Plan 9 shell
+ 0     string/b        #!\ /bin/rc     Plan 9 rc shell script text executable
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 203-magic-update-reiserfs.dpatch by Werner Fink <werner@suse.de>
+##
+## DP: Updating reiserfs magic to detect ReiserFS V3.6.19.
+
+@DPATCH@
+
+diff -Naurp file-4.24.orig/magic/Magdir/filesystems file-4.24/magic/Magdir/filesystems
+--- file-4.24.orig/magic/Magdir/filesystems    2008-05-04 14:12:49.000000000 +0000
++++ file-4.24/magic/Magdir/filesystems 2008-05-21 09:43:04.000000000 +0000
+@@ -1178,6 +1178,7 @@
+ # reiserfs - russell@coker.com.au
+ 0x10034               string  ReIsErFs        ReiserFS V3.5
+ 0x10034               string  ReIsEr2Fs       ReiserFS V3.6
++0x10034               string  ReIsEr3Fs       ReiserFS V3.6.19
+ >0x1002c      leshort x               block size %d
+ >0x10032      leshort &2              (mounted or unclean)
+ >0x10000      lelong  x               num blocks %d
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 204-magic-update-asf.dpatch by Daniel Baumann <daniel@debian.org>
+##
+## DP: Add mime to asf magic.
+
+@DPATCH@
+
+diff -Naurp file.orig/magic/Magdir/animation file/magic/Magdir/animation
+--- file.orig/magic/Magdir/animation   2008-05-26 23:24:27.000000000 +0200
++++ file/magic/Magdir/animation        2008-05-31 15:03:45.000000000 +0200
+@@ -686,6 +686,7 @@
  
- libmagic_la_SOURCES = magic.c apprentice.c softmagic.c ascmagic.c \
-diff -Naur file-4.21.orig/magic/Magdir/audio file-4.21/magic/Magdir/audio
---- file-4.21.orig/magic/Magdir/audio  2007-12-23 17:32:42.000000000 +0000
-+++ file-4.21/magic/Magdir/audio       2007-12-23 17:33:57.000000000 +0000
-@@ -268,6 +268,15 @@
- >122  byte&0x1        =1              PAL
- >122  byte&0x1        =0              NTSC
+ # Microsoft Advanced Streaming Format (ASF) <mpruett@sgi.com>
+ 0     belong                  0x3026b275      Microsoft ASF
++!:mime        video/x-ms-asf
  
-+# Type: SNES SPC700 sound files
-+# From: Josh Triplett <josh@freedesktop.org>
-+0     string  SNES-SPC700\ Sound\ File\ Data\ v       SNES SPC700 sound file
-+>&0   string  0.30                                    \b, version %s
-+>>0x23        byte    0x1B                                    \b, without ID666 tag
-+>>0x23        byte    0x1A                                    \b, with ID666 tag
-+>>>0x2E       string  >\0                                     \b, song "%.32s"
-+>>>0x4E       string  >\0                                     \b, game "%.32s"
-+
- # Impulse tracker module (audio/x-it)
- 0     string          IMPM            Impulse Tracker module sound data -
- >4    string          >\0             "%s"
+ # MNG Video Format, <URL:http://www.libpng.org/pub/mng/spec/>
+ 0     string                  \x8aMNG         MNG video data,
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 205-magic-update-tcsh.dpatch
+##
+## DP: Add another shebang path for tcsh.
+
+@DPATCH@
+
+diff -Naurp file.orig/magic/Magdir/commands file/magic/Magdir/commands
+--- file.orig/magic/Magdir/commands    2008-04-16 12:28:04.000000000 +0000
++++ file/magic/Magdir/commands 2008-07-15 13:28:19.000000000 +0000
+@@ -12,6 +12,8 @@
+ !:mime        text/x-shellscript
+ 0     string/b        #!\ /bin/tcsh           Tenex C shell script text executable
+ !:mime        text/x-shellscript
++0     string/b        #!\ /usr/bin/tcsh       Tenex C shell script text executable
++!:mime        text/x-shellscript
+ 0     string/b        #!\ /usr/local/tcsh     Tenex C shell script text executable
+ !:mime        text/x-shellscript
+ 0     string/b        #!\ /usr/local/bin/tcsh Tenex C shell script text executable
+#!/bin/sh /usr/share/dpatch/dpatch-run
 ## 206-magic-update-bash.dpatch
 ##
 ## DP: Add another shebang path for bash.
+
+@DPATCH@
+
 diff -Naurp file.orig/magic/Magdir/commands file/magic/Magdir/commands
 --- file.orig/magic/Magdir/commands    2008-07-15 13:31:02.000000000 +0000
 +++ file/magic/Magdir/commands 2008-07-15 13:30:55.000000000 +0000
@@ -108,106 +92,74 @@ diff -Naurp file.orig/magic/Magdir/commands file/magic/Magdir/commands
  0     string/b        #!\ /usr/local/bin/bash Bourne-Again shell script text executable
  !:mime        text/x-shellscript
  
-## 339-magic-add-selinux.dpatch by Russell Coker <russell@coker.com.au>
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 207-magic-update-zip.dpatch
 ##
-## DP: Adds new magics for SE Linux (Closes: #485886).
-diff -Naurp file.orig/magic/Magdir/selinux file/magic/Magdir/selinux
---- file.orig/magic/Magdir/selinux     1970-01-01 01:00:00.000000000 +0100
-+++ file/magic/Magdir/selinux  2008-06-13 09:07:24.000000000 +0200
-@@ -0,0 +1,24 @@
-+# Type:       SE Linux policy modules *.pp reference policy
-+#     for Fedora 5 to 9, RHEL5, and Debian Etch and Lenny.
-+# URL:        http://doc.coker.com.au/computers/selinux-magic
-+# From:       Russell Coker <russell@coker.com.au>
-+
-+0             lelong  0xf97cff8f      SE Linux modular policy
-+>4            lelong  x               version %d,
-+>8            lelong  x               %d sections,
-+>>(12.l)      lelong  0xf97cff8d
-+>>>(12.l+27)  lelong  x               mod version %d,
-+>>>(12.l+31)  lelong  0               Not MLS,
-+>>>(12.l+31)  lelong  1               MLS,
-+>>>(12.l+23)  lelong  2
-+>>>>(12.l+47) string  >\0             module name %s
-+>>>(12.l+23)  lelong  1               base
-+
-+1     string  policy_module(  SE Linux policy module source
-+2     string  policy_module(  SE Linux policy module source
-+
-+0     string  ##\ <summary>   SE Linux policy interface source
-+
-+#0    search  gen_context(    SE Linux policy file contexts
-+
-+#0    search  gen_sens(       SE Linux policy MLS constraints source
-diff -Naurp file.orig/magic/Makefile.am file/magic/Makefile.am
---- file.orig/magic/Makefile.am        2008-06-13 09:07:45.000000000 +0200
-+++ file/magic/Makefile.am     2008-06-13 09:08:16.000000000 +0200
-@@ -164,6 +164,7 @@ $(MAGIC_FRAGMENT_DIR)/sc \
- $(MAGIC_FRAGMENT_DIR)/sccs \
- $(MAGIC_FRAGMENT_DIR)/scientific \
- $(MAGIC_FRAGMENT_DIR)/securitycerts \
-+$(MAGIC_FRAGMENT_DIR)/selinux \
- $(MAGIC_FRAGMENT_DIR)/sendmail \
- $(MAGIC_FRAGMENT_DIR)/sequent \
- $(MAGIC_FRAGMENT_DIR)/sgi \
-diff -Naurp file.orig/magic/Makefile.in file/magic/Makefile.in
---- file.orig/magic/Makefile.in        2008-06-13 09:07:45.000000000 +0200
-+++ file/magic/Makefile.in     2008-06-13 09:08:23.000000000 +0200
-@@ -324,6 +324,7 @@ $(MAGIC_FRAGMENT_DIR)/sc \
- $(MAGIC_FRAGMENT_DIR)/sccs \
- $(MAGIC_FRAGMENT_DIR)/scientific \
- $(MAGIC_FRAGMENT_DIR)/securitycerts \
-+$(MAGIC_FRAGMENT_DIR)/selinux \
- $(MAGIC_FRAGMENT_DIR)/sendmail \
- $(MAGIC_FRAGMENT_DIR)/sequent \
- $(MAGIC_FRAGMENT_DIR)/sgi \
-## 325-magic-add-ssl.dpatch by Nicolas Collignon <tsointsoin@gmail.com>
+## DP: Update zip magic.
+
+@DPATCH@
+
+diff -Naurp file.orig/magic/Magdir/msdos file/magic/Magdir/msdos
+--- file.orig/magic/Magdir/msdos       2008-05-31 22:17:03.000000000 +0200
++++ file/magic/Magdir/msdos    2008-06-13 09:44:56.000000000 +0200
+@@ -256,7 +256,7 @@
+ # a few unknown ZIP sfxes, no idea if they are needed or if they are
+ # already captured by the generic patterns above
+->122          string          Windows\ self-extracting\ ZIP   \b, ZIP self-extracting archive
++>0x7a         string          Windows\ self-extracting\ ZIP   \b, ZIP self-extracting archive
+ >(8.s*16)     search/0x20     PKSFX \b, ZIP self-extracting archive (PKZIP)
+ # TODO: how to add this? >FileSize-34 string Windows\ Self-Installing\ Executable \b, ZIP self-extracting archive
+ #
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 207-magic-update-real.dpatch
 ##
-## DP: New magic for OpenSSH key files (Closes: #439537).
-diff -Naur file-4.21.orig/magic/Magdir/ssh file-4.21/magic/Magdir/ssh
---- file-4.21.orig/magic/Magdir/ssh    1970-01-01 00:00:00.000000000 +0000
-+++ file-4.21/magic/Magdir/ssh 2007-08-26 08:25:03.000000000 +0000
-@@ -0,0 +1,8 @@
-+# Type: OpenSSH key files
-+# From: Nicolas Collignon <tsointsoin@gmail.com>
-+
-+0     string  SSH\ PRIVATE\ KEY       OpenSSH RSA1 private key,
-+>28   string  >\0                     version %s
-+
-+0     string  ssh-dss\                OpenSSH DSA public key
-+0     string  ssh-rsa\                OpenSSH RSA public key
-## 320-magic-add-pmenu.dpatch by Edward Betts <edward@debian.org>
+## DP: Update RealMedia magic.
+
+@DPATCH@
+
+diff -Naurp file.orig/magic/Magdir/audio file/magic/Magdir/audio
+--- file.orig/magic/Magdir/audio       2008-05-31 22:17:03.000000000 +0200
++++ file/magic/Magdir/audio    2008-06-13 09:48:01.000000000 +0200
+@@ -116,7 +116,7 @@
+ # Real Audio (Magic .ra\0375)
+ 0     belong          0x2e7261fd      RealAudio sound file
+ !:mime        audio/x-pn-realaudio
+-0     string          .RMF            RealMedia file
++0     string          .RMF\0\0\0      RealMedia file
+ !:mime        application/vnd.rn-realmedia
+ #video/x-pn-realvideo
+ #video/vnd.rn-realvideo
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 209-magic-update-os2.dpatch
 ##
-## DP: New magic for pmenu (Closes: #38543).
-diff -Naurp file-4.23.orig/magic/Magdir/commands file-4.23/magic/Magdir/commands
---- file-4.23.orig/magic/Magdir/commands       2007-06-01 19:40:26.000000000 +0000
-+++ file-4.23/magic/Magdir/commands    2008-01-12 17:34:41.000000000 +0000
-@@ -55,3 +55,8 @@
- 0     string          Zend\x00                PHP script Zend Optimizer data
+## DP: Update OS/2 REXX magic.
+
+@DPATCH@
+
+diff -Naurp file.orig/magic/Magdir/msdos file/magic/Magdir/msdos
+--- file.orig/magic/Magdir/msdos       2008-06-13 09:44:56.000000000 +0200
++++ file/magic/Magdir/msdos    2008-06-13 09:51:35.000000000 +0200
+@@ -14,8 +14,10 @@
  
- 0     string          $!                      DCL command file
-+
-+# Type: Pdmenu
-+# URL:  http://packages.debian.org/pdmenu
-+# From: Edward Betts <edward@debian.org>
-+0     string  #!/usr/bin/pdmenu       Pdmenu configuration file text
-## 203-magic-update-reiserfs.dpatch by Werner Fink <werner@suse.de>
-##
-## DP: Updating reiserfs magic to detect ReiserFS V3.6.19.
-diff -Naurp file-4.24.orig/magic/Magdir/filesystems file-4.24/magic/Magdir/filesystems
---- file-4.24.orig/magic/Magdir/filesystems    2008-05-04 14:12:49.000000000 +0000
-+++ file-4.24/magic/Magdir/filesystems 2008-05-21 09:43:04.000000000 +0000
-@@ -1178,6 +1178,7 @@
- # reiserfs - russell@coker.com.au
- 0x10034               string  ReIsErFs        ReiserFS V3.5
- 0x10034               string  ReIsEr2Fs       ReiserFS V3.6
-+0x10034               string  ReIsEr3Fs       ReiserFS V3.6.19
- >0x1002c      leshort x               block size %d
- >0x10032      leshort &2              (mounted or unclean)
- >0x10000      lelong  x               num blocks %d
+ # OS/2 batch files are REXX. the second regex is a bit generic, oh well
+ # the matched commands seem to be common in REXX and uncommon elsewhere
+-100   regex/c =^[\ \t]{0,10}call[\ \t]{1,10}rxfunc OS/2 REXX batch file text
+-100   regex/c =^[\ \t]{0,10}say\ ['"]      OS/2 REXX batch file text
++100   search/0xffff   rxfuncadd
++>100  regex/c =^[\ \t]{0,10}call[\ \t]{1,10}rxfunc    OS/2 REXX batch file text
++100   search/0xffff   say
++>100  regex/c =^[\ \t]{0,10}say\ ['"]                 OS/2 REXX batch file text
+ 0     leshort         0x14c   MS Windows COFF Intel 80386 object file
+ #>4   ledate          x       stamp %s
+#!/bin/sh /usr/share/dpatch/dpatch-run
 ## 210-magic-update-digifax.dpatch
 ##
 ## DP: Update Digifax magic.
+
+@DPATCH@
+
 diff -Naurp file.orig/magic/Magdir/modem file/magic/Magdir/modem
 --- file.orig/magic/Magdir/modem       2008-06-13 15:00:30.000000000 +0200
 +++ file/magic/Magdir/modem    2008-06-13 15:25:40.000000000 +0200
@@ -224,24 +176,13 @@ diff -Naurp file.orig/magic/Magdir/modem file/magic/Magdir/modem
  
  0     short           0x0100          raw G3 data, byte-padded
  0     short           0x1400          raw G3 data
-## 335-magic-add-freemind.dpatch by Jamie Thompson <debian-bugs@jamie-thompson.co.uk>
-##
-## DP: New magic for Freemind (Closes: #472385).
-diff -Naurp file.orig/magic/Magdir/wordprocessors file/magic/Magdir/wordprocessors
---- file.orig/magic/Magdir/wordprocessors      2008-05-04 14:12:49.000000000 +0000
-+++ file/magic/Magdir/wordprocessors   2008-05-04 14:18:38.000000000 +0000
-@@ -148,3 +148,8 @@
- 0     string          DOC
- >43   byte            0x16    Just System Word Processor Ichitaro v6
- !:mime        application/x-ichitaro6
-+
-+# Type: Freemind mindmap documents
-+# From: Jamie Thompson <debian-bugs@jamie-thompson.co.uk>
-+0     string/cB       \<map\ version  Freemind document
-+!:mime        application/x-freemind
-## 211-magic-update-mono.dpatch
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 211-magic-update-mono.dpatch
 ##
 ## DP: Update Mono magic.
+
+@DPATCH@
+
 diff -Naurp file.orig/magic/Magdir/msdos file/magic/Magdir/msdos
 --- file.orig/magic/Magdir/msdos       2008-07-02 15:16:52.000000000 +0000
 +++ file/magic/Magdir/msdos    2008-07-15 13:33:43.000000000 +0000
@@ -253,137 +194,13 @@ diff -Naurp file.orig/magic/Magdir/msdos file/magic/Magdir/msdos
  >>&0xf4 search/0x140 \x0\x40\x1\x0
  >>>(&0.l+(4)) string MSCF \b, WinHKI CAB self-extracting archive
  >30           string  Copyright\ 1989-1990\ PKWARE\ Inc.      Self-extracting PKZIP archive
-## 328-magic-add-xen.dpatch by Radek Vokal <rvokal@redhat.com>
-##
-## DP: xen patch, recognizes Xen saved domain
-diff -Naurp file-4.23.orig/magic/Magdir/linux file-4.23/magic/Magdir/linux
---- file-4.23.orig/magic/Magdir/linux  2008-01-12 17:47:04.000000000 +0000
-+++ file-4.23/magic/Magdir/linux       2008-01-12 17:46:42.000000000 +0000
-@@ -248,3 +248,9 @@
- >72   string  x               %s]
- >168  string  x               UUID: %s
-+# Type: Xen, the virtual machine monitor
-+# From: Radek Vokal <rvokal@redhat.com>
-+0     string          LinuxGuestRecord        Xen saved domain
-+#>2   regex           \(name\ [^)]*\)         %s
-+>20   search/256      (name                   (name
-+>>&1  string          x                       %s...)
-## 338-magic-add-cromfs.dpatch by Werner Fink <werner@suse.de>
-##
-## DP: Adds new magic for CROM filesystem.
-diff -Naurp file.orig/magic/Magdir/filesystems file/magic/Magdir/filesystems
---- file.orig/magic/Magdir/filesystems 2008-07-02 13:47:23.000000000 +0000
-+++ file/magic/Magdir/filesystems      2008-07-15 13:43:26.000000000 +0000
-@@ -1327,3 +1327,15 @@
- # dvdisaster's .ecc
- # From: "Nelson A. de Oliveira" <naoliv@gmail.com>
- 0     string  *dvdisaster*    dvdisaster error correction file
-+
-+# Type:       CROM filesystem
-+# From:       Werner Fink <werner@suse.de>
-+0     string  CROMFS  CROMFS
-+>6    string  >\0     \b version %2.2s,
-+>8    ulequad >0      \b block data at %lld,
-+>16   ulequad >0      \b fblock table at %lld,
-+>24   ulequad >0      \b inode table at %lld,
-+>32   ulequad >0      \b root at %lld,
-+>40   ulelong >0      \b fblock size = %ld,
-+>44   ulelong >0      \b block size = %ld,
-+>48   ulequad >0      \b bytes = %lld
-## 205-magic-update-tcsh.dpatch
-##
-## DP: Add another shebang path for tcsh.
-diff -Naurp file.orig/magic/Magdir/commands file/magic/Magdir/commands
---- file.orig/magic/Magdir/commands    2008-04-16 12:28:04.000000000 +0000
-+++ file/magic/Magdir/commands 2008-07-15 13:28:19.000000000 +0000
-@@ -12,6 +12,8 @@
- !:mime        text/x-shellscript
- 0     string/b        #!\ /bin/tcsh           Tenex C shell script text executable
- !:mime        text/x-shellscript
-+0     string/b        #!\ /usr/bin/tcsh       Tenex C shell script text executable
-+!:mime        text/x-shellscript
- 0     string/b        #!\ /usr/local/tcsh     Tenex C shell script text executable
- !:mime        text/x-shellscript
- 0     string/b        #!\ /usr/local/bin/tcsh Tenex C shell script text executable
-## 326-magic-add-supercollider.dpatch by Mario Lang <mlang@debian.org>
-##
-## DP: Adds new magic for SuperCollider 3 Synth Definition File Format
-## DP: (Closes: #284803).
-diff -Naurp file-4.23.orig/magic/Magdir/audio file-4.23/magic/Magdir/audio
---- file-4.23.orig/magic/Magdir/audio  2008-01-12 17:39:01.000000000 +0000
-+++ file-4.23/magic/Magdir/audio       2008-01-12 17:38:49.000000000 +0000
-@@ -576,3 +576,8 @@
- # URL:  http://filext.com/detaillist.php?extdetail=AMR
- # From: Russell Coker <russell@coker.com.au>
- 0     string  #!AMR           Adaptive Multi-Rate Codec (GSM telephony)
-+
-+# Type: SuperCollider 3 Synth Definition File Format
-+# From: Mario Lang <mlang@debian.org>
-+0     string  SCgf    SuperCollider3 Synth Definition file,
-+>4    belong  x       version %d
-## 204-magic-update-asf.dpatch by Daniel Baumann <daniel@debian.org>
-##
-## DP: Add mime to asf magic.
-diff -Naurp file.orig/magic/Magdir/animation file/magic/Magdir/animation
---- file.orig/magic/Magdir/animation   2008-05-26 23:24:27.000000000 +0200
-+++ file/magic/Magdir/animation        2008-05-31 15:03:45.000000000 +0200
-@@ -686,6 +686,7 @@
- # Microsoft Advanced Streaming Format (ASF) <mpruett@sgi.com>
- 0     belong                  0x3026b275      Microsoft ASF
-+!:mime        video/x-ms-asf
- # MNG Video Format, <URL:http://www.libpng.org/pub/mng/spec/>
- 0     string                  \x8aMNG         MNG video data,
-## 336-magic-add-qdmb.dpatch by Benoit Sibaud <bsibaud@april.org>
-##
-## DP: New magic for QDBM Quick Database Manager (Closes: #481717).
-diff -Naurp file-4.24.orig/magic/Magdir/database file-4.24/magic/Magdir/database
---- file-4.24.orig/magic/Magdir/database       2008-05-04 14:12:49.000000000 +0000
-+++ file-4.24/magic/Magdir/database    2008-05-21 09:07:49.000000000 +0000
-@@ -242,3 +242,8 @@
- # URL:  http://www.grc.nasa.gov/WWW/cgns/adf/
- # From: Nicolas Chauvat <nicolas.chauvat@logilab.fr>
- 0     string  @(#)ADF\ Database       CGNS Advanced Data Format
-+
-+# Type:       QDBM Quick Database Manager
-+# From:       Benoit Sibaud <bsibaud@april.org>
-+0     string  \\[depot\\]\n\f         Quick Database Manager, little endian
-+0     string  \\[DEPOT\\]\n\f         Quick Database Manager, big endian
-## 319-magic-add-pe5.dpatch by Simon Horman <horms@debian.org>
-##
-## DP: New magic for the Ulead Photo Explorer5 image format (Closes: #339397).
-diff -Naurp file.orig/magic/Magdir/images file/magic/Magdir/images
---- file.orig/magic/Magdir/images      2008-07-02 15:16:52.000000000 +0000
-+++ file/magic/Magdir/images   2008-07-15 13:39:37.000000000 +0000
-@@ -600,3 +600,8 @@
- # Wavelet Scalar Quantization format used in gray-scale fingerprint images
- # From Tano M Fotang <mfotang@quanteq.com>
- 0     string  \xff\xa0\xff\xa8\x00    Wavelet Scalar Quantization image data
-+
-+# Type:       Ulead Photo Explorer5 (.pe5)
-+# URL:        http://www.jisyo.com/cgibin/view.cgi?EXT=pe5 (Japanese)
-+# From:       Simon Horman <horms@debian.org>
-+0     string  IIO2H   Ulead Photo Explorer5
-## 207-magic-update-real.dpatch
-##
-## DP: Update RealMedia magic.
-diff -Naurp file.orig/magic/Magdir/audio file/magic/Magdir/audio
---- file.orig/magic/Magdir/audio       2008-05-31 22:17:03.000000000 +0200
-+++ file/magic/Magdir/audio    2008-06-13 09:48:01.000000000 +0200
-@@ -116,7 +116,7 @@
- # Real Audio (Magic .ra\0375)
- 0     belong          0x2e7261fd      RealAudio sound file
- !:mime        audio/x-pn-realaudio
--0     string          .RMF            RealMedia file
-+0     string          .RMF\0\0\0      RealMedia file
- !:mime        application/vnd.rn-realmedia
- #video/x-pn-realvideo
- #video/vnd.rn-realvideo
+#!/bin/sh /usr/share/dpatch/dpatch-run
 ## 212-magic-update-pfm.dpatch
 ##
 ## DP: Update pfm magic.
+
+@DPATCH@
+
 diff -Naurp file.orig/magic/Magdir/msdos file/magic/Magdir/msdos
 --- file.orig/magic/Magdir/msdos       2008-07-02 15:16:52.000000000 +0000
 +++ file/magic/Magdir/msdos    2008-07-15 13:36:26.000000000 +0000
@@ -401,192 +218,38 @@ diff -Naurp file.orig/magic/Magdir/msdos file/magic/Magdir/msdos
  #0    string  \000\001 pfm?
  #>3   string  \022\000\000Copyright\  yes
  #>3   string  \002\000\000Copyright\  yes
-## 323-magic-add-sisu.dpatch by Ralph Amissah <ralph.amissah@gmail.com>
-##
-## DP: New magic for SiSU Markup Language.
-diff -Naurp file-4.24.orig/magic/Magdir/sisu file-4.24/magic/Magdir/sisu
---- file-4.24.orig/magic/Magdir/sisu   1970-01-01 00:00:00.000000000 +0000
-+++ file-4.24/magic/Magdir/sisu        2008-04-07 08:10:25.000000000 +0000
-@@ -0,0 +1,18 @@
-+# Type: SiSU Markup Language
-+# URL:  http://www.sisudoc.org/
-+# From: Ralph Amissah <ralph.amissah@gmail.com>
-+
-+0     regex   \^%?[\ \t]*SiSU[\ \t]+insert    SiSU text insert
-+>5    regex   [0-9.]+                         %s
-+
-+0     regex   \^%[\ \t]+SiSU[\ \t]+master     SiSU text master
-+>5    regex   [0-9.]+                         %s
-+
-+0     regex   \^%?[\ \t]*SiSU[\ \t]+text      SiSU text
-+>5    regex   [0-9.]+                         %s
-+
-+0     regex   \^%?[\ \t]*SiSU[\ \t][0-9.]+    SiSU text
-+>5    regex   [0-9.]+                         %s
-+
-+0     regex   \^%*[\ \t]*sisu-[0-9.]+         SiSU text
-+>5    regex   [0-9.]+                         %s
-diff -Naurp file-4.24.orig/magic/Makefile.am file-4.24/magic/Makefile.am
---- file-4.24.orig/magic/Makefile.am   2008-03-22 21:41:00.000000000 +0000
-+++ file-4.24/magic/Makefile.am        2008-04-07 08:11:04.000000000 +0000
-@@ -170,6 +170,7 @@ $(MAGIC_FRAGMENT_DIR)/sgi \
- $(MAGIC_FRAGMENT_DIR)/sgml \
- $(MAGIC_FRAGMENT_DIR)/sharc \
- $(MAGIC_FRAGMENT_DIR)/sinclair \
-+$(MAGIC_FRAGMENT_DIR)/sisu \
- $(MAGIC_FRAGMENT_DIR)/sketch \
- $(MAGIC_FRAGMENT_DIR)/smalltalk \
- $(MAGIC_FRAGMENT_DIR)/sniffer \
-diff -Naurp file-4.24.orig/magic/Makefile.in file-4.24/magic/Makefile.in
---- file-4.24.orig/magic/Makefile.in   2008-03-22 21:41:06.000000000 +0000
-+++ file-4.24/magic/Makefile.in        2008-04-07 08:11:10.000000000 +0000
-@@ -330,6 +330,7 @@ $(MAGIC_FRAGMENT_DIR)/sgi \
- $(MAGIC_FRAGMENT_DIR)/sgml \
- $(MAGIC_FRAGMENT_DIR)/sharc \
- $(MAGIC_FRAGMENT_DIR)/sinclair \
-+$(MAGIC_FRAGMENT_DIR)/sisu \
- $(MAGIC_FRAGMENT_DIR)/sketch \
- $(MAGIC_FRAGMENT_DIR)/smalltalk \
- $(MAGIC_FRAGMENT_DIR)/sniffer \
-## 207-magic-update-zip.dpatch
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 213-magic-update-ocaml.dpatch by Eric Cooper <ecc@cmu.edu>
 ##
-## DP: Update zip magic.
-diff -Naurp file.orig/magic/Magdir/msdos file/magic/Magdir/msdos
---- file.orig/magic/Magdir/msdos       2008-05-31 22:17:03.000000000 +0200
-+++ file/magic/Magdir/msdos    2008-06-13 09:44:56.000000000 +0200
-@@ -256,7 +256,7 @@
+## DP: Update ocaml magic (Closes: #488992).
+
+@DPATCH@
+
+diff -Naurp file.orig/magic/Magdir/ocaml file/magic/Magdir/ocaml
+--- file.orig/magic/Magdir/ocaml       2008-07-15 14:13:20.000000000 +0000
++++ file/magic/Magdir/ocaml    2008-07-15 14:13:08.000000000 +0000
+@@ -1,7 +1,7 @@
  
- # a few unknown ZIP sfxes, no idea if they are needed or if they are
- # already captured by the generic patterns above
-->122          string          Windows\ self-extracting\ ZIP   \b, ZIP self-extracting archive
-+>0x7a         string          Windows\ self-extracting\ ZIP   \b, ZIP self-extracting archive
- >(8.s*16)     search/0x20     PKSFX \b, ZIP self-extracting archive (PKZIP)
- # TODO: how to add this? >FileSize-34 string Windows\ Self-Installing\ Executable \b, ZIP self-extracting archive
- #
-## 339-magic-add-scribus.dpatch by Werner Fink <werner@suse.de>
-##
-## DP: Adds new magics for Scribus.
-diff -Naurp file-4.24.orig/magic/Magdir/wordprocessors file-4.24/magic/Magdir/wordprocessors
---- file-4.24.orig/magic/Magdir/wordprocessors 2008-05-21 09:49:43.000000000 +0000
-+++ file-4.24/magic/Magdir/wordprocessors      2008-05-21 09:50:54.000000000 +0000
-@@ -153,3 +153,9 @@
- # From: Jamie Thompson <debian-bugs@jamie-thompson.co.uk>
- 0     string/cB       \<map\ version  Freemind document
- !:mime        application/x-freemind
-+
-+# Type:        Scribus
-+# From:        Werner Fink <werner@suse.de>
-+0     string  \<SCRIBUSUTF8\ Version          Scribus Document
-+0     string  \<SCRIBUSUTF8NEW\ Version       Scribus Document
-+!:mime        application/x-scribus
-## 209-magic-update-os2.dpatch
-##
-## DP: Update OS/2 REXX magic.
-diff -Naurp file.orig/magic/Magdir/msdos file/magic/Magdir/msdos
---- file.orig/magic/Magdir/msdos       2008-06-13 09:44:56.000000000 +0200
-+++ file/magic/Magdir/msdos    2008-06-13 09:51:35.000000000 +0200
-@@ -14,8 +14,10 @@
- # OS/2 batch files are REXX. the second regex is a bit generic, oh well
- # the matched commands seem to be common in REXX and uncommon elsewhere
--100   regex/c =^[\ \t]{0,10}call[\ \t]{1,10}rxfunc OS/2 REXX batch file text
--100   regex/c =^[\ \t]{0,10}say\ ['"]      OS/2 REXX batch file text
-+100   search/0xffff   rxfuncadd
-+>100  regex/c =^[\ \t]{0,10}call[\ \t]{1,10}rxfunc    OS/2 REXX batch file text
-+100   search/0xffff   say
-+>100  regex/c =^[\ \t]{0,10}say\ ['"]                 OS/2 REXX batch file text
- 0     leshort         0x14c   MS Windows COFF Intel 80386 object file
- #>4   ledate          x       stamp %s
-## 321-magic-add-powertab.dpatch by Jelmer Vernooij <jelmer@samba.org>
-##
-## DP: New magic for Power-Tab
-diff -Naur file-4.20.orig/magic/Magdir/chord file-4.20/magic/Magdir/chord
---- file-4.20.orig/magic/Magdir/chord  2003-03-24 14:48:32.000000000 +0000
-+++ file-4.20/magic/Magdir/chord       2007-05-17 16:33:26.000000000 +0000
-@@ -7,3 +7,8 @@
- #
- 0     string          {title          Chord text file
-+# Type:       PowerTab file format
-+# URL:        http://www.power-tab.net/
-+# From:       Jelmer Vernooij <jelmer@samba.org>
-+0     string          ptab\003\000    Power-Tab v3 Tablature File
-+0     string          ptab\004\000    Power-Tab v4 Tablature File
-## 322-magic-add-scummvm.dpatch by Sven Hartge <debian@ds9.argh.org>
-##
-## DP: New magic for scummVM savegame files (Closes: #263488).
-diff -Naurp file-4.23.orig/magic/Magdir/console file-4.23/magic/Magdir/console
---- file-4.23.orig/magic/Magdir/console        2007-09-26 20:22:31.000000000 +0000
-+++ file-4.23/magic/Magdir/console     2008-01-12 17:36:55.000000000 +0000
-@@ -252,3 +252,7 @@
- # .w3m
- 0     string HM3W                             Warcraft III map file
-+# Type: scummVM savegame files
-+# From: Sven Hartge <debian@ds9.argh.org>
-+0     string  SCVM    scummVM savegame
-+>12   string  >\0     "%s"
-## 213-magic-update-ocaml.dpatch by Eric Cooper <ecc@cmu.edu>
-##
-## DP: Update ocaml magic (Closes: #488992).
-diff -Naurp file.orig/magic/Magdir/ocaml file/magic/Magdir/ocaml
---- file.orig/magic/Magdir/ocaml       2008-07-15 14:13:20.000000000 +0000
-+++ file/magic/Magdir/ocaml    2008-07-15 14:13:08.000000000 +0000
-@@ -1,7 +1,7 @@
- #------------------------------------------------------------------------------
- # ocaml: file(1) magic for Objective Caml files.
--0     string  Caml1999        Objective caml
-+0     string  Caml1999        OCaml
- >8    string  X               exec file
- >8    string  I               interface file (.cmi)
- >8    string  O               object file (.cmo)
-@@ -10,4 +10,4 @@
- >8    string  Z               native library file (.cmxa)
- >8    string  M               abstract syntax tree implementation file
- >8    string  N               abstract syntax tree interface file
-->9    string  >\0             (Version %3.3s).
-+>9    string  >\0             (Version %3.3s)
-## 323-magic-add-sgf.dpatch by Eduardo Sabbatella <eduardo_sabbatella@yahoo.com.ar>
-##
-## DP: New magic for SGF Smart Game Format
-diff -Naurp file.orig/magic/Magdir/games file/magic/Magdir/games
---- file.orig/magic/Magdir/games       2008-04-23 19:00:59.000000000 +0000
-+++ file/magic/Magdir/games    2008-07-15 13:41:19.000000000 +0000
-@@ -243,3 +243,14 @@
- >&0           string          n\                                      NetImmerse game engine file
- >>&0          regex           [0-9a-z.]+                              \b, version %s
-+# Type:       SGF Smart Game Format
-+# URL:        http://www.red-bean.com/sgf/
-+# From:       Eduardo Sabbatella <eduardo_sabbatella@yahoo.com.ar>
-+2     regex/c \\(;.*GM\\[[0-9]{1,2}\\]        Smart Game Format
-+>2    regex/c GM\\[1\\]                       - Go Game
-+>2    regex/c GM\\[6\\]                       - BackGammon Game
-+>2    regex/c GM\\[11\\]                      - Hex Game
-+>2    regex/c GM\\[18\\]                      - Amazons Game
-+>2    regex/c GM\\[19\\]                      - Octi Game
-+>2    regex/c GM\\[20\\]                      - Gess Game
-+>2    regex/c GM\\[21\\]                      - twix Game
-## 331-magic-add-xcursor.dpatch by Mathias Brodala <info@noctus.net>
-##
-## DP: New magic for X11 cursor files (Closes: #451246).
-diff -Naur file-4.21.orig/magic/Magdir/images file-4.21/magic/Magdir/images
---- file-4.21.orig/magic/Magdir/images 2007-12-23 17:40:53.000000000 +0000
-+++ file-4.21/magic/Magdir/images      2007-12-23 17:40:46.000000000 +0000
-@@ -534,3 +534,8 @@
- # URL:  http://www.jisyo.com/cgibin/view.cgi?EXT=pe5 (Japanese)
- # From: Simon Horman <horms@debian.org>
- 0     string  IIO2H   Ulead Photo Explorer5
-+
-+# Type:       X11 cursor
-+# URL:        http://webcvs.freedesktop.org/mime/shared-mime-info/freedesktop.org.xml.in?view=markup
-+# From:       Mathias Brodala <info@noctus.net>
-+0     string  Xcur    X11 cursor
-## 214-magic-update-linuxswap.dpatch by Russell Coker <russell@coker.com.au>
+ #------------------------------------------------------------------------------
+ # ocaml: file(1) magic for Objective Caml files.
+-0     string  Caml1999        Objective caml
++0     string  Caml1999        OCaml
+ >8    string  X               exec file
+ >8    string  I               interface file (.cmi)
+ >8    string  O               object file (.cmo)
+@@ -10,4 +10,4 @@
+ >8    string  Z               native library file (.cmxa)
+ >8    string  M               abstract syntax tree implementation file
+ >8    string  N               abstract syntax tree interface file
+->9    string  >\0             (Version %3.3s).
++>9    string  >\0             (Version %3.3s)
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 214-magic-update-linuxswap.dpatch by Russell Coker <russell@coker.com.au>
 ##
 ## DP: Adding volume label and UUID support for linux swap (Closes: #489865).
+
+@DPATCH@
+
 diff -Naurp file.orig/magic/Magdir/linux file/magic/Magdir/linux
 --- file.orig/magic/Magdir/linux       2008-06-04 18:02:25.000000000 +0000
 +++ file/magic/Magdir/linux    2008-07-15 14:16:43.000000000 +0000
@@ -615,124 +278,13 @@ diff -Naurp file.orig/magic/Magdir/linux file/magic/Magdir/linux
  # ECOFF magic for OSF/1 and Linux (only tested under Linux though)
  #
  #     from Erik Troan (ewt@redhat.com) examining od dumps, so this
-## 325-magic-add-subversion.dpatch by Michael Piefel <piefel@debian.org>
-##
-## DP: New magic for SVN dumps (closes: #256652).
-diff -Naur file-4.21.orig/magic/Magdir/revision file-4.21/magic/Magdir/revision
---- file-4.21.orig/magic/Magdir/revision       2007-12-23 17:25:39.000000000 +0000
-+++ file-4.21/magic/Magdir/revision    2007-12-23 17:26:34.000000000 +0000
-@@ -17,3 +17,8 @@
- 0     string  HG10            Mercurial bundle,
- >4    string  UN              uncompressed
- >4    string  BZ              bzip2 compressed
-+
-+# Type:       Subversion (SVN) dumps
-+# From:       Uwe Zeisberger <zeisberg@informatik.uni-freiburg.de>
-+0     string  SVN-fs-dump-format-version:     Subversion dumpfile
-+>28   string  >\0                             (version: %s)
-## 341-magic-add-bzr.dpatch by Jelmer Vernooij <jelmer@samba.org>
-##
-## DP: Adds new magics for bzr (Closes: #488742).
-diff -Naurp file.orig/magic/Magdir/revision file/magic/Magdir/revision
---- file.orig/magic/Magdir/revision    2008-07-01 15:42:16.000000000 +0200
-+++ file/magic/Magdir/revision 2008-07-01 15:43:34.000000000 +0200
-@@ -22,3 +22,9 @@
- # From:       Uwe Zeisberger <zeisberg@informatik.uni-freiburg.de>
- 0     string  SVN-fs-dump-format-version:     Subversion dumpfile
- >28   string  >\0                             (version: %s)
-+
-+# Type:       Bazaar revision bundles and merge requests
-+# URL:        http://www.bazaar-vcs.org/
-+# From:       Jelmer Vernooij <jelmer@samba.org>
-+0     string  #\ Bazaar\ revision\ bundle\ v Bazaar Bundle
-+0     string  #\ Bazaar\ merge\ directive\ format Bazaar merge directive
-## 998-doc-manpages.dpatch by Michael Piefel <piefel@debian.org>
-##
-## DP: FIXME, and #417511.
-diff -Naurp file-4.24.orig/doc/file.man file-4.24/doc/file.man
---- file-4.24.orig/doc/file.man        2008-03-07 15:00:07.000000000 +0000
-+++ file-4.24/doc/file.man     2008-04-07 08:26:06.000000000 +0000
-@@ -51,7 +51,7 @@ meaning anything else (data is usually 
- or non-printable).
- Exceptions are well-known file formats (core files, tar archives)
- that are known to contain binary data.
--When modifying magic files or the program itself, make sure to
-+When adding local definitions to /etc/magic, make sure to
- .Em "preserve these keywords" .
- Users depend on knowing that all the readable files in a directory
- have the word 
-@@ -95,7 +95,8 @@ The concept of a
- has been applied by extension to data files.
- Any file with some invariant identifier at a small fixed
- offset into the file can usually be described in this way.
--The information identifying these files is read from the compiled
-+The information identifying these files is read from /etc/magic
-+and the the compiled
- magic file
- .Pa __MAGIC__.mgc ,
- or the files in the directory
-@@ -326,6 +327,11 @@ will not attempt to open
- adds
- .Dq .mgc
- to the value of this variable as appropriate.
-+However,
-+.Pa file
-+has to exist in order for
-+.Pa file.mime
-+to be considered.
- The environment variable
- .Dv POSIXLY_CORRECT
- controls (on systems that support symbolic links), whether
-@@ -401,12 +407,6 @@ will be distributed periodically.
- The order of entries in the magic file is significant.
- Depending on what system you are using, the order that
- they are put together may be incorrect.
--If your old
--.Nm
--command uses a magic file,
--keep the old magic file around for comparison purposes
--(rename it to 
--.Pa __MAGIC__.orig ).
- .Sh EXAMPLES
- .Bd -literal -offset indent 
- $ file file.c file /dev/{wd0a,hda}
-@@ -548,3 +548,5 @@ on
- .Dv ftp.astron.com
- in the directory
- .Dv /pub/file/file-X.YZ.tar.gz
-+.Pp
-+This version contains a number of new magix entries from Debian.
-## 202-magic-update-awk.dpatch by Werner Fink <werner@suse.de>
-##
-## DP: Updates (and re-enables) awk magic.
-diff -Naurp file-4.24.orig/magic/Magdir/commands file-4.24/magic/Magdir/commands
---- file-4.24.orig/magic/Magdir/commands       2008-05-04 14:12:49.000000000 +0000
-+++ file-4.24/magic/Magdir/commands    2008-05-21 09:36:15.000000000 +0000
-@@ -49,6 +49,7 @@
- # update to distinguish from *.vcf files
- # this is broken because postscript has /EBEGIN{ for example.
- #0    search/Bb       BEGIN {                 awk script text
-+0     regex           =^\\s*BEGIN\\s*[{]      awk script text
- # AT&T Bell Labs' Plan 9 shell
- 0     string/b        #!\ /bin/rc     Plan 9 rc shell script text executable
-## 325-magic-add-ssl.dpatch by Nicolas Collignon <tsointsoin@gmail.com>
-##
-## DP: New magic for OpenSSL certificates/key files (Closes: #439537).
-diff -Naur file-4.21.orig/magic/Magdir/ssl file-4.21/magic/Magdir/ssl
---- file-4.21.orig/magic/Magdir/ssl    1970-01-01 00:00:00.000000000 +0000
-+++ file-4.21/magic/Magdir/ssl 2007-08-26 08:27:04.000000000 +0000
-@@ -0,0 +1,7 @@
-+# Type: OpenSSL certificates/key files
-+# From: Nicolas Collignon <tsointsoin@gmail.com>
-+
-+0     string  -----BEGIN\ CERTIFICATE-----    PEM certificate
-+0     string  -----BEGIN\ CERTIFICATE\ REQ    PEM certificate request
-+0     string  -----BEGIN\ RSA\ PRIVATE        PEM RSA private key
-+0     string  -----BEGIN\ DSA\ PRIVATE        PEM DSA private key
+#!/bin/sh /usr/share/dpatch/dpatch-run
 ## 215-magic-update-linuxext.dpatch by Russell Coker <russell@coker.com.au>
 ##
 ## DP: Adding volume label and UUID support for linux ext (Closes: #489865).
+
+@DPATCH@
+
 diff -Naurp file.orig/magic/Magdir/filesystems file/magic/Magdir/filesystems
 --- file.orig/magic/Magdir/filesystems 2008-07-02 13:47:23.000000000 +0000
 +++ file/magic/Magdir/filesystems      2008-07-15 14:21:39.000000000 +0000
@@ -794,9 +346,13 @@ diff -Naurp file.orig/magic/Magdir/filesystems file/magic/Magdir/filesystems
  
  # SGI disk labels - Nathan Scott <nathans@debian.org>
  0     belong          0x0BE5A941      SGI disk label (volume header)
+#!/bin/sh /usr/share/dpatch/dpatch-run
 ## 318-magic-add-par2.dpatch by Daniel van Eeden <daniel_e@dds.nl>
 ##
 ## DP: New magic for PAR2 archive files (Closes: #294070).
+
+@DPATCH@
+
 diff -Naurp file-4.24.orig/magic/Magdir/archive file-4.24/magic/Magdir/archive
 --- file-4.24.orig/magic/Magdir/archive        2008-02-28 18:57:34.000000000 +0000
 +++ file-4.24/magic/Magdir/archive     2008-04-07 08:05:47.000000000 +0000
@@ -807,19 +363,476 @@ diff -Naurp file-4.24.orig/magic/Magdir/archive file-4.24/magic/Magdir/archive
 +# Type: Parity Archive
 +# From: Daniel van Eeden <daniel_e@dds.nl>
 +0     string   PAR2           Parity Archive Volume Set
-## 337-magic-add-tokyocabinet.dpatch by Benoit Sibaud <bsibaud@april.org>
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 319-magic-add-pe5.dpatch by Simon Horman <horms@debian.org>
 ##
-## DP: New magic for TokyoCabinet database (Closes: #481768).
-diff -Naurp file-4.24.orig/magic/Magdir/database file-4.24/magic/Magdir/database
---- file-4.24.orig/magic/Magdir/database       2008-05-21 09:07:49.000000000 +0000
-+++ file-4.24/magic/Magdir/database    2008-05-21 09:15:26.000000000 +0000
-@@ -247,3 +247,9 @@
- # From:       Benoit Sibaud <bsibaud@april.org>
- 0     string  \\[depot\\]\n\f         Quick Database Manager, little endian
- 0     string  \\[DEPOT\\]\n\f         Quick Database Manager, big endian
+## DP: New magic for the Ulead Photo Explorer5 image format (Closes: #339397).
+
+@DPATCH@
+
+diff -Naurp file.orig/magic/Magdir/images file/magic/Magdir/images
+--- file.orig/magic/Magdir/images      2008-07-02 15:16:52.000000000 +0000
++++ file/magic/Magdir/images   2008-07-15 13:39:37.000000000 +0000
+@@ -600,3 +600,8 @@
+ # Wavelet Scalar Quantization format used in gray-scale fingerprint images
+ # From Tano M Fotang <mfotang@quanteq.com>
+ 0     string  \xff\xa0\xff\xa8\x00    Wavelet Scalar Quantization image data
 +
-+# Type:       TokyoCabinet database
-+# URL:        http://tokyocabinet.sourceforge.net/
-+# From:       Benoit Sibaud <bsibaud@april.org>
-+0     string  ToKyO\ CaBiNeT\n        TokyoCabinet database
-+>14   string  x                       (version %s)
++# Type:       Ulead Photo Explorer5 (.pe5)
++# URL:        http://www.jisyo.com/cgibin/view.cgi?EXT=pe5 (Japanese)
++# From:       Simon Horman <horms@debian.org>
++0     string  IIO2H   Ulead Photo Explorer5
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 320-magic-add-pmenu.dpatch by Edward Betts <edward@debian.org>
+##
+## DP: New magic for pmenu (Closes: #38543).
+
+@DPATCH@
+
+diff -Naurp file-4.23.orig/magic/Magdir/commands file-4.23/magic/Magdir/commands
+--- file-4.23.orig/magic/Magdir/commands       2007-06-01 19:40:26.000000000 +0000
++++ file-4.23/magic/Magdir/commands    2008-01-12 17:34:41.000000000 +0000
+@@ -55,3 +55,8 @@
+ 0     string          Zend\x00                PHP script Zend Optimizer data
+ 0     string          $!                      DCL command file
++
++# Type: Pdmenu
++# URL:  http://packages.debian.org/pdmenu
++# From: Edward Betts <edward@debian.org>
++0     string  #!/usr/bin/pdmenu       Pdmenu configuration file text
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 321-magic-add-powertab.dpatch by Jelmer Vernooij <jelmer@samba.org>
+##
+## DP: New magic for Power-Tab
+
+@DPATCH@
+
+diff -Naur file-4.20.orig/magic/Magdir/chord file-4.20/magic/Magdir/chord
+--- file-4.20.orig/magic/Magdir/chord  2003-03-24 14:48:32.000000000 +0000
++++ file-4.20/magic/Magdir/chord       2007-05-17 16:33:26.000000000 +0000
+@@ -7,3 +7,8 @@
+ #
+ 0     string          {title          Chord text file
++# Type:       PowerTab file format
++# URL:        http://www.power-tab.net/
++# From:       Jelmer Vernooij <jelmer@samba.org>
++0     string          ptab\003\000    Power-Tab v3 Tablature File
++0     string          ptab\004\000    Power-Tab v4 Tablature File
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 322-magic-add-scummvm.dpatch by Sven Hartge <debian@ds9.argh.org>
+##
+## DP: New magic for scummVM savegame files (Closes: #263488).
+
+@DPATCH@
+
+diff -Naurp file-4.23.orig/magic/Magdir/console file-4.23/magic/Magdir/console
+--- file-4.23.orig/magic/Magdir/console        2007-09-26 20:22:31.000000000 +0000
++++ file-4.23/magic/Magdir/console     2008-01-12 17:36:55.000000000 +0000
+@@ -252,3 +252,7 @@
+ # .w3m
+ 0     string HM3W                             Warcraft III map file
++# Type: scummVM savegame files
++# From: Sven Hartge <debian@ds9.argh.org>
++0     string  SCVM    scummVM savegame
++>12   string  >\0     "%s"
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 323-magic-add-sgf.dpatch by Eduardo Sabbatella <eduardo_sabbatella@yahoo.com.ar>
+##
+## DP: New magic for SGF Smart Game Format
+
+@DPATCH@
+
+diff -Naurp file.orig/magic/Magdir/games file/magic/Magdir/games
+--- file.orig/magic/Magdir/games       2008-04-23 19:00:59.000000000 +0000
++++ file/magic/Magdir/games    2008-07-15 13:41:19.000000000 +0000
+@@ -243,3 +243,14 @@
+ >&0           string          n\                                      NetImmerse game engine file
+ >>&0          regex           [0-9a-z.]+                              \b, version %s
++# Type:       SGF Smart Game Format
++# URL:        http://www.red-bean.com/sgf/
++# From:       Eduardo Sabbatella <eduardo_sabbatella@yahoo.com.ar>
++2     regex/c \\(;.*GM\\[[0-9]{1,2}\\]        Smart Game Format
++>2    regex/c GM\\[1\\]                       - Go Game
++>2    regex/c GM\\[6\\]                       - BackGammon Game
++>2    regex/c GM\\[11\\]                      - Hex Game
++>2    regex/c GM\\[18\\]                      - Amazons Game
++>2    regex/c GM\\[19\\]                      - Octi Game
++>2    regex/c GM\\[20\\]                      - Gess Game
++>2    regex/c GM\\[21\\]                      - twix Game
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 323-magic-add-sisu.dpatch by Ralph Amissah <ralph.amissah@gmail.com>
+##
+## DP: New magic for SiSU Markup Language.
+
+@DPATCH@
+
+diff -Naurp file-4.24.orig/magic/Magdir/sisu file-4.24/magic/Magdir/sisu
+--- file-4.24.orig/magic/Magdir/sisu   1970-01-01 00:00:00.000000000 +0000
++++ file-4.24/magic/Magdir/sisu        2008-04-07 08:10:25.000000000 +0000
+@@ -0,0 +1,18 @@
++# Type: SiSU Markup Language
++# URL:  http://www.sisudoc.org/
++# From: Ralph Amissah <ralph.amissah@gmail.com>
++
++0     regex   \^%?[\ \t]*SiSU[\ \t]+insert    SiSU text insert
++>5    regex   [0-9.]+                         %s
++
++0     regex   \^%[\ \t]+SiSU[\ \t]+master     SiSU text master
++>5    regex   [0-9.]+                         %s
++
++0     regex   \^%?[\ \t]*SiSU[\ \t]+text      SiSU text
++>5    regex   [0-9.]+                         %s
++
++0     regex   \^%?[\ \t]*SiSU[\ \t][0-9.]+    SiSU text
++>5    regex   [0-9.]+                         %s
++
++0     regex   \^%*[\ \t]*sisu-[0-9.]+         SiSU text
++>5    regex   [0-9.]+                         %s
+diff -Naurp file-4.24.orig/magic/Makefile.am file-4.24/magic/Makefile.am
+--- file-4.24.orig/magic/Makefile.am   2008-03-22 21:41:00.000000000 +0000
++++ file-4.24/magic/Makefile.am        2008-04-07 08:11:04.000000000 +0000
+@@ -170,6 +170,7 @@ $(MAGIC_FRAGMENT_DIR)/sgi \
+ $(MAGIC_FRAGMENT_DIR)/sgml \
+ $(MAGIC_FRAGMENT_DIR)/sharc \
+ $(MAGIC_FRAGMENT_DIR)/sinclair \
++$(MAGIC_FRAGMENT_DIR)/sisu \
+ $(MAGIC_FRAGMENT_DIR)/sketch \
+ $(MAGIC_FRAGMENT_DIR)/smalltalk \
+ $(MAGIC_FRAGMENT_DIR)/sniffer \
+diff -Naurp file-4.24.orig/magic/Makefile.in file-4.24/magic/Makefile.in
+--- file-4.24.orig/magic/Makefile.in   2008-03-22 21:41:06.000000000 +0000
++++ file-4.24/magic/Makefile.in        2008-04-07 08:11:10.000000000 +0000
+@@ -330,6 +330,7 @@ $(MAGIC_FRAGMENT_DIR)/sgi \
+ $(MAGIC_FRAGMENT_DIR)/sgml \
+ $(MAGIC_FRAGMENT_DIR)/sharc \
+ $(MAGIC_FRAGMENT_DIR)/sinclair \
++$(MAGIC_FRAGMENT_DIR)/sisu \
+ $(MAGIC_FRAGMENT_DIR)/sketch \
+ $(MAGIC_FRAGMENT_DIR)/smalltalk \
+ $(MAGIC_FRAGMENT_DIR)/sniffer \
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 324-magic-add-snes.dpatch by Josh Triplett <josh@freedesktop.org>
+##
+## DP: New magic for SNES SPC700 sound files (Closes: #410847).
+
+@DPATCH@
+
+diff -Naur file-4.21.orig/magic/Magdir/audio file-4.21/magic/Magdir/audio
+--- file-4.21.orig/magic/Magdir/audio  2007-12-23 17:32:42.000000000 +0000
++++ file-4.21/magic/Magdir/audio       2007-12-23 17:33:57.000000000 +0000
+@@ -268,6 +268,15 @@
+ >122  byte&0x1        =1              PAL
+ >122  byte&0x1        =0              NTSC
++# Type: SNES SPC700 sound files
++# From: Josh Triplett <josh@freedesktop.org>
++0     string  SNES-SPC700\ Sound\ File\ Data\ v       SNES SPC700 sound file
++>&0   string  0.30                                    \b, version %s
++>>0x23        byte    0x1B                                    \b, without ID666 tag
++>>0x23        byte    0x1A                                    \b, with ID666 tag
++>>>0x2E       string  >\0                                     \b, song "%.32s"
++>>>0x4E       string  >\0                                     \b, game "%.32s"
++
+ # Impulse tracker module (audio/x-it)
+ 0     string          IMPM            Impulse Tracker module sound data -
+ >4    string          >\0             "%s"
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 325-magic-add-ssl.dpatch by Nicolas Collignon <tsointsoin@gmail.com>
+##
+## DP: New magic for OpenSSH key files (Closes: #439537).
+
+@DPATCH@
+
+diff -Naur file-4.21.orig/magic/Magdir/ssh file-4.21/magic/Magdir/ssh
+--- file-4.21.orig/magic/Magdir/ssh    1970-01-01 00:00:00.000000000 +0000
++++ file-4.21/magic/Magdir/ssh 2007-08-26 08:25:03.000000000 +0000
+@@ -0,0 +1,8 @@
++# Type: OpenSSH key files
++# From: Nicolas Collignon <tsointsoin@gmail.com>
++
++0     string  SSH\ PRIVATE\ KEY       OpenSSH RSA1 private key,
++>28   string  >\0                     version %s
++
++0     string  ssh-dss\                OpenSSH DSA public key
++0     string  ssh-rsa\                OpenSSH RSA public key
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 325-magic-add-ssl.dpatch by Nicolas Collignon <tsointsoin@gmail.com>
+##
+## DP: New magic for OpenSSL certificates/key files (Closes: #439537).
+
+@DPATCH@
+
+diff -Naur file-4.21.orig/magic/Magdir/ssl file-4.21/magic/Magdir/ssl
+--- file-4.21.orig/magic/Magdir/ssl    1970-01-01 00:00:00.000000000 +0000
++++ file-4.21/magic/Magdir/ssl 2007-08-26 08:27:04.000000000 +0000
+@@ -0,0 +1,7 @@
++# Type: OpenSSL certificates/key files
++# From: Nicolas Collignon <tsointsoin@gmail.com>
++
++0     string  -----BEGIN\ CERTIFICATE-----    PEM certificate
++0     string  -----BEGIN\ CERTIFICATE\ REQ    PEM certificate request
++0     string  -----BEGIN\ RSA\ PRIVATE        PEM RSA private key
++0     string  -----BEGIN\ DSA\ PRIVATE        PEM DSA private key
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 325-magic-add-subversion.dpatch by Michael Piefel <piefel@debian.org>
+##
+## DP: New magic for SVN dumps (closes: #256652).
+
+@DPATCH@
+
+diff -Naur file-4.21.orig/magic/Magdir/revision file-4.21/magic/Magdir/revision
+--- file-4.21.orig/magic/Magdir/revision       2007-12-23 17:25:39.000000000 +0000
++++ file-4.21/magic/Magdir/revision    2007-12-23 17:26:34.000000000 +0000
+@@ -17,3 +17,8 @@
+ 0     string  HG10            Mercurial bundle,
+ >4    string  UN              uncompressed
+ >4    string  BZ              bzip2 compressed
++
++# Type:       Subversion (SVN) dumps
++# From:       Uwe Zeisberger <zeisberg@informatik.uni-freiburg.de>
++0     string  SVN-fs-dump-format-version:     Subversion dumpfile
++>28   string  >\0                             (version: %s)
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 326-magic-add-supercollider.dpatch by Mario Lang <mlang@debian.org>
+##
+## DP: Adds new magic for SuperCollider 3 Synth Definition File Format
+## DP: (Closes: #284803).
+
+@DPATCH@
+
+diff -Naurp file-4.23.orig/magic/Magdir/audio file-4.23/magic/Magdir/audio
+--- file-4.23.orig/magic/Magdir/audio  2008-01-12 17:39:01.000000000 +0000
++++ file-4.23/magic/Magdir/audio       2008-01-12 17:38:49.000000000 +0000
+@@ -576,3 +576,8 @@
+ # URL:  http://filext.com/detaillist.php?extdetail=AMR
+ # From: Russell Coker <russell@coker.com.au>
+ 0     string  #!AMR           Adaptive Multi-Rate Codec (GSM telephony)
++
++# Type: SuperCollider 3 Synth Definition File Format
++# From: Mario Lang <mlang@debian.org>
++0     string  SCgf    SuperCollider3 Synth Definition file,
++>4    belong  x       version %d
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 328-magic-add-xen.dpatch by Radek Vokal <rvokal@redhat.com>
+##
+## DP: xen patch, recognizes Xen saved domain
+
+@DPATCH@
+
+diff -Naurp file-4.23.orig/magic/Magdir/linux file-4.23/magic/Magdir/linux
+--- file-4.23.orig/magic/Magdir/linux  2008-01-12 17:47:04.000000000 +0000
++++ file-4.23/magic/Magdir/linux       2008-01-12 17:46:42.000000000 +0000
+@@ -248,3 +248,9 @@
+ >72   string  x               %s]
+ >168  string  x               UUID: %s
++# Type: Xen, the virtual machine monitor
++# From: Radek Vokal <rvokal@redhat.com>
++0     string          LinuxGuestRecord        Xen saved domain
++#>2   regex           \(name\ [^)]*\)         %s
++>20   search/256      (name                   (name
++>>&1  string          x                       %s...)
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 331-magic-add-xcursor.dpatch by Mathias Brodala <info@noctus.net>
+##
+## DP: New magic for X11 cursor files (Closes: #451246).
+
+@DPATCH@
+
+diff -Naur file-4.21.orig/magic/Magdir/images file-4.21/magic/Magdir/images
+--- file-4.21.orig/magic/Magdir/images 2007-12-23 17:40:53.000000000 +0000
++++ file-4.21/magic/Magdir/images      2007-12-23 17:40:46.000000000 +0000
+@@ -534,3 +534,8 @@
+ # URL:  http://www.jisyo.com/cgibin/view.cgi?EXT=pe5 (Japanese)
+ # From: Simon Horman <horms@debian.org>
+ 0     string  IIO2H   Ulead Photo Explorer5
++
++# Type:       X11 cursor
++# URL:        http://webcvs.freedesktop.org/mime/shared-mime-info/freedesktop.org.xml.in?view=markup
++# From:       Mathias Brodala <info@noctus.net>
++0     string  Xcur    X11 cursor
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 335-magic-add-freemind.dpatch by Jamie Thompson <debian-bugs@jamie-thompson.co.uk>
+##
+## DP: New magic for Freemind (Closes: #472385).
+
+@DPATCH@
+
+diff -Naurp file.orig/magic/Magdir/wordprocessors file/magic/Magdir/wordprocessors
+--- file.orig/magic/Magdir/wordprocessors      2008-05-04 14:12:49.000000000 +0000
++++ file/magic/Magdir/wordprocessors   2008-05-04 14:18:38.000000000 +0000
+@@ -148,3 +148,8 @@
+ 0     string          DOC
+ >43   byte            0x16    Just System Word Processor Ichitaro v6
+ !:mime        application/x-ichitaro6
++
++# Type: Freemind mindmap documents
++# From: Jamie Thompson <debian-bugs@jamie-thompson.co.uk>
++0     string/cB       \<map\ version  Freemind document
++!:mime        application/x-freemind
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 336-magic-add-qdmb.dpatch by Benoit Sibaud <bsibaud@april.org>
+##
+## DP: New magic for QDBM Quick Database Manager (Closes: #481717).
+
+@DPATCH@
+
+diff -Naurp file-4.24.orig/magic/Magdir/database file-4.24/magic/Magdir/database
+--- file-4.24.orig/magic/Magdir/database       2008-05-04 14:12:49.000000000 +0000
++++ file-4.24/magic/Magdir/database    2008-05-21 09:07:49.000000000 +0000
+@@ -242,3 +242,8 @@
+ # URL:  http://www.grc.nasa.gov/WWW/cgns/adf/
+ # From: Nicolas Chauvat <nicolas.chauvat@logilab.fr>
+ 0     string  @(#)ADF\ Database       CGNS Advanced Data Format
++
++# Type:       QDBM Quick Database Manager
++# From:       Benoit Sibaud <bsibaud@april.org>
++0     string  \\[depot\\]\n\f         Quick Database Manager, little endian
++0     string  \\[DEPOT\\]\n\f         Quick Database Manager, big endian
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 337-magic-add-tokyocabinet.dpatch by Benoit Sibaud <bsibaud@april.org>
+##
+## DP: New magic for TokyoCabinet database (Closes: #481768).
+
+@DPATCH@
+
+diff -Naurp file-4.24.orig/magic/Magdir/database file-4.24/magic/Magdir/database
+--- file-4.24.orig/magic/Magdir/database       2008-05-21 09:07:49.000000000 +0000
++++ file-4.24/magic/Magdir/database    2008-05-21 09:15:26.000000000 +0000
+@@ -247,3 +247,9 @@
+ # From:       Benoit Sibaud <bsibaud@april.org>
+ 0     string  \\[depot\\]\n\f         Quick Database Manager, little endian
+ 0     string  \\[DEPOT\\]\n\f         Quick Database Manager, big endian
++
++# Type:       TokyoCabinet database
++# URL:        http://tokyocabinet.sourceforge.net/
++# From:       Benoit Sibaud <bsibaud@april.org>
++0     string  ToKyO\ CaBiNeT\n        TokyoCabinet database
++>14   string  x                       (version %s)
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 338-magic-add-cromfs.dpatch by Werner Fink <werner@suse.de>
+##
+## DP: Adds new magic for CROM filesystem.
+
+@DPATCH@
+
+diff -Naurp file.orig/magic/Magdir/filesystems file/magic/Magdir/filesystems
+--- file.orig/magic/Magdir/filesystems 2008-07-02 13:47:23.000000000 +0000
++++ file/magic/Magdir/filesystems      2008-07-15 13:43:26.000000000 +0000
+@@ -1327,3 +1327,15 @@
+ # dvdisaster's .ecc
+ # From: "Nelson A. de Oliveira" <naoliv@gmail.com>
+ 0     string  *dvdisaster*    dvdisaster error correction file
++
++# Type:       CROM filesystem
++# From:       Werner Fink <werner@suse.de>
++0     string  CROMFS  CROMFS
++>6    string  >\0     \b version %2.2s,
++>8    ulequad >0      \b block data at %lld,
++>16   ulequad >0      \b fblock table at %lld,
++>24   ulequad >0      \b inode table at %lld,
++>32   ulequad >0      \b root at %lld,
++>40   ulelong >0      \b fblock size = %ld,
++>44   ulelong >0      \b block size = %ld,
++>48   ulequad >0      \b bytes = %lld
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 339-magic-add-scribus.dpatch by Werner Fink <werner@suse.de>
+##
+## DP: Adds new magics for Scribus.
+
+@DPATCH@
+
+diff -Naurp file-4.24.orig/magic/Magdir/wordprocessors file-4.24/magic/Magdir/wordprocessors
+--- file-4.24.orig/magic/Magdir/wordprocessors 2008-05-21 09:49:43.000000000 +0000
++++ file-4.24/magic/Magdir/wordprocessors      2008-05-21 09:50:54.000000000 +0000
+@@ -153,3 +153,9 @@
+ # From: Jamie Thompson <debian-bugs@jamie-thompson.co.uk>
+ 0     string/cB       \<map\ version  Freemind document
+ !:mime        application/x-freemind
++
++# Type:        Scribus
++# From:        Werner Fink <werner@suse.de>
++0     string  \<SCRIBUSUTF8\ Version          Scribus Document
++0     string  \<SCRIBUSUTF8NEW\ Version       Scribus Document
++!:mime        application/x-scribus
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 339-magic-add-selinux.dpatch by Russell Coker <russell@coker.com.au>
+##
+## DP: Adds new magics for SE Linux (Closes: #485886).
+
+@DPATCH@
+
+diff -Naurp file.orig/magic/Magdir/selinux file/magic/Magdir/selinux
+--- file.orig/magic/Magdir/selinux     1970-01-01 01:00:00.000000000 +0100
++++ file/magic/Magdir/selinux  2008-06-13 09:07:24.000000000 +0200
+@@ -0,0 +1,24 @@
++# Type:       SE Linux policy modules *.pp reference policy
++#     for Fedora 5 to 9, RHEL5, and Debian Etch and Lenny.
++# URL:        http://doc.coker.com.au/computers/selinux-magic
++# From:       Russell Coker <russell@coker.com.au>
++
++0             lelong  0xf97cff8f      SE Linux modular policy
++>4            lelong  x               version %d,
++>8            lelong  x               %d sections,
++>>(12.l)      lelong  0xf97cff8d
++>>>(12.l+27)  lelong  x               mod version %d,
++>>>(12.l+31)  lelong  0               Not MLS,
++>>>(12.l+31)  lelong  1               MLS,
++>>>(12.l+23)  lelong  2
++>>>>(12.l+47) string  >\0             module name %s
++>>>(12.l+23)  lelong  1               base
++
++1     string  policy_module(  SE Linux policy module source
++2     string  policy_module(  SE Linux policy module source
++
++0     string  ##\ <summary>   SE Linux policy interface source
++
++#0    search  gen_context(    SE Linux policy file contexts
++
++#0    search  gen_sens(       SE Linux policy MLS constraints source
+diff -Naurp file.orig/magic/Makefile.am file/magic/Makefile.am
+--- file.orig/magic/Makefile.am        2008-06-13 09:07:45.000000000 +0200
++++ file/magic/Makefile.am     2008-06-13 09:08:16.000000000 +0200
+@@ -164,6 +164,7 @@ $(MAGIC_FRAGMENT_DIR)/sc \
+ $(MAGIC_FRAGMENT_DIR)/sccs \
+ $(MAGIC_FRAGMENT_DIR)/scientific \
+ $(MAGIC_FRAGMENT_DIR)/securitycerts \
++$(MAGIC_FRAGMENT_DIR)/selinux \
+ $(MAGIC_FRAGMENT_DIR)/sendmail \
+ $(MAGIC_FRAGMENT_DIR)/sequent \
+ $(MAGIC_FRAGMENT_DIR)/sgi \
+diff -Naurp file.orig/magic/Makefile.in file/magic/Makefile.in
+--- file.orig/magic/Makefile.in        2008-06-13 09:07:45.000000000 +0200
++++ file/magic/Makefile.in     2008-06-13 09:08:23.000000000 +0200
+@@ -324,6 +324,7 @@ $(MAGIC_FRAGMENT_DIR)/sc \
+ $(MAGIC_FRAGMENT_DIR)/sccs \
+ $(MAGIC_FRAGMENT_DIR)/scientific \
+ $(MAGIC_FRAGMENT_DIR)/securitycerts \
++$(MAGIC_FRAGMENT_DIR)/selinux \
+ $(MAGIC_FRAGMENT_DIR)/sendmail \
+ $(MAGIC_FRAGMENT_DIR)/sequent \
+ $(MAGIC_FRAGMENT_DIR)/sgi \
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 341-magic-add-bzr.dpatch by Jelmer Vernooij <jelmer@samba.org>
+##
+## DP: Adds new magics for bzr (Closes: #488742).
+
+@DPATCH@
+
+diff -Naurp file.orig/magic/Magdir/revision file/magic/Magdir/revision
+--- file.orig/magic/Magdir/revision    2008-07-01 15:42:16.000000000 +0200
++++ file/magic/Magdir/revision 2008-07-01 15:43:34.000000000 +0200
+@@ -22,3 +22,9 @@
+ # From:       Uwe Zeisberger <zeisberg@informatik.uni-freiburg.de>
+ 0     string  SVN-fs-dump-format-version:     Subversion dumpfile
+ >28   string  >\0                             (version: %s)
++
++# Type:       Bazaar revision bundles and merge requests
++# URL:        http://www.bazaar-vcs.org/
++# From:       Jelmer Vernooij <jelmer@samba.org>
++0     string  #\ Bazaar\ revision\ bundle\ v Bazaar Bundle
++0     string  #\ Bazaar\ merge\ directive\ format Bazaar merge directive
This page took 0.087223 seconds and 4 git commands to generate.