Files
bpfire/lfs/ddrescue
Adolf Belka 075aa6f354 ddrescue: Update to version 1.28
- Update from version 1.26 to 1.28
- Update of rootfile not required
- Changelog
    1.28
	The option '--verify-on-error' has been renamed to '--check-on-error'.
	The option '--verify-input-size' has been renamed to '--check-input-size'.
	The option synonym '--exit-on-error' has been removed and is no longer
	 recognized.
	In fill and rescue modes, ddrescue now makes a final fsync call on outfile
	 to prevent an early exit if the kernel caches all the writes.
	Option '-t, --show-status' of ddrescuelog now shows the mapfile names at
	 verbosity level 0 if more than one mapfile is specified.
	The variable MAKEINFO has been added to configure and Makefile.in.
    1.27
	A deadlock in command mode when stdout is fully buffered has been fixed by
	 flushing stdout after executing each command. (Reported by Jeffrey Bosboom).
	The new option '-W, --compare-before-write' has been added. It omits
	 superfluous writes in rescue mode.
	 (Suggested by Kajetan Harald Hinner and Petr Slansky).
	Diagnostics caused by invalid arguments to command line options now show the
	 argument and the name of the option.
	The option synonym '--direct' has been removed and is no longer recognized.
	'long long' is now used instead of 'long' for time variables.
	A missing '#include <cstdlib>' has been added.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-15 10:45:04 +00:00

91 lines
3.3 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2024 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
SUMMARY = Data Copying in the Presence of I/O Errors
VER = 1.28
THISAPP = ddrescue-$(VER)
DL_FILE = $(THISAPP).tar.lz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = ddrescue
PAK_VER = 4
DEPS =
SERVICES =
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 8c212f0d495e0df8e0398b97730c812ea9ccb77bd42e730198222e9918e3652fc52d932449b1e0dc9bdd453a123e2450c962e33e98d9845ce81b9a934a5bbdaa
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
dist:
@$(PAK)
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && ./configure \
--prefix=/usr
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)