Commit graph

41 commits

Author SHA1 Message Date
nia
d854b0160a archivers: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and SHA512
hashes.
2021-10-26 09:57:04 +00:00
nia
5b593563e1 archivers: Remove SHA1 distfiles hashes 2021-10-07 13:05:55 +00:00
adam
bd20576cc3 par2: update Github repo 2020-05-04 18:41:22 +00:00
rhialto
3bacd05c78 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.
2020-02-09 15:36:52 +00:00
ryoon
ace6a9883b Add archivers to CATEGORY 2018-01-24 17:02:15 +00:00
wiz
c3b49a259a par2: update to 0.8.0.
11 December 2017 Ike Devolder
  * release: 0.8.0
	* improved parallelisation on input files
2018-01-10 12:18:57 +00:00
wiz
b8778c07b3 Updated par2 to 0.7.4.
08 September 2017 Ike Devolder
  * release: 0.7.4
* performance improvement when not using quiet mode
2017-09-10 21:39:12 +00:00
wiz
9f81f187b7 Updated par2 to 0.7.3.
25 June 2017 Ike Devolder
  * release: 0.7.3
	* fixed critical issue on windows where created parfiles were corrupt
2017-07-04 09:18:34 +00:00
wiz
bc99ef8b45 Updated par2 to 0.7.2.
30 June 2017 Ike Devolder
	* relase: 0.7.2
	* fixed tests on NetBSD, #102
	* fixed failing tests when dir contains whitespace, #103
	* added automake.sh to the files, #104
	* changed some flags related to windows build, #94
	* cleaned up compiler warnings for mingw build
2017-06-14 13:44:01 +00:00
wiz
fc69e01b90 Add upstream bug report URL. 2017-05-29 11:43:36 +00:00
wiz
7b02585403 Updated par2 to 0.7.1.
19 May 2017 Ike Devolder
	* release: 0.7.1
	* fixed basepath issues #93
	* made distcheck behaviour consistent with different --srcdir #96
	* properly package distribution package #98
	* cross compile for windows to get redistributable exe #94
	* change distribution format to tar.gz and tar.bz2 for unix
	  and keep zip for windows #97
2017-05-29 10:55:06 +00:00
wiz
6f4d309c90 Updated par2 to 0.7.0.
17 April 2017 Ike Devolder
	* release: 0.7.0
	* Merged OpenMP version and so enabled multithreading
		* added -t flag to set the number of threads (all possible threads
		  used by default)
	* Added -B flag to set the basepath for difficult to guess situations
	* bugfixes
2017-04-27 12:51:35 +00:00
jperkin
2a8d5cc3c8 Fix build on SunOS. 2016-09-16 17:31:54 +00:00
wiz
51da735915 Updated par2 to 0.6.14.
Fix issue #53 / Correct fix for issue #49
par2creator: use proper buffer size for volume file name generation
bump 0.6.13
Merge pull request #51 from jcfp/master
Update commandline.cpp
add -N / -S options to manpage
Add test19
Fix issue #50 (scan failure) / Correct fix for issue #31 (slow scan)
Fixes to enable "make distcheck" to work:
Fix for #49 (Scanning extra files messes up verification)
create test for #49
Merge pull request #48 from jcfp/patch-1
add missing argument for the block-count option
2016-09-01 16:33:43 +00:00
agc
7ef3a4270a Add SHA512 digests for distfiles for archivers category
Problems found with existing distfile for eagle:
	distfiles/bicom101.zip
	distfiles/szip-2.1nb3/szip-2.1.tar.gz
	distfiles/xmill-0.9.1.tar.gz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 00:56:19 +00:00
adam
7fd8c5abb3 Changes 0.6.5:
* fix blocksize calculation
* lintian warning spelling fix
* add manfile for par2
* README in Markdown
* add spelling fixes to cmdline output
* fixed some spelling
* simplify FindFiles
2015-05-04 10:10:23 +00:00
tnn
4f846ee407 Fix my previous commit. Noted by wiz. 2015-03-09 12:14:44 +00:00
tnn
90fed4c222 convert to USE_GITHUB 2015-03-07 14:25:48 +00:00
mef
3656c2c6ca Update to 0.6.11
----------------
    https://github.com/BlackIkeEagle/par2cmdline/releases/tag/v0.6.11
BlackEagle (3):
      test9 :: test did not prove rename was working
      fix check if files are outside basepath
      bump 0.6.11
2015-01-25 07:46:50 +00:00
wiz
e13bfbe2db Update to 0.6.10: More bugfixes. 2014-09-07 12:15:01 +00:00
wiz
f46b7b70ea Update to 0.6.8 (not yet 0.6.9 due to issues with bup).
Changes: bugfixes, speedups, more tests.
2014-09-06 20:01:58 +00:00
wiz
fcff72fc1c Add upstream bug report URL. 2014-04-25 09:24:22 +00:00
wiz
dae29697fe Update to 0.6.5.
27 February 2014 Ike Devolder
	* release: 0.6.5
	* fix blocksize calculation

25 February 2014 JCF Ploemen
	* lintian warning spelling fix

7 February 2014 Ike Devolder
	* add manfile for par2

29 January 2014 Jan van Haarst
	* README in Markdown

21 January 2014 Ike Devolder
	* add spelling fixes to cmdline output

18 January 2014 Jan van Haarst
	* fixed some spelling

6 January 2014 Ike Devolder
	* simplify FindFiles

4 January 2014 Ike Devolder
	* release: 0.6.4
	* when directory is removed, recreate
	* add test to verify directory behaviour
	* add test with valgrind

16 December 2013 Ike Devolder
	* allow verification of files even with ducplicates in parfiles

15 December 2013 Ike Devolder
	* avoid adding of duplicates

14 December 2013 Ike Devolder
	* release: 0.6.3
	* rework original tests so parallelisation is no issue
	* add test8 which makes sure the paths stored are relative
	* add test9 rename wrongly named file, passed to par2
	  result is correctly named files after repair

13 Decebmer 2013 Ike Devolder
	* move tests in separate folder, tests will be extended
	  and otherwise eventually clutter the source too much

9 December 2013 Ike Devolder
	* rework parfilename handling + it fixes passing par
	  filename without extension for repair

7 December 2013 Ike Devolder
	* release: 0.6.2
	* basepath was not set correctly in restoring of 'old' way

5 December 2013 Ike Devolder
	* release: 0.6.1
	* show usage / version / copyright on request
	* restore 'old' way of creating make -a optional

30 November 2013 Ike Devolder
	* release: 0.6.0
	* test8: windows generated recovery files with subdir
	* windows recurses in . and .. which leads to deadlock
	  so dont recurse in folders starting with . on windows
	* when recursion happens make sure windows can recover with
	  unix created par2 files
	* fixed fc -> fd typo in windows part of diskfile
	* FTBFS fix on GNU/kFreeBSD (by Cyril Brulebois)
	* fixed non quiet output when creating par2
	* Applied fix preventing a stack overflow (by Robert Schneider)

14 October 2013 Ike Devolder
	* Implemented recursion
	* NOTE: only for unix like systems
	* Windows can be done i guess but i have no access to windows machines

16 June 2013 Ike Devolder
	* Implemented initial subdir handling
	* added subdir tests

13 June 2013 Ike Devolder
	* Fixed failing testsuite

9 December 2012 Ike Devolder
	* rework purging of par(2) files because of possible segfaults
		and other inconsistencies

4 December 2012 Ike Devolder
	* fix purge option so it removes the par files when there is no
		repair needed
	* add purge option to verify so when there is no repair needed
		the par2 files are removed when the purge option is given

30 November 2012 Ike Devolder
	* add purge option
		remove backup files (mostly .1) and par files on request
		**USE AT YOUR OWN RISK
	* purge option available in par1 and par2 repair
	* fix memory leak when using par1 repair

30 January 2012 Ike Devolder
	* add inlining performance improvement of Gerard Putter
	* release: 0.5.4

19 January 2012 Ike Devolder
	* fix wrongly created par2 files in quiet mode
	  this was related to the -q -qq fix
	* release: 0.5.3

17 January 2012 Ike Devolder
	* fix deadlock condition when repairing and filepath is longer
		than _MAX_PATH
	* increase _MAX_PATH, 255 is no longer of these days
	* release: 0.5.2

16 January 2012 Ike Devolder
	* fixup 0.5 version display
	* "par2 create" dumps core with -q or -qq, but non-quiet mode works fine
		FIXED
	* removed automake files
	* updated copyrights
	* release: 0.5.1

12 December 2011 Marcel Partap
	* Reanimate par2cmdline development on new github repository
	* Merge available distro patches since 2004 0.4 release back upstream
	* Release: Version 0.5 ;)

3 January 2005 Peter B Clements

	* par2creatorsourcefile.cpp: "offset" must be updated when computing
	  file and block hashes even if progress is not being displayed.

23 June 2004 Peter B Clements

	* diskfile.cpp: Changed DiskFile::GetFileSize for WIN32
	  so that it uses _stati64() to get the size of a file.

	* par2creatorsourcefile.cpp: In UpdateHashes() the test
	  that adjusts the length of the last block of a file when
	  before updating the file hash was incorrect.

17 June 2004 Peter B Clements

	* par1repairer.cpp, par2repairer.cpp: Report empty files when
	  scanning for data.
2014-04-25 09:22:13 +00:00
asau
3ccd61af4d "user-destdir" is default these days 2012-09-11 19:46:58 +00:00
wiz
3a975d3aa0 Add two patches for big-endian platforms from Fedora via gentoo and
Nick Coleman in PR 40658.

Bump PKGREVISION.
Set LICENSE.
2010-02-21 15:07:40 +00:00
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +00:00
wiz
ec66d6e50b Drop maintainership. 2007-09-09 17:10:52 +00:00
wiz
01c78340d7 Become maintainer. 2007-03-19 23:59:49 +00:00
tv
b0ce45fc02 give away to pkgsrc-users 2007-03-19 16:36:41 +00:00
rillig
144a1ee175 Added "c" to USE_LANGUAGES for packages that use GNU configure scripts,
since they always need a C compiler, even when the source code is
completely in C++.

For some other packages, stated in the comment that a C compiler is
really not needed.
2006-07-22 04:46:13 +00:00
minskim
bbd2fb80de Make this pacakge build with gcc-4. Patches provided by martijnb in
PR pkg/33694.
2006-06-21 18:47:02 +00:00
tv
ae3489ec53 Use "tv@NetBSD.org" as my MAINTAINER address; makes identifying me as a
PR-responsible person (such as I am ;) a little easier.
2006-03-22 22:50:31 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
tv
76e545a863 Update to 0.4.
Notable changes:
* new command line options (-c, -q, -v)
* 64-bit file (via 64-bit stdio API) support
2005-08-26 18:56:03 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
f1a84844c6 Add RMD160 digests in addition to SHA1 ones. 2005-02-23 14:45:22 +00:00
tv
151680c59e Move GCC_REQD-for-Interix check into a hacks.mk; suggested by jlam. 2005-01-21 21:48:32 +00:00
tv
46ca5a81b9 Add GCC_REQD for Interix to prevent use of the base system gcc, which is
missing "long long" support in iostream.
2005-01-21 20:57:54 +00:00
minskim
5a4e75ef0d Enable pkgviews installation. 2004-07-28 02:47:34 +00:00
grant
846e17f5b4 this package only uses a c++ compiler. 2004-07-04 08:10:23 +00:00
tv
1f9b98ce5e 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.
2004-03-29 19:36:07 +00:00