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

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 0.8.1, Package name: par2-0.8.1, 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.


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:

Master sites:

Filesize: 3568.669 KB

Version history: (Expand)

CVS history: (Expand)

   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
   2021-10-07 15:06:15 by Nia Alarie | Files touched by this commit (140)
Log message:
archivers: Remove SHA1 distfiles hashes
   2020-05-04 20:41:23 by Adam Ciarcinski | Files touched by this commit (1) | Package updated
Log message:
par2: update Github repo
   2020-02-09 16:36:52 by Olaf Seibert | Files touched by this commit (2) | Package updated
Log message:
archivers/par2: update to 0.8.1.

Changes (from https://github.com/Parchive/par2cmdline/releases/tag/v0.8.1):

BlackEagle (3):
      Add .DELETE_ON_ERROR to avoid corrupt files in workdir
      split release scripts a bit because win stuff is not build on the same \ 
machine as *nix stuff anymore
      bump 0.8.1

Ike Devolder (3):
      Merge pull request #131 from mdnahas/master
      Merge pull request #132 from mdnahas/library_dev
      Merge pull request #134 from mdnahas/long_read_write

Michael Nahas (70):
      BUG FIX: ^= operator was returning wrong value for powers of 1
      .gitignore now ignores emacs backup files
      FIX: typos, comments, indentation
      Added unit tests for 5 classes
      Changed all output to use parameters, rather than global variables.
      Set chunksize to zero, in unspecified case
      all commandline errors are first in par2creator::Process
      moved reference to commandline to top of parXrepairer
      removed largest file and total file size from commandline class
      Removed ExtraFile::FileSize method --- this slows things slightly.
      Convered ExtraFile to just a string.
      grouped commandline options by operation
      Added my name to list of authors
      added the most common usage as an example
      move num-of-threads setting code out of commandline
      added links to websites explaining CRC operations
      Moved NoiseLevel out of CommandLine
      remove duplicate code in par2cmdline.cpp
      Moved par1repairer into a function call
      Moved par2repairer into a function call
      Moved par2creator into a function call
      Moved filethreads out of commandline.h/cpp
      removed ExtraFile from commandline.h/cpp
      removed ExtraFileIterator from commandline.h/cpp
      Split up CommandLine::Parse soo I can move stuff in
      Reordered checks in commandline.cpp to match order of variable declarations
      Moved computation of blocksize into commandline.cpp
      BUG FIX: when changed nthreads, forgot to add OPENMP #ifdef around it
      Moved redundnacy calculation out of par2creator into commandline
      FEATURE: On Linux, adjusts buffer sizes to half the memory of the system
      commandline now treats argv aas const char * const *, for easier testing.
      unit tests for CommandLine.Parse(), plus bug fixes to it.
      Changed code to support a par2lib static library
      DANGEROUS: Moved ifdefs from par2cmdline.h into par2lib.h
      FEATURE: Created libpar2, a static library for par2.
      Added unit tests for diskfile
      BUG FIX: DiskFile::Delete() now sets 'exists' to false
      BUG FIX: getting physical memory now works for OSX
      DANGEROUS: Changed WIN32 to _WIN32 or _MSC_VER
      merged code for ComputeRecoveryFileCount into libpar2
      Added output to tests, to see they had done something.
      BUG FIX - SQUASH - did not ifdef OPEN_MP around thread code
      TEST FIX: newline were expanding into two chars on Windows
      Added test for DiskFile::Create when file already exists
      BUG FIX: DiskFile::Create now returns error when file already exists
      BUG FIX: Should now implement Par2 standard for filenames
      Test scripts now use .exe and wine, if exe exists
      TEST FIX: Some tests did not return 1 on error.
      DANGEROUS, BUG FIX:  Fixed most things found by cppcheck
      BUG FIX: fixed memory leak by FindFiles using std::unique_ptr
      FEATURE: Modified test scripts to support valgrind
      Changes made so that it compiles on OSX High Sierra
      Uncommented line for AM_PROG_AR in configure.ac; needed for Windows
      g++ is now forced to use C++ version 2011
      Added ar-lib to .gitignore
      Unit tests are now run in WINE and with Valgrind
      BUILD FIX: Added tests/unit_tests to Makefile.am dist
      Added sorting to CriticalPackets, for consistent output
      Updated copyright information with my name
      Added notes on Cppcheck, Valgrind, MinGW, and WINE to ROADMAP
      Added information on WINEPATH variable to ROADMAP file
      Made all unit tests look similar and say FAILED/SUCCESS
      fixed typo in test
      BUG FIX: Version was compared against opNone.
      New Visual C++ project file, thanks to Anime Tosho
      BUG FIX: had introduced bug handling Unicode.  Reverted change.
      Changed types to size_t to satisfy Microsoft compiler
      Support file I/O on blocksize greater than 4GB
      Merge pull request #135 from rwtodd/master
      Merge pull request #136 from rwtodd/master

Richard Todd (4):
      Used _stati64() for WIN32 DiskFile::FileExists()
      Added par2cmdline.h to par2cmdline.cpp for DEBUG_NEW
      fixed 'need signed i for openmp' errors on Windows
      Renamed par2cmdline.h to libpar2internal.h.
   2018-01-24 18:02:15 by Ryo ONODERA | Files touched by this commit (1)
Log message:
Add archivers to CATEGORY
   2018-01-10 13:18:57 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
par2: update to 0.8.0.

11 December 2017 Ike Devolder
  * release: 0.8.0
	* improved parallelisation on input files
   2017-09-10 23:39:13 by Thomas Klausner | Files touched by this commit (2)
Log message:
Updated par2 to 0.7.4.

08 September 2017 Ike Devolder
  * release: 0.7.4
* performance improvement when not using quiet mode