Commit Graph

203 Commits

Author SHA1 Message Date
kleink
825dd7f56f It's big endian. 1999-03-31 19:18:36 +00:00
he
392f839e3f Prevent `file' from trying to use the (directory!) /usr/share/misc as the
magic file database.
1999-02-16 12:32:52 +00:00
lukem
a4547242e3 use MFILESDIR instead of FILESDIR. fixes problems some people are having 1999-02-16 07:11:27 +00:00
lukem
dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
hubertf
3ddc74e157 Add "mp3" audio file information to file(1)/magic
per PR 6497 by C Kane <ckane@best.com>
1998-11-25 07:54:21 +00:00
christos
c3203395bd char -> unsigned char 1998-11-06 23:06:38 +00:00
is
30d737b32b learn more about AMANDA files 1998-10-29 11:11:49 +00:00
matt
2e3397e773 Teach file that NetBSD/vax has two magic numbers. 1998-10-12 01:41:32 +00:00
thorpej
23309c9e22 Make the magic type field explicitly unsigned and fix comparisons of this
value appropriately.  Fixes warnings on systems where char is naturally
unsigned.
1998-09-30 18:51:13 +00:00
lukem
9dee5d2b46 don't install in /usr/share if NOSHARE is defined 1998-09-27 17:22:03 +00:00
christos
8f945ca5b1 Amend copyright to a berkeley style one. From Ian Darwin. 1998-09-24 12:50:27 +00:00
christos
f46e623e45 Turn on ELF and other NetBSD features. 1998-09-20 15:36:46 +00:00
christos
397e929e3b remove old files. 1998-09-20 15:32:43 +00:00
christos
faf55c153e resolve corn flakes. 1998-09-20 15:27:15 +00:00
christos
a7ad0f02b4 file-3.26 1998-09-19 18:07:40 +00:00
matt
c65b52687e Add entries for Alpha, ARM, PARISC, SPARC V9, IA64, and others 1998-08-12 17:48:35 +00:00
kleink
373a8e33dd Recognize the new tzcode >= 1997h timezone data magic value. 1998-07-09 11:42:19 +00:00
hubertf
5dd9482e0e Word Perfect "magic" entries, submitted by ksulliva@psc.edu in PR 4940. 1998-02-06 02:47:26 +00:00
perry
3fe138c146 RCS Id Police. 1998-01-09 08:03:16 +00:00
lukem
8ba07ab0b3 use CPPFLAGS instead of CFLAGS 1997-10-24 09:00:17 +00:00
lukem
b01545b899 WARNSify 1997-10-18 14:53:48 +00:00
lukem
906b60f5e0 getopt returns -1 not EOF 1997-10-18 14:49:41 +00:00
hubertf
a06fe60f95 /etc/magic entries for the clisp common lisp system added.
Closes PR bin/4186 by Jim Wise <jimw@fornost.turner.com>
1997-10-07 04:39:35 +00:00
is
5379dca61e /etc/magic -> /usr/share/misc/magic 1997-09-30 17:00:30 +00:00
mark
68401510be Fixed recognition of NetBSD/arm32 shared libraries and dynamically
linked executables.
1997-07-16 02:50:45 +00:00
mjacob
9c69077919 Macro expansion of shell metacharacters did not occur for me. I made
a :sh variable to get the list of magic files instead.
1997-05-17 21:15:35 +00:00
jtk
f0cba0dcb5 MIPS RS3000 should be R3000 1997-05-17 12:36:22 +00:00
thorpej
6eb4708731 Add two more casts to (unsigned char) to make this work on the PowerPC. 1997-04-19 05:21:36 +00:00
mikel
8e4e532ceb include magdir/386bsd in MAGFILES; from Alan Barrett in PR misc/3422. 1997-04-03 07:17:24 +00:00
mikel
e5159ae768 use correct source path; from Jeff Thieleke in PR bin/3414. 1997-04-03 07:13:31 +00:00
christos
3917c3179d - Makefile cleanups 1997-03-24 21:57:01 +00:00
mouse
650ee578da alternate -> alternative, per PR 2643 1997-03-08 14:13:54 +00:00
cjs
795a80dde1 64-bit police. 1997-02-11 08:15:19 +00:00
christos
704854c465 Update to version 3.22 1997-01-28 00:49:36 +00:00
christos
bea4a27a8e and again 1997-01-27 19:56:34 +00:00
christos
96aa33d4de bring in changes from file-3.22 1997-01-27 17:58:11 +00:00
tls
9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
cjs
95a6463b3e PR 3080: fix entry for Apple II NuFX archive.
Fix from Dave Huang <khym@bga.com>.
1997-01-05 10:28:32 +00:00
is
db5fe6cfb2 file(1) magic for AmigaOS binaries --- useful to people mount_ados'ing
Amiga disks.

For the moment, only executable/sharedlib/driver and
object/linklibrary definitions.
1996-11-06 18:47:27 +00:00
thorpej
150c33e60b Use ${INSTALL}. 1996-10-18 05:55:26 +00:00
cgd
d703de28b2 include stdlib.h to bring malloc()'s prototype into scope. 1996-10-06 18:27:25 +00:00
christos
1b1e1884b3 Changes from file-3.21 1996-10-05 20:20:24 +00:00
thorpej
f549601f76 Back out previous. Please beat me about the head and shoulders with
a large stick if I ever attempt to touch file(1) again.
1996-09-26 19:51:28 +00:00
thorpej
c535ad0cdc Move the definition of MSB (in byte 5) to sit next to the other definitions
for byte 5 values... No functional change, just adds some clarity.
1996-09-26 19:37:15 +00:00
is
d3eda4d607 Patterns for OS9 and OS9/68k modules. 1996-05-06 18:24:01 +00:00
mark
57472e9fbc Added information about NetBSD/arm32 executables. 1996-04-01 21:29:51 +00:00
tls
da9420b27e Add FreeBSD object files; close out pr#1719 1996-03-20 08:20:21 +00:00
christos
b2b8843794 Update to file-3.19.
- Magic fixes
- MAGIC environment variable processing
- Better LEGAL.NOTICE
- -m magic : separated list of magic files processing
1995-10-27 23:33:14 +00:00
mycroft
c04417f76c Remove code to reset access time of scanned files. 1995-07-13 13:22:58 +00:00
christos
58ea4332e5 Added hp magic numbers (from Jason Downs) 1995-05-28 20:34:03 +00:00
christos
602bb89d12 Zyxel update from Bill Fenner <fenner@parc.xerox.com> 1995-05-28 18:13:20 +00:00
christos
cd7ca80fc2 CVS is confused... 1995-05-21 00:18:41 +00:00
christos
31dd8ce2bf Removed archive 1995-05-21 00:18:09 +00:00
christos
21db3a398a Updated to file-3.18 1995-05-21 00:13:24 +00:00
christos
60fe6da7c1 Kill gcc -Wall warnings 1995-04-30 19:39:37 +00:00
cgd
7dc11a1202 kill an apparently-bogus ampersand. it made a char ** into a char ***,
which was an incompatible pointer type for the usage.
This is either a bug, or it should have been cast and explained.
1995-04-30 03:28:14 +00:00
christos
0bb1fbddb3 Integrated file-3.17 1995-04-28 19:23:38 +00:00
christos
707488220c Close PR/913. Magic path in magic.5 was incorrect. 1995-03-27 16:16:28 +00:00
christos
7e99ebc790 Updated to file-3.16; fixes PR867 1995-03-25 22:35:28 +00:00
mycroft
4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
pk
fd4b4e2aef Recognise PIC object files. 1995-01-29 14:55:28 +00:00
cgd
7bcf9338df specify man pages the new way. 1994-12-22 12:29:38 +00:00
mycroft
3d247c388d Add pmax, vax, and mips. 1994-09-24 23:32:19 +00:00
pk
f9c85caa34 Core magic. 1994-05-25 14:45:03 +00:00
mycroft
088a1b076b Fix stack corruption bug. 1994-04-08 05:26:49 +00:00
jtc
f4db87c6e4 Fix typos & spelling errors 1994-02-10 18:24:46 +00:00
jtc
7e06b2a1e2 Fix spelling errors. 1994-01-11 02:21:43 +00:00
mycroft
5a05271ae9 From: Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>
Fix typo in comment line for RCS id.
1993-11-20 22:25:19 +00:00
mycroft
d61899ce79 mid+magic is 26 bits, not 24. 1993-11-03 08:03:16 +00:00
mycroft
ec894d851c Correct page sizes for M68k and SPARC. 1993-11-03 07:45:55 +00:00
mycroft
34b10abe06 Add entries for object files. Someone should update GAS to generate new-style
magic numbers; otherwise file(1) will just say `big-endian' or `little-endian',
which is not terribly informative.
1993-11-03 07:33:28 +00:00
mycroft
a2cdcbb0e1 Add entries for the 386BSD and BSDI executables that we also run, and
gratuitously capitalize `NetBSD'.
1993-11-03 06:03:15 +00:00
mycroft
a0b6a72200 Clean up deleted files. 1993-11-03 05:58:02 +00:00
cgd
ab60a0b473 include the NetBSD magic file seperately. call it 'NetBSD' rather
than 'netbsd'.  cvs tree magic by cgd will move it to the right place.
1993-11-03 05:56:58 +00:00
cgd
7cb8a1a24d comment out the check for "8086 relocatable (Microsoft)", because
our dynamically linked programs match that (!!), and because
few are likely to have it files of that type on NetBSD systems
1993-11-03 05:27:48 +00:00
mycroft
7ec1b16a85 Oops. Don't spew garbage if the type is string. 1993-11-03 04:40:04 +00:00
mycroft
11b47679ef Update to reflect changes. 1993-11-03 04:31:34 +00:00
mycroft
155d28e87e Add explicit endians so file(1) works well across architectures. 1993-11-03 04:09:39 +00:00
mycroft
ab61bc03f0 Fix numerous sign-extension problems, and add support for explicitly unsigned
comparisons.
1993-11-03 04:04:19 +00:00
mycroft
9fc3df91d1 No, I don't need anyone to point out that I was asleep at the keyboard.
Last change revoked.
1993-11-03 00:40:19 +00:00
mycroft
3544adb2b5 Correct test for dynamically linked executables. (Someone forgot that the
386 is little-endian.)
1993-11-03 00:24:59 +00:00
phil
23c2fcd278 Added ns32532 and the sparc magic numbers. 1993-10-28 19:29:48 +00:00
jtc
b3709e3893 Fix typo: magic(5), not magic(__SECTION__) 1993-09-16 22:47:28 +00:00
deraadt
b028be3a86 teach file about the m68k and m68k4k a.out formats 1993-08-09 09:55:18 +00:00
deraadt
4e14c1b196 incorrect rcsid[] declarations fixed 1993-08-06 01:47:17 +00:00
mycroft
ee8bf17c71 Add RCS identifiers. 1993-08-02 18:25:48 +00:00
mycroft
aee4b07b8a Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft
dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft
690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
mycroft
78f5c43040 Use ${COPY}, not -c for install. 1993-07-18 19:06:45 +00:00
mycroft
1ab35e6283 Only the magic numbers are in network order. 1993-06-22 23:01:55 +00:00
deraadt
eb42ef3021 this is what the new magic numbers will look like 1993-06-13 23:43:00 +00:00
deraadt
c12b59cc91 The sun magic stuff was a little bit smart. I mailed the
patch to the author.
1993-06-13 22:18:45 +00:00
mycroft
7cbe7ab893 Clean up deleted files. 1993-06-10 01:00:13 +00:00
jtc
c4a1e69e2a New updated magic database from Ian Darwin (plus some fixes from me
to images, tex, and audio).  QMAGIC exectables are detected.
1993-06-10 00:57:28 +00:00
jtc
3cc555d0a1 Updated to Ian Darwin's latest release.
Adds lots of neat features from most other vendors file(1) commands,
plus (important!) little and big endian file types.  This will alow
us to detect and extract meaningful information from a many more
file types.
1993-06-10 00:38:32 +00:00
mycroft
ba077e1526 Clean up deleted files. 1993-06-10 00:38:21 +00:00
jtc
ebefd0d08f Updated to Ian Darwin's latest release.
Adds lots of neat features from most other vendors file(1) commands,
plus (important!) little and big endian file types.  This will alow
us to detect and extract meaningful information from a many more
file types.
1993-06-10 00:37:55 +00:00
cgd
bcfaa8d5f4 patch from john brezak (brezak@osf.org) to print target of symlinks 1993-05-19 06:21:23 +00:00
mycroft
8f7f9de18d Add support for QMAGIC. 1993-04-16 13:44:34 +00:00
cgd
e541169ce2 after 0.2.2 "stable" patches applied 1993-03-21 18:04:42 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00