summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2003-01-18 13:08:26 +0000
committerStew Benedict <stewb@mandriva.org>2003-01-18 13:08:26 +0000
commit3957374e1ded186023a817a82458f06d15150192 (patch)
tree0a032e15c2fa3a48bf67a64e22609ebbd58ecc06 /tools
parent9ad19b52afdc786429750887fb109ecca9d16af7 (diff)
downloaddrakx-backup-do-not-use-3957374e1ded186023a817a82458f06d15150192.tar
drakx-backup-do-not-use-3957374e1ded186023a817a82458f06d15150192.tar.gz
drakx-backup-do-not-use-3957374e1ded186023a817a82458f06d15150192.tar.bz2
drakx-backup-do-not-use-3957374e1ded186023a817a82458f06d15150192.tar.xz
drakx-backup-do-not-use-3957374e1ded186023a817a82458f06d15150192.zip
Update magic, mapping files for PPC from Christian Walther
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ppc/magic10
-rwxr-xr-xtools/ppc/mapping23
2 files changed, 25 insertions, 8 deletions
diff --git a/tools/ppc/magic b/tools/ppc/magic
index 387727c4e..91f4193ea 100755
--- a/tools/ppc/magic
+++ b/tools/ppc/magic
@@ -11,6 +11,10 @@
#
# James Pearson 20/5/98
+# Modified by Christian Walther, 2003/01/17:
+# changed gzip to StuffIt Expander
+# added perl & shell script
+
# off type test message
# GIF
@@ -43,7 +47,7 @@
>2 byte&0x1f x %d bits
# gzip (GNU zip, not to be confused with Info-ZIP or PKWARE zip archiver)
-0 string \037\213 GNUz ZIVU gzip compressed data
+0 string \037\213 Gzip SITx gzip compressed data
>2 byte <8 \b, reserved method,
>2 byte 8 \b, deflated,
>3 byte &0x01 ASCII,
@@ -79,3 +83,7 @@
>>>16 string EPS - type %s
>>>16 string Query - type %s
>>>16 string ExitServer - type %s
+
+# scripts
+0 string #!/usr/bin/perl McPL TEXT
+0 string #!/bin/sh ttxt TEXT
diff --git a/tools/ppc/mapping b/tools/ppc/mapping
index 2a32fb09c..35d5d3d1c 100755
--- a/tools/ppc/mapping
+++ b/tools/ppc/mapping
@@ -1,20 +1,29 @@
# Example filename mapping file
+# Modified by Christian Walther, 2003/01/17
#
# EXTN XLate CREATOR TYPE Comment
COPYING Ascii 'ttxt' 'ttro' "Text File"
CREDITS Ascii 'ttxt' 'ttro' "Text File"
README Ascii 'ttxt' 'ttro' "Text File"
RPM-PGP-KEY Ascii 'ttxt' 'ttro' "Text File"
-.gif Raw '8BIM' 'GIFf' "Gif File"
-.jpg Raw '8BIM' 'JPEG' "Jpeg File"
-.tif Raw '8BIM' 'TIFF' "Photoshop TIFF image"
-.hqx Ascii 'BnHq' 'TEXT' "BinHex file"
-.doc Raw 'MSWD' 'WDBN' "Word file"
-.mov Raw 'TVOD' 'MooV' "QuickTime Movie"
+VERSION Ascii 'ttxt' 'ttro' "Text File"
+.gz Raw 'SITx' 'Gzip' "GZip Compressed File"
+.sit Raw 'SIT!' 'SITD' "StuffIt Archive"
+.hqx Ascii 'SITx' 'TEXT' "BinHex Encoded File"
.html Ascii 'MOSS' 'TEXT' "HTML File"
.htm Ascii 'MOSS' 'TEXT' "HTML File"
+.gif Raw 'ogle' 'GIFf' "GIF Image"
+.jpg Raw 'ogle' 'JPEG' "JPEG Image"
+.tif Raw 'ogle' 'TIFF' "TIFF Image"
+.bz2 Raw 'SITx' 'Bzp2' "BZip2 Compressed File"
+.png Raw 'ogle' 'PNGf' "PNG Image"
+.rpm Raw 'mRPM' 'RPMf' "RPM Software Package"
+.pl Ascii 'McPL' 'TEXT' "Perl Script"
+.pl Ascii 'McPL' 'TEXT' "Perl Module"
+.doc Raw 'MSWD' 'WDBN' "Word file"
+.mov Raw 'TVOD' 'MooV' "QuickTime Movie"
.txt Ascii 'ttxt' 'TEXT' "Text File"
.conf Ascii 'ttxt' 'TEXT' "config file"
-.tbxi Raw 'chrp' 'tbxi' "Macintosh Toolbox ROM file"
+.tbxi Raw 'chrp' 'tbxi' "Macintosh Toolbox ROM file"
.sea Raw 'aust' 'APPL' "Self Expanding Archive"
* Raw '????' '????' "Unknown"