Up to [cvs.NetBSD.org] / pkgsrc / sysutils / ddrescue
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
sysutils/ddrescue: update to ddrescue-1.25
all: migrate several HOMEPAGEs to https pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU.
Update to 1.19. Changes:
* Added new option '-H, --test-mode' to simulate read errors.
* Added new option '-L, --loose-domain' to ddrescue and ddrescuelog.
* Added new option '-N, --no-trim' to disable trimming of damaged areas.
* Added new option '-O, --reopen-on-error'.
* Added new options '-1, --log-rates', and '-2, --log-reads'.
* Extended '-K, --skip-size' with maximum and disable values.
* Added new option '-P, --data-preview'.
* Added new option '-u, --unidirectional'.
* Added new option '-X, --exit-on-error'.
* Added new option '--ask' to ask for user confirmation.
* Added new option '--cpass' to select passes during copying phase.
* Added new option '--pause' to insert a pause between passes.
* Added option '-B, --binary-prefixes' to ddrescuelog.
* Added new option '-C, --complete-logfile' to ddrescuelog.
* Added new option '-P, --compare-as-domain' to ddrescuelog.
* If interrupted, ddrescue terminates by raising the signal received.
* Show ATA model and serial number with '--ask' or '-vv' on Linux.
* rescuebook.cc (copy_non_tried): Do not mark skipped blocks as
non-trimmed. Try them in additional passes (before trimming).
* rescuebook.cc: Limit the copying phase to 3 passes.
* rescuebook.cc: Alternate direction of passes during copying phase.
* rescuebook.cc: Smallest blocks are trimmed first.
* Skip on the first error during the copying phase.
* rescuebook.cc: Trimming done in one pass, may be run in reverse.
* The splitting phase has been replaced by a scraping phase.
* License changed to GPL version 2 or later.
Update to 1.17. Changes:
* Added new option '-l, --logfile-size'.
* Added new option '-w, --ignore-write-errors'.
* Option '--fill' has been renamed to '--fill-mode'.
* Option '--generate-logfile' has been renamed to '--generate-mode'.
* Added option '--sector-size' as a synonym of '--block-size'.
* Added option '--retries' as a synonym of '--max-retries'.
* Added option '--size' as a synonym of '--max-size'.
* rescuebook.cc: Trimming is now done from both edges of each
non-trimmed block. Largest blocks are trimmed first.
* rescuebook.cc: Largest blocks are now split first until
logfile reaches '--logfile-size' entries.
* logbook.cc (extend_sblock_vector, truncate_vector): Terminate
if truncation would discard finished blocks.
* rescuebook.cc: Mark failed blocks with 1 sector as bad-sector.
* logbook.cc (extend_sblock_vector): Remove last block of
logfile if it starts at isize and is not marked as finished.
* Documented that 'direct disc access' only reads whole sectors.
Update to 1.16. Changes: * Added new option '-K, --skip-size'. * Added new option '-T, --timeout'. * Maximum skip size is now limited to 1% of infile size or 1 GiB. * Set current_pos to end of block when reading backwards. * The '-E, --max-error-rate' option now checks the rate of actually failed reads, not the growth of error size.
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Update to 1.15 (not really tested), on the theory that there's no reason to run old upstream code. Changes in version 1.15: The new option "-a, --min-read-rate" has been added. The new option "-I, --verify-input-size" has been added. The new option "-x, --extend-outfile" has been added. Ddrescue now verifies that infile, outfile and logfile are all different. Non-tried blocks are now read aligned to cluster-size sectors. The "split or skip" algorithm of the split pass has been improved. A spurious warning about "-D" being ignored in fill mode has been removed. Ddrescuelog, a tool for manipulation, display, conversion, comparison and testing of ddrescue logfiles, has been added.
Update to 1.11, provided by Mustafa Dogan in private mail. Changes in version 1.11: In case of error writing the logfile to disc, the user is now given the possibility of fixing the problem and continue. The splitting algorithm has been modified to read secuentially the areas smaller than a threshold size. After every read error, ddrescue now verifies the input file has not disappeared. In rescue mode, ddrescue now shows the time elapsed from the last successful read. Signals SIGUSR1 and SIGUSR2 are now ignored by ddrescue. Descriptions of "--direct", "--synchronous" and "--sparse" in the manual have been made clearer. Description of rescue algorithm in the manual has been made clearer. "make check" now verifies that files are open in binary mode. A warning about logfile usage has been added to "ddrescue --help" output. 1.10: Changes: The option "--try-again" has been added. The size skipped when bad sectors are found has been made independent of "cluster-size". Rescue speed has been improved for large log files. An overflow reading from devices of undefined size has been fixed. "make install-info" should now work on Debian and Mac OS X. 1.9 Changes: The new option "--domain-logfile" has been added. Verbosity control of user messages has been simplified. This release improves portability by using the LLONG_MAX macro instead of LONG_LONG_MAX. This release is also available in lzip format.
Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT block). Uncomment some commented out LICENSE lines while here.
Import ddrescue-1.8. Based on PR 39202 by Edgar Fuss, some fixes and improvement by me. GNU ddrescue is a data recovery tool. It copies data from one file or block device (hard disc, cdrom, etc) to another, trying hard to rescue data in case of read errors.
Initial revision