DFSG NEW Queue

DFSG, Licensing & New Packages Team

par2cmdline 2.0.0-1

Package Information

DescriptionPAR 2.0 compatible file verification and repair tool

par2cmdline is a command line utility for creating and using PAR2 files to detect and repair damage in data files. It is most commonly used as part of backup systems as well as on Usenet.

In case files in a recovery set get damaged (e.g. while transmitted over a network or stored on a faulty disk) the program can read the damaged files and the (possibly damaged) PAR2 files, and regenerate the original input files.

MaintainerJeroen Ploemen <jcfp@debian.org>
Changed ByJeroen Ploemen <jcfp@debian.org>
Sponsorjcfp@debian.org
Distributionunstable
Architectureany
VCSgit: https://salsa.debian.org/jcfp/par2cmdline.git (browse)
Popcon Installs34346
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/par2cmdline
Uploaded18 hours ago

New Package Report

.changes◂
DateWed, 25 Nov 2026 08:49:26 +0000
Sourcepar2cmdline
Version2.0.0-1
Changed-ByJeroen Ploemen <jcfp@debian.org>
Architecturesource amd64
Distributionunstable
Changelog◂
par2cmdline (2.0.0-1) unstable; urgency=medium
 .
   * New upstream version 2.0.0
   * Control: add build-dep on cmake.
   * Control: add a libpar2-dev binary package with the par2 headers.
   * Control, rules: build-depend on libcxxopts-dev, instruct build to
     use the system libs.
   * Copyright: add the new upstream team member to the main stanza, and
     add info for libs/cxxopts.
   * Clean: get rid of the convenience copy of cxxopts.
   * Tests: add support for the newly-added cmake-based tests.
.dsc◂
Package-Listlibpar2-dev deb libdevel optional arch=any
par2 deb utils optional arch=any
Sectionlibdevel
Priorityoptional
Componentmain
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: par2cmdline
Upstream-Contact: Ike Devolder <ike.devolder@gmail.com>
Source: https://github.com/BlackIkeEagle/par2cmdline/

Files: *
Copyright:
 2003-2015, Peter Brian Clements <peterbclements@users.sourceforge.net>
 2011-2012, Marcel Partap <mpartap@gmx.net>
 2014-2017, Jussi Kansanen <jussi.kansanen@gmail.com>
 2012-2026, Ike Devolder <ike.devolder@gmail.com>
 2019, Michael Nahas <mike@nahas.com>
 2026, Michael Nightingale
License: GPL-2+

Files: debian/*
Copyright:
 2004-2005, Andres Salomon <dilinger@debian.org>
 2005-2006, Wesley J. Landaker <wjl@icecavern.net>
 2007, Bart Martens <bartm@knars.be>
 2014-2026, Jeroen Ploemen <jcfp@debian.org>
License: GPL-2+

Files: src/utf8.*
Copyright: 2024-2025, Denis <denis@nzbget.com>
License: GPL-2+

Files: libs/cxxopts/*
Copyright: 2014-2022, Jarryd Beck
License: MIT
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in
 all copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.

License: GPL-2+
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 .
 This program  is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 .
 You should have received a copy of the GNU General Public License
 along with this program; if not, see https://www.gnu.org/licenses/.
 .
 On Debian systems the full text of the GNU General Public
 License can be found in the `/usr/share/common-licenses/GPL-2' file.

DFSG Assistant LLM REVIEW 0 blocker, 0 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 16 hours ago.

Report◂

DFSG NEW review for par2cmdline version 2.0.0-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 0 important, 0 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: 25 found

Licensing

debian/copyright is DEP-5 and matches the tree. Every licence header in src/, include/par2/, cmake/, libs/ and tests/ is the project's GPL-2+ boilerplate ("either version 2 of the License, or (at your option) any later version"), the only exceptions are libs/cxxopts (MIT, q.v. with its full permission text and the system copy used instead) and src/utf8.* (Denis, GPL-2+), each with its own stanza. Every holder named in a file notice is named in debian/copyright, GPL-2 is correctly pointed at /usr/share/common-licenses/GPL-2, and no non-free or unclear-provenance file exists. Generated sources have their generators in the package, and every archive or binary blob in the tree is test data.

Packaging

Modern, clean packaging by an experienced maintainer: compat 13 with the dh sequencer and hardening=+all, source format 3.0 (quilt) with no patches (none needed), all three build dependencies present in the archive (libcxxopts-dev 3.3.1 satisfies find_package(cxxopts 3 CONFIG)), Standards-Version 4.7.4 against Policy 4.7.4.1, current Vcs-* and upstream/metadata. The new libpar2-dev package is coherent: static libpar2.a/libpar2cli.a, the public headers and CMake package files, with the exported interface's Threads dependency declared in par2-config.cmake and no shlibs dependency needed for a static-only library. par2 keeps Multi-Arch: foreign, the changelog describes every change in the upload, and debian/clean, docs, install and links all name paths that exist. The upstream-tests autopkgtest builds the CMake tests and runs ctest plus the shell tests against the packaged binary.

Issues

None.

Verified ◂
  • debian/copyright in full: four stanzas - Files: * (GPL-2+, Clements/Partap/Kansanen/Devolder/Nahas/Nightingale), debian/* (GPL-2+), src/utf8.* (Denis, GPL-2+), libs/cxxopts/* (Jarryd Beck, MIT with the whole permission and warranty text); the GPL-2+ standalone paragraph points at /usr/share/common-licenses/GPL-2, which is the right file.
  • Licence sweep of the whole tree: the same GPL-2+ boilerplate heads every file in src/, include/par2/, cmake/, cmake/toolchains/, libs/ and tests/*.cpp; no GPL-2-only variant (version 2 of the License.), no LGPL, Apache, BSD, zlib or SPDX identifier occurs anywhere else.
  • Holder sweep by grep for Copyright/(C) across the tree: the only names in notices are Peter Brian Clements, Marcel Partap, Jussi Kansanen, Ike Devolder, Michael D. Nahas, Michael Nightingale, Jarryd Beck (MIT) and Denis (src/utf8.*); all are named in debian/copyright, and src/utf8_test.cpp's 2024 against the stanza's 2024-2025 is year drift only. The Files: * list also matches the copyright strings the binary prints (src/commandline.cpp).
  • Generated files have their generators in the package: src/unicodedata.h says it was written by src/generate-unicodedata.py (present, generated from Unicode 16.0.0); include/par2/version.h comes from cmake/version.h.in and the build config from cmake/config.h.in. The only generated file installed is par2/version.h, which holds nothing architecture-dependent, and no public header includes the private config.h.
  • src/unicodedata.h reproduces decomposition and combining-class tables derived from the Unicode character database through Python's unicodedata; only data, not the UCD files, and the header records the Unicode version - not a licensing problem.
  • libs/cxxopts (cxxopts.hpp, LICENSE) is a convenience copy of a library Debian ships: debian/rules configures with -DPAR2_SYSTEM_CXXOPTS=ON, which makes libs/CMakeLists.txt link cxxopts::cxxopts from libcxxopts-dev, and debian/clean removes libs/cxxopts/* from the build tree - Policy 4.13's requirement that the copy not be used holds.
  • All 19 compressed test fixtures are PAR2/PAR1 test data for tests/test1..test59 and are not installed in any binary package: tests/100blocks.tar.gz, tests/block-count-wrap.tar.gz, tests/bug128-parfiles.tar.gz, tests/bug190.tar.gz, tests/bug44.tar.gz, tests/codepage-name.tar.gz, tests/flatdata-par1files.tar.gz, tests/flatdata-par2files.tar.gz, tests/flatdata.tar.gz, tests/full-hash-mismatch.tar.gz, tests/hash16k-mismatch.tar.gz, tests/par2-0.6.8-crash.tar.gz, tests/readbeyondeof.tar.gz, tests/smallsubdirdata-par2files.tar.gz, tests/smallsubdirdata.tar.gz, tests/subdirdata-par2files-unix.tar.gz, tests/subdirdata-par2files-win.tar.gz, tests/subdirdata.tar.gz, tests/unicode-name.tar.gz - tar listings show data files and par2/par1 recovery sets; block-count-wrap, codepage-name, hash16k-mismatch, full-hash-mismatch and unicode-name are the output of the generate-*.py scripts that ship beside them.
  • tests/testcollision/2mb_0s.bin, 2mb_0s.bin.par2, 2mb_col.bin, 2mb_col.bin.par2, pattern16.bin and pattern16.bin.par2 are binary collision fixtures (two megabytes of zeros, a colliding pair, and a sixteen-byte pattern with their recovery sets); they are test data, are not installed, and no current test or CMakeLists.txt references tests/testcollision (dead weight in upstream's tarball, not a packaging fault).
  • debian/control: Build-Depends cmake, debhelper-compat (= 13), libcxxopts-dev all exist in the reviewing system's package lists (libcxxopts-dev 3.3.1-1, version 3 satisfies find_package(cxxopts 3 CONFIG REQUIRED)); Standards-Version 4.7.4 against Policy 4.7.4.1; par2 is Multi-Arch: foreign (its PAR2 output is architecture-independent) and libpar2-dev Multi-Arch: same with headers, static archives and CMake files, all under the multiarch libdir.
  • libpar2-dev is new in this upload: ships libpar2.a, libpar2cli.a, usr/include/par2/.h and usr/lib/.../cmake/par2/; there is no shared library, so the missing ${shlibs:Depends} is correct at compat 13 and ${misc:Depends} is present; par2-config.cmake does find_dependency(Threads), matching the exported Threads::Threads, and the exports carry no build-tree paths (cxxopts is only in the BUILD_INTERFACE link of par2cli).
  • par2.install/libpar2-dev.install cover everything the CMake install rules produce (bindir par2, man1 par2.1, libdir archives, includdir headers, libdir/cmake); the par2create/par2verify/par2repair symlinks in usr/bin come from cmake/install-aliases.cmake.in, and the man aliases in debian/links duplicate the ones that script makes - dh_link runs before dh_compress, which removes and recreates the same .1.gz symlink, so one correct set results.
  • debian/rules uses the dh sequencer with export DEB_BUILD_MAINT_OPTIONS = hardening=+all and a single override_dh_auto_configure passing -DPAR2_SYSTEM_CXXOPTS=ON; no patches directory and no series file, and nothing in the upload needs a patch; debian/clean's libs/cxxopts/* glob is expanded by dh_clean (filearray with glob expansion), so it does remove the convenience copy.
  • debian/changelog: one 2.0.0-1 entry for unstable describing every change in the upload (cmake build-dep, libpar2-dev, system cxxopts, copyright, clean, tests); no bug closures claimed, version scheme and date sane.
  • debian/tests/control + debian/tests/upstream-tests: Depends: par2, @builddeps@ gives build-essential (compiler, dpkg-dev for dpkg-architecture), cmake (ctest) and libcxxopts-dev; the script configures with PAR2_BUILD_TESTS=ON/PAR2_BUILD_TOOL=OFF, runs ctest on the unit tests, then the shell tests from $AUTOPKGTEST_TMP against a symlink to /usr/bin/par2; dh_autoreconf is a no-op on a CMake tree (it exits early without configure.ac).
  • Files read in full: debian/copyright, control, rules, changelog (first 300 lines, old history skimmed), clean, docs, links, par2.install, libpar2-dev.install, source/format, upstream/metadata, .gitlab-ci.yml, tests/control, tests/upstream-tests, the .dsc, plus CMakeLists.txt, libs/CMakeLists.txt, cmake/probes.cmake, cmake/par2-config.cmake.in, cmake/install-aliases.cmake.in, cmake/config.h.in, cmake/version.h.in, README.md head, AUTHORS, man/par2.1 head and AUTHORS section, and the headers of src/utf8.*, src/md5.cpp, src/galois.cpp, src/generate-unicodedata.py, src/unicodedata.h, include/par2/cli.h.
  • uscan found the packaged version as the newest upstream release (upstream 2.0.0, packaged 2.0.0).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (GPL-2).
Not confirmed ◂
  • The tests/*.tar.gz fixtures were identified from tar listings and from the test scripts that use them, not by extracting them; their subdirectories (e.g. subdir1/, subdir2/ in bug44.tar.gz and smallsubdirdata.tar.gz) were not opened.
  • Whether autopkgtest gives a writable built tree to debian/tests/upstream-tests, which runs dh_auto_configure and dh_auto_build inside it without Restrictions: rw-build-tree; the autopkgtest reference on this system only says the restriction is what a test needing write access declares, and autopkgtest itself is not installed here to see the default.
  • cmake is not installed on the reviewing system, so I could not read GNUInstallDirs to confirm that CMAKE_INSTALL_LIBDIR resolves to the multiarch libdir on which libpar2-dev's Multi-Arch: same static libraries depend (plain /usr/lib would make the two architectures' archives collide).
  • debian/watch looks at github.com/parchive/par2cmdline, but the Source field of debian/copyright names github.com/blackikeeagle/par2cmdline. Whether these are the same upstream was not checked.
Proposed changes ◂

None.

Back to Dashboard | View all reviews for this package