SHA256
1
0
forked from pool/binwalk

Compare commits

4 Commits

Author SHA256 Message Date
b3bdc74fde Accepting request 1297156 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1297156
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binwalk?expand=0&rev=13
2025-08-03 11:37:45 +00:00
Alexei Sorokin
68e0452bfd - Switch upstream to the original repository
- Update to version 3.1.0:
  * Rewrite in Rust
  * Add ntfs support
  * Add apfs support
  * Add btrfs support
  * Add Windows CE support
  * Add Autel encoded firmware support
  * Add Tplink fw rtos signatures
  * Add full search support
  * Full changelog:
    https://github.com/ReFirmLabs/binwalk/compare/v2.3.4...v3.1.0

OBS-URL: https://build.opensuse.org/package/show/devel:tools/binwalk?expand=0&rev=32
2025-08-02 11:05:07 +00:00
18f6706e9e Accepting request 1204074 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1204074
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binwalk?expand=0&rev=12
2024-09-27 15:11:29 +00:00
Boris Manojlovic
62a2cf4758 - Switch upstream to a maintained fork
- Update to version 2.4.2

OBS-URL: https://build.opensuse.org/package/show/devel:tools/binwalk?expand=0&rev=30
2024-09-27 07:50:39 +00:00
6 changed files with 96 additions and 67 deletions

6
_service Normal file
View File

@@ -0,0 +1,6 @@
<services>
<service name="download_files" mode="manual" />
<service name="cargo_vendor" mode="manual">
<param name="src">binwalk-*.tar.gz</param>
</service>
</services>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60416bfec2390cec76742ce942737df3e6585c933c2467932f59c21e002ba7a9
size 39723471

3
binwalk-3.1.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:06f595719417b70a592580258ed980237892eadc198e02363201abe6ca59e49a
size 582863

View File

@@ -1,3 +1,58 @@
-------------------------------------------------------------------
Thu Jul 31 15:09:59 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
- Switch upsteam to the original repository
- Update to version 3.1.0:
* Rewrite in Rust
* Add ntfs support
* Add apfs support
* Add btrfs support
* Add Windows CE support
* Add Autel encoded firmware support
* Add Tplink fw rtos signatures
* Add full search support
* Full changelog:
https://github.com/ReFirmLabs/binwalk/compare/v2.3.4...v3.1.0
-------------------------------------------------------------------
Fri Sep 27 03:20:21 UTC 2024 - Jan Kužílek <jan.kuzilek@suse.com>
- Switch upstream to a maintained fork
- Update to version 2.4.2
* enhance the accuracy of esp image by @samhjn in #17
* Improve install by @stkw0 in #20
* Show warning when extraction fails and print only successful extracted entries
- Update to version 2.4.1
* change jefferson uri by @stkw0 in #7
* Detect WAVE and FLAC by @puhitaku in #8
* Update audio signature file by @kagekiyo7 in #10
* entropy: don't parse math by @ElDavoo in #12
- Update to version 2.4.0
This release merged the next upstream PR:
* Add magic for ZTE firmware
* Improve YAFFS signature
* Add Microware OS-9/68000 magic support
* Add PKCS#1 DER hash signatures
* Add firmware signatures used with JBOOT bootloader
* Added ESP32 image and partition entry signatures
* Add WinCE file extractor plugin
* PKCS #8 Private key
- Update to version 2.3.8
* Fix support for python3.12
- Update to version 2.3.7
* Fix issue in Windows due to the use of pwd
* Fix dep.sh bug in some specific distros
- Update to version 2.3.6
* Fix missing import on extractor.py
- Update to version 2.3.5
This release applies a bunch of important pull request from the original repository.
Most relevant changes:
* Add support for python 3.12
* Switch from nose to pytest
* Update minimum supported python version to 3.8
* Move from travis to Github actions
* Fix dep.sh build issues
-------------------------------------------------------------------
Tue Feb 14 08:16:19 UTC 2023 - Robert Frohl <rfrohl@suse.com>
@@ -88,7 +143,7 @@ Wed Dec 23 18:04:53 UTC 2015 - aloisio@gmx.com
* Removal of all C library dependencies, including
libmagic - pure Python!
* Native Windows support!
-------------------------------------------------------------------
Mon Sep 14 10:56:52 UTC 2015 - sor.alexei@meowr.ru
@@ -104,7 +159,7 @@ Mon Sep 14 10:56:52 UTC 2015 - sor.alexei@meowr.ru
-------------------------------------------------------------------
Wed Jul 1 13:57:37 UTC 2015 - aloisio@gmx.com
- Added requirement for python-curses
- Added requirement for python-curses
-------------------------------------------------------------------
Mon Aug 4 09:20:11 UTC 2014 - boris@steki.net
@@ -116,7 +171,7 @@ Mon Aug 4 09:20:11 UTC 2014 - boris@steki.net
+ Improved speed
+ More (and improved) signatures
+ Faster entropy scans
- Project has moved from google code hosting to github
- Project has moved from google code hosting to github
-------------------------------------------------------------------
Mon Sep 23 13:13:57 UTC 2013 - vcizek@suse.com
@@ -152,5 +207,4 @@ Tue Oct 30 12:42:57 UTC 2012 - boris@steki.net
-------------------------------------------------------------------
Tue Aug 23 12:39:24 UTC 2011 - boris@steki.net
- Initial packaging of 0.3.8 version
- Initial packaging of 0.3.8 version

View File

@@ -1,7 +1,7 @@
#
# spec file for package binwalk
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,80 +17,46 @@
Name: binwalk
Version: 2.3.4
Version: 3.1.0
Release: 0
Summary: Firmware Analysis Tool
License: MIT
URL: https://github.com/devttys0/binwalk
Source: https://github.com/devttys0/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
URL: https://github.com/ReFirmLabs/binwalk/
Source0: https://github.com/ReFirmLabs/binwalk/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: vendor.tar.zst
BuildRequires: cargo
BuildRequires: cargo-packaging
BuildRequires: fdupes
BuildRequires: help2man
BuildRequires: python-rpm-macros
BuildRequires: python3-curses
BuildRequires: python3-setuptools
# Depends on libmagic.
Requires: file
Requires: python3-curses
# Depends on libfuzzy.
Requires: ssdeep
Recommends: bzip2
Recommends: cabextract
Recommends: capstone
Recommends: cpio
Recommends: cramfs-tools
Recommends: cramfsswap
Recommends: gzip
Recommends: jefferson
Recommends: lhasa
Recommends: lzop
Recommends: sasquatch
Recommends: sleuthkit
Recommends: squashfs
Recommends: srecord
Recommends: ubi_reader
Recommends: unrar
Recommends: xz
Recommends: yaffshiv
Recommends: zlib
Suggests: java
BuildArch: noarch
%if 0%{?suse_version} > 1500
Recommends: p7zip-full
%else
Recommends: p7zip
%endif
BuildRequires: pkgconfig
BuildRequires: zstd
BuildRequires: pkgconfig(fontconfig)
%description
Binwalk is a tool for searching a given binary image for embedded
files and executable code. Specifically, it is designed for
identifying files and code embedded inside of firmware images.
Binwalk uses the libmagic library, so it is compatible with magic
signatures created for the Unix file utility. Binwalk also includes
a custom magic signature file which contains improved signatures
for files that are commonly found in firmware images such as
compressed/archived files, firmware headers, Linux kernels,
bootloaders, filesystems, etc.
Binwalk can identify, and optionally extract, files and data that
have been embedded inside of other files.
While its primary focus is firmware analysis, it supports a wide
variety of file and data types.
Through entropy analysis, it can even help to identify unknown
compression or encryption!
%prep
%setup -q
%autosetup -p1 -a1
%build
%python3_build
%{cargo_build}
%install
%python3_install
chmod 644 API.md
export PYTHONPATH=%{buildroot}%{python3_sitelib}
help2man %{buildroot}/%{_bindir}/binwalk --no-discard-stderr --version-string="%{version}" --no-info > binwalk.1
install -Dpm 0644 %{name}.1 %{buildroot}/%{_mandir}/man1/%{name}.1
%fdupes %{buildroot}%{python3_sitelib}
%{cargo_install}
help2man %{buildroot}%{_bindir}/binwalk --no-discard-stderr --version-string="%{version}" --no-info > binwalk.1
install -Dpm 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
%files
%license LICENSE
%doc API.md
%{_bindir}/%{name}
%{_mandir}/man1/binwalk.1%{?ext_man}
%{python3_sitelib}/%{name}/
%{python3_sitelib}/%{name}-*
%{_mandir}/man1/%{name}.1%{?ext_man}
%changelog

3
vendor.tar.zst Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f5a40473c7cf4e9492fd994921b5ce7abb9254d1a1d975ce2ea207ab257ffc40
size 32964510