Subject: CVS commit: pkgsrc/archivers/par2
From: Olaf Seibert
Date: 2020-02-09 16:36:52
Message id: 20200209153652.DE063FBF4@cvs.NetBSD.org

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.

Files:
RevisionActionfile
1.32modifypkgsrc/archivers/par2/Makefile
1.22modifypkgsrc/archivers/par2/distinfo