Commit Graph

12 Commits

Author SHA1 Message Date
Wang Mingyu
bcd1291baf ddrescue: upgrade 1.26 -> 1.27
Changelog:
==========
* command_mode.cc (do_commands): Fix flush stdout after each command.
  (Reported by Jeffrey Bosboom).
* New option '-W, --compare-before-write'.
 (Suggested by Kajetan Harald Hinner and Petr Slansky).
* main_common.cc (show_option_error):
  New function showing argument and option name.
* main.cc: Remove synonym '--direct'.
* Use 'long long' instead of 'long' for time variables.
* loggers.cc: Missing '#include <cstdlib>'.
* Fix two compiler warnings reported by Christian Franke.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-13 00:55:16 -08:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
wangmy
985385ff73 ddrescue: upgrade 1.25 -> 1.26
License-Update: delete a space at the beginning of some comments

Changelog:
=========
* mapfile.cc (write_mapfile): Check all calls to fprintf.
* Show file name in all diagnostics with a file involved.
* rescuebook.cc (copy_block): Exit with status 1 on fatal errors.
* main_common.cc (getnum): Show option name and valid range if error.
* main.cc, ddrescuelog.cc: Remove synonyms '*-logfile', '--pause'.
* ddrescuelog.cc: New option '-F, --format'.
* command_mode.cc, io.cc, loggers.cc: Missing '#include <algorithm>'.
* ddrescue.texi: Improve description of algorithm.
* check.sh: A POSIX shell is required to run the tests.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-25 10:56:04 -08:00
Pierre-Jean Texier
2d3c7ffae7 ddrescue: upgrade 1.24 -> 1.25
See changelog https://lists.gnu.org/archive/html/info-gnu/2020-03/msg00002.html

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-15 16:36:28 -07:00
Oleksandr Kravchuk
b7e70d79f8 ddrescue: update to 1.24
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-12 21:34:18 -07:00
Paul Barker
6f3368cebe ddrescue: Update to v1.22
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-15 16:34:05 -08:00
Paul Eggleton
7858c56203 ddrescue: add explicit do_unpack depends
* tar.lz support still wasn't merged in oe-core
  http://patchwork.openembedded.org/patch/82163/

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-08 11:57:53 +01:00
Koen Kooi
eaa191d469 ddrescue: update to 1.19
* License changed to GPLv2+
* Although 'configure is present, it isn't autotools.

Nota bene: this requires bitbake and oe-core support for tar.lz

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-08 11:57:53 +01:00
Robert Yang
05de0ca43d meta-oe: use BPN in SRC_URI
Fixed SRC_URI:
* ${PN} -> ${BPN}, use ${BP} if it was ${PN}-${PV}
* ${P} -> ${BP}

Otherwise we would meet do_fetch errors when we do the multilib, native
or nativesdk build.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-15 14:56:55 +02:00
Martin Jansa
a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Paul Eggleton
31bd3fb6a6 meta-oe: Fix erroneous use of "startline" in LIC_FILES_CHKSUM
"beginline" is the correct parameter name. Checksums have been updated
where necessary (i.e. if the beginning line was something other than the
default of 1).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-16 21:11:42 +01:00
Paul Eggleton
ff3e844f69 ddrescue: add from OE-Classic, update and tidy up
* Update to 1.16
* Add LIC_FILES_CHKSUM
* Add SUMMARY and extend DESCRIPTION
* Drop PRIORITY
* Drop AUTHOR (generally we don't include this)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-30 09:50:18 +01:00