Review: libunrars 0.13.2-1
Package Information
| Description | libunrar-compatible C ABI Drop-in implementation of the libunrar C API. This is based on the rars Rust crate, which is a pretty complete (un)rar implementation. |
|---|---|
| Maintainer | Debian Commons <libunrars@packages.debian.org> |
| Changed By | Bastian Germann <bage@debian.org> |
| Sponsor | bage@debian.org |
| Distribution | unstable |
| Architecture | any |
| VCS | git: https://salsa.debian.org/debian/libunrars.git (browse) |
| Closes | #1156410 |
| Tracker | https://tracker.debian.org/pkg/libunrars |
| Uploaded | 8 hours ago |
New Package Report
.changes
| Architecture | source amd64 |
|---|---|
| Distribution | unstable |
| Date | Sat, 05 Dec 2026 09:08:14 +0100 |
| Source | libunrars |
| Version | 0.13.2-1 |
| Changed-By | Bastian Germann <bage@debian.org> |
Changelog
libunrars (0.13.2-1) unstable; urgency=medium . * Initial release (Closes: #1156410)
.dsc
| Package-List | libunrars-dev deb libdevel optional arch=any libunrars5 deb libs optional arch=any |
|---|---|
| Section | libdevel |
| Priority | optional |
| Component | main |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: https://github.com/bgermann/libunrars Upstream-Name: libunrars Upstream-Contact: https://github.com/bgermann/libunrars/issues Files: * Copyright: 2026 Bastian Germann License: 0BSD Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. . THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
DFSG Assistant LLM REVIEW 0 blocker, 1 important, 0 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 6 hours ago.
Report
DFSG NEW review for libunrars version 0.13.2-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: No
- Issues: 0 blocker, 1 important, 0 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
debian/copyright is DEP-5: a correct Format URL, an Upstream-Name/Source, and one Files: * stanza naming Bastian Germann under 0BSD with the full permission and disclaimer text. The tree's LICENSE holds exactly the same 0BSD text, the Cargo.toml and README agree, and there are no other copyright, SPDX or licence notices anywhere in the source; the prescan found no holder omitted from debian/copyright. No vendored third-party code, binary blobs or generated files are present.
Packaging
The packaging is otherwise careful: compat 14, a valid dh-rust sequence, helpful use of debhelper substitutions, a properly generated alternatives file and a justified lintian override. However the development package ships no C header at all, so it cannot serve its stated purpose of letting programs compile against the library (Policy 8.4).
Issues
important packaging 1. libunrars-dev ships no C header, so programs cannot be compiled against the library from Debian ◂
- Files:
debian/libunrars-dev.install:1,debian/libunrars-dev.links:1,README.md:10-12 - Basis: checked, in the package or with a reference tool
- Evidence: libunrars-dev.install contains only
target/*/release/libunrars.a usr/lib/${DEB_HOST_MULTIARCH}/; libunrars-dev.links only createsusr/lib/${DEB_HOST_MULTIARCH}/libunrars.so. There is no.hor.hppfile anywhere in the source tree, and README.md points to an externalunrarchive.hURL instead of shipping one. - Problem: Policy 8.4 requires the development package to install all development files necessary for compiling programs against the shared library. The package's public interface is the C libunrar ABI, whose declarations must come from a header; libunrars-dev provides the
.aand the-lunrarslinker symlink but no header, so a program cannot be built against libunrars using only files from the Debian archive. A sponsor would require this to be fixed before upload. - Fix: Ship a C header for the ABI (for example the 0BSD
unrarchive.hthe README references, or one generated fromsrc/abi.rs) and install it under/usr/include, adding its holder to debian/copyright if it is taken from unrar-free. If the package is not meant to be usable for development, the-devpackage and its development claims should be removed instead.
Verified ◂
- Read all nine upstream files (Cargo.toml, LICENSE, README.md, build.rs, src/*.rs, tests/abi.rs) and every file under debian/; ignored .pc/ as instructed.
- LICENSE is the 0BSD text and matches the License paragraph in debian/copyright; the copyright holder Bastian Germann is named for all files.
- The prescan reported no copyright holder absent from debian/copyright; no Copyright, SPDX, GNU, Apache, MPL or other licence notice exists elsewhere in the tree.
- No built binaries, minified files, PDFs, images, fonts or embedded third-party code are present; no subdirectory LICENSE/COPYING/NOTICE files exist.
- debian/control uses debhelper compat 14; dh-sequence-rust is provided by dh-rust 0.1.4 and librust-rars-dev exists in the archive as 0.13.0+ds-1; Standards-Version 4.7.4 is current enough.
- debian/rules uses the rust buildsystem; dh_install and dh_link substitution variables are supported from compat 13, dh_installalternatives exists and its execute_before target is valid, and the generated debian/libunrars5.alternatives is removed by debian/clean.
- At compat 14 dh_gencontrol adds relationship substvars itself, so the absence of ${misc:Depends}/${shlibs:Depends} in the binary stanzas is not a fault.
- No patches, maintainer scripts or autopkgtests are shipped; the changelog distribution/version and Vcs fields are consistent.
- uscan found upstream releases with
debian/watch; a newer upstream version is available (upstream0.13.3, packaged0.13.2), which is not a fault of the package.
Not confirmed ◂
- The package was not built and its tests were not run; the review is static.
- The control fields of librust-rars-dev are not in the local package lists (the archive has 0.13.0+ds-1), so its feature dependencies could not be inspected.
- Whether dh-rust's build places the artifacts under target//release (as the install glob assumes) could not be checked, since dh-rust is not installed on the reviewing system.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader rejected this upload in response to the review.
Review Information
rejected — allocated to dfsg-uploader 5 hours ago, started 5 hours ago, completed 5 hours ago.
Final Comment
The uploader rejected this upload in response to the automated (LLM) review of it, so that they can fix the problems it found and upload again.