2022-01-22 19:26:52 +01:00
|
|
|
# $NetBSD: Makefile,v 1.12 2022/01/22 18:26:52 fcambus Exp $
|
2012-03-14 15:40:36 +01:00
|
|
|
|
2022-01-22 19:26:52 +01:00
|
|
|
DISTNAME= lziprecover-1.23
|
2012-03-14 15:40:36 +01:00
|
|
|
CATEGORIES= archivers
|
lziprecover: update to 1.22.
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.
2021-02-01 11:48:26 +01:00
|
|
|
MASTER_SITES= https://download.savannah.gnu.org/releases/lzip/lziprecover/
|
2012-03-14 15:40:36 +01:00
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2020-01-19 00:29:55 +01:00
|
|
|
HOMEPAGE= https://www.nongnu.org/lzip/lziprecover.html
|
2012-03-14 15:40:36 +01:00
|
|
|
COMMENT= Recovery tool for lossless data compressor based on the LZMA algorithm
|
2015-01-04 11:45:22 +01:00
|
|
|
LICENSE= gnu-gpl-v2 # or later
|
2012-03-14 15:40:36 +01:00
|
|
|
|
|
|
|
USE_LANGUAGES= c++
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}
|
|
|
|
CONFIGURE_ARGS+= --infodir=${PREFIX}/${PKGINFODIR}
|
|
|
|
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
|
2017-08-18 22:45:15 +02:00
|
|
|
INFO_FILES= yes
|
lziprecover: updated to 1.21
Changes in version 1.21:
The options '--dump', '--remove' and '--strip' have been added, mainly as
support for the tarlz archive format: http://www.nongnu.org/lzip/tarlz.html
These options replace '--dump-tdata', '--remove-tdata' and '--strip-tdata',
which are now aliases and will be removed in version 1.22.
'--dump=[<member_list>][:damaged][:tdata]' dumps the members listed, the
damaged members (if any), or the trailing data (if any) of one or more
regular multimember files to standard output.
'--remove=[<member_list>][:damaged][:tdata]' removes the members listed,
the damaged members (if any), or the trailing data (if any) from regular
multimember files in place.
'--strip=[<member_list>][:damaged][:tdata]' copies one or more regular
multimember files to standard output, stripping the members listed, the
damaged members (if any), or the trailing data (if any) from each file.
Detection of forbidden combinations of characters in trailing data has been
improved.
'--split' can now detect trailing data and gaps between members, and save
each gap in its own file. Trailing data (if any) are saved alone in the last
file. (Gaps may contain garbage or may be members with corrupt headers or
trailers).
'--ignore-errors' now makes '--list' show gaps between members, ignoring
format errors.
'--ignore-errors' now makes '--range-decompress' ignore a truncated last
member.
Errors are now also checked when closing the input file in decompression
mode.
Some diagnostic messages have been improved.
'\n' is now printed instead of '\r' when showing progress of merge or repair
if stdout is not a terminal.
Lziprecover now compiles on DOS with DJGPP. (Patch from Robert Riebisch).
The new chapter 'Tarlz', explaining the ways in which lziprecover can
recover and process multimember tar.lz archives, has been added to the
manual.
The configure script now accepts appending options to CXXFLAGS using the
syntax 'CXXFLAGS+=OPTIONS'.
It has been documented in INSTALL the use of
CXXFLAGS+='-D __USE_MINGW_ANSI_STDIO' when compiling on MinGW.
2019-01-18 11:05:39 +01:00
|
|
|
TEST_TARGET= check
|
2017-08-18 22:45:15 +02:00
|
|
|
|
|
|
|
MAKE_FLAGS+= CXX=${CXX:Q}
|
|
|
|
MAKE_FLAGS+= CPPFLAGS=${CPPFLAGS:Q}
|
|
|
|
MAKE_FLAGS+= CXXFLAGS=${CXXFLAGS:Q}
|
|
|
|
MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
|
2012-03-14 15:40:36 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|