head 1.2; access; symbols pkgsrc-2014Q1:1.1.0.68 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.66 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.64 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.62 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.60 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.58 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.56 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.54 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.52 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.50 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.48 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.46 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.44 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.42 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.40 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.38 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.36 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.34 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.32 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.30 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.28 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.26 pkgsrc-2008Q4-base:1.1 pkgsrc-2008Q3:1.1.0.24 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.22 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.20 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.18 pkgsrc-2008Q1:1.1.0.16 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.14 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.12 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.10 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.8 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.6 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.4 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.2 pkgsrc-2006Q2-base:1.1; locks; strict; comment @# @; 1.2 date 2014.04.25.09.22.13; author wiz; state dead; branches; next 1.1; commitid qguiqaeyWkUkR2yx; 1.1 date 2006.06.21.18.47.02; author minskim; state Exp; branches; next ; desc @@ 1.2 log @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. @ text @$NetBSD: patch-aa,v 1.1 2006/06/21 18:47:02 minskim Exp $ --- reedsolomon.cpp.orig 2003-05-26 18:01:31.000000000 +0000 +++ reedsolomon.cpp @@@@ -51,7 +51,7 @@@@ u32 gcd(u32 a, u32 b) } } -bool ReedSolomon::SetInput(const vector &present) +template<> bool ReedSolomon::SetInput(const vector &present) { inputcount = (u32)present.size(); @@@@ -80,7 +80,7 @@@@ bool ReedSolomon::SetInput(cons return true; } -bool ReedSolomon::SetInput(u32 count) +template<> bool ReedSolomon::SetInput(u32 count) { inputcount = count; @@@@ -101,7 +101,7 @@@@ bool ReedSolomon::SetInput(u32 return true; } -bool ReedSolomon::Process(size_t size, u32 inputindex, const void *inputbuffer, u32 outputindex, void *outputbuffer) +template<> bool ReedSolomon::Process(size_t size, u32 inputindex, const void *inputbuffer, u32 outputindex, void *outputbuffer) { // Look up the appropriate element in the RS matrix Galois8 factor = leftmatrix[outputindex * (datapresent + datamissing) + inputindex]; @@@@ -189,7 +189,7 @@@@ bool ReedSolomon::Process(size_ // Set which of the source files are present and which are missing // and compute the base values to use for the vandermonde matrix. -bool ReedSolomon::SetInput(const vector &present) +template<> bool ReedSolomon::SetInput(const vector &present) { inputcount = (u32)present.size(); @@@@ -233,7 +233,7 @@@@ bool ReedSolomon::SetInput(con // Record that the specified number of source files are all present // and compute the base values to use for the vandermonde matrix. -bool ReedSolomon::SetInput(u32 count) +template<> bool ReedSolomon::SetInput(u32 count) { inputcount = count; @@@@ -267,7 +267,7 @@@@ bool ReedSolomon::SetInput(u32 return true; } -bool ReedSolomon::Process(size_t size, u32 inputindex, const void *inputbuffer, u32 outputindex, void *outputbuffer) +template<> bool ReedSolomon::Process(size_t size, u32 inputindex, const void *inputbuffer, u32 outputindex, void *outputbuffer) { // Look up the appropriate element in the RS matrix @ 1.1 log @Make this pacakge build with gcc-4. Patches provided by martijnb in PR pkg/33694. @ text @d1 1 a1 1 $NetBSD$ @