binwalk2

LOW
maintainer MS-DTYP 0 votes scanned 2026-10-26 15:45:54.756943
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: Arseniy Sharoglazov <mohemiv@gmail.com>
2# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
3# Contributor: Peter Wu <peter@lekensteyn.nl>
4# Contributor: Miguel Revilla <yo@miguelrevilla.com>
5# Contributor: s1gma <s1gma@mindslicer.com>
6
7pkgname=binwalk2
8_gitname=binwalk
9pkgver=2.4.3
10pkgrel=10
11pkgdesc='Tool for searching a given binary image for embedded files'
12url='https://github.com/OSPG/binwalk'
13arch=(any)
14license=(MIT)
15depends=(
16 python
17 python-setuptools
18)
19makedepends=(
20 python-build
21 python-installer
22 python-setuptools
23 python-wheel
24 git
25)
26checkdepends=(
27 python-pytest
28)
29optdepends=(
30 'python-pyqtgraph: graph and visualization support'
31 'python-opengl: binviz module support'
32 'python-capstone: disassembly support'
33 'arj: ARJ decompression support'
34 'cabextract: CAB archive support'
35 'cpio: CPIO archvie support'
36 'gzip: GZIP decompression support'
37 'mtd-utils: JFFS filesystem support'
38 'p7zip: ZIP, LZMA and ISO decompression support'
39 'squashfs-tools: squashfs support'
40 'tar: TAR archive support'
41 'bzip2: BZIP2 archive support'
42 'unrar: RAR decompression support'
43 'xz: XZ decompression support'
44 'firmware-mod-kit: cramfs support'
45 'lhasa: LHA support'
46 'sleuthkit: forensic analysis support'
47)
48provides=('binwalk')
49source=(
50 "${_gitname}::git+${url}#commit=ce6c706cc0cc13dbaa4c5cf22e7f03fcd83835ac"
51 "CVE-2026-7179.patch::https://sources.debian.org/data/main/b/binwalk/2.4.3%2Bdfsg1-3/debian/patches/prevent-path-traversal-in-wince.patch"
52)
53sha512sums=(
54 'SKIP'
55 'ad8bb01ecdb1f8a2f3af82f8f1607f1e2e0dd7ffaed914dd2156749d36954e8932c5bf064f3bdc1f272b2a72842272bb264f19fa89129d98756ccc06c0e655e4'
56)
57
58build() {
59 cd ${_gitname}
60 python -m build --wheel --no-isolation
61}
62
63check() {
64 cd ${_gitname}
65 python -m venv --clear --without-pip --system-site-packages .testenv
66 .testenv/bin/python -m installer dist/*.whl
67 .testenv/bin/python -m pytest
68}
69
70package() {
71 cd ${_gitname}
72 python -m installer --destdir="$pkgdir" dist/*.whl
73
74 mv "${pkgdir}/usr/bin/binwalk" "${pkgdir}/usr/bin/binwalk2"
75
76 install -Dm 644 *.md -t "${pkgdir}/usr/share/doc/${pkgname}"
77 install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
78}
79
80# vim: ts=2 sw=2 et:
81

Scan history

Scanned at (UTC)SeverityRules
2026-10-26 15:45:54 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion