Hello community, here is the log from the commit of package dar for openSUSE:Factory checked in at 2020-08-18 12:01:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dar (Old) and /work/SRC/openSUSE:Factory/.dar.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dar" Tue Aug 18 12:01:24 2020 rev:45 rq:827495 version:2.6.10 Changes: -------- --- /work/SRC/openSUSE:Factory/dar/dar.changes 2020-04-16 23:01:28.175592220 +0200 +++ /work/SRC/openSUSE:Factory/.dar.new.3399/dar.changes 2020-08-18 12:03:06.991424072 +0200 @@ -1,0 +2,12 @@ +Mon Aug 17 12:33:57 UTC 2020 - Dirk Mueller <[email protected]> + +- update to 2.6.10: + - update the configure script to handle some undocumented --enable-* + options that existed but were not expected to be used. + - fixed spelling in darrc comments + - fixed bug in dar_split that could occur in very rare conditions + - fixed EA support build failure due to what seems to be a change + in Linux kernel header + - fixed symbol conflict with s_host of in.h on omniOS platform + +------------------------------------------------------------------- Old: ---- dar-2.6.9.tar.gz dar-2.6.9.tar.gz.sig New: ---- dar-2.6.10.tar.gz dar-2.6.10.tar.gz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dar.spec ++++++ --- /var/tmp/diff_new_pack.R4vTuz/_old 2020-08-18 12:03:08.243424243 +0200 +++ /var/tmp/diff_new_pack.R4vTuz/_new 2020-08-18 12:03:08.247424243 +0200 @@ -18,7 +18,7 @@ %define sover 6000 Name: dar -Version: 2.6.9 +Version: 2.6.10 Release: 0 Summary: Backup and Restore Application License: SUSE-GPL-2.0+-with-openssl-exception ++++++ dar-2.6.9.tar.gz -> dar-2.6.10.tar.gz ++++++ ++++ 2475 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dar-2.6.9/ChangeLog new/dar-2.6.10/ChangeLog --- old/dar-2.6.9/ChangeLog 2020-03-22 14:47:51.000000000 +0100 +++ new/dar-2.6.10/ChangeLog 2020-05-31 11:29:24.000000000 +0200 @@ -1,3 +1,12 @@ +from 2.6.9 to 2.6.10 +- update the configure script to handle some undocumented --enable-* + options that existed but were not expected to be used. +- fixed spelling in darrc comments +- fixed bug in dar_split that could occur in very rare conditions +- fixed EA support build failure due to what seems to be a change + in Linux kernel header +- fixed symbol conflict with s_host of in.h on omniOS platform + from 2.6.8 to 2.6.9 - fixed some obvious bug when running doxygen (inlined documentation) - fixing configure.ac to detect xattr.h system header when it is diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dar-2.6.9/THANKS new/dar-2.6.10/THANKS --- old/dar-2.6.9/THANKS 2020-03-21 22:38:54.000000000 +0100 +++ new/dar-2.6.10/THANKS 2020-05-31 11:16:05.000000000 +0200 @@ -1,3 +1,8 @@ +version 2.6.10 +-------------- +Thanks to Mihai Moldovan for simple typo and grammar fixes. Thanks +to Lars Wendler at Gentoo for feedback. + version 2.6.9 -------------- Thanks to albert-github at github.com for his pull request fixing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dar-2.6.9/configure.ac new/dar-2.6.10/configure.ac --- old/dar-2.6.9/configure.ac 2020-03-22 14:47:47.000000000 +0100 +++ new/dar-2.6.10/configure.ac 2020-05-31 11:29:20.000000000 +0200 @@ -22,7 +22,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.69) -AC_INIT([DAR], [2.6.9], [[http://sourceforge.net/tracker/?group_id=65612&atid=511612]]) +AC_INIT([DAR], [2.6.10], [[http://sourceforge.net/tracker/?group_id=65612&atid=511612]]) AC_CONFIG_HEADERS([config.h]) AC_LANG([C++]) AC_CONFIG_SRCDIR([src/libdar/catalogue.cpp]) @@ -55,7 +55,7 @@ # have a specific variable for pkgconfig, setting the default value: AC_SUBST(pkgconfigdir, [${libdir}/pkgconfig]) AC_ARG_WITH([pkgconfigdir], - AC_HELP_STRING(--with-pkgconfigdir=DIR, [defines an alternative directory to install pkconfig files, default is '${libdir}/pkgconfig']), + AS_HELP_STRING(--with-pkgconfigdir=DIR, [defines an alternative directory to install pkconfig files, default is '${libdir}/pkgconfig']), [ if [ ! -z "$withval" ] ; then AC_SUBST(pkgconfigdir, $withval) @@ -120,8 +120,12 @@ AC_ARG_ENABLE( [libdl-linking], - AC_HELP_STRING(--disable-libdl-linking, [ignore any libdl and avoid linking against it]), - [], + AS_HELP_STRING(--disable-libdl-linking, [ignore any libdl and avoid linking against it]), + [ + AS_IF([test "x$enable_libdl_linking" != "xno"], + [AC_MSG_ERROR([invalid argument given to --disable-libdl-linking])] + ) + ], [ AC_CHECK_LIB(dl, [dlsym], [], []) ]) @@ -439,10 +443,14 @@ # DAR's features AC_ARG_ENABLE( [libz-linking], - AC_HELP_STRING(--disable-libz-linking, [disable linking with libz and disable libz compression support]), + AS_HELP_STRING(--disable-libz-linking, [disable linking with libz and disable libz compression support]), + [explicit_libz_linking=yes], + [enable_libz_linking=yes]) + +AS_IF( [test "x$enable_libz_linking" != "xyes"], [ - AC_MSG_WARN([libz compression support has been disabled by user]) - local_libz="no" + AC_MSG_WARN([libz compression support has been disabled by user]) + local_libz="no" ], [ AC_CHECK_LIB(z, [deflate], [], [AC_MSG_WARN([library zlib not found])]) @@ -468,24 +476,32 @@ else AC_MSG_WARN([libz compression support not available]) fi + + AS_IF( [ test "x$explicit_libz_linking" = "xyes" -a "$local_libz" != "yes" ], + [ AC_MSG_ERROR([libz linking failed]) ] + ) ] - ) + ) + +AC_ARG_ENABLE([libbz2-linking], + AS_HELP_STRING(--disable-libbz2-linking, [disable linking with libbz2 and disables libbz2 compression support]), + [explicit_libbz2_linking=yes], + [enable_libbz2_linking=yes]) -AC_ARG_ENABLE( [libbz2-linking], - AC_HELP_STRING(--disable-libbz2-linking, [disable linking with libbz2 and disables libbz2 compression support]), +AS_IF( [test "x$enable_libbz2_linking" != "xyes"], [ - AC_MSG_WARN([libbz2 compression support has been disabled by user]) - local_libbz2="no" + AC_MSG_WARN([libbz2 compression support has been disabled by user]) + local_libbz2="no" ], [ - AC_CHECK_LIB(bz2, [BZ2_bzCompress], [], [AC_MSG_WARN([library libbz2 not found])]) - AC_CHECK_HEADER(bzlib.h, [local_libbz2="yes" + AC_CHECK_LIB(bz2, [BZ2_bzCompress], [], [AC_MSG_WARN([library libbz2 not found])]) + AC_CHECK_HEADER(bzlib.h, [local_libbz2="yes" AC_DEFINE(HAVE_BZLIB_H, 1, [bzlib.h header file is available]) ], [AC_MSG_WARN([Cannot find bzlib.h header file]) local_libbz2="no" ]) - if test "$local_libbz2" = "yes" ; then + if test "$local_libbz2" = "yes" ; then AC_LINK_IFELSE([AC_LANG_PROGRAM([[ extern "C" { #if HAVE_BZLIB_H #include <bzlib.h> @@ -498,16 +514,26 @@ ], [ AC_DEFINE(LIBBZ2_AVAILABLE, 1, [header and linking is available to have libbz2 functions])], [ local_libbz2="no" ]) - else - AC_MSG_WARN([libbz2 compression support not available]) - fi - ]) + else + AC_MSG_WARN([libbz2 compression support not available]) + fi + + AS_IF( [ test "x$explicit_libbz2_linking" = "xyes" -a "$local_libbz2" != "yes" ], + [ AC_MSG_ERROR([libbz2 linking failed]) ] + ) + ] + ) AC_ARG_ENABLE( [liblzo2-linking], - AC_HELP_STRING(--disable-liblzo2-linking, [disable linking with liblzo2 and disables lzo compression support]), + AS_HELP_STRING(--disable-liblzo2-linking, [disable linking with liblzo2 and disables lzo compression support]), + [explicit_liblzo2_linking=yes], + [enable_liblzo2_linking=yes] + ) + +AS_IF( [test "x$enable_liblzo2_linking" != "xyes"], [ - AC_MSG_WARN([lzo compression support has been disabled by user]) - local_liblzo2="no" + AC_MSG_WARN([lzo compression support has been disabled by user]) + local_liblzo2="no" ], [ AC_CHECK_LIB(lzo2, [lzo1x_1_compress], [], [AC_MSG_WARN([library liblzo2 not found])]) @@ -530,15 +556,24 @@ [ AC_DEFINE(LIBLZO2_AVAILABLE, 1, [header and linking is available to have lzo functions])], [ local_liblzo2="no" ]) else - AC_MSG_WARN([lzo compression support not available]) + AC_MSG_WARN([lzo compression support not available]) fi - ]) + + AS_IF( [ test "x$explicit_liblzo2_linking" = "xyes" -a "$local_liblzo2" != "yes" ], + [ AC_MSG_ERROR([liblzo linking failed]) ] + ) + ] + ) AC_ARG_ENABLE( [libxz-linking], - AC_HELP_STRING(--disable-libxz-linking, [disable linking with libxz/liblzma and disable libxz compression support]), - [ - AC_MSG_WARN([libxz compression support has been disabled by user]) - local_libxz="no" + AS_HELP_STRING(--disable-libxz-linking, [disable linking with libxz/liblzma and disable libxz compression support]), + [explicit_libxz_linking=yes], + [enable_libxz_linking=yes] + ) + +AS_IF( [test "x$enable_libxz_linking" != "xyes"], + AC_MSG_WARN([libxz compression support has been disabled by user]) + local_libxz="no" ], [ AC_CHECK_LIB(lzma, [lzma_code], [], [AC_MSG_WARN([library liblzma not found])]) @@ -566,15 +601,23 @@ else AC_MSG_WARN([libxz compression support not available]) fi + + AS_IF( [ test "x$explicit_libxz_linking" = "xyes" -a "$local_libxz" != "yes" ], + [ AC_MSG_ERROR([libxz linking failed]) ] + ) ] - ) + ) AC_ARG_ENABLE( [libgcrypt-linking], - AC_HELP_STRING(--disable-libgcrypt-linking, [disable linking with libgcrypt which disables strong encryption support]), + AS_HELP_STRING(--disable-libgcrypt-linking, [disable linking with libgcrypt which disables strong encryption support]), + [explicit_libgcrypt_linking=yes], + [enable_libgcrypt_linking=yes]) + +AS_IF( [test "x$enable_libgcrypt_linking" != "xyes"], [ - AC_MSG_WARN([strong encryption support has been disabled by user]) - local_crypto="no" + AC_MSG_WARN([strong encryption support has been disabled by user]) + local_crypto="no" ], [ AC_CHECK_LIB(gpg-error, [gpg_err_init], [], []) @@ -640,13 +683,24 @@ else AC_MSG_WARN([strong encryption support not available]) fi - ]) + + AS_IF( [ test "x$explicit_libgcrypt_linking" = "xyes" -a "$local_crypto" != "yes" ], + [ AC_MSG_ERROR([ligcrypt linking failed]) ] + ) + ] + ) AC_ARG_ENABLE( [ea-support], - AC_HELP_STRING(--disable-ea-support,[disable Extended Attributes support]), - [ AC_MSG_CHECKING([for Extended Attribute support]) + AS_HELP_STRING(--disable-ea-support,[disable Extended Attributes support]), + [explicit_ea_support=yes], + [enable_ea_support=yes]) + +AS_IF( [test "x$enable_ea_support" != "xyes"], + [ + AC_MSG_CHECKING([for Extended Attribute support]) AC_MSG_RESULT([disabled]) + local_ea_support="no" ], [ AC_CHECK_HEADERS([attr/xattr.h sys/xattr.h]) AC_CHECK_LIB(attr, [lgetxattr], [], []) @@ -655,12 +709,12 @@ #if HAVE_SYS_TYPES_H #include <sys/types.h> #endif - #if HAVE_ATTR_XATTR_H + #if HAVE_ATTR_XATTR_H && ! HAVE_SYS_XATTR_H #include <attr/xattr.h> #endif - #if HAVE_SYS_XATTR_H - #include <sys/xattr.h> - #endif + #if HAVE_SYS_XATTR_H + #include <sys/xattr.h> + #endif }]], [ lgetxattr((char *)0, (char *)0, (void *)0, 0); ]) ], @@ -687,14 +741,24 @@ local_ea_support="yes" AC_MSG_RESULT([yes]) ], - [ AC_MSG_RESULT([no]) ]) + [ + local_ea_support="no" + AC_MSG_RESULT([no]) + ]) ]) + AS_IF( [ test "x$explicit_ea_support" = "xyes" -a "$local_ea_support" != "yes" ], + [ AC_MSG_ERROR([Failed finding Extended Attribute support]) ] + ) ] - ) + ) AC_MSG_CHECKING([ext2fs.h availability]) AC_ARG_ENABLE( [nodump-flag], - AC_HELP_STRING(--disable-nodump-flag, [disable the ext2/3/4 Filesystem Specific Attribute support, in particular the --nodump feature]), + AS_HELP_STRING(--disable-nodump-flag, [disable the ext2/3/4 Filesystem Specific Attribute support, in particular the --nodump feature]), + [explicit_nodump_flag=yes], + [enable_nodump_flag=yes]) + +AS_IF( [test "x$enable_nodump_flag" != "xyes"], [AC_MSG_RESULT([extX FSA disabled])], [AC_LINK_IFELSE([AC_LANG_PROGRAM([[extern "C" { #include <ext2fs/ext2_fs.h> @@ -724,15 +788,23 @@ ], [ AC_MSG_RESULT([NOT FOUND]) + local_nodump_feature="no" AC_MSG_WARN([cannot find ext2_fs.h header file, nodump-flag and extX FSA features will not be available]) ]) ]) - - ]) + AS_IF( [ test "x$explicit_nodump_flag" = "xyes" -a "$local_nodump_feature" != "yes" ], + [ AC_MSG_ERROR([Failed activating nodump feature]) ] + ) + ] + ) AC_MSG_CHECKING([birth time availability]) AC_ARG_ENABLE( [birthtime], - AC_HELP_STRING(--disable-birthtime, [disable the HFS+ Filesystem Specific Attribute support]), + AS_HELP_STRING(--disable-birthtime, [disable the HFS+ Filesystem Specific Attribute support]), + [explicit_birthtime=yes], + [enable_birthtime=yes]) + +AS_IF( [test "x$enable_birthtime" != "xyes"], [AC_MSG_RESULT([hfs+ FSA disabled])], [AC_LINK_IFELSE([AC_LANG_PROGRAM([[ extern "C" { @@ -761,20 +833,38 @@ AC_MSG_RESULT([NOT FOUND]) AC_MSG_WARN([Cannot find support for birthtime, HFS+ FSA support will not be available]) ]) - ]) + AS_IF( [ test "x$explicit_birthtime" = "xyes" -a "$local_birthtime" != "yes" ], + [ AC_MSG_ERROR([birth time support not available]) ] + ) + ] + ) AC_ARG_ENABLE( [gnugetopt], - AC_HELP_STRING(--disable-gnugetopt, [avoid linking with libgnugetopt]), - [], - AC_CHECK_LIB(gnugetopt, [getopt_long], [], []) - ) + AS_HELP_STRING(--disable-gnugetopt, [avoid linking with libgnugetopt]), + [explicit_gnugetopt=yes], + [enable_gnugetopt=yes]) +AS_IF( [test "x$enable_gnugetopt" != "xyes"], + [], + AC_CHECK_LIB(gnugetopt, + [getopt_long], + [], + [ + AS_IF( [ test "x$explicit_gnugetopt" = "xyes"], + [ AC_MSG_ERROR([gnugetopt linking failed]) ] + ) + ]) + ) AC_ARG_ENABLE( [librsync-linking], - AC_HELP_STRING(--disable-librsync-linking, [disable linking with librsync and disable delta compression support]), + AS_HELP_STRING(--disable-librsync-linking, [disable linking with librsync and disable delta compression support]), + [explicit_librsync_linking=yes], + [enable_librsync_linking=yes]) + +AS_IF( [test "x$enable_librsync_linking" != "xyes"], [ - AC_MSG_WARN([librsync delta-compression support has been disabled by user]) - local_librsync="no" + AC_MSG_WARN([librsync delta-compression support has been disabled by user]) + local_librsync="no" ], [ AC_CHECK_LIB(rsync, [rs_strerror], [], [AC_MSG_WARN([librsync library not found])]) @@ -801,12 +891,23 @@ else AC_MSG_WARN([librsync compression support not available]) fi + + AS_IF( [ test "x$explicit_librsync_linking" = "xyes" -a "$local_librsync" != "yes" ], + [ AC_MSG_ERROR([librsync linking failed]) ] + ) ] - ) + ) AC_ARG_ENABLE( [libcurl-linking], - AC_HELP_STRING(--disable-libcurl-linking, [ignore libcurl and avoid linking against it]), - [ local_libcurl="no" ], + AS_HELP_STRING(--disable-libcurl-linking, [ignore libcurl and avoid linking against it]), + [explicit_libcurl_linking=yes], + [enable_libcurl_linking=yes]) + +AS_IF( [test "x$enable_libcurl_linking" != "xyes"], + [ + AC_MSG_WARN([libcurl and thus remote repository support has been disabled by user]) + local_libcurl="no" + ], [ PKG_CHECK_EXISTS(libcurl, [ PKG_CHECK_MODULES(LIBCURL, libcurl, [], [AC_MSG_ERROR([libcurl not found, but reported to exist !?!])]) @@ -814,7 +915,7 @@ ], [ AC_CHECK_LIB(curl, [curl_global_init], [], [AC_MSG_WARN([libcurl library not found])]) - AC_DEFINE(HAVE_LIBCURL, 1, [Libcurl library availability]) + AC_DEFINE(HAVE_LIBCURL, 1, [Libcurl library availability]) ]) CPPFLAGS__cache="$CFLAGS" @@ -851,11 +952,19 @@ LIBS="$LIBS___cache" unset CPPFLAGS___cache unset LIBS___cache - ]) + AS_IF( [ test "x$explicit_libcurl_linking" = "xyes" -a "$local_libcurl" != "yes" ], + [ AC_MSG_ERROR([libcurl linking failed]) ] + ) + ] + ) AC_ARG_ENABLE( [fadvise], - AC_HELP_STRING(--disable-fadvise, [avoid using fadvise(2) system call]), - [], + AS_HELP_STRING(--disable-fadvise, [avoid using fadvise(2) system call]), + [explicit_fadvise=yes], + [enable_fadvise=yes]) + +AS_IF( [test "x$enable_fadvise" != "xyes"], + [ AC_MSG_WARN([avoiding the use of fadvise(2) system call, per user request])], [ AC_MSG_CHECKING([for posix_fadvise support]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[extern "C" { @@ -870,10 +979,15 @@ local_posix_fadvise="yes" AC_MSG_RESULT(available) ], - [ AC_MSG_RESULT([not available]) ] + [ + AC_MSG_RESULT([not available]) + AS_IF( [ test "x$explicit_fadvise" = "xyes" ], + [ AC_MSG_ERROR([fadvise not available]) ] + ) + ] ) ] - ) + ) AC_MSG_CHECKING([for getopt() availability]); AC_LINK_IFELSE([AC_LANG_PROGRAM([[extern "C" { @@ -917,12 +1031,17 @@ AC_ARG_ENABLE( [examples], - AC_HELP_STRING(--enable-examples, [buld example and testing programs]), - [examples="yes"], + AS_HELP_STRING(--enable-examples, [buld example and testing programs]), + [ + AS_IF([ test "x$enable_examples" != "xyes" ], + [ AC_MSG_ERROR([invalid argument given to --enable-examples]) ] + ) + examples="yes" + ], [examples="false"]) AC_ARG_ENABLE( [os-bits], - AC_HELP_STRING(--enable-os-bits=arg, [arg is 32 or 64. If for some reason, one wants to overcome detected system value]), + AS_HELP_STRING(--enable-os-bits=arg, [arg is 32 or 64. If for some reason, one wants to overcome detected system value]), [AC_DEFINE_UNQUOTED(OS_BITS, $enableval, [manually set CPU's registers' size])], [ AC_CHECK_HEADER(inttypes.h, @@ -945,19 +1064,24 @@ ) AC_ARG_ENABLE( [mode], - AC_HELP_STRING(--enable-mode=arg, [where arg is either 32 or infinint. Makes dar internally use 32 bits or limitless integers in place of 64 bits integers (which is the case if this option is not given)]), + AS_HELP_STRING(--enable-mode=arg, [where arg is either 32 or infinint. Makes dar internally use 32 bits or limitless integers in place of 64 bits integers (which is the case if this option is not given)]), [ - build_mode=$enableval + build_mode=$enableval if test "$build_mode" != "32" -a "$build_mode" != "64" -a "$build_mode" != "infinint" ; then - AC_MSG_ERROR([Invalid argument given to --enable-mode option]) - fi + AC_MSG_ERROR([Invalid argument given to --enable-mode option]) + fi ], [build_mode=64]) AC_ARG_ENABLE( [furtive-read], - AC_HELP_STRING(--disable-furtive-read, + AS_HELP_STRING(--disable-furtive-read, [Ignore furtive read mode availability on systems that support it]), - [ local_furtive_read_mode="no" + [explicit_furtive_read=yes], + [enable_furtive_read=yes]) + +AS_IF( [test "x$enable_furtive_read" != "xyes"], + [ + local_furtive_read_mode="no" AC_MSG_WARN([Furtive read mode disabled]) ], [ AC_MSG_CHECKING([furtive read mode availability]) @@ -993,14 +1117,20 @@ [ AC_MSG_RESULT(no available) local_furtive_read_mode="no" ]) + AS_IF( [ test "x$explicit_furtive_read" = "xyes" -a "$local_furtive_read_mode" != "yes" ], + [ AC_MSG_ERROR([furtive read mode not available]) ] + ) ] - ) - + ) AC_ARG_ENABLE( [debug], - AC_HELP_STRING(--enable-debug, [build targets with debugging option and no optimization]), + AS_HELP_STRING(--enable-debug, [build targets with debugging option and no optimization]), [ + AS_IF([ test "x$enable_debug" != "xyes" ], + [ AC_MSG_ERROR([invalid argument given to --enable-debug]) ] + ) + CXXFLAGS="-g -Wall" CFLAGS="-g -Wall" LDFLAGS="-g -Wall" @@ -1013,16 +1143,26 @@ AC_ARG_ENABLE( [pedantic], - AC_HELP_STRING(--enable-pedantic, [enable pedantic syntaxical check at compilation, use only for debugging purposes !]), + AS_HELP_STRING(--enable-pedantic, [enable pedantic syntaxical check at compilation, use only for debugging purposes !]), [ + AS_IF([ test "x$enable_pedantic" != "xyes" ], + [ AC_MSG_ERROR([invalid argument given to --enable-pedantic]) ] + ) + CXXFLAGS="$CXXFLAGS -pedantic -Wno-long-long" ], []) AC_ARG_ENABLE( [build-html], - AC_HELP_STRING(--disable-build-html, [don't build programming documentation (in particular libdar API documentation) and html man page]), - [ doxygen="no" + AS_HELP_STRING(--disable-build-html, [don't build programming documentation (in particular libdar API documentation) and html man page]), + [explicit_build_html=yes], + [enable_build_html=yes]) + +AS_IF( [ test "x$enable_build_html" != "xyes"], + [ + AC_MSG_WARN([documentation no built per user request]) + doxygen="no" groff="no" ], [ AC_CHECK_PROG(doxygen, doxygen, [yes], [no], [$PATH]) @@ -1038,28 +1178,45 @@ fi fi AC_CHECK_PROG(dot, dot, [YES], [NO], [$PATH]) + # upper case value for dot variable because it goes as is into doxyfile file + AC_CHECK_PROG(tmp, man, [yes], [no], [$PATH]) if test "$tmp" = "yes" ; then AC_CHECK_PROG(groff, groff, [yes], [no], [$PATH]) else groff = "no"; fi + AS_IF( [ test "x$explicit_build_html" = "xyes" -a \( "$doxygen" != "yes" -o "$groff" != "yes" \) ], + [ AC_MSG_ERROR([lacking prerequisit to build documentation]) ] + ) ] - ) + ) AC_ARG_ENABLE( [upx], - AC_HELP_STRING(--disable-upx, [by default configure looks for UPX and if available make executables compressed at installation time, you can disable this feature]), - [ AC_MSG_NOTICE([ignoring UPX]) + AS_HELP_STRING(--disable-upx, [by default configure looks for UPX and if available make executables compressed at installation time, you can disable this feature]), + [explicit_upx=yes], + [enable_upx=yes]) + +AS_IF( [ test "x$enable_upx" != "xyes" ], + [ + AC_MSG_NOTICE([ignoring UPX]) upx="no" ], [ AC_CHECK_PROG(upx, upx, [yes], [no], [$PATH]) + AS_IF( [ test "x$explicit_upx" = "xyes" -a "$upx" != "yes" ], + [ AC_MSG_ERROR([upx is missing]) ] + ) ] ) AC_ARG_ENABLE( [fast-dir], - AC_HELP_STRING(--disable-fast-dir, [disable optimization for large directories, doing so has a little positive impact on memory requirement but a huge drawback on execution time]), - [], + AS_HELP_STRING(--disable-fast-dir, [disable optimization for large directories, doing so has a little positive impact on memory requirement but a huge drawback on execution time]), + [ + AS_IF([ test "x$enable_fast_dir" != "xno" ], + [ AC_MSG_ERROR([invalid argument given to --disable-fast_dir]) ] + ) + ], [AC_DEFINE(LIBDAR_FAST_DIR, 1, [activation of speed optimization for large directories]) local_fast_dir="yes" ] @@ -1067,7 +1224,11 @@ AC_ARG_ENABLE( [gpgme-linking], - AC_HELP_STRING(--disable-gpgme-linking, [disable linking with gpgme which disables asymetric crypto algorithms]), + AS_HELP_STRING(--disable-gpgme-linking, [disable linking with gpgme which disables asymetric crypto algorithms]), + [explicit_gpgme_linking=yes], + [enable_gpgme_linking=yes]) + +AS_IF( [ test "x$enable_gpgme_linking" != "xyes" ], [ AC_MSG_WARN([asymetrical encryption support has been disabled by user]) local_gpgme="no" @@ -1119,13 +1280,20 @@ else AC_MSG_WARN([Public key support (GPGME linking) requires libgcrypt (strong encryption support)]) fi + + AS_IF( [ test "x$explicit_gpgme_linking" = "xyes" -a "$local_gpgme" != "yes" ], + [ AC_MSG_ERROR([gpgme linking failed]) ] + ) ] - ) + ) AC_ARG_ENABLE( [thread-safe], - AC_HELP_STRING(--disable-thread-safe, [libdar is thread safe if POSIX mutex are available, you can manually disable the use of POSIX mutex, the resulting libdar library will not be thread-safe anymore]), - [ AC_MSG_NOTICE([thread-safe support disabled]) - ], + AS_HELP_STRING(--disable-thread-safe, [libdar is thread safe if POSIX mutex are available, you can manually disable the use of POSIX mutex, the resulting libdar library will not be thread-safe anymore]), + [explicit_thread_safe=yes], + [enable_thread_safe=yes]) + +AS_IF( [ test "x$enable_thread_safe" != "xyes" ], + [ AC_MSG_NOTICE([thread-safe support disabled])], [ AC_CHECK_LIB(pthread, [pthread_mutex_init], [], []) AC_MSG_CHECKING([for POSIX mutex]) AC_LINK_IFELSE([AC_LANG_PROGRAM([[extern "C" { @@ -1195,18 +1363,25 @@ [AC_MSG_RESULT([all could be found])], [ AC_DEFINE(MISSING_REENTRANT_LIBCALL, 1, [Some *_r() stdlib call are missing to permit complete thread-safe support by libdar]) - local_missing_reentrant_libcal="yes" + local_mutex="no" AC_MSG_RESULT([some are missing]) ] ) + AS_IF( [ test "x$explicit_thread_safe" = "xyes" -a "$local_mutex" != "yes" ], + [ AC_MSG_ERROR([thread safe support not available]) ] + ) ] - ) + ) AC_ARG_ENABLE( [execinfo], - AC_HELP_STRING(--disable-execinfo, [disable reporting stack information on self diagnostic bugs even]), - [AC_MSG_WARN([ignoring execinfo even if available])], - [ + AS_HELP_STRING(--disable-execinfo, [disable reporting stack information on self diagnostic bugs even]), + [explicit_execinfo=yes], + [enable_execinfo=yes]) + +AS_IF( [ test "x$enable_execinfo" != "xyes" ], + [ AC_MSG_WARN([ignoring execinfo even if available]) ], + [ AC_CHECK_HEADERS([execinfo.h]) AC_CHECK_LIB(execinfo, [backtrace], [], []) AC_MSG_CHECKING([for backtrace() usability]) @@ -1224,30 +1399,53 @@ [ AC_DEFINE(BACKTRACE_AVAILABLE, 1, [backtrace() call supported]) AC_MSG_RESULT(yes) ], - [ AC_MSG_RESULT(no) ]) - ] - ) + [ + AC_MSG_RESULT(no) + AS_IF( [ test "x$explicit_execinfo" = "xyes" ], + [ AC_MSG_ERROR([execinfo not found]) ] + ) + ]) + ] + ) AC_ARG_ENABLE( [profiling], - AC_HELP_STRING(--enable-profiling, [enable executable profiling]), - [ profiling="yes" ]) + AS_HELP_STRING(--enable-profiling, [enable executable profiling]), + [ + AS_IF([ test "x$enable_profiling" != "xyes" ], + [ AC_MSG_ERROR([invalid argument given to --enable-profiling]) ] + ) + profiling="yes" + ]) AC_ARG_ENABLE( [debug-memory], - AC_HELP_STRING(--enable-debug-memory, [log memory allocations and releases to /tmp/dar_debug_mem_allocation.txt this debugging option lead to a slow executable]), - [AC_DEFINE(LIBDAR_DEBUG_MEMORY, 1, [if defined, builds a very slow executable])]) + AS_HELP_STRING(--enable-debug-memory, [log memory allocations and releases to /tmp/dar_debug_mem_allocation.txt this debugging option lead to a slow executable]), + [ + AS_IF([ test "x$enable_debug_memory" != "xyes" ], + [ AC_MSG_ERROR([invalid argument given to --enable-debug-memory]) ] + ) + AC_DEFINE(LIBDAR_DEBUG_MEMORY, 1, [if defined, builds a very slow executable + ])]) AC_ARG_ENABLE( [dar-static], - AC_HELP_STRING(--disable-dar-static, [avoids building dar_static, a dar statically linked version]), - [build_static="no"], + AS_HELP_STRING(--disable-dar-static, [avoids building dar_static, a dar statically linked version]), + [ + explicit_dar_static=yes + AS_IF([ test "x$enable_dar_static" != "xyes" ], + [ build_static="no" ], + [ build_static="yes" ]) + ], [build_static="yes"]) - AC_ARG_ENABLE( [threadar], - AC_HELP_STRING(--disable-threadar, [avoid linking with libthreadar if available to prevent the use several threads inside libdar]), - [], - [ + AS_HELP_STRING(--disable-threadar, [avoid linking with libthreadar if available to prevent the use several threads inside libdar]), + [explicit_threadar=yes], + [enable_threadar=yes]) + +AS_IF( [ test "x$enable_threadar" != "xyes" ], + [ AC_MSG_WARN([libthreadar support has been disabled by user]) ], + [ PKG_CHECK_EXISTS(libthreadar, [ PKG_CHECK_MODULES(LIBTHREADAR, libthreadar, [], [AC_MSG_ERROR([libthreadar not found, but reported to exist !?!])]) @@ -1310,7 +1508,11 @@ unset CXXFLAGS__cache LIBS="$LIBS__cache" unset LIBS__cache - ]) + AS_IF( [ test "x$explicit_threadar" = "xyes" -a "$local_threadar" != "yes" ], + [ AC_MSG_ERROR([libthreadar linking failed]) ] + ) + ] + ) CPPFLAGS__cache="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $GPGME_CFLAGS $LIBCURL_CFLAGS $LIBTHREADAR_CFLAGS $CXXSTDFLAGS" @@ -1344,7 +1546,7 @@ #include <stdio.h> #include <librsync.h> #endif - #if HAVE_ZLIB_H + #if HAVE_ZLIB_H #include <zlib.h> #endif #if HAVE_BZLIB_H @@ -1376,12 +1578,12 @@ if(symbols != 0) free(symbols); - printf("testing execinfo info in static linked mode..."); + printf("testing execinfo info in static linked mode..."); #endif #if MUTEX_WORKS - if(1) - { + if(1) + { pthread_mutex_t test; if(pthread_mutex_init(&test, NULL) == 0) { @@ -1389,81 +1591,81 @@ pthread_mutex_unlock(&test); } pthread_mutex_destroy(&test); - printf("testing mutex availability in static linked mode..."); - } + printf("testing mutex availability in static linked mode..."); + } #endif #if LIBRSYNC_AVAILABLE - if(1) - { - rs_result err = RS_DONE; + if(1) + { + rs_result err = RS_DONE; (void) rs_strerror(err); - printf("testing librsync availability in static linked mode..."); - } + printf("testing librsync availability in static linked mode..."); + } #endif #if LIBZ_AVAILABLE - if(1) - { - z_stream *ptr = (z_stream *)0; + if(1) + { + z_stream *ptr = (z_stream *)0; deflate(ptr, 0); - printf("testing libz availability in static linked mode..."); - } + printf("testing libz availability in static linked mode..."); + } #endif #if LIBBZ2_AVAILABLE - if(1) - { + if(1) + { bz_stream *ptr = (bz_stream *)0; - BZ2_bzCompress(ptr, 0); - printf("testing libbz2 availability in static linked mode..."); - } + BZ2_bzCompress(ptr, 0); + printf("testing libbz2 availability in static linked mode..."); + } #endif #if LIBLZO2_AVAILABLE - if(1) - { - int x; - printf("testing liblzo2 availability in static linked mode..."); - x = lzo1x_1_compress(0, 0, 0, 0, 0); - } - #endif - - #if LIBLZMA_AVAILABLE - if(1) - { - lzma_stream ptr = LZMA_STREAM_INIT; + if(1) + { + int x; + printf("testing liblzo2 availability in static linked mode..."); + x = lzo1x_1_compress(0, 0, 0, 0, 0); + } + #endif + + #if LIBLZMA_AVAILABLE + if(1) + { + lzma_stream ptr = LZMA_STREAM_INIT; lzma_ret tmp = lzma_easy_encoder(&ptr, 2, LZMA_CHECK_CRC32); - printf("testing libxz/lzma availability in static linked mode..."); + printf("testing libxz/lzma availability in static linked mode..."); } - #endif + #endif - #if CRYPTO_AVAILABLE - printf("testing gcrypt availability in static linked mode..."); - if(!gcry_check_version(MIN_VERSION_GCRYPT)) - { + #if CRYPTO_AVAILABLE + printf("testing gcrypt availability in static linked mode..."); + if(!gcry_check_version(MIN_VERSION_GCRYPT)) + { printf("ligcrypt version too low"); exit(1); } else exit(0); - #endif + #endif - #if LIBCURL_AVAILABLE - printf("testing librsync availability in static linked mode..."); + #if LIBCURL_AVAILABLE + printf("testing librsync availability in static linked mode..."); (void) curl_global_init(CURL_GLOBAL_ALL); - #endif + #endif - #if GPGME_SUPPORT - if(1) - { + #if GPGME_SUPPORT + if(1) + { gpgme_ctx_t context; gpgme_error_t err = gpgme_new(&context); gpgme_release(context); } - #endif + #endif return 0; ]]) @@ -1475,6 +1677,9 @@ [ AC_MSG_RESULT([failed]) static_pb="yes" + AS_IF( [ test "x$explicit_dar_static" = "xyes" -a "$build_static" = "yes" ], + [ AC_MSG_ERROR([Cannot build dar-static on this system, check config.log]) ] + ) ]) CPPFLAGS="$CPPFLAGS__cache" unset CPPFLAGS__cache @@ -1486,34 +1691,44 @@ unset LIBS__cache AC_ARG_ENABLE( [python-binding], - AC_HELP_STRING(--disable-python-binding, [ignore python binding even if it is possible to build it]), - [ local_python="no" ], - [ - if test "$debug_static" != "yes" ; then - AC_MSG_CHECKING([for python binding]) - pyext="python3-config --extension-suffix" - if $pyext 1> /dev/null 2> /dev/null ; then - PYEXT="`$pyext`" - else - local_python="no" - fi - - pyflags="python3 -m pybind11 --includes" - if test "$local_python" != "no" && $pyflags 1> /dev/null 2> /dev/null ; then - PYFLAGS="`$pyflags`" - local_python="yes" - AC_MSG_RESULT([ok]) - AC_SUBST(PYEXT, [$PYEXT]) - AC_SUBST(PYFLAGS, [$PYFLAGS]) - else - local_python="no" - AC_MSG_RESULT([failed]) - fi - else - AC_MSG_RESULT([Cannot build python binding when --enable-debug is set]) - fi - ]) + AS_HELP_STRING(--disable-python-binding, [ignore python binding even if it is possible to build it]), + [explicit_python_binding=yes], + [enable_python_binding=yes]) +AS_IF( [ test "x$enable_python_binding" != "xyes" ], + [ + AC_MSG_WARN([python binding disabled per user request]) + local_python="no" + ], + [ + if test "$debug_static" != "yes" ; then + AC_MSG_CHECKING([for python binding]) + pyext="python3-config --extension-suffix" + if $pyext 1> /dev/null 2> /dev/null ; then + PYEXT="`$pyext`" + else + local_python="no" + fi + + pyflags="python3 -m pybind11 --includes" + if test "$local_python" != "no" && $pyflags 1> /dev/null 2> /dev/null ; then + PYFLAGS="`$pyflags`" + local_python="yes" + AC_MSG_RESULT([ok]) + AC_SUBST(PYEXT, [$PYEXT]) + AC_SUBST(PYFLAGS, [$PYFLAGS]) + else + local_python="no" + AC_MSG_RESULT([failed]) + fi + else + AC_MSG_RESULT([Cannot build python binding when --enable-debug is set]) + fi + AS_IF( [ test "x$explicit_python_binding" = "xyes" -a "$local_python" != "yes" ], + [ AC_MSG_ERROR([prerequisit for python binding not met]) ] + ) + ] + ) AM_CONDITIONAL([MAKE_ALL_DIR], [test $examples = "yes"]) AM_CONDITIONAL([BUILD_DAR_STATIC], [test $build_static = "yes" -a $static_pb = "no"]) @@ -1632,7 +1847,7 @@ fi printf " Thread safe support : " -if [ "$local_mutex_works" = "yes" -a -z "$local_test_memory" -a "$local_missing_reentrant_libcal" != "yes" ] ; then +if [ "$local_mutex_works" = "yes" -a -z "$local_test_memory" ] ; then echo "YES" else echo "NO" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dar-2.6.9/doc/Notes.html new/dar-2.6.10/doc/Notes.html --- old/dar-2.6.9/doc/Notes.html 2020-03-22 14:00:20.000000000 +0100 +++ new/dar-2.6.10/doc/Notes.html 2020-05-31 11:23:10.000000000 +0200 @@ -3671,7 +3671,7 @@ <td style="vertical-align: top; text-align: center;">1.1.2</td> </tr> <tr> - <td style="vertical-align: top; text-align: right;">March 22th, 2020</td> + <td style="vertical-align: top; text-align: right;">March 22nd, 2020</td> <td style="vertical-align: top; text-align: center;">2.6.9</td> <td style="vertical-align: top; text-align: center;">10.1</td> <td style="vertical-align: top; text-align: center;">05</td> @@ -3682,6 +3682,18 @@ <td style="vertical-align: top; text-align: center;">1.2.12</td> <td style="vertical-align: top; text-align: center;">1.1.2</td> </tr> + <tr> + <td style="vertical-align: top; text-align: right;">May 31st, 2020</td> + <td style="vertical-align: top; text-align: center;">2.6.10</td> + <td style="vertical-align: top; text-align: center;">10.1</td> + <td style="vertical-align: top; text-align: center;">05</td> + <td style="vertical-align: top; text-align: center;">6.2.4</td> + <td style="vertical-align: top; text-align: center;">1.6.3</td> + <td style="vertical-align: top; text-align: center;">1.5.3</td> + <td style="vertical-align: top; text-align: center;">1.8.3</td> + <td style="vertical-align: top; text-align: center;">1.2.13</td> + <td style="vertical-align: top; text-align: center;">1.1.3</td> + </tr> </tbody> </table> <br> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dar-2.6.9/doc/presentation.html new/dar-2.6.10/doc/presentation.html --- old/dar-2.6.9/doc/presentation.html 2020-03-21 22:38:54.000000000 +0100 +++ new/dar-2.6.10/doc/presentation.html 2020-05-26 19:09:14.000000000 +0200 @@ -160,7 +160,13 @@ <li style="text-align: justify;"><a href="http://www.rgrjr.com/linux/backup.pl.html">backup.pl</a> script by Bob Rogers, creates and verifies a backup using dump/restore or using dar</li> <li style="text-align: justify;"><a href="http://sourceforge.net/projects/baras">Baras</a> by Aaron D. Marasco it a rewriting in Perl of SaraB.</li> - <li style="text-align: justify;"><span style="font-weight: bold;"><span style="color: red;"></span></span><a rel="colleague" href="http://danmbox.github.io/dar-incdec-repo/">Dar-incdec-repo</a> by Dan A. Muresan is a framework for doing periodic DAR backups with minimal fuss</li> + <li style="text-align: justify;"><a rel="colleague" href="http://danmbox.github.io/dar-incdec-repo/">Dar-incdec-repo</a> by Dan A. Muresan is a framework for doing periodic DAR backups with minimal fuss</li> + <li stype="test-align: justify;"> + <span style="font-weight: bold; color: red;"> + new in 2020: + </span> + <a href="https://gitlab.com/notEvil/dar_fuse">dar_fuse</a> by !evil. <i>dar_fuse</i> provides a faster AVFS equivalent thanks to its direct use of libdar python API and fusepy module. + </li> <li style="text-align: justify;"><a href="https://github.com/c4rlo/darbup">Darbup</a> by Carlo Teubner. One of darbup key features is its ability to automatically delete old archives when the total space taken up by existing archives exceeds diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dar-2.6.9/doc/samples/etc_darrc new/dar-2.6.10/doc/samples/etc_darrc --- old/dar-2.6.9/doc/samples/etc_darrc 2020-03-21 22:38:54.000000000 +0100 +++ new/dar-2.6.10/doc/samples/etc_darrc 2020-04-26 15:10:23.000000000 +0200 @@ -10,7 +10,7 @@ # you define a .darrc in your home directory or use -N option # on command-line. # You can continue using this default file even if you use your -# own .darrc file, by including the following in it or explicitely +# own .darrc file, by including the following in it or explicitly # command-line: # # -B /etc/darrc @@ -37,7 +37,7 @@ compress-exclusion: # here we define some files that have not to be compressed. -# First setting case insentive mode on: +# First setting case insensitive mode on: -an # Then telling dar that the following masks are glob expression # which is the default, right, but if sooner on command-line the @@ -185,14 +185,14 @@ ############################################################## # target: samba -# take care of daylight saving time for the samba filesystem +# take care of daylight saving time for the samba file system # type samba: -H 1 -# samba filesystem need this to properly report date +# samba file system need this to properly report date # and not lead dar to resave all files when changing -# from summer to winter time and viceversa. +# from summer to winter time and vice versa. ############################################################## # target: dry-run diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dar-2.6.9/m4/ChangeLog new/dar-2.6.10/m4/ChangeLog --- old/dar-2.6.9/m4/ChangeLog 2020-03-22 14:47:47.000000000 +0100 +++ new/dar-2.6.10/m4/ChangeLog 2020-05-31 11:29:20.000000000 +0200 @@ -1,4 +1,4 @@ -2020-03-22 gettextize <[email protected]> +2020-05-31 gettextize <[email protected]> * gettext.m4: New file, from gettext-0.19.8.1. * iconv.m4: New file, from gettext-0.19.8.1. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dar-2.6.9/po/ChangeLog new/dar-2.6.10/po/ChangeLog --- old/dar-2.6.9/po/ChangeLog 2020-03-22 14:47:47.000000000 +0100 +++ new/dar-2.6.10/po/ChangeLog 2020-05-31 11:29:20.000000000 +0200 @@ -1,4 +1,4 @@ -2020-03-22 gettextize <[email protected]> +2020-05-31 gettextize <[email protected]> * Makefile.in.in: New file, from gettext-0.19.8.1. * Rules-quot: New file, from gettext-0.19.8.1. Binary files old/dar-2.6.9/po/fr.gmo and new/dar-2.6.10/po/fr.gmo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dar-2.6.9/po/fr.po new/dar-2.6.10/po/fr.po --- old/dar-2.6.9/po/fr.po 2020-03-22 14:35:21.000000000 +0100 +++ new/dar-2.6.10/po/fr.po 2020-05-31 11:38:13.000000000 +0200 @@ -8,7 +8,7 @@ "Project-Id-Version: DAR 2.6.0\n" "Report-Msgid-Bugs-To: http://sourceforge.net/tracker/?" "group_id=65612MSGID_BUGS_ADDRESS =atid=511612\n" -"POT-Creation-Date: 2020-03-22 14:35+0100\n" +"POT-Creation-Date: 2020-05-31 11:38+0200\n" "PO-Revision-Date: 2020-01-12 15:30+0100\n" "Last-Translator: Denis Corbin <[email protected]>\n" "Language-Team: French <[email protected]>\n" Binary files old/dar-2.6.9/po/sv.gmo and new/dar-2.6.10/po/sv.gmo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dar-2.6.9/po/sv.po new/dar-2.6.10/po/sv.po --- old/dar-2.6.9/po/sv.po 2020-03-22 14:35:21.000000000 +0100 +++ new/dar-2.6.10/po/sv.po 2020-05-31 11:38:13.000000000 +0200 @@ -8,7 +8,7 @@ "Project-Id-Version: sv\n" "Report-Msgid-Bugs-To: http://sourceforge.net/tracker/?" "group_id=65612MSGID_BUGS_ADDRESS =atid=511612\n" -"POT-Creation-Date: 2020-03-22 14:35+0100\n" +"POT-Creation-Date: 2020-05-31 11:38+0200\n" "PO-Revision-Date: 2012-04-15 11:28+0200\n" "Last-Translator: Peter Landgren <[email protected]>\n" "Language-Team: Swedish <[email protected]>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dar-2.6.9/src/check/all_features.cpp new/dar-2.6.10/src/check/all_features.cpp --- old/dar-2.6.9/src/check/all_features.cpp 2020-03-21 22:38:54.000000000 +0100 +++ new/dar-2.6.10/src/check/all_features.cpp 2020-05-26 19:09:14.000000000 +0200 @@ -129,6 +129,12 @@ cerr << "MISSING LIBCURL SUPPORT TO BE ABLE TO PERFORM ALL TESTS, ABORTING" << endl; throw Efeature("libcurl"); } + + if(!compile_time::ea()) + { + cerr << "MISSING EA SUPPORT TO BE ABLE TO PERFORM ALL TESTS, ABORTING" << endl; + throw Efeature("libcurl"); + } } catch(...) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dar-2.6.9/src/dar_suite/dar_cp.cpp new/dar-2.6.10/src/dar_suite/dar_cp.cpp --- old/dar-2.6.9/src/dar_suite/dar_cp.cpp 2020-03-21 22:38:55.000000000 +0100 +++ new/dar-2.6.10/src/dar_suite/dar_cp.cpp 2020-05-31 11:24:58.000000000 +0200 @@ -63,7 +63,7 @@ #include "libdar.hpp" #include "thread_cancellation.hpp" -#define DAR_CP_VERSION "1.2.12" +#define DAR_CP_VERSION "1.2.13" using namespace libdar; using namespace std; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dar-2.6.9/src/dar_suite/dar_manager.cpp new/dar-2.6.10/src/dar_suite/dar_manager.cpp --- old/dar-2.6.9/src/dar_suite/dar_manager.cpp 2020-03-21 22:38:55.000000000 +0100 +++ new/dar-2.6.10/src/dar_suite/dar_manager.cpp 2020-05-31 11:24:50.000000000 +0200 @@ -64,7 +64,7 @@ using namespace libdar; -#define DAR_MANAGER_VERSION "1.8.2" +#define DAR_MANAGER_VERSION "1.8.3" #define ONLY_ONCE "Only one -%c is allowed, ignoring this extra option" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dar-2.6.9/src/dar_suite/dar_slave.cpp new/dar-2.6.10/src/dar_suite/dar_slave.cpp --- old/dar-2.6.9/src/dar_suite/dar_slave.cpp 2020-03-21 22:38:55.000000000 +0100 +++ new/dar-2.6.10/src/dar_suite/dar_slave.cpp 2020-05-31 11:24:37.000000000 +0200 @@ -68,7 +68,7 @@ using namespace libdar; using namespace std; -#define DAR_SLAVE_VERSION "1.5.2" +#define DAR_SLAVE_VERSION "1.5.3" static bool command_line(shell_interaction & dialog, S_I argc, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dar-2.6.9/src/dar_suite/dar_split.c new/dar-2.6.10/src/dar_suite/dar_split.c --- old/dar-2.6.9/src/dar_suite/dar_split.c 2020-03-21 22:38:55.000000000 +0100 +++ new/dar-2.6.10/src/dar_suite/dar_split.c 2020-05-31 11:25:08.000000000 +0200 @@ -83,7 +83,7 @@ #define KEY_INPUT "split_input" #define KEY_OUTPUT "split_output" -#define DAR_SPLIT_VERSION "1.1.2" +#define DAR_SPLIT_VERSION "1.1.3" static void usage(char *a); static void show_version(char *a); @@ -231,7 +231,7 @@ purge_fd(fd_inter); fprintf(stderr, "Press return when ready to continue or hit CTRL-C to abort\n"); - read(fd_inter, tmp, 3); + (void)read(fd_inter, tmp, 3); } static void pipe_handle_pause(int x) @@ -333,6 +333,8 @@ offset += ecru; lu -= ecru; + if(step > lu) + step = lu; tape_size += ecru; } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dar-2.6.9/src/dar_suite/dar_xform.cpp new/dar-2.6.10/src/dar_suite/dar_xform.cpp --- old/dar-2.6.9/src/dar_suite/dar_xform.cpp 2020-03-21 22:38:55.000000000 +0100 +++ new/dar-2.6.10/src/dar_suite/dar_xform.cpp 2020-05-31 11:24:28.000000000 +0200 @@ -54,7 +54,7 @@ using namespace libdar; using namespace std; -#define DAR_XFORM_VERSION "1.6.2" +#define DAR_XFORM_VERSION "1.6.3" #define OPT_STRING "s:S:p::wnhbVE:F:a::Qj^:3:9:" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dar-2.6.9/src/dar_suite/line_tools.cpp new/dar-2.6.10/src/dar_suite/line_tools.cpp --- old/dar-2.6.9/src/dar_suite/line_tools.cpp 2020-03-21 22:38:55.000000000 +0100 +++ new/dar-2.6.10/src/dar_suite/line_tools.cpp 2020-05-26 19:09:14.000000000 +0200 @@ -960,7 +960,7 @@ port.clear(); path_basename.clear(); - enum { s_proto, s_login, s_login_escape, s_pass, s_host, s_port, s_path, s_end } state = s_proto; + enum { s_proto, s_login, s_login_escape, s_pass, s_hote, s_port, s_path, s_end } state = s_proto; while(state != s_end && cursor < max) { @@ -1005,7 +1005,7 @@ switch(ch[cursor]) { case '@': - state = s_host; + state = s_hote; ++cursor; break; case ':': @@ -1037,7 +1037,7 @@ switch(ch[cursor]) { case '@': - state = s_host; + state = s_hote; if(ref_cur > cursor) throw SRC_BUG; tmp = cursor - ref_cur; @@ -1061,7 +1061,7 @@ ++cursor; } break; - case s_host: + case s_hote: switch(ch[cursor]) { case '@': diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dar-2.6.9/src/libdar/ea_filesystem.cpp new/dar-2.6.10/src/libdar/ea_filesystem.cpp --- old/dar-2.6.9/src/libdar/ea_filesystem.cpp 2020-03-21 22:38:55.000000000 +0100 +++ new/dar-2.6.10/src/libdar/ea_filesystem.cpp 2020-05-21 22:38:23.000000000 +0200 @@ -52,7 +52,7 @@ #if HAVE_ERRNO_H #include <errno.h> #endif -#if HAVE_ATTR_XATTR_H +#if HAVE_ATTR_XATTR_H && ! HAVE_SYS_XATTR_H #include <attr/xattr.h> #endif #if HAVE_SYS_XATTR_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dar-2.6.9/src/libdar/get_version.hpp new/dar-2.6.10/src/libdar/get_version.hpp --- old/dar-2.6.9/src/libdar/get_version.hpp 2020-03-22 14:10:32.000000000 +0100 +++ new/dar-2.6.10/src/libdar/get_version.hpp 2020-05-31 11:23:55.000000000 +0200 @@ -55,7 +55,7 @@ /// libdar Medium version defined at compilation time constexpr U_I LIBDAR_COMPILE_TIME_MEDIUM = 2; /// libdar Minor version defined at compilation time - constexpr U_I LIBDAR_COMPILE_TIME_MINOR = 3; + constexpr U_I LIBDAR_COMPILE_TIME_MINOR = 4; //////////////////////////////////////////////////////////////////////// diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dar-2.6.9/src/libdar/libdar5.hpp new/dar-2.6.10/src/libdar/libdar5.hpp --- old/dar-2.6.9/src/libdar/libdar5.hpp 2020-03-22 14:11:04.000000000 +0100 +++ new/dar-2.6.10/src/libdar/libdar5.hpp 2020-05-31 11:24:14.000000000 +0200 @@ -356,7 +356,7 @@ /// libdar Medium version defined at compilation time const U_I LIBDAR_COMPILE_TIME_MEDIUM = 100; /// libdar Minor version defined at compilation time - const U_I LIBDAR_COMPILE_TIME_MINOR = 9; + const U_I LIBDAR_COMPILE_TIME_MINOR = 10; //////////////////////////////////////////////////////////////////////// // LIBDAR INITIALIZATION METHODS //
