ports/security/binwalk/files/patch-src_binwalk_config_extract.conf
Kurt Jaeger 437546a614 security/binwalk: update 2.1.1 -> 2.3.3, chase GH_ACCOUNT
- no longer supports py2.7

Reported by:	salvadore
2023-01-26 20:24:04 +01:00

32 lines
1.2 KiB
Plaintext

--- src/binwalk/config/extract.conf.orig 2021-09-10 17:46:40 UTC
+++ src/binwalk/config/extract.conf
@@ -26,8 +26,8 @@
# Assumes these utilities are installed in $PATH.
^gzip compressed data:gz:gzip -d -f '%e':0,2
-^lzma compressed data:7z:7z e -y '%e':0,1
-^xz compressed data:xz:7z e -y '%e':0,1
+^lzma compressed data:7z:7zz e -y '%e':0,1
+^xz compressed data:xz:7zz e -y '%e':0,1
^bzip2 compressed data:bz2:bzip2 -d '%e'
^compress'd data:Z:gzip -d '%e'
^posix tar archive:tar:tar xvf '%e'
@@ -35,7 +35,7 @@
^rar archive data:rar:unrar -x '%e' # This is for the 'free' version
^arj archive data.*comment header:arj:arj -y e '%e'
^lha:lha:lha efi '%e'
-^iso 9660:iso:7z x '%e' -oiso-root
+^iso 9660:iso:7zz x '%e' -oiso-root
^microsoft cabinet archive:cab:cabextract '%e'
^stuffit:sit:unstuff '%e'
^osx dmg:dmg:7z x '%e'
@@ -53,7 +53,7 @@
# StarCam firmware CH-sys-48.53.64.67.zip.
^zip archive data:zip:unzip -P '' -o '%e':0
^zip archive data:zip:jar xvf '%e':0
-^zip archive data:zip:7z x -y '%e' -p '':0,1
+^zip archive data:zip:7zz x -y '%e' -p '':0,1
# Try unsquashfs first, or if not installed, sasquatch
^squashfs filesystem:squashfs:unsquashfs -d '%%squashfs-root%%' '%e':0:False