xref: /php-src/ext/fileinfo/magicdata.patch (revision b7c5813c)
1diff -ur Magdir.orig/rpm Magdir/rpm
2--- Magdir.orig/rpm	2021-02-23 01:49:24.000000000 +0100
3+++ Magdir/rpm	2021-04-05 19:40:55.080911893 +0200
4@@ -29,6 +29,7 @@
5 >>8	beshort		17		SuperH
6 >>8	beshort		18		Xtensa
7 >>8	beshort		255		noarch
8+>>10	string		x		%s
9
10 #delta RPM    Daniel Novotny (dnovotny@redhat.com)
11 0	string		drpm		Delta RPM
12diff -ur Magdir.orig/securitycerts Magdir/securitycerts
13--- Magdir.orig/securitycerts	2021-02-23 01:49:24.000000000 +0100
14+++ Magdir/securitycerts	2021-04-05 19:40:55.080911893 +0200
15@@ -4,3 +4,5 @@
16 0	search/1		-----BEGIN\ CERTIFICATE------	RFC1421 Security Certificate text
17 0	search/1		-----BEGIN\ NEW\ CERTIFICATE	RFC1421 Security Certificate Signing Request text
18 0	belong	0xedfeedfe	Sun 'jks' Java Keystore File data
19+
20+0	string \0volume_key	volume_key escrow packet
21diff --git a/magic/Magdir/sgml b/magic/Magdir/sgml
22--- Magdir.orig/sgml
23+++ Magdir/sgml
24@@ -1,16 +1,17 @@
25
26 #------------------------------------------------------------------------------
27-# $File: sgml,v 1.48 2023/01/18 16:10:21 christos Exp $
28+# $File: sgml,v 1.49 2023/08/05 14:34:47 christos Exp $
29 # Type:	SVG Vectorial Graphics
30 # From:	Noel Torres <tecnico@ejerciciosresueltos.com>
31-0	string		\<?xml\ version=
32+0	string/bt	\<?xml\ version=
33 >14	regex		['"\ \t]*[0-9.]+['"\ \t]*
34 >>19	search/4096	\<svg			SVG Scalable Vector Graphics image
35+!:strength +50
36 !:mime	image/svg+xml
37 !:ext   svg
38 >>19	search/4096	\<gnc-v2		GnuCash file
39 !:mime	application/x-gnucash
40-0	string		\<svg			SVG Scalable Vector Graphics image
41+0	string/bt	\<svg			SVG Scalable Vector Graphics image
42 !:mime	image/svg+xml
43 !:ext   svg
44