head	1.2;
access;
symbols
	RELENG_4_11_0_RELEASE:1.1.1.3.6.1
	RELENG_4_11:1.1.1.3.6.1.0.18
	RELENG_4_11_BP:1.1.1.3.6.1
	RELENG_4_10_0_RELEASE:1.1.1.3.6.1
	RELENG_4_10:1.1.1.3.6.1.0.16
	RELENG_4_10_BP:1.1.1.3.6.1
	RELENG_4_9_0_RELEASE:1.1.1.3.6.1
	RELENG_4_9:1.1.1.3.6.1.0.14
	RELENG_4_9_BP:1.1.1.3.6.1
	RELENG_4_8_0_RELEASE:1.1.1.3.6.1
	RELENG_4_8:1.1.1.3.6.1.0.12
	RELENG_4_8_BP:1.1.1.3.6.1
	RELENG_4_7_0_RELEASE:1.1.1.3.6.1
	RELENG_4_7:1.1.1.3.6.1.0.10
	RELENG_4_7_BP:1.1.1.3.6.1
	RELENG_4_6_2_RELEASE:1.1.1.3.6.1
	RELENG_4_6_1_RELEASE:1.1.1.3.6.1
	RELENG_4_6_0_RELEASE:1.1.1.3.6.1
	RELENG_4_6:1.1.1.3.6.1.0.8
	RELENG_4_6_BP:1.1.1.3.6.1
	RELENG_4_5_0_RELEASE:1.1.1.3.6.1
	RELENG_4_5:1.1.1.3.6.1.0.6
	RELENG_4_5_BP:1.1.1.3.6.1
	RELENG_4_4_0_RELEASE:1.1.1.3.6.1
	RELENG_4_4:1.1.1.3.6.1.0.4
	RELENG_4_4_BP:1.1.1.3.6.1
	RELENG_4_3_0_RELEASE:1.1.1.3.6.1
	RELENG_4_3:1.1.1.3.6.1.0.2
	RELENG_4_3_BP:1.1.1.3.6.1
	RELENG_4_2_0_RELEASE:1.1.1.3
	RELENG_4_1_1_RELEASE:1.1.1.3
	PRE_SMPNG:1.1.1.3
	RELENG_4_1_0_RELEASE:1.1.1.3
	RELENG_3_5_0_RELEASE:1.1.1.3
	RELENG_4_0_0_RELEASE:1.1.1.3
	RELENG_4:1.1.1.3.0.6
	RELENG_4_BP:1.1.1.3
	RELENG_3_4_0_RELEASE:1.1.1.3
	RELENG_3_3_0_RELEASE:1.1.1.3
	RELENG_3_2_PAO:1.1.1.3.0.4
	RELENG_3_2_PAO_BP:1.1.1.3
	RELENG_3_2_0_RELEASE:1.1.1.3
	RELENG_3_1_0_RELEASE:1.1.1.3
	RELENG_3:1.1.1.3.0.2
	RELENG_3_BP:1.1.1.3
	RELENG_2_2_8_RELEASE:1.1.1.2.2.1
	RELENG_3_0_0_RELEASE:1.1.1.3
	RELENG_2_2_7_RELEASE:1.1.1.2.2.1
	RELENG_2_2_6_RELEASE:1.1.1.2.2.1
	RELENG_2_2_5_RELEASE:1.1.1.2.2.1
	RELENG_2_2_2_RELEASE:1.1.1.2
	RELENG_2_2_1_RELEASE:1.1.1.2
	file_3_22:1.1.1.3
	RELENG_2_2_0_RELEASE:1.1.1.2
	RELENG_2_1_7_RELEASE:1.1.1.1
	RELENG_2_1_6_1_RELEASE:1.1.1.1
	RELENG_2_1_6_RELEASE:1.1.1.1
	RELENG_2_2:1.1.1.2.0.2
	RELENG_2_2_BP:1.1.1.2
	RELENG_2_1_5_RELEASE:1.1.1.1
	file_3_19:1.1.1.2
	RELENG_2_1_0_RELEASE:1.1.1.1
	RELENG_2_1_0:1.1.1.1.0.6
	RELENG_2_1_0_BP:1.1.1.1
	RELENG_2_0_5_RELEASE:1.1.1.1
	RELENG_2_0_5:1.1.1.1.0.4
	RELENG_2_0_5_BP:1.1.1.1
	RELENG_2_0_5_ALPHA:1.1.1.1
	RELEASE_2_0:1.1.1.1
	BETA_2_0:1.1.1.1
	ALPHA_2_0:1.1.1.1.0.2
	file_3_14:1.1.1.1
	DARWIN:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2000.11.05.09.06.04;	author obrien;	state dead;
branches;
next	1.1;

1.1
date	94.09.03.19.16.25;	author csgr;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	94.09.03.19.16.26;	author csgr;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	96.01.23.12.27.59;	author mpp;	state Exp;
branches
	1.1.1.2.2.1;
next	1.1.1.3;

1.1.1.3
date	97.03.18.17.59.32;	author mpp;	state Exp;
branches
	1.1.1.3.6.1;
next	;

1.1.1.3.6.1
date	2000.11.29.19.32.50;	author obrien;	state dead;
branches;
next	;

1.1.1.2.2.1
date	97.08.18.18.59.46;	author jdp;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Switch over to using the Christos Zoulas maintained version in contrib/
This also gives use the same exact results as NetBSD, thus sharing more
code with our bretheren.
@
text
@# Values for Linux/i386 binaries, From: Rik Faith <faith@@cs.unc.edu>
2	leshort		100		Linux/i386
>0	leshort		0407		executable or impure executable (OMAGIC)
>0	leshort		0410		pure executable (NMAGIC)
>0	leshort		0413		demand-paged executable (ZMAGIC)
>0	leshort		0314		demand-paged executable (QMAGIC)
>16	lelong		>0		not stripped
>0      string          Jump            jump
# core dump file
216	lelong		0421		core file (Linux)
>220	string		>\0		core file (Linux) of %s
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@Bring in file 3.14 by Ian Darwin (and Christos Zoulas)

The following files were moved to different names:
- file.man -> file.1
- magic.man -> magic.5

The following file was removed:
- Magdir/Makefile
@
text
@@


1.1.1.2
log
@Upgrade to file version 3.19.
@
text
@d1 11
a11 55

#------------------------------------------------------------------------------
# linux:  file(1) magic for Linux files
#
# Values for Linux/i386 binaries, from Daniel Quinlan <quinlan@@yggdrasil.com>
# The following basic Linux magic is useful for reference, but using
# "long" magic is a better practice in order to avoid collisions.
#
# 2	leshort		100		Linux/i386
# >0	leshort		0407		impure executable (OMAGIC)
# >0	leshort		0410		pure executable (NMAGIC)
# >0	leshort		0413		demand-paged executable (ZMAGIC)
# >0	leshort		0314		demand-paged executable (QMAGIC)
#
0	lelong		0x00640107	Linux/i386 impure executable (OMAGIC)
>16	lelong		0		\b, stripped
0	lelong		0x00640108	Linux/i386 pure executable (NMAGIC)
>16	lelong		0		\b, stripped
0	lelong		0x0064010b	Linux/i386 demand-paged executable (ZMAGIC)
>16	lelong		0		\b, stripped
0	lelong		0x006400cc	Linux/i386 demand-paged executable (QMAGIC)
>16	lelong		0		\b, stripped
#
0	string		\007\001\000	Linux/i386 object file
>20	lelong		>0x1020		\b, DLL library
# message catalogs, from Mitchum DSouza <m.dsouza@@mrc-apu.cam.ac.uk>
0	string		*nazgul*	compiled message catalog
>8	lelong		>0		\b, version %ld
# core dump file, from Bill Reynolds <bill@@goshawk.lanl.gov>
216	lelong		0421		Linux/i386 core file
>220	string		>\0		of '%s'
>200	lelong		>0		(signal %d)
#
# LILO boot/chain loaders, from Daniel Quinlan <quinlan@@yggdrasil.com>
# this can be overridden by the DOS executable (COM) entry
2	string		LILO		Linux/i386 LILO boot/chain loader
#
# Debian Packages, from Peter Tobias <tobias@@server.et-inf.fho-emden.de>
0	string		0.9
>8	byte		0x0a		Debian Binary Package
>>3	byte		>0		\b, created by dpkg 0.9%c
>>4	byte		>0		pl%c
# PSF fonts, from H. Peter Anvin <hpa@@yggdrasil.com>
0	leshort		0x0436		Linux/i386 PC Screen Font data,
>2	byte		0		256 characters, no directory,
>2	byte		1		512 characters, no directory,
>2	byte		2		256 characters, Unicode directory,
>2	byte		3		512 characters, Unicode directory,
>3	byte		>0		8x%d
# Linux swap file, from Daniel Quinlan <quinlan@@yggdrasil.com>
4086	string		SWAP-SPACE	Linux/i386 swap file
# From: Erik Troan <ewt@@redhat.com>
0	leshort		0x00070183	ECOFF (Linux/OSF) Alpha binary
>10	leshort		0x0001		not stripped
>10	leshort		0x0000		stripped
@


1.1.1.2.2.1
log
@Sync with -current.
@
text
@d27 1
a27 1
0	string		*nazgul*	Linux compiled message catalog
d52 4
a55 22
# ECOFF magic for OSF/1 and Linux (only tested under Linux though)
#
#	from Erik Troan (ewt@@redhat.com) examining od dumps, so this
#		could be wrong
#      updated by David Mosberger (davidm@@azstarnet.com) based on
#      GNU BFD and MIPS info found below.
#
0	leshort		0x0183		ECOFF alpha
>24	leshort		0407		executable
>24	leshort		0410		pure
>24	leshort		0413		demand paged
>8	long		>0		not stripped
>8	long		0		stripped
>23	leshort		>0		- version %ld.
# linux Kernel images version 1.3.80 - ?
# from Axel Kohlmeyer <akohlmey@@rincewind.chemie.uni-ulm.de>
0       belong          0xb8c0078e      Linux/x86 kernel image,
>0x048c byte            0x31
>>0x048c string         x               version %s
>0x0493 byte            0x31
>>0x0493 string         x               version %s
#
@


1.1.1.3
log
@Upgrade to file version 3.22.

Obtained from: ftp://ftp.deshaw.com/pub/file/file-3.22.tar.gz
@
text
@d27 1
a27 1
0	string		*nazgul*	Linux compiled message catalog
d52 4
a55 22
# ECOFF magic for OSF/1 and Linux (only tested under Linux though)
#
#	from Erik Troan (ewt@@redhat.com) examining od dumps, so this
#		could be wrong
#      updated by David Mosberger (davidm@@azstarnet.com) based on
#      GNU BFD and MIPS info found below.
#
0	leshort		0x0183		ECOFF alpha
>24	leshort		0407		executable
>24	leshort		0410		pure
>24	leshort		0413		demand paged
>8	long		>0		not stripped
>8	long		0		stripped
>23	leshort		>0		- version %ld.
# linux Kernel images version 1.3.80 - ?
# from Axel Kohlmeyer <akohlmey@@rincewind.chemie.uni-ulm.de>
0       belong          0xb8c0078e      Linux/x86 kernel image,
>0x048c byte            0x31
>>0x048c string         x               version %s
>0x0493 byte            0x31
>>0x0493 string         x               version %s
#
@


1.1.1.3.6.1
log
@MFC: switch over to using the Christos Zoulas maintained version in contrib/
@
text
@@

