Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-File-Unpack2-2.30.0-1.1 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: perl-File-Unpack2 Distribution: openSUSE Tumbleweed
Version: 2.30.0 Vendor: openSUSE
Release: 1.1 Build date: Fri Oct 23 12:05:20 2026
Group: Unspecified Build host: reproducible
Size: 161474 Source RPM: perl-File-Unpack2-2.30.0-1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://metacpan.org/release/File-Unpack2
Summary: Aggressively unpack any archive, recursively, by mime type
File::Unpack2 unpacks archives and compressed files of essentially any
common type - 'bz2', 'gz', 'xz'/'lzma', 'zip', 'tar', 'cpio', 'iso', 'rpm',
'deb', 'cab', '7z', 'rar', and more, down to 'pdf' and 'odf' - and it does
so _aggressively_: it identifies each file by its *mime type* rather than
its name, and it recursively descends into everything it produces, so a
tar-inside-zip-inside-rpm is peeled apart to the last layer without being
fooled by misleading (or absent) file suffixes.

It was built for, and is primarily developed as a dependency of, at
https://github.com/openSUSE/cavil, openSUSE's legal review system, whose
job is to extract every scrap of readable text from a source package so it
can be scanned for license information. That goal - _expose as much
readable payload as possible_ - shapes the whole design: unpacking
continues as deep as it can, and individual failures are logged and stepped
over rather than aborting the run.

Unpacking is dispatched to per-mime-type *helpers*. Many are built in
(wrapping the usual command line tools such as 'tar', 'unzip' and
'rpm2cpio'). Support for further formats is an optional extension: register
a helper command programmatically with 'mime_helper', or point
'mime_helper_dir' (or the 'FILE_UNPACK2_HELPER_DIR' environment variable)
at a directory of executable helper scripts named after the mime types they
handle. File::Unpack2 itself ships no external helpers. See unpack for the
helper calling protocol.

Because Cavil feeds it whole distributions - including binaries,
deliberately malformed samples and archive "bombs" - File::Unpack2 is
hardened against hostile input: it enforces optional caps on file count,
total bytes and per-helper runtime, watches helpers for stalls, and passes
memory limits to the 'xz'/'lzma' decoders. See new for the relevant knobs.

A logfile (JSON, or a plain listing) precisely records every mime type
detected and every unpack action taken.

See the 'docs/Architecture.md' document in the distribution for a prose
overview of how it all fits together.

Provides

Requires

License

Artistic-1.0 OR GPL-1.0-or-later

Changelog

* Fri Oct 23 2026 Tina Müller <timueller+perl@suse.de>
  - updated to 2.30.0 (2.03)
    see /usr/share/doc/packages/perl-File-Unpack2/Changes
    2.03	kraih Thu Oct 22 17:30:00 CEST 2026
    - Fixed the cached cpio command being returned as an array reference on
      every lookup after the first, which broke unpacking cpio archives when an
      rpm had been unpacked before them in the same run.
* Wed Jul 29 2026 Tina Müller <timueller+perl@suse.de>
  - updated to 2.20.0 (2.02)
    see /usr/share/doc/packages/perl-File-Unpack2/Changes
    2.02	kraih Mon Jul 28 14:00:00 CEST 2026
    - Clean release tarball.
* Tue Jul 28 2026 Tina Müller <timueller+perl@suse.de>
  - updated to 2.10.0 (2.01)
    see /usr/share/doc/packages/perl-File-Unpack2/Changes
    2.01	kraih Mon Jul 27 15:48:00 CEST 2026
    - Require BSD::Resource and Filesys::Statvfs again, so the maxfilesize and
      free-space safeguards are always enforced (they were silently disabled when
      the modules were only recommended and thus absent from build environments).
    - Skip the PDF tests when pdftotext (poppler-tools) is not installed, so the
      test suite passes in minimal build environments.
    2.0	kraih Thu Jul 23 13:50:00 CEST 2026
    - Big module cleanup to make packaging for Linux distributions easier.
    - Removed bundled mime helper scripts.
    1.5	kraih Tue Jul 22 14:30:00 CEST 2026
    - Fixed non-portable tests failing.
    1.4	kraih Tue Jul 22 14:00:00 CEST 2026
    - Improved service restart handling.
    1.3	kraih Tue Jul 16 14:00:00 CEST 2026
    - Improved handling of malicious archives.
    1.2	kraih Tue May 22 14:00:00 CEST 2026
    - Fixed a race condition that could create invalid JSON files.
    1.1	kraih Tue Apr 28 17:00:00 CEST 2026
    - Fixed a problem where temporary archives created during unpacking were not cleaned up.
* Fri Dec 01 2023 Sebastian Riedel <sriedel@suse.com>
  - First 1.0 release from CPAN

Files

/usr/bin/file_unpack2
/usr/lib/perl5/vendor_perl/5.44.0/File
/usr/lib/perl5/vendor_perl/5.44.0/File/Unpack2.pm
/usr/share/doc/packages/perl-File-Unpack2
/usr/share/doc/packages/perl-File-Unpack2/Changes
/usr/share/doc/packages/perl-File-Unpack2/README.md
/usr/share/doc/packages/perl-File-Unpack2/docs
/usr/share/doc/packages/perl-File-Unpack2/docs/Architecture.md
/usr/share/man/man1/file_unpack2.1.gz
/usr/share/man/man3/File::Unpack2.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Fri Nov 6 22:26:07 2026