* Import linux-x86-32/64 and darwin-x86-32 sflib includedirs * Simplify data installation for magic, egg, syscall and asm * Set R2_INCDIR in r_userconf * Make ragg2-cc much smarter - use ragg2 -v to get paths and version - accept new flags -a -b -k for arch, bits and kernel - supports crosscompilation --HG-- rename : libr/magic/d/OpenBSD => libr/magic/d/default/OpenBSD rename : libr/magic/d/archive => libr/magic/d/default/archive rename : libr/magic/d/cafebabe => libr/magic/d/default/cafebabe rename : libr/magic/d/cisco => libr/magic/d/default/cisco rename : libr/magic/d/database => libr/magic/d/default/database rename : libr/magic/d/editors => libr/magic/d/default/editors rename : libr/magic/d/elf => libr/magic/d/default/elf rename : libr/magic/d/filesystems => libr/magic/d/default/filesystems rename : libr/magic/d/flash => libr/magic/d/default/flash rename : libr/magic/d/freebsd => libr/magic/d/default/freebsd rename : libr/magic/d/gimp => libr/magic/d/default/gimp rename : libr/magic/d/images => libr/magic/d/default/images rename : libr/magic/d/java => libr/magic/d/default/java rename : libr/magic/d/jpeg => libr/magic/d/default/jpeg rename : libr/magic/d/linux => libr/magic/d/default/linux rename : libr/magic/d/mail.news => libr/magic/d/default/mail.news rename : libr/magic/d/matroska => libr/magic/d/default/matroska rename : libr/magic/d/mime => libr/magic/d/default/mime rename : libr/magic/d/msdos => libr/magic/d/default/msdos rename : libr/magic/d/netbsd => libr/magic/d/default/netbsd rename : libr/magic/d/pdf => libr/magic/d/default/pdf rename : libr/magic/d/perl => libr/magic/d/default/perl rename : libr/magic/d/python => libr/magic/d/default/python rename : libr/magic/d/riff => libr/magic/d/default/riff rename : libr/magic/d/sniffer => libr/magic/d/default/sniffer rename : libr/magic/d/sql => libr/magic/d/default/sql rename : libr/magic/d/sun => libr/magic/d/default/sun rename : libr/magic/d/uuencode => libr/magic/d/default/uuencode
20 lines
833 B
Text
20 lines
833 B
Text
# $OpenBSD: python,v 1.2 2008/05/08 01:40:57 chl Exp $
|
|
|
|
#------------------------------------------------------------------------------
|
|
# python: file(1) magic for python
|
|
#
|
|
# From: David Necas <yeti@physics.muni.cz>
|
|
# often the module starts with a multiline string
|
|
0 string """ a python script text executable
|
|
# MAGIC as specified in Python/import.c (1.5 to 2.3.0a)
|
|
# 20121 ( YEAR - 1995 ) + MONTH + DAY (little endian followed by "\r\n"
|
|
0 belong 0x994e0d0a python 1.5/1.6 byte-compiled
|
|
0 belong 0x87c60d0a python 2.0 byte-compiled
|
|
0 belong 0x2aeb0d0a python 2.1 byte-compiled
|
|
0 belong 0x2ded0d0a python 2.2 byte-compiled
|
|
0 belong 0x3bf20d0a python 2.3 byte-compiled
|
|
0 belong 0x6df20d0a python 2.4 byte-compiled
|
|
0 belong 0xb3f20d0a python 2.5 byte-compiled
|
|
|
|
0 string/b #!\ /usr/bin/python python script text executable
|
|
|