Commit Graph

195 Commits

Author SHA1 Message Date
pooka
184b2ef7fa conflict therapy 2002-05-18 07:00:44 +00:00
pooka
4f62edefc0 file 3.38 2002-05-18 06:45:50 +00:00
bjh21
23a7bb8ef2 Add support for recognising FreeBSD and OpenBSD executables. 2002-04-09 15:10:17 +00:00
bjh21
004f6e28d5 Add constants required for PT_NOTE interpretation in executables. 2002-03-30 17:54:51 +00:00
bjh21
9ba354fdc4 Add support for reading PT_NOTE segments in ELF executables. This means that
file(1) will now recognise NetBSD and Linux ELF executables correctly, thus
addressing part of PR bin/12295.
2002-03-30 16:21:28 +00:00
pooka
2e5c1d7a0d reflect magic.mime -> magic.mime.in change also here
+ fix an ooold typo ;)
2002-03-24 22:22:03 +00:00
thorpej
d70c41a1fb Fix the magic.mime problem correctly: the input file gets a different
name.
2002-03-24 22:12:59 +00:00
wiz
c41c892893 Undo last.
If no objdir exists, this change made 'make clean' remove the checked out
magic.mime, making subsequent 'make build's fail.
2002-03-24 17:16:22 +00:00
fredette
1e9998683c Added support for differentiating between ELF executables
for the 68000, 68020, and CPU32.
2002-03-22 00:19:57 +00:00
veego
8bb9a08931 Add magic.mime to CLEANFILES. 2002-03-21 22:02:06 +00:00
thorpej
fe9b2e2bd7 No need to reference .OBJDIR here. 2002-03-05 22:07:13 +00:00
ross
2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
tv
9fbd88883c Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
round has been tested on Solaris/x86 and Linux hosts.

* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
  sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.
2002-01-31 22:43:33 +00:00
thorpej
a4ea757e28 Slight cleanup to ELF core file handing, and add support for
NetBSD-style ELF core files.
2001-12-09 23:21:07 +00:00
wiz
aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
christos
9220b490d0 Install magic.mime.mgc too. 2001-10-10 16:56:27 +00:00
is
822a067a62 file recognizes Amiga icon (.info) files now. 2001-10-06 20:55:42 +00:00
gmcgarry
6b7bff4969 Recognise MLSSA datafiles 2001-09-20 03:05:54 +00:00
pooka
9a621e89a7 tweak for 3.37 2001-09-09 10:48:34 +00:00
pooka
59a767d683 resolve conflicts 2001-09-09 10:46:36 +00:00
pooka
ad8e9e60b1 file 3.37 2001-09-09 10:38:55 +00:00
pooka
0e6f52edec g/c unused crud 2001-09-09 10:33:28 +00:00
ad
e3af9d1d6b getopt() returns -1 on error, not EOF. 2001-08-18 17:10:04 +00:00
msaitoh
0ef29a9606 invert the meanings of the F_LSYMS field. 2001-08-14 21:26:54 +00:00
lukem
2d2ec1ba20 comment out "last checked" for now; it's not used in netbsd at this time,
and it's a different field in solaris
2001-07-26 10:08:38 +00:00
lukem
96a522fc27 more changes to ffs display:
- display clean flag
- fix wording of block size and fragment size
- use correct offsets for minfree, rotdelay and rps
  (at least, correct for NetBSD and Solaris 2.6/sparc)
2001-07-26 09:00:59 +00:00
lukem
199a509d62 fix typos 2001-07-26 07:59:21 +00:00
pooka
f76ed1bfa7 Fix big-endian FFS to really be reported as a big-endian FFS instead
of little-endian.

Fixes bin/13539 by Darrin B. Jewell
2001-07-23 10:10:41 +00:00
pooka
e14e91f738 oops, this was actually a new file, not an old file that is dead 2001-07-22 23:34:22 +00:00
pooka
bc1d980b74 mips-magic is back 2001-07-22 23:29:55 +00:00
pooka
242fdd0dfe adapt to file 3.36 2001-07-22 23:01:30 +00:00
pooka
6a653976b3 remove files no longer in the distribution 2001-07-22 22:59:09 +00:00
pooka
0910daa38f fix compiler warnings 2001-07-22 22:56:50 +00:00
pooka
9ac45dc28d resolve conflicts 2001-07-22 22:53:00 +00:00
pooka
8637bb8c24 file 3.36 2001-07-22 22:31:55 +00:00
wiz
a9356936b4 seperate -> separate 2001-07-22 13:33:58 +00:00
hubertf
08a7f97337 make file(1) recognize our manpages in src/gnu/libexec/uucp/* 2001-06-24 01:40:30 +00:00
fvdl
bd1117828f Add x86-64. 2001-06-19 09:27:24 +00:00
kleink
042e6a7b90 Make this really work with MKSHARE=no. 2001-05-29 20:22:05 +00:00
itohy
d1a3bcdc26 alpha core has signal number in little endian, no in big endian. 2001-05-16 00:52:48 +00:00
simonb
655e90b8b9 Make this cross-compile friendly - build a cut down program called
"mkmagic" out of apprentice.c and print.c that is built using the
host compiler and used to generate magic.mgc.
2001-05-09 14:05:52 +00:00
simonb
afaa61c23a Use curly braces instead of parentheses around make(1) variables. 2001-05-09 13:58:25 +00:00
fvdl
947211629a magic.mgc needs ${PROG} to be created, so add a depenency. Makes
parallel make work.
2001-05-02 18:35:41 +00:00
itojun
7d01561a4c magic numbers for citrus locale declaration (/usr/share/locale). 2001-04-13 08:59:01 +00:00
pooka
6d1c97a829 Recognize big endian ld.so.hints file
from Christos
2001-04-13 08:19:48 +00:00
enami
2323af4522 Have an indivisual rule to build magic.mgc. 2001-03-31 01:31:49 +00:00
pooka
b7aff9e185 run file from ${.OBJDIR} instead of ${.CURDIR} to make it work with
objdir builds also
2001-03-27 08:45:02 +00:00
pooka
2ace2c7db3 Missed magic.mgc from list of files to wipe out 2001-03-27 00:53:43 +00:00
pooka
f5d91118e0 make this compile 2001-03-27 00:49:12 +00:00
pooka
27ed415ae8 switch to use new compressed magic file: magic.mgc 2001-03-27 00:48:59 +00:00