Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libfwevt for openSUSE:Factory checked in at 2024-04-21 20:29:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libfwevt (Old) and /work/SRC/openSUSE:Factory/.libfwevt.new.26366 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libfwevt" Sun Apr 21 20:29:18 2024 rev:17 rq:1169485 version:20240419 Changes: -------- --- /work/SRC/openSUSE:Factory/libfwevt/libfwevt.changes 2024-04-17 14:46:27.184430483 +0200 +++ /work/SRC/openSUSE:Factory/.libfwevt.new.26366/libfwevt.changes 2024-04-21 20:30:38.701329387 +0200 @@ -1,0 +2,6 @@ +Sun Apr 21 10:53:29 UTC 2024 - Jan Engelhardt <jeng...@inai.de> + +- Update to release 20240419 + * Improved format support + +------------------------------------------------------------------- Old: ---- libfwevt-experimental-20240416.tar.gz libfwevt-experimental-20240416.tar.gz.asc New: ---- libfwevt-experimental-20240419.tar.gz libfwevt-experimental-20240419.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libfwevt.spec ++++++ --- /var/tmp/diff_new_pack.ZY8XF3/_old 2024-04-21 20:30:39.193347449 +0200 +++ /var/tmp/diff_new_pack.ZY8XF3/_new 2024-04-21 20:30:39.193347449 +0200 @@ -18,14 +18,14 @@ %define lname libfwevt1 Name: libfwevt -Version: 20240416 +Version: 20240419 Release: 0 Summary: Library for Windows XML Event Log (EVTX) data types License: GFDL-1.3-or-later AND LGPL-3.0-or-later Group: Productivity/File utilities URL: https://github.com/libyal/libfwevt -Source: https://github.com/libyal/libfwevt/releases/download/%version/libfwevt-experimental-%version.tar.gz -Source2: https://github.com/libyal/libfwevt/releases/download/%version/libfwevt-experimental-%version.tar.gz.asc +Source: https://github.com/libyal/%name/releases/download/%version/%name-experimental-%version.tar.gz +Source2: https://github.com/libyal/%name/releases/download/%version/%name-experimental-%version.tar.gz.asc Source3: %name.keyring BuildRequires: c_compiler BuildRequires: pkg-config ++++++ libfwevt-experimental-20240416.tar.gz -> libfwevt-experimental-20240419.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfwevt-20240416/common/config.h new/libfwevt-20240419/common/config.h --- old/libfwevt-20240416/common/config.h 2024-04-16 19:40:09.000000000 +0200 +++ new/libfwevt-20240419/common/config.h 2024-04-19 07:59:01.000000000 +0200 @@ -368,7 +368,7 @@ #define PACKAGE_NAME "libfwevt" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "libfwevt 20240416" +#define PACKAGE_STRING "libfwevt 20240419" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "libfwevt" @@ -377,7 +377,7 @@ #define PACKAGE_URL "" /* Define to the version of this package. */ -#define PACKAGE_VERSION "20240416" +#define PACKAGE_VERSION "20240419" /* The size of `int', as computed by sizeof. */ #define SIZEOF_INT 4 @@ -403,7 +403,7 @@ /* #undef STRERROR_R_CHAR_P */ /* Version number of package */ -#define VERSION "20240416" +#define VERSION "20240419" /* 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/libfwevt-20240416/configure new/libfwevt-20240419/configure --- old/libfwevt-20240416/configure 2024-04-16 19:39:51.000000000 +0200 +++ new/libfwevt-20240419/configure 2024-04-21 12:11:45.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for libfwevt 20240416. +# Generated by GNU Autoconf 2.71 for libfwevt 20240419. # # Report bugs to <joachim.m...@gmail.com>. # @@ -621,8 +621,8 @@ # Identity of this package. PACKAGE_NAME='libfwevt' PACKAGE_TARNAME='libfwevt' -PACKAGE_VERSION='20240416' -PACKAGE_STRING='libfwevt 20240416' +PACKAGE_VERSION='20240419' +PACKAGE_STRING='libfwevt 20240419' PACKAGE_BUGREPORT='joachim.m...@gmail.com' PACKAGE_URL='' @@ -1556,7 +1556,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 libfwevt 20240416 to adapt to many kinds of systems. +\`configure' configures libfwevt 20240419 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1627,7 +1627,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libfwevt 20240416:";; + short | recursive ) echo "Configuration of libfwevt 20240419:";; esac cat <<\_ACEOF @@ -1826,7 +1826,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libfwevt configure 20240416 +libfwevt configure 20240419 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -2547,7 +2547,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libfwevt $as_me 20240416, which was +It was created by libfwevt $as_me 20240419, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -4036,7 +4036,7 @@ # Define the identity of the package. PACKAGE='libfwevt' - VERSION='20240416' + VERSION='20240419' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -47708,10 +47708,12 @@ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5 printf "%s\n" "$PYTHON_LDFLAGS" >&6; } - case $host_os in #( - cygwin*) : + case $build in #( + *-*-cygwin*) : PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined" ;; #( - mingw*) : + *-*-mingw*) : + PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined" ;; #( + *-*-msys*) : PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined" ;; #( *) : ;; #( @@ -48642,7 +48644,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by libfwevt $as_me 20240416, which was +This file was extended by libfwevt $as_me 20240419, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -48710,7 +48712,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -libfwevt config.status 20240416 +libfwevt config.status 20240419 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/libfwevt-20240416/configure.ac new/libfwevt-20240419/configure.ac --- old/libfwevt-20240416/configure.ac 2024-04-16 18:00:51.000000000 +0200 +++ new/libfwevt-20240419/configure.ac 2024-04-19 06:00:11.000000000 +0200 @@ -2,7 +2,7 @@ AC_INIT( [libfwevt], - [20240416], + [20240419], [joachim.m...@gmail.com]) AC_CONFIG_SRCDIR( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfwevt-20240416/dpkg/changelog new/libfwevt-20240419/dpkg/changelog --- old/libfwevt-20240416/dpkg/changelog 2024-04-16 19:40:09.000000000 +0200 +++ new/libfwevt-20240419/dpkg/changelog 2024-04-21 12:12:02.000000000 +0200 @@ -1,5 +1,5 @@ -libfwevt (20240416-1) unstable; urgency=low +libfwevt (20240419-1) unstable; urgency=low * Auto-generated - -- Joachim Metz <joachim.m...@gmail.com> Tue, 16 Apr 2024 19:40:06 +0200 + -- Joachim Metz <joachim.m...@gmail.com> Sun, 21 Apr 2024 12:11:59 +0200 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfwevt-20240416/include/libfwevt/definitions.h new/libfwevt-20240419/include/libfwevt/definitions.h --- old/libfwevt-20240416/include/libfwevt/definitions.h 2024-04-16 19:40:09.000000000 +0200 +++ new/libfwevt-20240419/include/libfwevt/definitions.h 2024-04-21 12:12:02.000000000 +0200 @@ -24,11 +24,11 @@ #include <libfwevt/types.h> -#define LIBFWEVT_VERSION 20240416 +#define LIBFWEVT_VERSION 20240419 /* The version string */ -#define LIBFWEVT_VERSION_STRING "20240416" +#define LIBFWEVT_VERSION_STRING "20240419" /* The byte order definitions */ @@ -43,6 +43,9 @@ enum LIBFWEVT_XML_DOCUMENT_READ_FLAGS { LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS = 0x01, + + /* The dependency identifiers flag has been deprecated and is no longer needed + */ LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DEPENDENCY_IDENTIFIERS = 0x02 }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfwevt-20240416/include/libfwevt/definitions.h.in new/libfwevt-20240419/include/libfwevt/definitions.h.in --- old/libfwevt-20240416/include/libfwevt/definitions.h.in 2024-04-16 18:00:53.000000000 +0200 +++ new/libfwevt-20240419/include/libfwevt/definitions.h.in 2024-04-19 06:46:36.000000000 +0200 @@ -43,6 +43,9 @@ enum LIBFWEVT_XML_DOCUMENT_READ_FLAGS { LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS = 0x01, + + /* The dependency identifiers flag has been deprecated and is no longer needed + */ LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DEPENDENCY_IDENTIFIERS = 0x02 }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfwevt-20240416/libfwevt/libfwevt.rc new/libfwevt-20240419/libfwevt/libfwevt.rc --- old/libfwevt-20240416/libfwevt/libfwevt.rc 2024-04-16 19:40:09.000000000 +0200 +++ new/libfwevt-20240419/libfwevt/libfwevt.rc 2024-04-21 12:12:02.000000000 +0200 @@ -22,12 +22,12 @@ BLOCK "040904E4" BEGIN VALUE "FileDescription", "Library to support the Windows XML Event Log (EVTX) data types\0" - VALUE "FileVersion", "20240416" "\0" + VALUE "FileVersion", "20240419" "\0" VALUE "InternalName", "libfwevt.dll\0" VALUE "LegalCopyright", "(C) 2011-2024, Joachim Metz <joachim.m...@gmail.com>\0" VALUE "OriginalFilename", "libfwevt.dll\0" VALUE "ProductName", "libfwevt\0" - VALUE "ProductVersion", "20240416" "\0" + VALUE "ProductVersion", "20240419" "\0" VALUE "Comments", "For more information visit https://github.com/libyal/libfwevt/\0" END END diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfwevt-20240416/libfwevt/libfwevt_definitions.h new/libfwevt-20240419/libfwevt/libfwevt_definitions.h --- old/libfwevt-20240416/libfwevt/libfwevt_definitions.h 2024-04-16 19:40:09.000000000 +0200 +++ new/libfwevt-20240419/libfwevt/libfwevt_definitions.h 2024-04-21 12:12:02.000000000 +0200 @@ -36,11 +36,11 @@ #else #include <byte_stream.h> -#define LIBFWEVT_VERSION 20240416 +#define LIBFWEVT_VERSION 20240419 /* The version string */ -#define LIBFWEVT_VERSION_STRING "20240416" +#define LIBFWEVT_VERSION_STRING "20240419" /* The byte order definitions */ @@ -52,6 +52,9 @@ enum LIBFWEVT_XML_DOCUMENT_READ_FLAGS { LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS = 0x01, + + /* The dependency identifiers flag has been deprecated and is no longer needed + */ LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DEPENDENCY_IDENTIFIERS = 0x02 }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfwevt-20240416/libfwevt/libfwevt_definitions.h.in new/libfwevt-20240419/libfwevt/libfwevt_definitions.h.in --- old/libfwevt-20240416/libfwevt/libfwevt_definitions.h.in 2024-04-16 18:00:54.000000000 +0200 +++ new/libfwevt-20240419/libfwevt/libfwevt_definitions.h.in 2024-04-19 06:46:23.000000000 +0200 @@ -52,6 +52,9 @@ enum LIBFWEVT_XML_DOCUMENT_READ_FLAGS { LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS = 0x01, + + /* The dependency identifiers flag has been deprecated and is no longer needed + */ LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DEPENDENCY_IDENTIFIERS = 0x02 }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfwevt-20240416/libfwevt/libfwevt_xml_document.c new/libfwevt-20240419/libfwevt/libfwevt_xml_document.c --- old/libfwevt-20240416/libfwevt/libfwevt_xml_document.c 2024-04-16 18:00:54.000000000 +0200 +++ new/libfwevt-20240419/libfwevt/libfwevt_xml_document.c 2024-04-19 07:49:03.000000000 +0200 @@ -577,7 +577,7 @@ return( -1 ); } - if( ( flags & LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS ) == 0 ) + if( ( flags & LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS ) != 0 ) { additional_value_size = 4; @@ -650,7 +650,7 @@ libcnotify_print_data( &( xml_document_data[ xml_document_data_offset ] ), additional_value_size + 1, - 0 ); + LIBCNOTIFY_PRINT_DATA_FLAG_GROUP_DATA ); } #endif #if defined( HAVE_DEBUG_OUTPUT ) @@ -733,7 +733,7 @@ libcnotify_print_data( &( xml_document_data[ xml_document_data_offset ] ), trailing_data_size, - 0 ); + LIBCNOTIFY_PRINT_DATA_FLAG_GROUP_DATA ); } #endif xml_document_data_offset += trailing_data_size; @@ -1105,7 +1105,7 @@ libcnotify_print_data( xml_document_data, 3, - 0 ); + LIBCNOTIFY_PRINT_DATA_FLAG_GROUP_DATA ); } #endif byte_stream_copy_to_uint16_little_endian( @@ -1157,7 +1157,7 @@ libcnotify_print_data( &( xml_document_data[ 3 ] ), value_data_size, - 0 ); + LIBCNOTIFY_PRINT_DATA_FLAG_GROUP_DATA ); } #endif if( libfwevt_xml_tag_set_value_type( @@ -1691,22 +1691,12 @@ return( -1 ); } - if( ( flags & LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS ) == 0 ) + if( ( flags & LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS ) != 0 ) { additional_value_size = 4; } - if( ( flags & LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DEPENDENCY_IDENTIFIERS ) == 0 ) - { - element_size_offset = 1; - } - else - { - element_size_offset = 3; - } - xml_document_data = &( binary_data[ binary_data_offset ] ); - xml_document_data_size = binary_data_size - binary_data_offset; - - if( xml_document_data_size < ( element_size_offset + 4 + additional_value_size ) ) + if( ( binary_data_size < ( 5 + additional_value_size ) ) + || ( binary_data_offset > ( binary_data_size - 5 - additional_value_size ) ) ) { libcerror_error_set( error, @@ -1730,6 +1720,9 @@ goto on_error; } + xml_document_data = &( binary_data[ binary_data_offset ] ); + xml_document_data_size = binary_data_size - binary_data_offset; + do { if( ( template_value_array_recursion_depth < 0 ) @@ -1757,6 +1750,19 @@ goto on_error; } + /* Note that the dependency identifier is an optional value. + */ + element_size_offset = 1; + + byte_stream_copy_to_uint32_little_endian( + &( xml_document_data[ element_size_offset ] ), + element_size ); + + if( ( xml_document_data_size > 7 ) + && ( element_size > ( xml_document_data_size - 7 ) ) ) + { + element_size_offset = 3; + } #if defined( HAVE_DEBUG_OUTPUT ) if( libcnotify_verbose != 0 ) { @@ -1771,7 +1777,7 @@ libcnotify_print_data( xml_document_data, element_size_offset + 4 + additional_value_size, - 0 ); + LIBCNOTIFY_PRINT_DATA_FLAG_GROUP_DATA ); } #endif byte_stream_copy_to_uint32_little_endian( @@ -1877,7 +1883,7 @@ libcnotify_print_data( &( xml_document_data[ xml_document_data_offset ] ), trailing_data_size, - 0 ); + LIBCNOTIFY_PRINT_DATA_FLAG_GROUP_DATA ); } #endif xml_document_data_offset += trailing_data_size; @@ -2649,7 +2655,7 @@ return( -1 ); } - if( ( flags & LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS ) == 0 ) + if( ( flags & LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS ) != 0 ) { additional_value_size = 4; } @@ -2681,7 +2687,7 @@ libcnotify_print_data( xml_document_data, 1 + additional_value_size, - 0 ); + LIBCNOTIFY_PRINT_DATA_FLAG_GROUP_DATA ); } #endif #if defined( HAVE_DEBUG_OUTPUT ) @@ -2766,7 +2772,7 @@ libcnotify_print_data( &( xml_document_data[ xml_document_data_offset ] ), trailing_data_size, - 0 ); + LIBCNOTIFY_PRINT_DATA_FLAG_GROUP_DATA ); } #endif xml_token->size += trailing_data_size; @@ -3503,7 +3509,7 @@ libcnotify_print_data( xml_document_data, additional_value_size + 4, - 0 ); + LIBCNOTIFY_PRINT_DATA_FLAG_GROUP_DATA ); } #endif if( ( flags & LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS ) != 0 ) @@ -3581,7 +3587,7 @@ libcnotify_print_data( &( xml_document_data[ xml_document_data_offset ] ), name_size, - 0 ); + LIBCNOTIFY_PRINT_DATA_FLAG_GROUP_DATA ); } #endif if( libfwevt_xml_tag_set_name_data( @@ -4173,7 +4179,7 @@ libcnotify_print_data( &( xml_document_data[ 3 ] ), value_data_size, - 0 ); + LIBCNOTIFY_PRINT_DATA_FLAG_GROUP_DATA ); } #endif if( libfwevt_xml_tag_set_value_type( @@ -4332,7 +4338,7 @@ return( -1 ); } - if( ( flags & LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS ) == 0 ) + if( ( flags & LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS ) != 0 ) { additional_value_size = 4; } @@ -4391,7 +4397,7 @@ libcnotify_print_data( xml_document_data, 1 + additional_value_size, - 0 ); + LIBCNOTIFY_PRINT_DATA_FLAG_GROUP_DATA ); } #endif #if defined( HAVE_DEBUG_OUTPUT ) @@ -4485,7 +4491,7 @@ libcnotify_print_data( &( xml_document_data[ 5 ] ), trailing_data_size, - 0 ); + LIBCNOTIFY_PRINT_DATA_FLAG_GROUP_DATA ); } #endif xml_token->size += trailing_data_size; @@ -4822,7 +4828,7 @@ libcnotify_print_data( &( binary_data[ binary_data_offset ] ), trailing_data_size, - 0 ); + LIBCNOTIFY_PRINT_DATA_FLAG_GROUP_DATA ); } #endif xml_token->size += trailing_data_size; @@ -6068,7 +6074,7 @@ binary_data_size, binary_data_offset, ascii_codepage, - flags & ~( LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DEPENDENCY_IDENTIFIERS ), + flags, template_values_array, xml_tag, element_recursion_depth + 1, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfwevt-20240416/libfwevt.spec new/libfwevt-20240419/libfwevt.spec --- old/libfwevt-20240416/libfwevt.spec 2024-04-16 19:40:09.000000000 +0200 +++ new/libfwevt-20240419/libfwevt.spec 2024-04-21 12:12:02.000000000 +0200 @@ -1,5 +1,5 @@ Name: libfwevt -Version: 20240416 +Version: 20240419 Release: 1 Summary: Library to support the Windows XML Event Log (EVTX) data types Group: System Environment/Libraries @@ -80,6 +80,6 @@ %{_libdir}/python3*/site-packages/*.so %changelog -* Tue Apr 16 2024 Joachim Metz <joachim.m...@gmail.com> 20240416-1 +* Sun Apr 21 2024 Joachim Metz <joachim.m...@gmail.com> 20240419-1 - Auto-generated diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfwevt-20240416/m4/python.m4 new/libfwevt-20240419/m4/python.m4 --- old/libfwevt-20240416/m4/python.m4 2024-04-16 18:00:57.000000000 +0200 +++ new/libfwevt-20240419/m4/python.m4 2024-04-19 06:00:15.000000000 +0200 @@ -1,6 +1,6 @@ dnl Functions for Python bindings dnl -dnl Version: 20240416 +dnl Version: 20240418 dnl Function to check if the python binary is available dnl "python${PYTHON_VERSION} python python# python#.#" @@ -78,9 +78,10 @@ dnl For CygWin and MinGW add the -no-undefined linker flag AS_CASE( - [$host_os], - [cygwin*],[PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined"], - [mingw*],[PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined"], + [$build], + [*-*-cygwin*],[PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined"], + [*-*-mingw*],[PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined"], + [*-*-msys*],[PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined"], [*],[]) dnl Check for the existence of Python.h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfwevt-20240416/setup.cfg new/libfwevt-20240419/setup.cfg --- old/libfwevt-20240416/setup.cfg 2024-04-16 19:40:09.000000000 +0200 +++ new/libfwevt-20240419/setup.cfg 2024-04-21 12:12:02.000000000 +0200 @@ -1,6 +1,6 @@ [metadata] name = libfwevt-python -version = 20240416 +version = 20240419 description = Python bindings module for libfwevt long_description = Python bindings module for libfwevt long_description_content_type = text/plain diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfwevt-20240416/tests/fwevt_test_xml_document.c new/libfwevt-20240419/tests/fwevt_test_xml_document.c --- old/libfwevt-20240416/tests/fwevt_test_xml_document.c 2024-04-16 18:35:53.000000000 +0200 +++ new/libfwevt-20240419/tests/fwevt_test_xml_document.c 2024-04-19 06:45:38.000000000 +0200 @@ -4518,7 +4518,7 @@ 65536, 0x850, LIBUNA_CODEPAGE_WINDOWS_1252, - LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS | LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DEPENDENCY_IDENTIFIERS, + LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS, &error ); FWEVT_TEST_ASSERT_EQUAL_INT( @@ -4538,7 +4538,7 @@ 65536, 0x850, LIBUNA_CODEPAGE_WINDOWS_1252, - LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS | LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DEPENDENCY_IDENTIFIERS, + LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS, &error ); FWEVT_TEST_ASSERT_EQUAL_INT( @@ -4628,7 +4628,7 @@ 65536, 0x850, LIBUNA_CODEPAGE_WINDOWS_1252, - LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS | LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DEPENDENCY_IDENTIFIERS, + LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS, NULL, &error ); @@ -4687,7 +4687,7 @@ 65536, 0x850, LIBUNA_CODEPAGE_WINDOWS_1252, - LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS | LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DEPENDENCY_IDENTIFIERS, + LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS, NULL, &error ); @@ -4709,7 +4709,7 @@ 65536, 0x850, LIBUNA_CODEPAGE_WINDOWS_1252, - LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS | LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DEPENDENCY_IDENTIFIERS, + LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS, NULL, &error ); @@ -4731,7 +4731,7 @@ (size_t) SSIZE_MAX + 1, 0x850, LIBUNA_CODEPAGE_WINDOWS_1252, - LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS | LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DEPENDENCY_IDENTIFIERS, + LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS, NULL, &error ); @@ -4755,7 +4755,7 @@ 65536, 65536, LIBUNA_CODEPAGE_WINDOWS_1252, - LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS | LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DEPENDENCY_IDENTIFIERS, + LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS, NULL, &error ); @@ -4779,7 +4779,7 @@ 11, 0x850, LIBUNA_CODEPAGE_WINDOWS_1252, - LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS | LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DEPENDENCY_IDENTIFIERS, + LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS, NULL, &error ); @@ -5311,7 +5311,7 @@ 65536, 0x850, LIBUNA_CODEPAGE_WINDOWS_1252, - LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS | LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DEPENDENCY_IDENTIFIERS, + LIBFWEVT_XML_DOCUMENT_READ_FLAG_HAS_DATA_OFFSETS, &error ); FWEVT_TEST_ASSERT_EQUAL_INT( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libfwevt-20240416/tests/test_python_module.sh new/libfwevt-20240419/tests/test_python_module.sh --- old/libfwevt-20240416/tests/test_python_module.sh 2024-04-16 18:50:33.000000000 +0200 +++ new/libfwevt-20240419/tests/test_python_module.sh 2024-04-19 06:01:51.000000000 +0200 @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Tests Python module functions and types. # -# Version: 20240416 +# Version: 20240417 EXIT_SUCCESS=0; EXIT_FAILURE=1; @@ -143,9 +143,9 @@ PLATFORM=`uname -s | sed 's/-.*$//'`; -if test "${PLATFORM}" = "MINGW64_NT"; +if test "${PLATFORM}" = "MINGW64_NT" || test "${PLATFORM}" = "MSYS_NT"; then - cp ../${LIBRARY_NAME}/.libs/${LIBRARY_NAME}-1.dll ../${PYTHON_MODULE}/libs/; + cp ../${LIBRARY_NAME}/.libs/*.dll ../${PYTHON_MODULE}/.libs/; cp ../${PYTHON_MODULE}/.libs/${PYTHON_MODULE}.dll ../${PYTHON_MODULE}/.libs/${PYTHON_MODULE}.pyd; fi