summaryrefslogtreecommitdiff
path: root/file/magic/Localstuff
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2005-01-03 02:02:54 +0000
committerjbj <devnull@localhost>2005-01-03 02:02:54 +0000
commit751f7e3b54d87e054e5fc4cf547eb99d04087dd0 (patch)
treedf2752b2ad8e7035bca4ef850a3e6dbfed84388c /file/magic/Localstuff
parent7793ec11ecf1d3024b7440b3e04bde57d3862b72 (diff)
downloadlibrpm-tizen-751f7e3b54d87e054e5fc4cf547eb99d04087dd0.tar.gz
librpm-tizen-751f7e3b54d87e054e5fc4cf547eb99d04087dd0.tar.bz2
librpm-tizen-751f7e3b54d87e054e5fc4cf547eb99d04087dd0.zip
Upgrade to file-4.12 (with RH patches).
CVS patchset: 7661 CVS date: 2005/01/03 02:02:54
Diffstat (limited to 'file/magic/Localstuff')
-rw-r--r--file/magic/Localstuff38
1 files changed, 8 insertions, 30 deletions
diff --git a/file/magic/Localstuff b/file/magic/Localstuff
index 8aa48646c..0fd0c9169 100644
--- a/file/magic/Localstuff
+++ b/file/magic/Localstuff
@@ -6,33 +6,11 @@
# Add any locally observed files here. Remember:
# text if readable, executable if runnable binary, data if unreadable.
-#
-# RPM: file(1) magic for RPM packages and headers
-#
-0 beshort 0xedab
->2 beshort 0xeedb RPM
->>4 byte x v%d package
->>6 beshort 0 bin
->>6 beshort 1 src
->>8 beshort 1 i386
->>8 beshort 2 Alpha
->>8 beshort 3 Sparc
->>8 beshort 4 MIPS
->>8 beshort 5 PPC
->>8 beshort 6 68000
->>8 beshort 7 SGI
->>8 beshort 8 RS6000
->>8 beshort 10 Sparc64
->>8 beshort 11 MIPSEL
->>8 beshort 12 ARM
->>8 beshort 13 m68kmint
->>8 beshort 14 s390
->>8 beshort 15 s390x
->>8 beshort 16 PPC64
->>8 beshort 17 SH
->>8 beshort 18 Xtensa
->>10 string x %s
-
-0 beshort 0x8ead
->2 beshort 0xe801 RPM header
-
+# XXX promoted from tex so that *.tfm is not mis-identified as mc68k file.
+# There is no way to detect TeX Font Metric (*.tfm) files without
+# breaking them apart and reading the data. The following patterns
+# match most *.tfm files generated by METAFONT or afm2tfm.
+2 string \000\021 TeX font metric data
+>33 string >\0 (%s)
+2 string \000\022 TeX font metric data
+>33 string >\0 (%s)