Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package bctoolbox for openSUSE:Factory 
checked in at 2023-08-28 17:16:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bctoolbox (Old)
 and      /work/SRC/openSUSE:Factory/.bctoolbox.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bctoolbox"

Mon Aug 28 17:16:40 2023 rev:46 rq:1106247 version:5.2.98

Changes:
--------
--- /work/SRC/openSUSE:Factory/bctoolbox/bctoolbox.changes      2023-06-28 
21:33:30.261911282 +0200
+++ /work/SRC/openSUSE:Factory/.bctoolbox.new.1766/bctoolbox.changes    
2023-08-28 17:16:41.983849293 +0200
@@ -1,0 +2,5 @@
+Mon Aug 28 07:48:33 UTC 2023 - Paolo Stivanin <[email protected]>
+
+- Update to 5.2.98 (no changelog)
+
+-------------------------------------------------------------------

Old:
----
  bctoolbox-5.2.73.tar.bz2

New:
----
  bctoolbox-5.2.98.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ bctoolbox.spec ++++++
--- /var/tmp/diff_new_pack.o16qYp/_old  2023-08-28 17:16:43.551905602 +0200
+++ /var/tmp/diff_new_pack.o16qYp/_new  2023-08-28 17:16:43.555905746 +0200
@@ -18,7 +18,7 @@
 
 %define sover   1
 Name:           bctoolbox
-Version:        5.2.73
+Version:        5.2.98
 Release:        0
 Summary:        Utility library for software from Belledonne Communications
 License:        GPL-3.0-or-later

++++++ bctoolbox-5.2.73.tar.bz2 -> bctoolbox-5.2.98.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bctoolbox-5.2.73/include/bctoolbox/tester.h 
new/bctoolbox-5.2.98/include/bctoolbox/tester.h
--- old/bctoolbox-5.2.73/include/bctoolbox/tester.h     2023-06-07 
12:10:03.000000000 +0200
+++ new/bctoolbox-5.2.98/include/bctoolbox/tester.h     2023-07-28 
13:58:32.000000000 +0200
@@ -58,6 +58,7 @@
        test_function_t after_each;     /*function invoked after each test 
within this suite, even if it failed. */
        int nb_tests;                              /* number of tests */
        test_t *tests;                             /* tests within this suite */
+       int average_time;                          /* average time that takes 
the suite. Used for sorting. Use 0 if unknown, in which case test no sorting is 
done. */
 } test_suite_t;
 
 #ifdef __cplusplus
@@ -79,7 +80,7 @@
 BCTBX_PUBLIC int bc_tester_register_suites(void);
 
 BCTBX_PUBLIC int bc_tester_register_suite_by_name(const char *suite_name);
-BCTBX_PUBLIC void bc_tester_add_suite(test_suite_t *suite);
+BCTBX_PUBLIC void bc_tester_add_suite(test_suite_t *suite);    /* Add suite to 
the list of suites to be executed. If average_time is provided, the list are 
automatically sorted so that longer suites are executed first, in order to 
optimize (minimize) the total execution time when suites are run in parallel 
mode.*/
 BCTBX_PUBLIC void bc_tester_set_max_parallel_suites(int max_parallel_suites);
 BCTBX_PUBLIC void bc_tester_set_max_failed_tests_threshold(int 
max_failed_tests_threshold);
 BCTBX_PUBLIC void bc_tester_set_global_timeout(int seconds);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bctoolbox-5.2.73/src/CMakeLists.txt 
new/bctoolbox-5.2.98/src/CMakeLists.txt
--- old/bctoolbox-5.2.73/src/CMakeLists.txt     2023-06-07 12:10:03.000000000 
+0200
+++ new/bctoolbox-5.2.98/src/CMakeLists.txt     2023-07-28 13:58:32.000000000 
+0200
@@ -101,10 +101,10 @@
 bc_apply_compile_flags(BCTOOLBOX_OBJC_SOURCE_FILES STRICT_OPTIONS_CPP 
STRICT_OPTIONS_OBJC)
 bc_apply_compile_flags(BCTOOLBOX_IOS_OBJC_SOURCE_FILES STRICT_OPTIONS_CPP 
STRICT_OPTIONS_OBJC)
 
-# Fix for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105562
+# Fix for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105562 and 
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105616
 if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
                AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 12
-               AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 13)
+               AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 14)
        set_source_files_properties(utils/regex.cc PROPERTIES COMPILE_OPTIONS 
"-Wno-error=maybe-uninitialized")
 endif()
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bctoolbox-5.2.73/src/crypto/mbedtls.c 
new/bctoolbox-5.2.98/src/crypto/mbedtls.c
--- old/bctoolbox-5.2.73/src/crypto/mbedtls.c   2023-06-07 12:10:03.000000000 
+0200
+++ new/bctoolbox-5.2.98/src/crypto/mbedtls.c   2023-07-28 13:58:32.000000000 
+0200
@@ -848,6 +848,7 @@
 }
 
 void bctbx_ssl_context_free(bctbx_ssl_context_t *ssl_ctx) {
+       if (ssl_ctx == NULL) return;
        mbedtls_ssl_free(&(ssl_ctx->ssl_ctx));
        bctbx_free(ssl_ctx);
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bctoolbox-5.2.73/src/tester.c 
new/bctoolbox-5.2.98/src/tester.c
--- old/bctoolbox-5.2.73/src/tester.c   2023-06-07 12:10:03.000000000 +0200
+++ new/bctoolbox-5.2.98/src/tester.c   2023-07-28 13:58:32.000000000 +0200
@@ -1424,7 +1424,13 @@
        if (test_suite == NULL) {
                test_suite = (test_suite_t **)malloc(10 * sizeof(test_suite_t 
*));
        }
-       test_suite[nb_test_suites] = suite;
+       int insert_index = 0;
+       while(insert_index < nb_test_suites && 
test_suite[insert_index]->average_time >= suite->average_time ) ++insert_index; 
 // if suite->average_time == 0 => the new suite will be at the end.
+       if( insert_index < nb_test_suites) {// Need insertion
+               for(int move_index = nb_test_suites ; move_index >= 
insert_index + 1  ; --move_index)
+                       test_suite[move_index] = test_suite[move_index-1];
+       }
+       test_suite[insert_index] = suite;
        nb_test_suites++;
        if ((nb_test_suites % 10) == 0) {
                test_suite = (test_suite_t **)realloc(test_suite, 
(nb_test_suites + 10) * sizeof(test_suite_t *));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bctoolbox-5.2.73/tester/containers.cc 
new/bctoolbox-5.2.98/tester/containers.cc
--- old/bctoolbox-5.2.73/tester/containers.cc   2023-06-07 12:10:03.000000000 
+0200
+++ new/bctoolbox-5.2.98/tester/containers.cc   2023-07-28 13:58:32.000000000 
+0200
@@ -245,4 +245,4 @@
 };
 
 test_suite_t containers_test_suite = {"Containers", NULL, NULL, NULL, NULL,
-                                                          
sizeof(container_tests) / sizeof(container_tests[0]), container_tests};
+                                                          
sizeof(container_tests) / sizeof(container_tests[0]), container_tests, 0};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bctoolbox-5.2.73/tester/crypto.cc 
new/bctoolbox-5.2.98/tester/crypto.cc
--- old/bctoolbox-5.2.73/tester/crypto.cc       2023-06-07 12:10:03.000000000 
+0200
+++ new/bctoolbox-5.2.98/tester/crypto.cc       2023-07-28 13:58:32.000000000 
+0200
@@ -1079,4 +1079,4 @@
 };
 
 test_suite_t crypto_test_suite = {"Crypto", NULL, NULL, NULL, NULL,
-                                                          sizeof(crypto_tests) 
/ sizeof(crypto_tests[0]), crypto_tests};
+                                                          sizeof(crypto_tests) 
/ sizeof(crypto_tests[0]), crypto_tests, 0};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bctoolbox-5.2.73/tester/encrypted_vfs.cc 
new/bctoolbox-5.2.98/tester/encrypted_vfs.cc
--- old/bctoolbox-5.2.73/tester/encrypted_vfs.cc        2023-06-07 
12:10:03.000000000 +0200
+++ new/bctoolbox-5.2.98/tester/encrypted_vfs.cc        2023-07-28 
13:58:32.000000000 +0200
@@ -593,4 +593,5 @@
                                          NULL,
                                          sizeof(encrypted_vfs_tests) /
                                              sizeof(encrypted_vfs_tests[0]),
-                                         encrypted_vfs_tests};
+                                         encrypted_vfs_tests
+                                         , 0};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bctoolbox-5.2.73/tester/ios_utils.cc 
new/bctoolbox-5.2.98/tester/ios_utils.cc
--- old/bctoolbox-5.2.73/tester/ios_utils.cc    2023-06-07 12:10:03.000000000 
+0200
+++ new/bctoolbox-5.2.98/tester/ios_utils.cc    2023-07-28 13:58:32.000000000 
+0200
@@ -34,4 +34,4 @@
 };
 
 test_suite_t ios_utils_test_suite = {"iOS Utilities", NULL, NULL, NULL, NULL,
-sizeof(ios_utils_tests) / sizeof(ios_utils_tests[0]), ios_utils_tests};
+sizeof(ios_utils_tests) / sizeof(ios_utils_tests[0]), ios_utils_tests, 0};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bctoolbox-5.2.73/tester/param_string.c 
new/bctoolbox-5.2.98/tester/param_string.c
--- old/bctoolbox-5.2.73/tester/param_string.c  2023-06-07 12:10:03.000000000 
+0200
+++ new/bctoolbox-5.2.98/tester/param_string.c  2023-07-28 13:58:32.000000000 
+0200
@@ -57,4 +57,4 @@
 };
 
 test_suite_t param_string_test_suite = {"Param string", NULL, NULL, NULL, NULL,
-                                                          
sizeof(param_string_tests) / sizeof(param_string_tests[0]), param_string_tests};
+                                                          
sizeof(param_string_tests) / sizeof(param_string_tests[0]), param_string_tests, 
0};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bctoolbox-5.2.73/tester/parser.c 
new/bctoolbox-5.2.98/tester/parser.c
--- old/bctoolbox-5.2.73/tester/parser.c        2023-06-07 12:10:03.000000000 
+0200
+++ new/bctoolbox-5.2.98/tester/parser.c        2023-07-28 13:58:32.000000000 
+0200
@@ -43,4 +43,4 @@
 };
 
 test_suite_t parser_test_suite = {"Parsing", NULL, NULL, NULL, NULL,
-                                                          
sizeof(container_tests) / sizeof(container_tests[0]), container_tests};
+                                                          
sizeof(container_tests) / sizeof(container_tests[0]), container_tests, 0};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bctoolbox-5.2.73/tester/port.c 
new/bctoolbox-5.2.98/tester/port.c
--- old/bctoolbox-5.2.73/tester/port.c  2023-06-07 12:10:03.000000000 +0200
+++ new/bctoolbox-5.2.98/tester/port.c  2023-07-28 13:58:32.000000000 +0200
@@ -245,4 +245,4 @@
 };
 
 test_suite_t utils_test_suite = {"Utils", NULL, NULL, NULL, NULL,
-                                                          sizeof(utils_tests) 
/ sizeof(utils_tests[0]), utils_tests};
+                                                          sizeof(utils_tests) 
/ sizeof(utils_tests[0]), utils_tests, 0};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bctoolbox-5.2.73/tester/vfs.c 
new/bctoolbox-5.2.98/tester/vfs.c
--- old/bctoolbox-5.2.73/tester/vfs.c   2023-06-07 12:10:03.000000000 +0200
+++ new/bctoolbox-5.2.98/tester/vfs.c   2023-07-28 13:58:32.000000000 +0200
@@ -271,5 +271,5 @@
        TEST_NO_TAG("File get next line", file_get_nxtline_test)
 };
 
-test_suite_t vfs_test_suite = {"vfs", NULL, NULL, NULL, NULL, 
sizeof(vfs_tests) / sizeof(vfs_tests[0]), vfs_tests};
+test_suite_t vfs_test_suite = {"vfs", NULL, NULL, NULL, NULL, 
sizeof(vfs_tests) / sizeof(vfs_tests[0]), vfs_tests, 0};
 

++++++ set_curret_version.patch ++++++
--- /var/tmp/diff_new_pack.o16qYp/_old  2023-08-28 17:16:43.727911923 +0200
+++ /var/tmp/diff_new_pack.o16qYp/_new  2023-08-28 17:16:43.727911923 +0200
@@ -5,7 +5,7 @@
  endif()
  
 -project(bctoolbox VERSION 5.2.0)
-+project(bctoolbox VERSION 5.2.73)
++project(bctoolbox VERSION 5.2.98)
  
  set(BCTOOLBOX_VERSION "${PROJECT_VERSION}")
  set(BCTOOLBOX_VERSION_MAJOR ${PROJECT_VERSION_MAJOR})

Reply via email to