./archivers/par2, PAR 2.0 compatible file verification and repair tool

[ Image CVSweb ] [ Image Homepage ] [ Image RSS ] [ Image Required by ]


Branch: CURRENT, Version: 1.2.0, Package name: par2-1.2.0, Maintainer: pkgsrc-users

par2cmdline is a PAR 2.0 compatible file verification and repair tool.

See http://parchive.sourceforge.net for details of PAR 2.0 specification
and discussion of all things PAR.

WHAT EXACTLY IS PAR2CMDLINE?

par2cmdline is a program for creating and using PAR2 files to detect
damage in data files and repair them if necessary. It can be used with
any kind of file.


Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 3651.069 KB

Version history: (Expand)


CVS history: (Expand)


   2026-06-12 09:46:28 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
par2: updated to 1.2.0

1.2.0

Security:
  * GHSA-3c2j-rccw-j2vj: Heap out-of-bounds write in PAR2 repair from unchecked \ 
source block count wrap
  * GHSA-j5pc-g362-c5xp: Repair can follow dangling symlinks and write outside \ 
the repair base path

Issues:
  * Is there any explanation for par2 exit codes? | 有没有 par2 \ 
退出码的说明?
  * Request @filelist.txt
  * Remove empty/obsolete files in top-level directory
  * par2cmdline defaults to 128MiB of RAM

PRs:
  * Bump actions/upload-artifact from 6 to 7
  * Bump microsoft/setup-msbuild from 2 to 3
  * Bump cross-platform-actions/action from 0.32.0 to 1.0.0
  * Take input files from stdin (standard input)
  * Bump cross-platform-actions/action from 1.0.0 to 1.2.0
  * fix: input file count over 2000 failing with defaults + edge case
  * Improve and sync man+commandline

Skipped:
  * Add SPM support
  * par2 repair and stream to stdout
   2026-02-09 14:58:37 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
par2: updated to 1.1.1

1.1.1

Issues:
* When repairing a file, if there is not enough disk space, the final error \ 
message displays garbled characters.
* Why does running par2 in the command line environment forcibly switch the code \ 
page to CP65001?
PRs:
* Cleanup/std namespace search replace oops \ 
(https://github.com/Parchive/par2cmdline/pull/242#pullrequestreview-3731414581)
* Migrate Windows unit tests to Visual C++ projects \ 
(https://github.com/Parchive/par2cmdline/pull/256#issuecomment-3827352914)
* add .clangd file for additional editor lsp support
* Integer definitions consistency
   2026-01-28 18:45:45 by Olaf Seibert | Files touched by this commit (1) | Package updated
Log message:
archivers/par2: update to 1.1.0

(forgot to include the PLIST)
   2026-01-28 18:36:46 by Olaf Seibert | Files touched by this commit (3) | Package updated
Log message:
archivers/par2: update to 1.1.0

27 Januari 2026 Ike Devolder
  * release: 1.1.0

  Release:
    * #215: Version 1.1.0 (PR #260 Version 1.1.0)
  Issues:
    * #216: [1.0.0] amd64 binary tests/utf8_test included in release tarball
    * #225: restore support for older macOS
    * #220: BUG: : should be an illegal character only on HFS filesystems
    * #181: Lack of thread guards in DiskFile (PR #237 Add thread guards in diskfile)
    * #228: How can I know the default values without looking at the source \ 
code, or is --dry-run command available? (PR #238 show defaults in help output \ 
and man)
    * #230: Consider adding manual page symlinks for par2create, par2repair and \ 
par2verify (PR #239 create symlinks for the long form manpages as well)
    * #187: global-buffer-overflow by default in unit test (diskfile_test) (PR \ 
#240 calculate size in diskfile unittest to avoid bufferoverflow)
    * #184: rename only repair mode (quickly skip non matching files) (PR #185 \ 
POC for a rename only mode and #243 Issue 184)
    * #139: test failure because testdata archives preserve ownership info (PR \ 
#249 repack test tarballs with tar --owner=0 --group=0)
    * #231: par2 create cannot handle non-ASCII directory names (e.g. ę) (PR \ 
#250 Windows unicode issues)
    * #233: windows - rename using long path notation (PR #250 Windows unicode \ 
issues)
    * #167: Can not create file in root path on Windows. (PR #251 diskfile \ 
CreateParentDirectory, take rootpath behaviour into account)
    * #244: Regression in V1.0.0 for symbolic links to files. (PR #254 Fix \ 
symbolic links as primary file.)
  PRs:
    * #213: Strip MacOS binary
    * #214: Add armhf Linux build
    * #217: fix manpage typ0
    * #218: tests/utf8_test is generated before running tests, not needed in dist
    * #221: Replace deprecated sprintf with snprintf
    * #223: Remove unused code
    * #224: Fix README not found
    * #226: Reduce the minimum supported macOS version and add a universal macOS \ 
binary
    * #229: Update COPYING with the latest GPL v2 license
    * #236: Fix memory leak.
    * #241: Build warnings
    * #245: Cleanup unused
    * #246: remove define of stat or _stat
    * #247: add freebsd ci check
    * #252: remove obsolete autoconf macro AC_HEADER_STDC
    * #255: use native ubuntu cross building instead of gha-ubuntu-cross
    * #257: add dependabot check for github actions updates
    * #256: Windows integration testing
    * #258: Bump actions/upload-artifact from 4 to 6
    * #259: Bump actions/checkout from 4 to 6
  Skipped:
    * #101: properly detect openmp on *BSD
    * #108: Trying to cross-compile with openmp support
    * #122: How to detect wrong data files against par2 files?
    * #115: Crashes with "std::bad_alloc" when running more than one \ 
instance
    * #154: Par2cmdline allocation failure.
   2025-12-27 09:52:29 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
par2: updated to 1.0.0

1.0.0

Support:
  * build fails in Cygwin
  * A potential Data Race
  * Understanding par2cmdline performance
  * Understanding The Par2 Spec and par2cmdline
  * performance with hundreds of small files
  * A better error correcting code
  * Recover impossible without a .par2 "main" file?
  * Thread count option not shown on Arm based Mac version
  * Increase block count limit 32768
  * Behaviour with insufficient read permissions
  *  Help to create a compatible implementation!
  * Flag for automatic Blocksize in commandline
  * Repair-Files created amount to size twice as high as expected from redundancy
  * New release?

Issues:
  * syntax error in tests
  * test failure in unit_tests on s390x, powerpc
  * Core dump on single letter file name
  *  prepare code and header files for libpar2
  * Windows version always recurse into subdirectories
  * config.guess timestamp = 2015-03-04 ... time for a newer version?
  * Cannot recover one-bit flip
  * exit codes from par2 executable not documented?
  * Problem with PACKED little-endian structs
  * Recurse option (-R) does not include files in current directory (more \ 
documenation)
  * Problem with empty (0 Bytes) files.
  * Fail earlier during creation if the .par2 file already exists
  * Hang with -n=256
  * Could not create "./Disk 1 (a-m)/.PAR2 (Recovery Disk \ 
1)/disk1.vol34529+00000.par2": File already exists.
  * Properly handle UTF8 and long-paths on Windows
  * It would be nice if permissions were checked eariler when creating parchive.
  * need option to disable following symlinks on "-R"
  * Version 1.0.0

PRs:
  * fix: enforce -qq silent
  * Install relative symlinks instead of absolute ones
  * Allow Creating Files With Over 100% Redundancy
  * Minor cleanup
  * fix win32 directory recursion
  * Avoid copying back memory in FileChecksummer when data is valid
  * CRC32/MD5 optimisations
  * enable Recurse flag on Windows OS
  * add exitcodes to manfile
  * Issue 150 recursive no files from rootpath
  * Updates from turbo
  * Issue 128
  * Quick bail if the base par2 file already exists
  * Issue 113
  * github workflows
  * When number of recovery files is set, you get "File already exists"
  * Issue 189 windows utf8
  * Workflow release
  * Add simple "permissions" check while creating
  * diskfile, replace stat use with lstat
   2022-03-27 16:08:33 by Tobias Nygren | Files touched by this commit (2)
Log message:
par2: include <unistd.h> for sysconf(3)
   2021-10-26 11:57:20 by Nia Alarie | Files touched by this commit (140)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and SHA512
hashes.
   2021-10-07 15:06:15 by Nia Alarie | Files touched by this commit (140)
Log message:
archivers: Remove SHA1 distfiles hashes