--- dar-2.7.8/ChangeLog 2022-11-29 12:48:25 +++ dar-2.7.8/ChangeLog 2023-03-26 16:55:22 @@ -1,3 +1,20 @@ +from 2.7.8 to 2.7.9 +- added sanity check in elastic buffer code upon Sviat89@github + feedback. +- fixed bug in block_compressor module found by sviat89 while reading + the code. Seen its context, it does not seem however to have much + chance to express and would lead dar/libdar to loop forever + consuming CPU. +- adding the misc/dar_static_builder_with_musl_voidlinux.bash script + which automatically builds dar_static from source code under + VoidLinux/musl +- fixing bug concerning the restoration in sequential read mode of a + backup containing binary patches +- fixed bug in tuyau_global class that lead to seeking at a wrong + in sequential read mode and the unability to properly rely on a + isolated catalogue to read (test/extract/diff) an backup in sequential + read mode, leading dar to report CRC error. + from 2.7.7 to 2.7.8 - adapted code to workaround clang 10.0.1 bug under FreeBSD 12 - updating code and man page about the way to solve the conflict of --- dar-2.7.8/Makefile.am 2022-11-29 12:48:19 +++ dar-2.7.8/Makefile.am 2023-03-26 16:55:17 @@ -1,6 +1,6 @@ ####################################################################### # dar - disk archive - a backup/restoration program -# Copyright (C) 2002-2022 Denis Corbin +# Copyright (C) 2002-2023 Denis Corbin # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License --- dar-2.7.8/Makefile.in 2022-11-29 12:48:25 +++ dar-2.7.8/Makefile.in 2023-03-26 16:55:21 @@ -16,7 +16,7 @@ ####################################################################### # dar - disk archive - a backup/restoration program -# Copyright (C) 2002-2022 Denis Corbin +# Copyright (C) 2002-2023 Denis Corbin # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License --- dar-2.7.8/THANKS 2022-11-28 22:17:32 +++ dar-2.7.8/THANKS 2023-03-26 16:43:34 @@ -1,3 +1,8 @@ +version 2.7.9 +------------- +Thanks to Sviat89@github for feedback, thanks to Jim Avera for feedback +and enhancement proposal and thanks to John Goerzen for bug report. + version 2.7.8 ------------- Thanks to Petr Skoda, Martin Michel and Igor Zabelin for --- dar-2.7.8/configure 2022-11-29 12:48:24 +++ dar-2.7.8/configure 2023-03-26 16:55:20 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for DAR 2.7.8. +# Generated by GNU Autoconf 2.69 for DAR 2.7.9. # # Report bugs to . # @@ -591,8 +591,8 @@ # Identity of this package. PACKAGE_NAME='DAR' PACKAGE_TARNAME='dar' -PACKAGE_VERSION='2.7.8' -PACKAGE_STRING='DAR 2.7.8' +PACKAGE_VERSION='2.7.9' +PACKAGE_STRING='DAR 2.7.9' PACKAGE_BUGREPORT='http://sourceforge.net/tracker/?group_id=65612&atid=511612' PACKAGE_URL='' @@ -1451,7 +1451,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures DAR 2.7.8 to adapt to many kinds of systems. +\`configure' configures DAR 2.7.9 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1522,7 +1522,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of DAR 2.7.8:";; + short | recursive ) echo "Configuration of DAR 2.7.9:";; esac cat <<\_ACEOF @@ -1741,7 +1741,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -DAR configure 2.7.8 +DAR configure 2.7.9 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2711,7 +2711,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by DAR $as_me 2.7.8, which was +It was created by DAR $as_me 2.7.9, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3072,7 +3072,7 @@ cat >>confdefs.h <<_ACEOF -#define DAR_VERSION "2.7.8" +#define DAR_VERSION "2.7.9" _ACEOF @@ -3586,7 +3586,7 @@ # Define the identity of the package. PACKAGE='dar' - VERSION='2.7.8' + VERSION='2.7.9' cat >>confdefs.h <<_ACEOF @@ -27208,13 +27208,13 @@ # Check whether --enable-libargon2-linking was given. if test "${enable_libargon2_linking+set}" = set; then : - enableval=$enable_libargon2_linking; explicit_argon2=yes + enableval=$enable_libargon2_linking; explicit_libargon2_linking=yes else - enable_argon2=yes + enable_libargon2_linking=yes fi -if test "x$enable_argon2" != "xyes" ; then : +if test "x$enable_libargon2_linking" != "xyes" ; then : { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libargon2 support has been disabled by user" >&5 $as_echo "$as_me: WARNING: libargon2 support has been disabled by user" >&2;} @@ -27396,7 +27396,13 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: result: not usable! See config.log for details" >&5 $as_echo "not usable! See config.log for details" >&6; } + if test "x$explicit_libargon2_linking" != "xno" ; then : + as_fn_error $? "libargon2 is missing to build libdar" "$LINENO" 5 + fi + + +fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi @@ -28360,7 +28366,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by DAR $as_me 2.7.8, which was +This file was extended by DAR $as_me 2.7.9, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -28426,7 +28432,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -DAR config.status 2.7.8 +DAR config.status 2.7.9 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" --- dar-2.7.8/configure.ac 2022-11-29 12:48:19 +++ dar-2.7.8/configure.ac 2023-03-26 16:55:17 @@ -1,6 +1,6 @@ ####################################################################### # dar - disk archive - a backup/restoration program -# Copyright (C) 2002-2022 Denis Corbin +# Copyright (C) 2002-2023 Denis Corbin # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -22,7 +22,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.69) -AC_INIT([DAR], [2.7.8], [[http://sourceforge.net/tracker/?group_id=65612&atid=511612]]) +AC_INIT([DAR], [2.7.9], [[http://sourceforge.net/tracker/?group_id=65612&atid=511612]]) AC_CONFIG_HEADERS([config.h]) AC_LANG([C++]) AC_CONFIG_SRCDIR([src/libdar/catalogue.cpp]) @@ -2010,11 +2010,11 @@ AC_ARG_ENABLE([libargon2-linking], AC_HELP_STRING(--disable-libargon2-linking, [avoid linking with libargon2 if available to prevent the argon2 hashing algorithm to be used]), - [explicit_argon2=yes], - [enable_argon2=yes]) + [explicit_libargon2_linking=yes], + [enable_libargon2_linking=yes]) AS_IF( - [ test "x$enable_argon2" != "xyes" ], + [ test "x$enable_libargon2_linking" != "xyes" ], [ AC_MSG_WARN([libargon2 support has been disabled by user]) local_argon2=no @@ -2061,6 +2061,11 @@ [ local_argon2=no AC_MSG_RESULT([not usable! See config.log for details]) + + AS_IF( [ test "x$explicit_libargon2_linking" != "xno" ], + [ AC_MSG_ERROR([libargon2 is missing to build libdar]) ] + ) + ], [ # if cross compiling --- dar-2.7.8/doc/Notes.html 2022-11-28 23:20:57 +++ dar-2.7.8/doc/Notes.html 2023-03-26 16:42:27 @@ -546,17 +546,17 @@

- More precisely aboutdelta signature + More precisely about delta signature combined with tape marks, there is additional fields present than just the delta sig and its CRC:

- +------+------+---------------+----------+--------+ - | base | sig | sig data | data CRC | result | - | CRC | size | (if size > 0) | if | CRC | - | | | | size > 0 | | - +------+------+---------------+----------+--------+ + +------+------+------+---------------+----------+--------+ + | base | sig | sig | sig data | data CRC | result | + | CRC | size | block| (if size > 0) | if | CRC | + | (*) | | len | | size > 0 | | + +------+------+------+---------------+----------+--------+