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
This commit is contained in:
6
_service
Normal file
6
_service
Normal 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>
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:36b11a4d245bce9663c2c17085282eb1012716c9f0f6754497126b1ad25cd4e7
|
||||
size 39746629
|
3
binwalk-3.1.0.tar.gz
Normal file
3
binwalk-3.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:06f595719417b70a592580258ed980237892eadc198e02363201abe6ca59e49a
|
||||
size 582863
|
@@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
@@ -127,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
|
||||
|
||||
@@ -143,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
|
||||
@@ -155,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
|
||||
@@ -191,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
|
||||
|
85
binwalk.spec
85
binwalk.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package binwalk
|
||||
#
|
||||
# Copyright (c) 2024 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,81 +17,46 @@
|
||||
|
||||
|
||||
Name: binwalk
|
||||
Version: 2.4.2
|
||||
Version: 3.1.0
|
||||
Release: 0
|
||||
Summary: Firmware Analysis Tool
|
||||
License: MIT
|
||||
URL: https://github.com/OSPG/binwalk
|
||||
Source: https://github.com/OSPG/%{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 >= 3.8
|
||||
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
3
vendor.tar.zst
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f5a40473c7cf4e9492fd994921b5ce7abb9254d1a1d975ce2ea207ab257ffc40
|
||||
size 32964510
|
Reference in New Issue
Block a user