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

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


Branch: CURRENT, Version: 1.4.0, Package name: par2-1.4.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: 2945.318 KB

Version history: (Expand)


CVS history: (Expand)


   2026-09-10 11:56:15 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
par2: updated to 1.4.0

1.4.0

Issues:
* Par2 create fails to follow symlinks
* Windows long-path prefix doubled the separator producing `\\?\UNC\\server\share`
* Announcement: @mnightingale joins the group

PRs:
* Cross-compile the FreeBSD release binaries from Linux
* Bump actions/download-artifact from 7 to 8
* Bump cross-platform-actions/action from 1.3.0 to 1.4.0
* Skip the redundant whole-file MD5 during verification
* Cleanup minor items after review
* Verify the blocks of a file in parallel
* Scan each file with a reader thread feeding worker threads
* Run tests on pull requests from forks
* Reduce test suite runtime
* Bump cross-platform-actions/action from 1.4.0 to 1.5.0
* Count the tail of a scanned file when built without OpenMP
* Replace wstring_convert with the Win32 conversion functions
* Check the 16k hash again, and make the whole file hash opt-in
* Suppress reachable blocks from libgomp init and sync_with_stdio
* Blank the whole scan buffer beyond the end of the file
   2026-08-30 03:13:18 by Greg Troxel | Files touched by this commit (3)
Log message:
archivers/par2: Work around gcc 10 bug

It seems that when an ostringstream is operated on with <<, the
resulting object is an ostream, not an ostringstream, and one can't
.str() that.  Simplify the code and use variables.

All tests pass on NetBSD 10 amd64.
   2026-08-29 02:11:54 by Greg Troxel | Files touched by this commit (1)
Log message:
archivers/par2: Note c++14 requirement
   2026-08-25 12:30:30 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
par2: updated to 1.3.0

1.3.0

Issues:
  * Missing include src/utf8.h

PRs:
  * Bump actions/checkout from 6 to 7
  * Bump cross-platform-actions/action from 1.2.0 to 1.3.0
  * Fix macOS unoptimised builds (more general building improvements for the \ 
github workflows)
  * Printing performance tweaks
   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.