1c7ccb5e49
2021-01-02 Antonio Diaz Diaz <antonio@gnu.org> * Version 1.22 released. * New options '-e, --reproduce', '--lzip-level', '--lzip-name', '--reference-file', and '-E, --debug-reproduce'. * Remove '--dump-tdata', '--remove-tdata', and '--strip-tdata'. * main.cc (main): Report an error if a file name is empty. Make '-o' behave like '-c', but writing to file. Make '-c' and '-o' check whether the output is a terminal only once. Do not open output if input is a terminal. * main.cc (decompress): With '-i', ignore data errors, keep files. * range_dec.cc: '-i -D' now decompresses a truncated last member. * '-i -D' now returns 0 if only ignored errors are found. * '-i' now considers any block > 36 with header a member, not a gap. * Replace 'decompressed', 'compressed' with 'out', 'in' in output. * Fix several compiler warnings. (Reported by Nissanka Gooneratne). * lzip_index.cc: Improve messages for corruption in last header. * New debug options '-M, --md5sum' and '-U, --unzcrash'. * main.cc: Set a valid invocation_name even if argc == 0. * Document extraction from tar.lz in manual, '--help', and man page. * New files lunzcrash.cc, md5.h, md5.cc, nrep_stats.cc, reproduce.cc. * lziprecover.texi: New chapter 'Reproducing one sector'. New sections 'Merging with a backup' and 'Reproducing a mailbox'. Document the debug options for experts. * check.sh: Lzip 1.16 or newer is required to run the tests. * testsuite: Add 9 new test files.
25 lines
772 B
Makefile
25 lines
772 B
Makefile
# $NetBSD: Makefile,v 1.11 2021/02/01 10:48:26 fcambus Exp $
|
|
|
|
DISTNAME= lziprecover-1.22
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= https://download.savannah.gnu.org/releases/lzip/lziprecover/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.nongnu.org/lzip/lziprecover.html
|
|
COMMENT= Recovery tool for lossless data compressor based on the LZMA algorithm
|
|
LICENSE= gnu-gpl-v2 # or later
|
|
|
|
USE_LANGUAGES= c++
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}
|
|
CONFIGURE_ARGS+= --infodir=${PREFIX}/${PKGINFODIR}
|
|
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
|
|
INFO_FILES= yes
|
|
TEST_TARGET= check
|
|
|
|
MAKE_FLAGS+= CXX=${CXX:Q}
|
|
MAKE_FLAGS+= CPPFLAGS=${CPPFLAGS:Q}
|
|
MAKE_FLAGS+= CXXFLAGS=${CXXFLAGS:Q}
|
|
MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|