head 1.13; access; symbols pkgsrc-2023Q4:1.12.0.16 pkgsrc-2023Q4-base:1.12 pkgsrc-2023Q3:1.12.0.14 pkgsrc-2023Q3-base:1.12 pkgsrc-2023Q2:1.12.0.12 pkgsrc-2023Q2-base:1.12 pkgsrc-2023Q1:1.12.0.10 pkgsrc-2023Q1-base:1.12 pkgsrc-2022Q4:1.12.0.8 pkgsrc-2022Q4-base:1.12 pkgsrc-2022Q3:1.12.0.6 pkgsrc-2022Q3-base:1.12 pkgsrc-2022Q2:1.12.0.4 pkgsrc-2022Q2-base:1.12 pkgsrc-2022Q1:1.12.0.2 pkgsrc-2022Q1-base:1.12 pkgsrc-2021Q4:1.11.0.8 pkgsrc-2021Q4-base:1.11 pkgsrc-2021Q3:1.11.0.6 pkgsrc-2021Q3-base:1.11 pkgsrc-2021Q2:1.11.0.4 pkgsrc-2021Q2-base:1.11 pkgsrc-2021Q1:1.11.0.2 pkgsrc-2021Q1-base:1.11 pkgsrc-2020Q4:1.10.0.8 pkgsrc-2020Q4-base:1.10 pkgsrc-2020Q3:1.10.0.6 pkgsrc-2020Q3-base:1.10 pkgsrc-2020Q2:1.10.0.4 pkgsrc-2020Q2-base:1.10 pkgsrc-2020Q1:1.10.0.2 pkgsrc-2020Q1-base:1.10 pkgsrc-2019Q4:1.9.0.10 pkgsrc-2019Q4-base:1.9 pkgsrc-2019Q3:1.9.0.6 pkgsrc-2019Q3-base:1.9 pkgsrc-2019Q2:1.9.0.4 pkgsrc-2019Q2-base:1.9 pkgsrc-2019Q1:1.9.0.2 pkgsrc-2019Q1-base:1.9 pkgsrc-2018Q4:1.8.0.14 pkgsrc-2018Q4-base:1.8 pkgsrc-2018Q3:1.8.0.12 pkgsrc-2018Q3-base:1.8 pkgsrc-2018Q2:1.8.0.10 pkgsrc-2018Q2-base:1.8 pkgsrc-2018Q1:1.8.0.8 pkgsrc-2018Q1-base:1.8 pkgsrc-2017Q4:1.8.0.6 pkgsrc-2017Q4-base:1.8 pkgsrc-2017Q3:1.8.0.4 pkgsrc-2017Q3-base:1.8 pkgsrc-2017Q2:1.7.0.6 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.4 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.2 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.6.0.10 pkgsrc-2016Q3-base:1.6 pkgsrc-2016Q2:1.6.0.8 pkgsrc-2016Q2-base:1.6 pkgsrc-2016Q1:1.6.0.6 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.4 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.2 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.5.0.4 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.2 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.4.0.2 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.3.0.8 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.6 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.4 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.2 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.2.0.10 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.8 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.6 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.4 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.2 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.1.1.1.0.4 pkgsrc-2012Q2-base:1.1.1.1 pkgsrc-2012Q1:1.1.1.1.0.2 pkgsrc-2012Q1-base:1.1.1.1 pkgsrc-20120314:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.13 date 2024.02.14.21.42.38; author adam; state Exp; branches; next 1.12; commitid 3QQKy8Ct9ry9PrYE; 1.12 date 2022.01.22.18.26.52; author fcambus; state Exp; branches; next 1.11; commitid oPSZ666vswUGWEpD; 1.11 date 2021.02.01.10.48.26; author fcambus; state Exp; branches; next 1.10; commitid NJKmP9t1efTPOZFC; 1.10 date 2020.01.18.23.29.56; author rillig; state Exp; branches; next 1.9; commitid shGUwZfkr7sleeTB; 1.9 date 2019.01.18.10.05.39; author adam; state Exp; branches; next 1.8; commitid 2n7ixToEDJKUwf8B; 1.8 date 2017.08.18.20.45.15; author adam; state Exp; branches; next 1.7; commitid d2d6l0sNLAqHIJ3A; 1.7 date 2016.12.16.14.01.07; author mef; state Exp; branches; next 1.6; commitid 2EoQ5JLfkDdpldyz; 1.6 date 2015.07.26.12.17.47; author mef; state Exp; branches; next 1.5; commitid 6D5QsvaoFRtT8Nuy; 1.5 date 2015.01.04.10.45.22; author wiz; state Exp; branches; next 1.4; commitid KmvicyPX97M3aH4y; 1.4 date 2014.12.16.15.37.43; author mef; state Exp; branches; next 1.3; commitid yZW3Gqm5rC1hoh2y; 1.3 date 2013.10.09.20.35.10; author wiz; state Exp; branches; next 1.2; commitid OAoH3QPVvWhfXE8x; 1.2 date 2012.09.11.19.46.57; author asau; state Exp; branches; next 1.1; 1.1 date 2012.03.14.14.40.36; author wiz; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2012.03.14.14.40.36; author wiz; state Exp; branches; next ; desc @@ 1.13 log @lziprecover: updated to 1.24 * Version 1.24 released. * New options '--empty-error', '--marking-error', '--clear-marki * dump_remove.cc, main.cc: Accept 'empty' in --dump, --remove, - * main.cc: Rename '--repair' to '--byte-repair'. Rename '--debug-repair' to '--debug-byte-repair'. Reformat file diagnostics as 'PROGRAM: FILE: MESSAGE'. (show_option_error): New function showing argument and option (main): Make -o preserve date/mode/owner if 1 input file. (open_outstream): Create missing intermediate directories. * lzip.h: Rename verify_* to check_*. * repair.cc: Rename to byte_repair.cc. * unzcrash.cc: Rename '--no-verify' to '--no-check'. * configure, Makefile.in: New variable 'MAKEINFO'. * Makefile.in: Remove target 'install-as-lzip'; -e needs a real * testsuite: New test files test_3m.txt.lz.md5, fox6_mark.lz. @ text @# $NetBSD: Makefile,v 1.12 2022/01/22 18:26:52 fcambus Exp $ DISTNAME= lziprecover-1.24 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" @ 1.12 log @lziprecover: update to 1.23. 2022-01-21 Antonio Diaz Diaz * Version 1.23 released. * Decompression time has been reduced by 5-12% depending on the file. * main_common.cc (getnum): Show option name and valid range if error. * dump_remove.cc (dump_members): Check tty except for --dump=tdata. * Option '-U, --unzcrash' now takes an argument ('1' or 'B'). * mtester.cc (duplicate_buffer): Use an external buffer. * repair.cc (debug_decompress): Continue decoding on CRC mismatch. * unzcrash.cc: Make zcmp_command a string of unlimited size. Use execvp instead of popen to avoid invoking /bin/sh. Print byte or block position in messages. * New file common.h. * Improve several descriptions in manual, '--help', and man page. * lziprecover.texi: Change GNU Texinfo category to 'Compression'. (Reported by Alfred M. Szmidt). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2021/02/01 10:48:26 fcambus Exp $ d3 1 a3 1 DISTNAME= lziprecover-1.23 d14 1 a14 1 CONFIGURE_ARGS= --prefix=${PREFIX} @ 1.11 log @lziprecover: update to 1.22. 2021-01-02 Antonio Diaz Diaz * 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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2020/01/18 23:29:56 rillig Exp $ d3 1 a3 1 DISTNAME= lziprecover-1.22 @ 1.10 log @all: migrate several HOMEPAGEs to https pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2019/01/18 10:05:39 adam Exp $ d3 1 a3 1 DISTNAME= lziprecover-1.21 d5 1 a5 1 MASTER_SITES= http://download.savannah.gnu.org/releases/lzip/lziprecover/ @ 1.9 log @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=[][: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=[][:damaged][:tdata]' removes the members listed, the damaged members (if any), or the trailing data (if any) from regular multimember files in place. '--strip=[][: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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2017/08/18 20:45:15 adam Exp $ d8 1 a8 1 HOMEPAGE= http://www.nongnu.org/lzip/lziprecover.html @ 1.8 log @Changes in version 1.19: '--merge' is now able to fix files with thousands of scattered errors per member by grouping the errors into clusters and then merging the files as if each cluster were a single error. The option '-a, --trailing-error' now works with '-l, --list' and '-D, --range-decompress'. The output of option '-l, --list' has been simplified to make it easier to read. In test mode, lziprecover now continues checking the rest of the files if any input file is a terminal. Trailing data are now shown both in hexadecimal and as a string of printable ASCII characters. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2016/12/16 14:01:07 mef Exp $ d3 1 a3 1 DISTNAME= lziprecover-1.19 d18 1 @ 1.7 log @Updated archivers/lziprecover to 1.18 -------------------------------------- 2016-05-12 Antonio Diaz Diaz * Version 1.18 released. * main.cc: Added new option '-a, --trailing-error'. * merge.cc (open_input_files): Use CRC to test identical files. * repair.cc (repair_file): Detect gross damage before repairing. * repair.cc: Repair a damaged dictionary size in the header. * repair.cc: Try bytes at offsets 7 to 11 first. * Decompression time has been reduced by 2%. * main.cc (decompress): Print up to 6 bytes of trailing data when '-tvvvv' is specified. * decoder.cc (verify_trailer): Removed test of final code. * main.cc (main): Delete '--output' file if infd is a terminal. * main.cc (main): Don't use stdin more than once. * Use 'close_and_set_permissions' and 'set_signals' in all modes. * range_dec.cc (list_file): Show dictionary size and size of trailing data (if any) with '-lv'. * Added new option '-A, --alone-to-lz'. * Added new option '-W, --debug-decompress'. * Added new option '-X, --show-packets'. * Changed short name of option '--debug-delay' to '-Y'. * Changed short name of option '--debug-repair' to '-Z'. * unzcrash.cc: Added new option '-B, --block'. * unzcrash.cc: Added new option '-d, --delta'. * unzcrash.cc: Added new option '-t, --truncate'. * unzcrash.cc: Added new option '-z, --zcmp'. * unzcrash.cc: Read files as large as RAM allows. * unzcrash.cc: Compare output using zcmp if decompressor returns 0. * unzcrash.cc: Accept negative position and size. * lzip.texi: Added chapter 'Trailing data'. * configure: Avoid warning on some shells when testing for g++. * Makefile.in: Detect the existence of install-info. * testsuite/check.sh: Don't check error messages. * testsuite/check.sh: A POSIX shell is required to run the tests. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2015/07/26 12:17:47 mef Exp $ d3 1 a3 1 DISTNAME= lziprecover-1.18 d17 6 a22 1 INFO_FILES= YES @ 1.6 log @Update 1.16 to 1.17 ------------------- 2015-05-28 Antonio Diaz Diaz * Version 1.17 released. * New block selection algorithm makes merge up to 100 times faster. * repair.cc: Repair time has been reduced by 15%. * Added new option '-y, --debug-delay'. * Added new option '-z, --debug-repair'. * Makefile.in: Added new targets 'install*-compress'. * testsuite/unzcrash.cc: Moved to top directory. * lziprecover.texi: Added chapter 'File names'. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2015/01/04 10:45:22 wiz Exp $ d3 1 a3 1 DISTNAME= lziprecover-1.17 @ 1.5 log @Update to 1.16: Changes in version 1.16: Repairing of single-byte errors is now about 10 times faster depending on file size and position of error. Copying of file dates, permissions, and ownership now behaves like "cp -p". (If the user ID or the group ID can't be duplicated, the file permission bits S_ISUID and S_ISGID are cleared). Some minor improvements have been made. "lziprecover.texinfo" has been renamed to "lziprecover.texi". The license has been changed to GPL version 2 or later. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2014/12/16 15:37:43 mef Exp $ d3 1 a3 1 DISTNAME= lziprecover-1.16 @ 1.4 log @MASTER_SITES directory is one level down now. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2013/10/09 20:35:10 wiz Exp $ d3 1 a3 1 DISTNAME= lziprecover-1.15 d10 1 a10 1 LICENSE= gnu-gpl-v3 @ 1.3 log @Update to 1.15: Changes in version 1.15: Lziprecover can now repair multi-member files with up to one byte error per member, without having to split them first. Lziprecover can now merge multi-member files without having to split them first even if some copies have the header and the trailer damaged. The chapters "Repairing files", "Merging files" and "Unzcrash" have been added to the manual. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2012/09/11 19:46:57 asau Exp $ d5 1 a5 1 MASTER_SITES= http://download.savannah.gnu.org/releases/lzip/ @ 1.2 log @"user-destdir" is default these days @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2012/03/14 14:40:36 wiz Exp $ d3 1 a3 1 DISTNAME= lziprecover-1.13 @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ a11 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.1.1.1 log @Initial import of lziprecover-1.13: Lziprecover is a data recovery tool and decompressor for files in the lzip compressed data format (.lz) able to repair slightly damaged files, recover badly damaged files from two or more copies, extract undamaged members from multi-member files, decompress files and test integrity of files. Lziprecover is able to recover or decompress files produced by any of the compressors in the lzip family; lzip, plzip, minilzip/lzlib, clzip and pdlzip. This recovery capability contributes to make the lzip format one of the best options for long-term data archiving. Lziprecover is able to efficiently extract a range of bytes from a multi-member file, because it only decompresses the members containing the desired data. @ text @@