mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
security/binwalk: using 7-zip instead of p7zip
PR: 260866
This commit is contained in:
parent
c0c4550edc
commit
bbc6dc87aa
@ -1,6 +1,6 @@
|
||||
PORTNAME= binwalk
|
||||
PORTVERSION= 2.1.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= security python
|
||||
|
||||
@ -14,7 +14,7 @@ USE_GITHUB= yes
|
||||
GH_ACCOUNT= devttys0
|
||||
USE_PYTHON= autoplist distutils optsuffix concurrent
|
||||
|
||||
RUN_DEPENDS= 7z:archivers/p7zip \
|
||||
RUN_DEPENDS= 7zz:archivers/7-zip \
|
||||
cabextract:archivers/cabextract
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
24
security/binwalk/files/patch-src_binwalk_config_extract.conf
Normal file
24
security/binwalk/files/patch-src_binwalk_config_extract.conf
Normal file
@ -0,0 +1,24 @@
|
||||
--- src/binwalk/config/extract.conf.orig 2015-12-23 16:51:01 UTC
|
||||
+++ src/binwalk/config/extract.conf
|
||||
@@ -25,17 +25,17 @@
|
||||
|
||||
# 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'
|
||||
-^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'
|
||||
^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'
|
||||
-^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'
|
||||
|
Loading…
Reference in New Issue
Block a user