6986b93826
* 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.
29 lines
847 B
Makefile
29 lines
847 B
Makefile
# $NetBSD: Makefile,v 1.7 2013/11/16 07:59:27 shattered Exp $
|
|
|
|
DISTNAME= ddrescue-1.17
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=ddrescue/}
|
|
EXTRACT_SUFX= .tar.lz
|
|
|
|
MAINTAINER= ef@math.uni-bonn.de
|
|
HOMEPAGE= http://www.gnu.org/software/ddrescue/ddrescue.html
|
|
COMMENT= GNU ddrescue is a data recovery tool
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
HAS_CONFIGURE= YES
|
|
USE_LANGUAGES= c++
|
|
USE_TOOLS+= gmake
|
|
INFO_FILES= YES
|
|
|
|
CONFIGURE_ARGS+= CC=${CC:Q} CXX=${CXX:Q} CPPFLAGS=${CPPFLAGS:Q}
|
|
CONFIGURE_ARGS+= CFLAGS=${CFLAGS:Q} CXXFLAGS=${CXXFLAGS:Q}
|
|
CONFIGURE_ARGS+= LDFLAGS=${LDFLAGS:Q}
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
|
CONFIGURE_ARGS+= --infodir=${PREFIX}/${PKGINFODIR}
|
|
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
|
|
TEST_TARGET= check
|
|
INSTALL_TARGET= install install-man
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|