2 Commits

Author SHA256 Message Date
72e85a6c91 Accepting request 1286690 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1286690
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ubi_reader?expand=0&rev=7
2025-06-18 15:59:12 +00:00
d21e214953 Accepting request 1286659 from home:mnhauke
- Update to version 0.8.12
  * Fix for KeyError in decrypt_filenames #110
- Update to version 0.8.11
  * Add UBIFS decryption support (fscrypt) #108

- Update to version 0.8.10
  * Add close() and context management to ubi_file.
  * read_block_data: use data_size for static volumes.
  * parse the 'hash' field after 'key' in IDX:branch block.
- Update to version 0.8.9
  * Fix LZO decompression after switching to lzallright.
- Update to version 0.8.8
  * chore(poetry): bump lzallright version.
- Update to version 0.8.7
  * Fix faulty package name in requirements.
  * deps: replace python-lzo by lzallright.
  * Move to poetry.
  * fix pyproject package definition.
  * fix(scripts): adapt scripts so we can expose them thru poetry.

OBS-URL: https://build.opensuse.org/request/show/1286659
OBS-URL: https://build.opensuse.org/package/show/devel:tools/ubi_reader?expand=0&rev=11
2025-06-18 12:42:42 +00:00
4 changed files with 40 additions and 13 deletions

3
ubi_reader-0.8.12.tar.gz Normal file
View File

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

View File

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

View File

@@ -1,3 +1,29 @@
-------------------------------------------------------------------
Wed Jun 18 11:31:58 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 0.8.12
* Fix for KeyError in decrypt_filenames #110
- Update to version 0.8.11
* Add UBIFS decryption support (fscrypt) #108
-------------------------------------------------------------------
Tue Feb 11 19:36:56 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 0.8.10
* Add close() and context management to ubi_file.
* read_block_data: use data_size for static volumes.
* parse the 'hash' field after 'key' in IDX:branch block.
- Update to version 0.8.9
* Fix LZO decompression after switching to lzallright.
- Update to version 0.8.8
* chore(poetry): bump lzallright version.
- Update to version 0.8.7
* Fix faulty package name in requirements.
* deps: replace python-lzo by lzallright.
* Move to poetry.
* fix pyproject package definition.
* fix(scripts): adapt scripts so we can expose them thru poetry.
-------------------------------------------------------------------
Tue Dec 6 13:26:24 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,8 +1,8 @@
#
# spec file for package ubi_reader
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2018-2022, Martin Hauke <mardnh@gmx.de>
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2018-2025, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +17,19 @@
#
%define pythons python3
Name: ubi_reader
Version: 0.8.5
Version: 0.8.12
Release: 0
Summary: Extract files from UBI and UBIFS images
License: LGPL-3.0-or-later
Group: Development/Tools/Other
URL: https://github.com/jrspruitt/ubi_reader
Source: https://github.com/jrspruitt/ubi_reader/archive/v%{version}-master.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
URL: https://github.com/onekey-sec/ubi_reader
Source: https://github.com/onekey-sec/ubi_reader/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python3-python-lzo
BuildArch: noarch
%description
@@ -48,15 +49,15 @@ The following tools are included:
Determine settings for recreating UBI image.
%prep
%setup -q -n ubi_reader-%{version}-master
%autosetup -n ubi_reader-%{version}
chmod -x README.md
find ubireader -name "*.py" | xargs sed -i -e '/^#!\//, 1d'
%build
%python3_build
%pyproject_wheel
%install
%python3_install
%pyproject_install
%fdupes %{buildroot}%{python3_sitelib}
%files