From 3957374e1ded186023a817a82458f06d15150192 Mon Sep 17 00:00:00 2001 From: Stew Benedict Date: Sat, 18 Jan 2003 13:08:26 +0000 Subject: Update magic, mapping files for PPC from Christian Walther --- tools/ppc/magic | 10 +++++++++- tools/ppc/mapping | 23 ++++++++++++++++------- 2 files changed, 25 insertions(+), 8 deletions(-) (limited to 'tools/ppc') 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" -- cgit v1.2.1