Commit Graph

6 Commits

Author SHA1 Message Date
Peter Müller
66c3619872 Early spring clean: Remove trailing whitespaces, and correct licence headers
Bumping across one of our scripts with very long trailing whitespaces, I
thought it might be a good idea to clean these up. Doing so, some
missing or inconsistent licence headers were fixed.

There is no need in shipping all these files en bloc, as their
functionality won't change.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-18 23:54:57 +00:00
Robin Roevens
f15707c78c buildprocess: Add extra metadata to pak lfs files
* Add a Summary and Services field to all pak lfs files
* Replace occurances of INSTALL_INITSCRIPT with new INSTALL_INITSCRIPTS
  macro in all pak lfs files.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-11 15:13:15 +00:00
Adolf Belka
ece62d2500 ddrescue: Update to 1.25
- Update ddrescue from 1.12 to 1.25
- Updated rootfiles
- Since 2013 gnu started to only use lzip for compression of ddrescue
	Therefore second patch of this series is the installation of lzip
	in the IPFire Build.
- Changelog
	2020-02-21  Antonio Diaz Diaz  <antonio@gnu.org>
		* Version 1.25 released.
		* block.h: Add default constructors to classes Block and Sblock.
		  (Reported by Rosen Penev).
		* check.sh: Quote all file name variables to allow names with spaces.
		  (Reported by David Morrison).
		* In rescue mode, join non-finished subsectors read from mapfile.
		  (Reported by David Burton).
		* mapbook.cc (update_mapfile): Exclude writing time from intervals.
		  (Reported by David Burton).
		* rescuebook.cc (extend_outfile_size): Use ftruncate if it works.
		* Print large numbers in groups of 3 digits separated by underscores.
		* main.cc: Set a valid invocation_name even if argc == 0.
	2019-02-24  Antonio Diaz Diaz  <antonio@gnu.org>
		* Version 1.24 released.
		* Added new option '--command-mode'.
		* Implemented mapfile backup.
		* ddrescue.texi: Documented final contents of bad areas in outfile.
		* configure: Accept appending to CXXFLAGS, 'CXXFLAGS+=OPTIONS'.
	2018-02-13  Antonio Diaz Diaz  <antonio@gnu.org>
		* Version 1.23 released.
		* rescuebook.cc (trim_errors): Fix wrong change to non-scraped.
		* Added new option '--same-file'.
		* Added new option '--shift' to ddrescuelog.
		* fillbook.cc (fill_block): Write location data as one line.
		* fillbook.cc (read_buffer): Do not require a seekable infile.
		* ddrescue.texi: Added chapter 'Output'.
		* check.sh: Added 'combined rescue' test.
		* io.cc: Added missing '#include <cstdio>'.
	2017-02-03  Antonio Diaz Diaz  <antonio@gnu.org>
		* Version 1.22 released.
		* Option '-X, --exit-on-error' replaced by '-X, --max-read-errors'.
		* Added new option '--max-slow-reads'.
		* Added new option '--delay-slow'.
		* Added new option '--reset-slow'.
		* Added new option '--log-events'.
		* Added new option '--mapfile-interval'.
		* Added new option '--pause-on-error'.
		* Option '--pause' has been renamed to '--pause-on-pass'.
		* Option '--max-errors' has been renamed to '--max-bad-areas'.
		* Renamed 'errsize' to 'bad_size' and 'errors' to 'bad_areas'
		* Rescuebook: Show read_errors, error_rate and slow_reads.
		* Added 'current_pass' field to mapfile.
		* Added two new passes (3 and 4) to the copying phase.
		* main.cc (parse_cpass): Accept ranges of passes.
		* Option '-K, --skip-size' now accepts sizes up to 1 EiB.
		* Initial skip size now defaults to (infile_size / 100_000).
		* rescuebook.cc (copy_non_tried): Don't reduce min_read_rate,
		  enable it only for passes 1 and 2.
		* rescuebook.cc (trim_errors): Don't trim bad edges.
		* main_common.cc (getnum): Accept 's' after other multiplier.
		* '--ask', '-vv' now show size along with model and serial number.
		* non_posix.cc: Add 'device_id' for Cygwin.
		  (Patch written by Christian Franke <franke@computer.org>).
		* rescuebook.cc (do_rescue): Show full sizes in domain warning.
		* Added new option '-A, --annotate-mapfile' to ddrescuelog.
	2016-03-17  Antonio Diaz Diaz  <antonio@gnu.org>
		* Version 1.21 released.
		* mapbook.cc (Mapbook): Fix iobuf alignment.
		  (Reported by Heikki Tauriainen).
		* Removed short option names '-1' and '-2'.
		* Allow only regular files for '--log-rates' and '--log-reads'.
		* Option '-D, --odirect' now works also in fill mode.
		* rescuebook.cc (copy_block): Return 1 on unaligned read error.
		  Set e_code on any error if verify_on_error.
		* Option '-X, --exit-on-error' has been extended to all phases.
		* Assigned short name '-Z' to option '--max-read-rate'.
		* mapbook.cc (update_mapfile): 'fsync' the mapfile every 5 minutes.
		* Rescuebook: Show full range of sizes from non-tried to finished.
		* rescuebook.cc (show_status): Show percentage rescued.
		* configure: Avoid warning on some shells when testing for g++.
		* Makefile.in: Detect the existence of install-info.
	2015-09-10  Antonio Diaz Diaz  <antonio@gnu.org>
		* Version 1.20 released.
		* 'logfile' has been renamed to 'mapfile' everywhere.
		* Changed short name of option '--synchronous' to '-y'.
		* Changed long name of option '-d' to '--idirect'.
		* Added new option '-D, --odirect'.
		* Added new option '-J, --verify-on-error'.
		* Added new option '--max-read-rate'.
		* rescuebook.cc (copy_block): Copy arbitrary blocks with '--idirect'.
		* Include only bad-sector blocks in 'errsize'.
		* rescuebook.cc (show_status): Show the estimated remaining time.
		* io.cc (format_time): Show time in days, hours, minutes and seconds.
		* Added per sector location data to fill mode.
		* mapbook.cc: Added emergency save of the mapfile.
		* Show device name with '--ask' or '-vv' on Haiku.
		* mapfile.cc (read_mapfile): Read read-only mapfiles from stdin.
		* ddrescuelog.cc: Allow multiple mapfiles for '-t, --show-status'.
		* ddrescuelog.cc (create_mapfile): '-' writes mapfile to stdout.
		* ddrescue.texi: Added new chapter 'Optical media'.
		* ddrescue.texi: Documented maximum size of the rescue domain.
		* configure: Option '--enable-linux' renamed to '--enable-non-posix'.
		* Makefile.in: Added new targets 'install*-compress'.
		* File 'ddrescue.h' renamed to 'mapbook.h'.
		* File 'logbook.cc' renamed to 'mapbook.cc'.
		* File 'logfile.cc' renamed to 'mapfile.cc'.
		* Files linux.{h,cc} renamed to non_posix.{h,cc}.
	2014-10-03  Antonio Diaz Diaz  <antonio@gnu.org>
		* Version 1.19 released.
		* Fixed a race condition at start of run with '--timeout=0'.
		* 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.
		* Removed option '-l, --logfile-size'.
		* 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.
		* Changed long name of option '-n' to '--no-scrape'.
		* rescuebook.cc: Alternate direction of passes during retrying phase.
		* Show ATA model and serial number with '--ask' or '-vv' on Linux.
		* configure: Added new option '--enable-linux'.
		* New files linux.h linux.cc.
		* License changed to GPL version 2 or later.
	2014-06-10  Antonio Diaz Diaz  <antonio@gnu.org>
		* Version 1.18.1 released.
		* ddrescuelog.cc (do_logic_ops): Fixed 'or' and 'xor'.
		* 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', '-2, --log-reads'.
		* Extended '-K, --skip-size' with maximum and disable values.
		* Changed long name of option '-r' to '--retry-passes'.
		* Changed short name of option '--generate-mode' to '-G'.
		* Default value of option '-l, --logfile-size' increased to 10000.
		* If interrupted, ddrescue terminates by raising the signal received.
		* rescuebook.cc (copy_non_tried): Don't 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.
		* rescuebook.cc (split_errors): Read largest first if logfile full.
		* Improved speed when using option '-m, --domain-logfile'.
		* io.cc (show_status): Show the current total run time.
		* rescuebook.cc: Show pass number and direction during copying.
		* rescuebook.cc (show_status): Show block pos instead of current_pos.
		* main.cc: Show "an unknown number of bytes" for unknown insize.
		* Added option '-B, --binary-prefixes' to ddrescuelog.
		* Added new option '-C, --complete-logfile' to ddrescuelog.
		* Added new option '-P, --compare-as-domain' to ddrescuelog.
		* Improved speed of logic operations in ddrescuelog.
		* rescuebook.cc (do_rescue): Show warning when domain is smaller
		  than logfile.
		* ddrescuelog.cc (do_show_status): Show logfile and domain extents
		  when domain is smaller than logfile.
		* block.h: Class Block now forces the invariant by itself.
		* Code reorganization. New class 'Logfile'.
		* Added status message to rescue logfile.
		* Many improvements to documentation.
		* ddrescue.texinfo: Renamed to ddrescue.texi.
	2013-07-09  Antonio Diaz Diaz  <antonio@gnu.org>
		* Version 1.17 released.
		* 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 insize and is not marked as finished.
		* io.cc (show_status, update_rates): Detect a jump back in time
		  and adjust status.
		* ddrescue.h (slow_read): Return false for the first 10 seconds.
		* io.cc (show_status) Leave cursor after message so that ^C does
		  not overwrite it.
		* main.cc: Don't require '--force' for generate mode.
		* ddrescue.h (Logbook::logfile_exists): Don't return false if
		  logfile exists but is empty.
		* ddrescue.texinfo: Added new chapter 'Using ddrescue safely'.
		* Documented that 'direct disc access' only reads whole sectors.
		* configure: Options now accept a separate argument.
		* Makefile.in: Added new target 'install-bin'.
	2012-06-11  Antonio Diaz Diaz  <ant_diaz@teleline.es>
		* Version 1.16 released.
		* Added new option '-K, --skip-size'.
		* Added new option '-T, --timeout'.
		* Changed short name of option '--try-again' to '-A'.
		* Maximum skip size is now limited to 1% of infile size or 1 GiB
		  (whichever is smaller), rounded to the next multiple of sector
		  size.
		* Set current_pos to end of block when reading backwards.
		* The option '-E, --max-error-rate' now checks the rate of
		  actually failed reads, not the growth of error size.
		* The option '-v, --verbose' now increases verbosity if repeated.
		* Changed quote characters in messages as advised by GNU Standards.
		* configure: 'datadir' renamed to 'datarootdir'.
		* New files rational.h, rational.cc.
	2012-01-01  Antonio Diaz Diaz  <ant_diaz@teleline.es>
		* Version 1.15 released.
		* Added new option '-a, --min-read-rate'.
		* Added new option '-I, --verify-input-size'.
		* Added new option '-x, --extend-outfile'.
		* main.cc: Verify that infile, outfile and logfile are all
		  different.
		* Non-tried blocks are now read aligned to cluster-size sectors.
		* rescuebook.cc: Improved skip algorithm for the split pass.
		* main.cc: Removed spurious warning about '-D' ignored in fill mode.
		* ddrescue.texinfo: Improved description of algorithm.
		* logbook.cc (change_chunk_status): Return an adjust value (-1, 0, 1)
		  to keep "errors" updated without calling count_errors every time.
		* ddrescue.cc: Renamed to io.cc.
		* Added 'ddrescuelog', a program for logfile manipulation.
	2011-01-10  Antonio Diaz Diaz  <ant_diaz@teleline.es>
		* Version 1.14 released.
		* Added new option '-R, --reverse'.
		* Added new option '-E, --max-error-rate'.
		* Extended syntax '--max-errors=+N' to specify new errors.
		* Changed short name of option '--retrim' to '-M'.
		* Removed spurious warning about 'preallocation not available'.
		* Code reorganization. New class 'Genbook'.
	2010-08-27  Antonio Diaz Diaz  <ant_diaz@teleline.es>
		* Version 1.13 released.
		* Non-regular output files are no longer overwritten by default.
		* Added new option '-f, --force'.
		* Added new option '-p, --preallocate'.
		* main.cc (write_logfile_header): Write command line to logfile.
		* ddrescue.texinfo: Added info about logfile and recoverable formats.
		* ddrescue.texinfo: Added a couple more warnings to the tutorial.
		* testsuite: 'test1' renamed to 'test.txt'
		* Revert to use 'long' instead of 'time_t' for time variables.
		  Ddrescue only needs counting seconds and 'time_t' causes
		  warnings on some systems.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-05 11:24:25 +00:00
Michael Tremer
2dc2a27803 lfs: Drop quotes in DEPS variable
Not sure why this has ever been there. This simply makes it
nicer to read and edit because we can have line-breaks now.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-03-24 08:57:27 +00:00
Peter Müller
eee037b890 update disclaimer in LFS files
Most of these files still used old dates and/or domain names for contact
mail addresses. This is now replaced by an up-to-date copyright line.

Just some housekeeping... :-)

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-09-10 19:20:36 +01:00
Arne Fitzenreiter
69e29b22de Add ddrescue package. 2010-07-12 00:24:26 +02:00