Browse Source

Cherry-pick commit to avoid mis-detection of .dbf as executable

Christoph Biedl 2 years ago
parent
commit
e1b2072821

+ 15 - 0
debian/patches/cherry-pick.1645310132.FILE5_41-76-g394df3ed.pr-316-karagian-bump-strength-to-beat-amd-29k-a-out.patch

@@ -0,0 +1,15 @@
+Subject: PR/316: karagian: Bump strength to beat amd 29k a.out
+Origin: FILE5_41-76-g394df3ed <https://github.com/file/file/commit/FILE5_41-76-g394df3ed>
+Upstream-Author: Christos Zoulas <christos@zoulas.com>
+Date: Sat Feb 19 22:35:32 2022 +0000
+
+--- a/magic/Magdir/database
++++ b/magic/Magdir/database
+@@ -151,6 +151,7 @@
+ # https://www.clicketyclick.dk/databases/xbase/format/dbf.html
+ # inspect VVYYMMDD , where 1<= MM <= 12 and 1<= DD <= 31
+ 0	ubelong&0x0000FFFF		<0x00000C20
++!:strength +10
+ # skip Infocom game Z-machine
+ >2		ubyte			>0
+ # skip Androids *.xml

+ 1 - 0
debian/patches/series

@@ -1,6 +1,7 @@
 # reverted upstream commits
 
 # cherry-picked commits. Keep in upstream's chronological order
+cherry-pick.1645310132.FILE5_41-76-g394df3ed.pr-316-karagian-bump-strength-to-beat-amd-29k-a-out.patch
 
 # patches that should go upstream
 upstream.disable.att3b.patch