pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/par2 archivers/par2: update to 0.8.1.

branches:  trunk
changeset: 423061:deca230b5b78
user:      rhialto <>
date:      Sun Feb 09 15:36:52 2020 +0000

archivers/par2: update to 0.8.1.

Changes (from

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; 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 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.


 archivers/par2/Makefile |   4 ++--
 archivers/par2/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r ec2cca6cd2cb -r deca230b5b78 archivers/par2/Makefile
--- a/archivers/par2/Makefile   Sun Feb 09 14:59:17 2020 +0000
+++ b/archivers/par2/Makefile   Sun Feb 09 15:36:52 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2018/01/24 17:02:15 ryoon Exp $
+# $NetBSD: Makefile,v 1.32 2020/02/09 15:36:52 rhialto Exp $
-DISTNAME=      par2cmdline-0.8.0
+DISTNAME=      par2cmdline-0.8.1
 PKGNAME=       ${DISTNAME:S/cmdline//}
 CATEGORIES=    archivers misc
diff -r ec2cca6cd2cb -r deca230b5b78 archivers/par2/distinfo
--- a/archivers/par2/distinfo   Sun Feb 09 14:59:17 2020 +0000
+++ b/archivers/par2/distinfo   Sun Feb 09 15:36:52 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.21 2018/01/10 12:18:57 wiz Exp $
+$NetBSD: distinfo,v 1.22 2020/02/09 15:36:52 rhialto Exp $
-SHA1 (par2cmdline-0.8.0.tar.gz) = 71c5232ab15024a12595df54041a7e17480e60cc
-RMD160 (par2cmdline-0.8.0.tar.gz) = f66cc85e818b38cb4d5810ef439cf7a7278a5033
-SHA512 (par2cmdline-0.8.0.tar.gz) = 7dc19d18d375c1ec62f438613fec0008515e325a1387feb9c9f92d84b5bfa955911459147732ead4c20ce7e77dc6d7d22da5b388fb572026aa431b28252b5fcf
-Size (par2cmdline-0.8.0.tar.gz) = 3619072 bytes
+SHA1 (par2cmdline-0.8.1.tar.gz) = 96713067eb29ef18aba64c5c168c64d6f72c8300
+RMD160 (par2cmdline-0.8.1.tar.gz) = 5e9bb8fd1b71c41c7b3fe1adf729df7b8f7936bd
+SHA512 (par2cmdline-0.8.1.tar.gz) = b0032639353d869ffa449c8b5f27fe1deec0e5e4326ba90aae5c8a03f82441c69ba40f2032c4cbda98f415c3d100136beed8285d099ffbf32329451e719478d9
+Size (par2cmdline-0.8.1.tar.gz) = 3654317 bytes

Home | Main Index | Thread Index | Old Index