From 8b4bc49dacde2a429141fb28c0673d57f9065b2a Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 6 Oct 2015 08:12:30 +0000 Subject: [PATCH] Another simple update from file 5.x. --- usr.bin/file/magdir/rpm | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/usr.bin/file/magdir/rpm b/usr.bin/file/magdir/rpm index e8583cf457b..3009b30c308 100644 --- a/usr.bin/file/magdir/rpm +++ b/usr.bin/file/magdir/rpm @@ -1,17 +1,17 @@ -# $OpenBSD: rpm,v 1.6 2009/04/24 18:54:34 chl Exp $ +# $OpenBSD: rpm,v 1.7 2015/10/06 08:12:30 nicm Exp $ #------------------------------------------------------------------------------ # # RPM: file(1) magic for Red Hat Packages Erik Troan (ewt@redhat.com) # -0 beshort 0xedab ->2 beshort 0xeedb RPM +0 belong 0xedabeedb RPM !:mime application/x-rpm ->>4 byte x v%d ->>6 beshort 0 bin ->>6 beshort 1 src ->>8 beshort 1 i386 ->>8 beshort 2 Alpha +>4 byte x v%d +>5 byte x \b.%d +>6 beshort 1 src +>6 beshort 0 bin +>>8 beshort 1 i386/x86_64 +>>8 beshort 2 Alpha/Sparc64 >>8 beshort 3 Sparc >>8 beshort 4 MIPS >>8 beshort 5 PowerPC @@ -22,4 +22,24 @@ >>8 beshort 10 Sparc64 >>8 beshort 11 MIPSel >>8 beshort 12 ARM +>>8 beshort 13 MiNT +>>8 beshort 14 S/390 +>>8 beshort 15 S/390x +>>8 beshort 16 PowerPC64 +>>8 beshort 17 SuperH +>>8 beshort 18 Xtensa +>>8 beshort 255 noarch + +#delta RPM Daniel Novotny (dnovotny@redhat.com) +0 string drpm Delta RPM +!:mime application/x-rpm +>12 string x %s +>>8 beshort 11 MIPSel +>>8 beshort 12 ARM +>>8 beshort 13 MiNT +>>8 beshort 14 S/390 +>>8 beshort 15 S/390x +>>8 beshort 16 PowerPC64 +>>8 beshort 17 SuperH +>>8 beshort 18 Xtensa >>10 string x %s -- 2.20.1