diff options
author | jbj <devnull@localhost> | 2004-10-21 21:18:35 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2004-10-21 21:18:35 +0000 |
commit | 883580417100b31808d0ef8d69bcfdd510e85d0a (patch) | |
tree | 7022893e6fa1199669b6d8aacda0e5d537f7ad85 /file/magic | |
parent | bc1ad5caaf0c827355f4254cb3b4e7f4e76a94b4 (diff) | |
download | librpm-tizen-883580417100b31808d0ef8d69bcfdd510e85d0a.tar.gz librpm-tizen-883580417100b31808d0ef8d69bcfdd510e85d0a.tar.bz2 librpm-tizen-883580417100b31808d0ef8d69bcfdd510e85d0a.zip |
Compile in the correct path to /usr/lib/rpm/magic.
Add magic for rpm packages and headers.
Add MAGIC_COMPRESS and MAGIC_CHECK to extract types from compressed files.
Permit info and man pages into RPMTAG_FILECLASS.
Package all the Berkeley DB utilities with rpm.
CVS patchset: 7502
CVS date: 2004/10/21 21:18:35
Diffstat (limited to 'file/magic')
-rw-r--r-- | file/magic/Localstuff | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/file/magic/Localstuff b/file/magic/Localstuff index 914d449c0..8aa48646c 100644 --- a/file/magic/Localstuff +++ b/file/magic/Localstuff @@ -5,3 +5,34 @@ # $Id: Localstuff,v 1.4 2003/03/23 04:17:27 christos Exp $ # Add any locally observed files here. Remember: # text if readable, executable if runnable binary, data if unreadable. + +# +# RPM: file(1) magic for RPM packages and headers +# +0 beshort 0xedab +>2 beshort 0xeedb RPM +>>4 byte x v%d package +>>6 beshort 0 bin +>>6 beshort 1 src +>>8 beshort 1 i386 +>>8 beshort 2 Alpha +>>8 beshort 3 Sparc +>>8 beshort 4 MIPS +>>8 beshort 5 PPC +>>8 beshort 6 68000 +>>8 beshort 7 SGI +>>8 beshort 8 RS6000 +>>8 beshort 10 Sparc64 +>>8 beshort 11 MIPSEL +>>8 beshort 12 ARM +>>8 beshort 13 m68kmint +>>8 beshort 14 s390 +>>8 beshort 15 s390x +>>8 beshort 16 PPC64 +>>8 beshort 17 SH +>>8 beshort 18 Xtensa +>>10 string x %s + +0 beshort 0x8ead +>2 beshort 0xe801 RPM header + |