1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

security/binwalk: update 2.1.1 -> 2.3.3, chase GH_ACCOUNT

- no longer supports py2.7

Reported by:	salvadore
This commit is contained in:
Kurt Jaeger 2023-01-26 20:24:04 +01:00
parent b76b5eb901
commit 437546a614
3 changed files with 22 additions and 15 deletions

View File

@ -1,6 +1,5 @@
PORTNAME= binwalk
PORTVERSION= 2.1.1
PORTREVISION= 2
PORTVERSION= 2.3.3
DISTVERSIONPREFIX= v
CATEGORIES= security python
@ -10,12 +9,12 @@ WWW= http://www.binwalk.org
LICENSE= MIT
USES= python:3.6+
USE_GITHUB= yes
GH_ACCOUNT= devttys0
USE_PYTHON= autoplist distutils optsuffix concurrent
RUN_DEPENDS= 7zz:archivers/7-zip \
cabextract:archivers/cabextract
USES= python:3.6+
USE_GITHUB= yes
GH_ACCOUNT= ReFirmLabs
USE_PYTHON= autoplist distutils optsuffix concurrent
.include <bsd.port.mk>

View File

@ -1,2 +1,3 @@
SHA256 (devttys0-binwalk-v2.1.1_GH0.tar.gz) = 1b70a5b03489d29f60fef18008a2164974234874faab48a4f47ec53d461d284a
SIZE (devttys0-binwalk-v2.1.1_GH0.tar.gz) = 263977
TIMESTAMP = 1674760538
SHA256 (ReFirmLabs-binwalk-v2.3.3_GH0.tar.gz) = 7e32b94dc77632b51d18732b5456e2a3ef85e4521d7d4a54410e36f93859501f
SIZE (ReFirmLabs-binwalk-v2.3.3_GH0.tar.gz) = 39723775

View File

@ -1,6 +1,6 @@
--- src/binwalk/config/extract.conf.orig 2015-12-23 16:51:01 UTC
--- src/binwalk/config/extract.conf.orig 2021-09-10 17:46:40 UTC
+++ src/binwalk/config/extract.conf
@@ -25,17 +25,17 @@
@@ -26,8 +26,8 @@
# Assumes these utilities are installed in $PATH.
^gzip compressed data:gz:gzip -d -f '%e':0,2
@ -10,15 +10,22 @@
+^xz compressed data:xz:7zz e -y '%e':0,1
^bzip2 compressed data:bz2:bzip2 -d '%e'
^compress'd data:Z:gzip -d '%e'
-^zip archive data:zip:7z x -y '%e' -p '':0,1
+^zip archive data:zip:7zz x -y '%e' -p '':0,1
^posix tar archive:tar:tar xvf '%e'
^rar archive data:rar:unrar e '%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 ei '%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