Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libbde for openSUSE:Factory checked in at 2022-11-10 14:21:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libbde (Old) and /work/SRC/openSUSE:Factory/.libbde.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libbde" Thu Nov 10 14:21:48 2022 rev:17 rq:1034842 version:20221031 Changes: -------- --- /work/SRC/openSUSE:Factory/libbde/libbde.changes 2022-08-30 14:49:53.624183766 +0200 +++ /work/SRC/openSUSE:Factory/.libbde.new.1597/libbde.changes 2022-11-10 14:22:15.866342881 +0100 @@ -1,0 +2,6 @@ +Wed Nov 2 12:36:41 UTC 2022 - Jan Engelhardt <jeng...@inai.de> + +- Update to release 20221031 + * No changelog was provided + +------------------------------------------------------------------- Old: ---- libbde-alpha-20220807.tar.gz libbde-alpha-20220807.tar.gz.asc New: ---- libbde-alpha-20221031.tar.gz libbde-alpha-20221031.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libbde.spec ++++++ --- /var/tmp/diff_new_pack.m6wAUB/_old 2022-11-10 14:22:16.402345914 +0100 +++ /var/tmp/diff_new_pack.m6wAUB/_new 2022-11-10 14:22:16.406345937 +0100 @@ -18,7 +18,7 @@ %define lname libbde1 Name: libbde -Version: 20220807 +Version: 20221031 Release: 0 Summary: Library and tools to access Microsoft Bitlocker Disk Encrypted partitions License: GFDL-1.1-or-later AND LGPL-3.0-or-later AND GFDL-1.3-or-later @@ -36,7 +36,7 @@ BuildRequires: pkg-config BuildRequires: python-rpm-macros BuildRequires: pkgconfig(fuse) >= 2.6 -BuildRequires: pkgconfig(libbfio) >= 20220120 +BuildRequires: pkgconfig(libbfio) >= 20221025 BuildRequires: pkgconfig(libcaes) >= 20220529 BuildRequires: pkgconfig(libcdata) >= 20220115 BuildRequires: pkgconfig(libcerror) >= 20220101 @@ -55,37 +55,36 @@ %python_subpackages %description +libbde is a library to access the BitLocker Drive Encryption (BDE) +format. The BDE format is used by Windows, as of Vista, to encrypt +data on a storage media volume. +%package -n %{lname} +Summary: Library to access Microsoft Bitlocker Drive Encrypted volumes +License: LGPL-3.0-or-later +Group: System/Libraries + +%description -n %{lname} libbde is a library and tools to access the BitLocker Drive Encryption (BDE) format. The BDE format is used by Windows, as of Vista, to encrypt data on a storage media volume. Supported BDE formats: -BitLocker Windows Vista -BitLocker Windows 7 -BitLocker Windows 8 (Consumer Preview) -BitLocker To Go -Supported protection methods: - -clear key -password -recovery password -start-up key -FKEV and/or TWEAK key data -Additional features: +* BitLocker Windows Vista +* BitLocker Windows 7 +* BitLocker Windows 8 (Consumer Preview) +* BitLocker To Go -support for partial encrypted volumes -zeros out the BDE metadata, matches behavior seen on Windows -Work in progress: +Supported protection methods: -Dokan library support -Multi-threading support +* clear key +* password +* recovery password +* start-up key +* FKEV and/or TWEAK key data -%package -n %{lname} -Summary: Library to access Microsoft Bitlocker Drive Encrypted volumes -License: LGPL-3.0-or-later -Group: System/Libraries +Additional features: -%description -n %{lname} -libbde is a library to access the BitLocker Drive Encryption (BDE) format. The BDE format is used by Windows, as of Vista, to encrypt data on a storage media volume. +* support for partial encrypted volumes +* zeros out the BDE metadata, matches behavior seen on Windows %package tools Summary: Tools to access Microsoft Bitlocker Drive Encrypted volumes @@ -93,7 +92,9 @@ Group: Productivity/File utilities %description tools -Tools to access the BitLocker Drive Encryption (BDE) format. The BDE format is used by Windows, as of Vista, to encrypt data on a storage media volume. +Tools to access the BitLocker Drive Encryption (BDE) format. The BDE +format is used by Windows, as of Vista, to encrypt data on a storage +media volume. %package devel Summary: Development files for libbde, used to access Bitlocker Drive Encrypted Volumes @@ -102,7 +103,9 @@ Requires: %{lname} = %{version} %description devel -libbde is a library to access the BitLocker Drive Encryption (BDE) format. The BDE format is used by Windows, as of Vista, to encrypt data on a storage media volume. +libbde is a library to access the BitLocker Drive Encryption (BDE) +format. The BDE format is used by Windows, as of Vista, to encrypt +data on a storage media volume. This subpackage contains libraries and header files for developing applications that want to make use of libbde. @@ -127,10 +130,10 @@ } %install -mv %_builddir/rt/* %buildroot/ -find %{buildroot} -type f -name "*.la" -delete -print +mv "%_builddir/rt"/* "%buildroot/" +find "%buildroot" -type f -name "*.la" -delete -print # we have static libs for some reason, trash them -find %{buildroot} -name "*.a" -print -delete +find "%buildroot" -name "*.a" -print -delete %post -n %{lname} -p /sbin/ldconfig %postun -n %{lname} -p /sbin/ldconfig ++++++ libbde-alpha-20220807.tar.gz -> libbde-alpha-20221031.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbde-20220807/common/config.h new/libbde-20221031/common/config.h --- old/libbde-20220807/common/config.h 2022-08-07 21:33:33.000000000 +0200 +++ new/libbde-20221031/common/config.h 2022-10-31 05:01:37.000000000 +0100 @@ -644,7 +644,7 @@ #define PACKAGE_NAME "libbde" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "libbde 20220807" +#define PACKAGE_STRING "libbde 20221031" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "libbde" @@ -653,7 +653,7 @@ #define PACKAGE_URL "" /* Define to the version of this package. */ -#define PACKAGE_VERSION "20220807" +#define PACKAGE_VERSION "20221031" /* The size of `int', as computed by sizeof. */ #define SIZEOF_INT 4 @@ -686,7 +686,7 @@ /* #undef TM_IN_SYS_TIME */ /* Version number of package */ -#define VERSION "20220807" +#define VERSION "20221031" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbde-20220807/configure new/libbde-20221031/configure --- old/libbde-20220807/configure 2022-08-07 21:33:16.000000000 +0200 +++ new/libbde-20221031/configure 2022-10-31 05:01:20.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for libbde 20220807. +# Generated by GNU Autoconf 2.71 for libbde 20221031. # # Report bugs to <joachim.m...@gmail.com>. # @@ -621,8 +621,8 @@ # Identity of this package. PACKAGE_NAME='libbde' PACKAGE_TARNAME='libbde' -PACKAGE_VERSION='20220807' -PACKAGE_STRING='libbde 20220807' +PACKAGE_VERSION='20221031' +PACKAGE_STRING='libbde 20221031' PACKAGE_BUGREPORT='joachim.m...@gmail.com' PACKAGE_URL='' @@ -1729,7 +1729,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 libbde 20220807 to adapt to many kinds of systems. +\`configure' configures libbde 20221031 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1800,7 +1800,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libbde 20220807:";; + short | recursive ) echo "Configuration of libbde 20221031:";; esac cat <<\_ACEOF @@ -2082,7 +2082,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libbde configure 20220807 +libbde configure 20221031 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -2803,7 +2803,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libbde $as_me 20220807, which was +It was created by libbde $as_me 20221031, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -4293,7 +4293,7 @@ # Define the identity of the package. PACKAGE='libbde' - VERSION='20220807' + VERSION='20221031' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -15636,11 +15636,11 @@ then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5 printf %s "checking for $CXX option to enable C++11 features... " >&6; } -if test ${ac_cv_prog_cxx_11+y} +if test ${ac_cv_prog_cxx_cxx11+y} then : printf %s "(cached) " >&6 else $as_nop - ac_cv_prog_cxx_11=no + ac_cv_prog_cxx_cxx11=no ac_save_CXX=$CXX cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -15682,11 +15682,11 @@ then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5 printf %s "checking for $CXX option to enable C++98 features... " >&6; } -if test ${ac_cv_prog_cxx_98+y} +if test ${ac_cv_prog_cxx_cxx98+y} then : printf %s "(cached) " >&6 else $as_nop - ac_cv_prog_cxx_98=no + ac_cv_prog_cxx_cxx98=no ac_save_CXX=$CXX cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -64961,7 +64961,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by libbde $as_me 20220807, which was +This file was extended by libbde $as_me 20221031, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -65029,7 +65029,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -libbde config.status 20220807 +libbde config.status 20221031 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbde-20220807/configure.ac new/libbde-20221031/configure.ac --- old/libbde-20220807/configure.ac 2022-08-07 20:17:34.000000000 +0200 +++ new/libbde-20221031/configure.ac 2022-10-31 03:24:55.000000000 +0100 @@ -2,7 +2,7 @@ AC_INIT( [libbde], - [20220807], + [20221031], [joachim.m...@gmail.com]) AC_CONFIG_SRCDIR( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbde-20220807/dpkg/changelog new/libbde-20221031/dpkg/changelog --- old/libbde-20220807/dpkg/changelog 2022-08-07 21:33:33.000000000 +0200 +++ new/libbde-20221031/dpkg/changelog 2022-10-31 05:01:37.000000000 +0100 @@ -1,5 +1,5 @@ -libbde (20220807-1) unstable; urgency=low +libbde (20221031-1) unstable; urgency=low * Auto-generated - -- Joachim Metz <joachim.m...@gmail.com> Sun, 07 Aug 2022 21:33:32 +0200 + -- Joachim Metz <joachim.m...@gmail.com> Mon, 31 Oct 2022 05:01:35 +0100 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbde-20220807/include/libbde/definitions.h new/libbde-20221031/include/libbde/definitions.h --- old/libbde-20220807/include/libbde/definitions.h 2022-08-07 21:33:33.000000000 +0200 +++ new/libbde-20221031/include/libbde/definitions.h 2022-10-31 05:01:37.000000000 +0100 @@ -24,11 +24,11 @@ #include <libbde/types.h> -#define LIBBDE_VERSION 20220807 +#define LIBBDE_VERSION 20221031 /* The version string */ -#define LIBBDE_VERSION_STRING "20220807" +#define LIBBDE_VERSION_STRING "20221031" /* The file access * bit 1 set to 1 for read access diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbde-20220807/libbde/libbde.rc new/libbde-20221031/libbde/libbde.rc --- old/libbde-20220807/libbde/libbde.rc 2022-08-07 21:33:33.000000000 +0200 +++ new/libbde-20221031/libbde/libbde.rc 2022-10-31 05:01:37.000000000 +0100 @@ -22,12 +22,12 @@ BLOCK "040904E4" BEGIN VALUE "FileDescription", "Library to access the BitLocker Drive Encryption (BDE) format\0" - VALUE "FileVersion", "20220807" "\0" + VALUE "FileVersion", "20221031" "\0" VALUE "InternalName", "libbde.dll\0" VALUE "LegalCopyright", "(C) 2011-2022, Joachim Metz <joachim.m...@gmail.com>\0" VALUE "OriginalFilename", "libbde.dll\0" VALUE "ProductName", "libbde\0" - VALUE "ProductVersion", "20220807" "\0" + VALUE "ProductVersion", "20221031" "\0" VALUE "Comments", "For more information visit https://github.com/libyal/libbde/\0" END END diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbde-20220807/libbde/libbde_definitions.h new/libbde-20221031/libbde/libbde_definitions.h --- old/libbde-20220807/libbde/libbde_definitions.h 2022-08-07 21:33:33.000000000 +0200 +++ new/libbde-20221031/libbde/libbde_definitions.h 2022-10-31 05:01:37.000000000 +0100 @@ -34,11 +34,11 @@ * for local use of libbde */ #else -#define LIBBDE_VERSION 20220807 +#define LIBBDE_VERSION 20221031 /* The version string */ -#define LIBBDE_VERSION_STRING "20220807" +#define LIBBDE_VERSION_STRING "20221031" /* The file access * bit 1 set to 1 for read access diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbde-20220807/libbde/libbde_volume.c new/libbde-20221031/libbde/libbde_volume.c --- old/libbde-20220807/libbde/libbde_volume.c 2022-08-07 20:17:38.000000000 +0200 +++ new/libbde-20221031/libbde/libbde_volume.c 2022-10-31 03:25:05.000000000 +0100 @@ -1088,6 +1088,22 @@ result = -1; } } + if( internal_volume->external_key_metadata != NULL ) + { + if( libbde_metadata_free( + &( internal_volume->external_key_metadata ), + error ) != 1 ) + { + libcerror_error_set( + error, + LIBCERROR_ERROR_DOMAIN_RUNTIME, + LIBCERROR_RUNTIME_ERROR_FINALIZE_FAILED, + "%s: unable to free external key metadata.", + function ); + + result = -1; + } + } #if defined( HAVE_LIBBDE_MULTI_THREAD_SUPPORT ) if( libcthreads_read_write_lock_release_for_write( internal_volume->read_write_lock, @@ -4642,10 +4658,23 @@ "%s: metadata size value out of bounds.", function ); - return( -1 ); + goto on_error; } entries_data_size -= sizeof( bde_metadata_header_v1_t ); + if( libbde_metadata_header_free( + &header, + error ) != 1 ) + { + libcerror_error_set( + error, + LIBCERROR_ERROR_DOMAIN_RUNTIME, + LIBCERROR_RUNTIME_ERROR_FINALIZE_FAILED, + "%s: unable to free metadata header.", + function ); + + goto on_error; + } if( libbde_metadata_read_entries_file_io_handle( external_key_metadata, file_io_handle, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbde-20220807/libbde.spec new/libbde-20221031/libbde.spec --- old/libbde-20220807/libbde.spec 2022-08-07 21:33:33.000000000 +0200 +++ new/libbde-20221031/libbde.spec 2022-10-31 05:01:37.000000000 +0100 @@ -1,5 +1,5 @@ Name: libbde -Version: 20220807 +Version: 20221031 Release: 1 Summary: Library to access the BitLocker Drive Encryption (BDE) format Group: System Environment/Libraries @@ -101,6 +101,6 @@ %{_mandir}/man1/* %changelog -* Sun Aug 7 2022 Joachim Metz <joachim.m...@gmail.com> 20220807-1 +* Mon Oct 31 2022 Joachim Metz <joachim.m...@gmail.com> 20221031-1 - Auto-generated diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbde-20220807/libbfio/libbfio_definitions.h new/libbde-20221031/libbfio/libbfio_definitions.h --- old/libbde-20220807/libbfio/libbfio_definitions.h 2022-08-07 21:32:38.000000000 +0200 +++ new/libbde-20221031/libbfio/libbfio_definitions.h 2022-10-31 05:00:42.000000000 +0100 @@ -33,11 +33,11 @@ * for local use of libbfio */ #else -#define LIBBFIO_VERSION 20220120 +#define LIBBFIO_VERSION 20221025 /* The libbfio version string */ -#define LIBBFIO_VERSION_STRING "20220120" +#define LIBBFIO_VERSION_STRING "20221025" /* The library flags definitions */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbde-20220807/tests/test_runner.sh new/libbde-20221031/tests/test_runner.sh --- old/libbde-20220807/tests/test_runner.sh 2022-08-07 20:18:09.000000000 +0200 +++ new/libbde-20221031/tests/test_runner.sh 2022-10-31 03:25:35.000000000 +0100 @@ -1,7 +1,7 @@ #!/bin/bash # Bash functions to run an executable for testing. # -# Version: 20220807 +# Version: 20220924 # # When CHECK_WITH_ASAN is set to a non-empty value the test executable # is run with asan, otherwise it is run without. @@ -190,14 +190,24 @@ find_binary_library_path() { local TEST_EXECUTABLE=$1; - local LIBRARY_NAME="${TEST_EXECUTABLE}"; + local LIBRARY_NAME=`dirname ${TEST_EXECUTABLE}`; - echo ${LIBRARY_NAME} | grep 'tools' > /dev/null 2>&1; + local NAME=`basename ${LIBRARY_NAME}`; - if test $? -eq ${EXIT_SUCCESS}; + if test ${NAME} = ".libs"; then LIBRARY_NAME=`dirname ${LIBRARY_NAME}`; + NAME=`basename ${LIBRARY_NAME}`; + fi + if test ${NAME} = "tests"; + then LIBRARY_NAME=`dirname ${LIBRARY_NAME}`; + NAME=`basename ${LIBRARY_NAME}`; + fi + echo ${LIBRARY_NAME} | grep 'tools' > /dev/null 2>&1; + + if test $? -eq ${EXIT_SUCCESS}; + then LIBRARY_NAME=`basename ${LIBRARY_NAME} | sed 's/\(.*\)tools$/lib\1/'`; else LIBRARY_NAME=`basename ${LIBRARY_NAME} | sed 's/^py//' | sed 's/^\([^_]*\)_test_.*$/lib\1/'`; @@ -655,6 +665,7 @@ return ${EXIT_FAILURE}; fi + local TEST_EXECUTABLE=$( find_binary_executable ${TEST_EXECUTABLE} ); local LIBRARY_PATH=$( find_binary_library_path ${TEST_EXECUTABLE} ); local PYTHON_MODULE_PATH=$( find_binary_python_module_path ${TEST_EXECUTABLE} ); @@ -976,6 +987,7 @@ return ${EXIT_FAILURE}; fi + local TEST_EXECUTABLE=$( find_binary_executable ${TEST_EXECUTABLE} ); local LIBRARY_PATH=$( find_binary_library_path ${TEST_EXECUTABLE} ); local PYTHON_MODULE_PATH=$( find_binary_python_module_path ${TEST_EXECUTABLE} );