summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-02-09 21:29:53 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-02-09 21:29:53 +0000
commita18b952c83c4544deacbd28d35271126156d00cf (patch)
tree711cdfec0768cf1c9c12cc84a6250fbf11706534 /usr.bin
parent6ff0293245876ada44b013e21c7e74c0967f3770 (diff)
Add macintosh magic.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/file/magdir/apple1
-rw-r--r--usr.bin/file/magdir/macintosh72
2 files changed, 72 insertions, 1 deletions
diff --git a/usr.bin/file/magdir/apple b/usr.bin/file/magdir/apple
index a6492b74b2d..c21ee34372c 100644
--- a/usr.bin/file/magdir/apple
+++ b/usr.bin/file/magdir/apple
@@ -5,6 +5,5 @@
0 string FiLeStArTfIlEsTaRt binscii (apple ][) text
0 string \x0aGL Binary II (apple ][) data
0 string \x76\xff Squeezed (apple ][) data
-0 string SIT! StuffIt (macintosh) text
0 string NuFile NuFile archive (apple ][) data
0 string N\xf5F\xe9l\xe5 NuFile archive (apple ][) data
diff --git a/usr.bin/file/magdir/macintosh b/usr.bin/file/magdir/macintosh
new file mode 100644
index 00000000000..d2503831bad
--- /dev/null
+++ b/usr.bin/file/magdir/macintosh
@@ -0,0 +1,72 @@
+
+#------------------------------------------------------------------------------
+# macintosh: file(1) magic for Apple Macintosh file formats
+
+# Stuffit archives are the de facto standard of compression for Macintosh
+# files obtained from most archives. (franklsm@tuns.ca)
+0 string SIT! StuffIt Archive (data)
+>2 string x : %s
+65 string SIT! StuffIt Archive (rsrc + data)
+>2 string x : %s
+0 string SITD StuffIt Deluxe (data)
+>2 string x : %s
+65 string SITD StuffIt Deluxe (rsrc + data)
+>2 string x : %s
+0 string Seg StuffIt Deluxe Segment (data)
+>2 string x : %s
+65 string Seg StuffIt Deluxe Segment (rsrc + data)
+>2 string x : %s
+
+# Macintosh Applications and Installation binaries (franklsm@tuns.ca)
+0 string APPL Macintosh Application (data)
+>2 string x : %s
+65 string APPL Macintosh Application (rsrc + data)
+>2 string x : %s
+
+# Macintosh System files (franklsm@tuns.ca)
+0 string zsys Macintosh System File (data)
+65 string zsys Macintosh System File(rsrc + data)
+0 string FNDR Macintosh Finder (data)
+65 string FNDR Macintosh Finder(rsrc + data)
+0 string libr Macintosh Library (data)
+>2 string x : %s
+65 string libr Macintosh Library(rsrc + data)
+>2 string x : %s
+0 string shlb Macintosh Shared Library (data)
+>2 string x : %s
+65 string shlb Macintosh Shared Library(rsrc + data)
+>2 string x : %s
+0 string cdev Macintosh Control Panel (data)
+>2 string x : %s
+65 string cdev Macintosh Control Panel(rsrc + data)
+>2 string x : %s
+0 string INIT Macintosh Extension (data)
+>2 string x : %s
+65 string INIT Macintosh Extension(rsrc + data)
+>2 string x : %s
+0 string FFIL Macintosh Truetype Font (data)
+>2 string x : %s
+65 string FFIL Macintosh Truetype Font(rsrc + data)
+>2 string x : %s
+0 string LWFN Macintosh Postscript Font (data)
+>2 string x : %s
+65 string LWFN Macintosh Postscript Font(rsrc + data)
+>2 string x : %s
+
+# Additional Macintosh Files (franklsm@tuns.ca)
+0 string PACT Macintosh Compact Pro Archive (data)
+>2 string x : %s
+65 string PACT Macintosh Compact Pro Archive(rsrc + data)
+>2 string x : %s
+0 string ttro Macintosh TeachText File (data)
+>2 string x : %s
+65 string ttro Macintosh TeachText File(rsrc + data)
+>2 string x : %s
+0 string TEXT Macintosh TeachText File (data)
+>2 string x : %s
+65 string TEXT Macintosh TeachText File(rsrc + data)
+>2 string x : %s
+0 string PDF Macintosh PDF File (data)
+>2 string x : %s
+65 string PDF Macintosh PDF File(rsrc + data)
+>2 string x : %s