[File] Add new RPM architectures

Petr Pisar ppisar at redhat.com
Thu Oct 26 11:30:51 UTC 2023


Hello,

I noticed that the magic database does not recognize architectures recently
added to RPM format, like AArch64.

The required changes are atteched as two git patches. The first one adds tests
for currently recognized architectures. The latter one adds support for the
new architectures.

The test binary files included in the patches were created by me from scratch,
hence they are in line with BSD license this file project uses. I see you use
CVS. If you had difficultries with applying the git patches, tell and I will
send you the binary test files as an attachment to an e-mail message.

-- Petr
-------------- next part --------------
From e1005aeaa1e17cd0906687d459d53fca060650ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Wed, 25 Oct 2023 18:30:01 +0200
Subject: [PATCH 1/2] Add tests for RPM package architectures
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

I only provided tests for the architectures I have access to.

Signed-off-by: Petr P?sa? <ppisar at redhat.com>
---
 tests/Makefile.am                     |   8 ++++++++
 tests/rpm-v3.0-bin-powerpc64.result   |   1 +
 tests/rpm-v3.0-bin-powerpc64.testfile | Bin 0 -> 6309 bytes
 tests/rpm-v3.0-bin-s390x.result       |   1 +
 tests/rpm-v3.0-bin-s390x.testfile     | Bin 0 -> 6301 bytes
 tests/rpm-v3.0-bin-x86_64.result      |   1 +
 tests/rpm-v3.0-bin-x86_64.testfile    | Bin 0 -> 6365 bytes
 tests/rpm-v3.0-src.result             |   1 +
 tests/rpm-v3.0-src.testfile           | Bin 0 -> 6554 bytes
 9 files changed, 12 insertions(+)
 create mode 100644 tests/rpm-v3.0-bin-powerpc64.result
 create mode 100644 tests/rpm-v3.0-bin-powerpc64.testfile
 create mode 100644 tests/rpm-v3.0-bin-s390x.result
 create mode 100644 tests/rpm-v3.0-bin-s390x.testfile
 create mode 100644 tests/rpm-v3.0-bin-x86_64.result
 create mode 100644 tests/rpm-v3.0-bin-x86_64.testfile
 create mode 100644 tests/rpm-v3.0-src.result
 create mode 100644 tests/rpm-v3.0-src.testfile

diff --git a/tests/Makefile.am b/tests/Makefile.am
index a1df4fcf..2efde95f 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -111,6 +111,14 @@ regex-eol.result \
 regex-eol.testfile \
 registry-pol.result \
 registry-pol.testfile \
+rpm-v3.0-bin-powerpc64.result \
+rpm-v3.0-bin-powerpc64.testfile \
+rpm-v3.0-bin-s390x.result \
+rpm-v3.0-bin-s390x.testfile \
+rpm-v3.0-bin-x86_64.result \
+rpm-v3.0-bin-x86_64.testfile \
+rpm-v3.0-src.result \
+rpm-v3.0-src.testfile \
 uf2.result \
 uf2.testfile \
 utf16xmlsvg.textfile \
diff --git a/tests/rpm-v3.0-bin-powerpc64.result b/tests/rpm-v3.0-bin-powerpc64.result
new file mode 100644
index 00000000..c4526e29
--- /dev/null
+++ b/tests/rpm-v3.0-bin-powerpc64.result
@@ -0,0 +1 @@
+RPM v3.0 bin PowerPC64
diff --git a/tests/rpm-v3.0-bin-powerpc64.testfile b/tests/rpm-v3.0-bin-powerpc64.testfile
new file mode 100644
index 0000000000000000000000000000000000000000..8d8ded32ad7f08f4ab2f90b4d78a44ec9ff573b9
GIT binary patch
literal 6309
zcmeI0ON<mn7{_av0Tz*D2^!I8oP+~QLiO}(X1a-sz%Gj<gk4#X#mic+o at wmq?(~BN
zG?7HT7-L9$#Dj?*h!^9*L@#*pU^G#W-t=P71RvllQDOq?_stY5SuT3EJ6rv)Uwu{e
z)%>S+H~Fr-bM>n_foHr>c|lET8i8<49Qp50jjUb0=%sfr*YwzWNb)}PcSFPe1<-Lq
zYMVgULBj{;);5D8?-+6YGH3%@r1>XMSWi-Du)h8?D8|o0gZ1 at aKr#LtgquG17&AL<
zn{jSA$_$ipO-C`?G&_t-sU$a<(+-H}s&3$zT=<*^-0pUya2>xbJ=Re?aNCyj0*^_{
z<w6P13w+i#mG9fO?OHN0ZAb`dH$C{}wv)xy at YUBZJ-_)GF7Y!wJq%T^%7My(%7My(
z%7My(%7My(%7My(%7My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jX*A!jpy2AEc
zyW?9d at cp*np6gkx<8`f$lun!5w&z>E(}pUz3ff)Q4@}E+eX}ix7jVpWr0Lo=cLS)M
zdqKBrDX(jHU5j(4Yj%B;J3^Xm$5SleZpX46M|rjhX?VNKZ2a3c`UkeWeEmH1$0t5$
wT_^nqYGlp6bsInW at xx1lZ^r*xTl;*lksNp|zqb75r|<1tzlPMe-yqxm1~8x2sQ>@~

literal 0
HcmV?d00001

diff --git a/tests/rpm-v3.0-bin-s390x.result b/tests/rpm-v3.0-bin-s390x.result
new file mode 100644
index 00000000..0008d7e8
--- /dev/null
+++ b/tests/rpm-v3.0-bin-s390x.result
@@ -0,0 +1 @@
+RPM v3.0 bin S/390x
diff --git a/tests/rpm-v3.0-bin-s390x.testfile b/tests/rpm-v3.0-bin-s390x.testfile
new file mode 100644
index 0000000000000000000000000000000000000000..cb459adf5198dfcadd70e632d9ea6870ed494783
GIT binary patch
literal 6301
zcmeHLO^6&t6t2lklGPxtMDYie0T0=QR8RGPcW{%K-E6WDvP(9<DlFCA)ia&+bPxTL
z-7JbZh<FlF4*@|zyom=Pp7daHFoH)ff+tZS{v`f^1|eDB>n>N>T=Z-=^ZKjry{h-B
zzpj~qckP|)U$hBacNZcrD5FdXeS at Lrzh5n~dE=s&-o4tAzO96eUxe{)FdV-PI8I3G
zF2F5dc){G(J%Gq3Yu>&J*a3?r{{axzlMxuKZ~q90@$+D?zWoy*#-E39SJNG4s<vqv
zOm#wTdI2|d*L77x)f`(hOgjv1gPFv!bRII!R8 at GPXW52rd4|UY(?enErfN8zV+)Nl
z)8dA3g(jGzYnI at l<v|h#1)=QbGh42_zT^0_bNTt*k6ylb at H22eQ-zvaqd=oTqd=oT
zqd=oTqd=oTqd=oTqd=oTqd=p;|6PHqC$hG-_A&?oJq<$s(Kp!v?Tu65+5-lCjm{h(
z&I!QA!0^Jp2lh#@Z?Z}9ZzacG2*$sY{0_;nkAh>&h4E{W-zWKXK<ukLEIIaBFn?F_
zp8+v`Q1V{@F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JP(4q#ne8%9_XB3?4m83&!%{U}7mmiD40Of0hQDd`AJ^L2P5dDo
zpLoA_lMEhdkxl!yZ2Rc at 555|HIsV7y)~Ca5<iPR##@d@#-rKo#6KU_bMIQST1hUPc

literal 0
HcmV?d00001

diff --git a/tests/rpm-v3.0-bin-x86_64.result b/tests/rpm-v3.0-bin-x86_64.result
new file mode 100644
index 00000000..e3fcc7d9
--- /dev/null
+++ b/tests/rpm-v3.0-bin-x86_64.result
@@ -0,0 +1 @@
+RPM v3.0 bin i386/x86_64
diff --git a/tests/rpm-v3.0-bin-x86_64.testfile b/tests/rpm-v3.0-bin-x86_64.testfile
new file mode 100644
index 0000000000000000000000000000000000000000..9f1ecb3fea2f313346f9f69793cf73c189a55c0f
GIT binary patch
literal 6365
zcmeHLO^6&t6t2lkeoPQnqC`buz(aN+)zd%Kf5A;+cC$$!WJ5MFKMG5Ab at fcgp6;Q4
z+)WVlAfgB&>OnyWiZ_X%7y|Jk9#rt)#e?8UREWmJUo?ox`rb at sHJgi`?P9CH`rfO0
zullR%S$LP;y!=IzKx>q;D5*|$EfP#e%YSbTvU=sB=gwScDBD^>#@>bTHt0Bh18 at uy
z-wL<}IyRWwxD62b#E3U90JfkfihmCX>&XB*tZ)7Ri2f&_!}{irfare`-0etrZQW+N
zV+7ps0^9ev;d46>mhA<;6F7`B&j}fEO(O`oV at 1OEglYRaH+5;+(h9i6Z01YB%*Z!g
zBl10I8_bAo$FV%$32iQ=$si%5-L-quvlq^-f6Lkb!LNsoUwrLVFg`YP)sI?%T7g=D
zT7g=DT7g=DT7g=DT7g=DT7g=DT7mz&0>hff($doNAOzGj2>D0dWHXdEUIEi~=up>a
zJp+hyLg?$DW5c=!)=98#vP$u96~|f#`oB~B7R9lSf at 6$@{!5DAq4;G$tgGCkIM!J(
zep~UM0MWlk at t*<FzfbXB6n{wZ-xNQg`0t7 at D1HSH_w$tER{=5J3yNP;{N)jE-LCj)
z#Ww+>9%rG02CX{*aep6=uyq$8`af6v?h$WH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FUS5^-T0)x
Yf$V;;xUzKmqqn!LT}7IkuaW!y0(PS5l>h($

literal 0
HcmV?d00001

diff --git a/tests/rpm-v3.0-src.result b/tests/rpm-v3.0-src.result
new file mode 100644
index 00000000..d21ce34c
--- /dev/null
+++ b/tests/rpm-v3.0-src.result
@@ -0,0 +1 @@
+RPM v3.0 src
diff --git a/tests/rpm-v3.0-src.testfile b/tests/rpm-v3.0-src.testfile
new file mode 100644
index 0000000000000000000000000000000000000000..f6bdce32771d52b34d77dca4b4847e71fb4db76a
GIT binary patch
literal 6554
zcmeI0Yiv|S6vt<G3)V$Lu{5BNxWO2~y32h(ng)m^6_WC>P#?VHKIWFi-R@=|pcN2}
zVo;z}gqUDZu%ZSu1c)(+fhf@!YeE$xhymYF3Z-fRB|trA_XJ4!V*KizWcGi5b7sy=
z|8sYnoYPyokAxTtu<{(w=AuGWh<T18u>aHoY(W2YYu-H(ps^bmE87Ln<Dlbn8)zA9
zeKY7l=-6OxU<fGkm?DQxfR;c{5T62t^(+k?)`!l3VthGtSRd*E#rQK2j%c1DXsRO_
zp1~#Ck-6h)qG`&y?y8C?JDTOlx at n3`S4ErKT(CUVHYH7UHAxZ`Ro7&dbJgUwY#JI&
zP$Wp;*@i9Xx at Sp>VXLxW2^wt3SZVMUAy~hw;z<4FrUBhCaqb8>(!oN=|L`5~9q=9S
z9q=9S9q=9S9q=9S9q=9S9q=9S9r(XHP^gLY_4T!a5m3`$?3%iX4mFJy7#a^9>KdUZ
zL2-@?y%ah&tb1Uc1nVY2;!a|$g<$+7 at r}e-N5N;zh4ItG6~x`3SXUWIjCB^wA0hr7
z6yuYK{{Y2!9r2&Uvx(0UFC;!syqNeeP(05H;!B{I?<L~P#IF>&1oy`NIx)_LQWk3?
z#$3o-h{K>b|83$ypy=N=;+u%k2k at f=>ryzshj=h3&hI5g-;n<%M&DpQEG at 1d1`6>2
z=D>WzK{1Z|z#Wy`O7Wq at w-HYy9t{eAQ(z`2t~Wq&{TyNw6!Xs~t|BHs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CzU1Ca<p^-Z86o`5L=&#7FsMrR^WjUXnb#@QpnuzpJuVEv`%+YF?MxJa6aW
zZ9j&GZR=^MYR|Nf?y`*4p9sC$J$KZ#?k at TKy+Bz<=iZG!fA#$%>z|M-&uqMF8Xx)D
Pi^m5oZvBZJg!lI!w4~^U

literal 0
HcmV?d00001

-- 
2.41.0

-------------- next part --------------
From 3090a75408582b845518fee0b0e557b9094b4eee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Wed, 25 Oct 2023 17:34:59 +0200
Subject: [PATCH 2/2] Add RPM architectures 19--23
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

RPM package format introduced new architectures, assigning number from
19 to 23. See "arch_canon" lines in rpmrc.in file of RPM sources.

A test is provided only for architecture #19 as I don't have access to
other ones.

Signed-off-by: Petr P?sa? <ppisar at redhat.com>
---
 magic/Magdir/rpm                    |  10 ++++++++++
 tests/Makefile.am                   |   2 ++
 tests/rpm-v3.0-bin-aarch64.result   |   1 +
 tests/rpm-v3.0-bin-aarch64.testfile | Bin 0 -> 6361 bytes
 4 files changed, 13 insertions(+)
 create mode 100644 tests/rpm-v3.0-bin-aarch64.result
 create mode 100644 tests/rpm-v3.0-bin-aarch64.testfile

diff --git a/magic/Magdir/rpm b/magic/Magdir/rpm
index 9a795f84..64f44204 100644
--- a/magic/Magdir/rpm
+++ b/magic/Magdir/rpm
@@ -28,6 +28,11 @@
 >>8	beshort		16		PowerPC64
 >>8	beshort		17		SuperH
 >>8	beshort		18		Xtensa
+>>8	beshort		19		AArch64
+>>8	beshort		20		MIPSr6
+>>8	beshort		21		MIPS64r6
+>>8	beshort		22		RISC-V64
+>>8	beshort		23		LoongArch64
 >>8	beshort		255		noarch
 
 #delta RPM    Daniel Novotny (dnovotny at redhat.com)
@@ -42,4 +47,9 @@
 >>8	beshort		16		PowerPC64
 >>8	beshort		17		SuperH
 >>8	beshort		18		Xtensa
+>>8	beshort		19		AArch64
+>>8	beshort		20		MIPSr6
+>>8	beshort		21		MIPS64r6
+>>8	beshort		22		RISC-V64
+>>8	beshort		23		LoongArch64
 >>10	string		x		%s
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 2efde95f..ec57108b 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -111,6 +111,8 @@ regex-eol.result \
 regex-eol.testfile \
 registry-pol.result \
 registry-pol.testfile \
+rpm-v3.0-bin-aarch64.result \
+rpm-v3.0-bin-aarch64.testfile \
 rpm-v3.0-bin-powerpc64.result \
 rpm-v3.0-bin-powerpc64.testfile \
 rpm-v3.0-bin-s390x.result \
diff --git a/tests/rpm-v3.0-bin-aarch64.result b/tests/rpm-v3.0-bin-aarch64.result
new file mode 100644
index 00000000..b173034c
--- /dev/null
+++ b/tests/rpm-v3.0-bin-aarch64.result
@@ -0,0 +1 @@
+RPM v3.0 bin AArch64
diff --git a/tests/rpm-v3.0-bin-aarch64.testfile b/tests/rpm-v3.0-bin-aarch64.testfile
new file mode 100644
index 0000000000000000000000000000000000000000..125fffa8f79b4453b46270e60f9ef6e67fb86e85
GIT binary patch
literal 6361
zcmeHLO^g&p6s}<gSS2QF at c$>7=z(2B_4MEL4{;ILWr2jS8<rK&!&+TcJ=56JJ?ZXY
zfq2mPb25hblX%kuF(!rs2E2IjB#C;^#G77>nxF_OCb}_!^}U{A#pR-ByR+3_eeczK
zulnoi+2mb%@A6l50 at ubu<^|QMu7%vz(emG~8d<wK=#|qKYRa~rkkPX+-wFfgrvOI@
zsoe&+4hCMZwst!p^6??BUjS^th!y_{5aLN62E^BY21Ng}Fd)AE3n2Pm0C!Vz(_oHg
z7y<Lmzzlue at EG%4GjL65yQX7?p)Z(2WIGgrbc8RNZ2JzlEzT|7_AKGpR%kIxx0uVq
z&~|J+bX?)umS+aGuwde{0186c?O&Wab7el=dj9_BHr at 5mC;Kjf at tM+9-6{nt1u6w9
z1u6w91u6w91u6w91u6w91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!)&QP}~`uUbt
zD;RW6-2Ab&@a&O65mJvZTj#E at ZEkwD>G%c<eZS2E&-SpH?i!8|Ry#0F&o_Ll?MhdM
zZP)fg-Oz1cZ;P_vh-nGkHlarzN at jYY>lzXo at 2+hGf#vG1uLl+vdfW2gu>#vMOv{p<
zsY98d?J^U84~PHsmY1)dg!$;$xz<(EeXvH>>{z$qql+JY+xuqp&$YErdmG5E$MdD-
Rx6Ys0ynYR-Z at NYv{tG+#>w5qI

literal 0
HcmV?d00001

-- 
2.41.0

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://mailman.astron.com/pipermail/file/attachments/20231026/b5a9d7ff/attachment-0001.asc>


More information about the File mailing list