Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package belle-sip for openSUSE:Factory checked in at 2022-06-16 18:20:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/belle-sip (Old) and /work/SRC/openSUSE:Factory/.belle-sip.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "belle-sip" Thu Jun 16 18:20:00 2022 rev:27 rq:982686 version:5.1.32 Changes: -------- --- /work/SRC/openSUSE:Factory/belle-sip/belle-sip.changes 2022-03-24 23:00:34.584399738 +0100 +++ /work/SRC/openSUSE:Factory/.belle-sip.new.1548/belle-sip.changes 2022-06-16 18:20:18.048087528 +0200 @@ -1,0 +2,12 @@ +Wed Jun 8 03:05:29 UTC 2022 - Giacomo Comes <[email protected]> - 5.1.32 + +- Update to version 5.1.32: + * Fixed userid not used in http auth + * Add methods to known whether a request can be created or not + * Avoid re-sending a BYE because of un-ACKed dialog if a BYE was sent already + * report io error to pending http transaction in case of provider stop + * Add test vectors from RFC7616 for digest auth + * Implement automatic retry of reINVITE upon 491 request pending response +- revert license tag change + +------------------------------------------------------------------- Old: ---- belle-sip-5.1.12.tar.bz2 New: ---- belle-sip-5.1.32.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ belle-sip.spec ++++++ --- /var/tmp/diff_new_pack.aCAEZE/_old 2022-06-16 18:20:18.700088455 +0200 +++ /var/tmp/diff_new_pack.aCAEZE/_new 2022-06-16 18:20:18.704088461 +0200 @@ -20,10 +20,10 @@ %define soname libbellesip %define sover 1 Name: belle-sip -Version: 5.1.12 +Version: 5.1.32 Release: 0 Summary: C object-oriented SIP Stack -License: GPL-3.0-only +License: GPL-3.0-or-later Group: Productivity/Telephony/SIP/Utilities URL: https://linphone.org/technical-corner/belle-sip/ Source: https://gitlab.linphone.org/BC/public/belle-sip/-/archive/%{version}/%{name}-%{version}.tar.bz2 ++++++ belle-sip-5.1.12.tar.bz2 -> belle-sip-5.1.32.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/belle-sip-5.1.12/include/belle-sip/mainloop.h new/belle-sip-5.1.32/include/belle-sip/mainloop.h --- old/belle-sip-5.1.12/include/belle-sip/mainloop.h 2022-03-16 10:38:57.000000000 +0100 +++ new/belle-sip-5.1.32/include/belle-sip/mainloop.h 2022-05-18 06:20:06.000000000 +0200 @@ -118,7 +118,7 @@ * Schedule an arbitrary task at next main loop iteration. * @note thread-safe **/ -BELLESIP_EXPORT void belle_sip_main_loop_do_later(belle_sip_main_loop_t *ml, belle_sip_callback_t func, void *data); +BELLESIP_EXPORT belle_sip_source_t* belle_sip_main_loop_do_later(belle_sip_main_loop_t *ml, belle_sip_callback_t func, void *data); /** * Same as #belle_sip_main_loop_do_later() but allow to give a name to the task. @@ -126,7 +126,7 @@ * #belle_sip_main_loop_do_later() was called. * @note thread-safe **/ -BELLESIP_EXPORT void belle_sip_main_loop_do_later_with_name( +BELLESIP_EXPORT belle_sip_source_t* belle_sip_main_loop_do_later_with_name( belle_sip_main_loop_t *ml, belle_sip_callback_t func, void *data, @@ -283,13 +283,13 @@ * C++ wrapper for #belle_sip_main_loop_do_later(). * @note thread-safe */ -BELLESIP_EXPORT void belle_sip_main_loop_cpp_do_later(belle_sip_main_loop_t *ml, const BelleSipDoLaterFunc &func); +BELLESIP_EXPORT belle_sip_source_t* belle_sip_main_loop_cpp_do_later(belle_sip_main_loop_t *ml, const BelleSipDoLaterFunc &func); /** * Overload of the previous function that allow to give a name to the task. * @note thread-safe */ -BELLESIP_EXPORT void belle_sip_main_loop_cpp_do_later( +BELLESIP_EXPORT belle_sip_source_t* belle_sip_main_loop_cpp_do_later( belle_sip_main_loop_t *ml, const BelleSipDoLaterFunc &func, const char *task_name diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/belle-sip-5.1.12/src/belle_sip_loop.c new/belle-sip-5.1.32/src/belle_sip_loop.c --- old/belle-sip-5.1.12/src/belle_sip_loop.c 2022-03-16 10:38:57.000000000 +0100 +++ new/belle-sip-5.1.32/src/belle_sip_loop.c 2022-05-18 06:20:06.000000000 +0200 @@ -432,7 +432,7 @@ return BELLE_SIP_STOP; } -void belle_sip_main_loop_do_later_with_name( +belle_sip_source_t* belle_sip_main_loop_do_later_with_name( belle_sip_main_loop_t *ml, belle_sip_callback_t func, void *data, @@ -452,10 +452,11 @@ /* This function MUST be the last to guarantee thread-safety. */ belle_sip_main_loop_add_source(ml,dolater_data->source); + return dolater_data->source; } -void belle_sip_main_loop_do_later(belle_sip_main_loop_t *ml, belle_sip_callback_t func, void *data){ - belle_sip_main_loop_do_later_with_name(ml, func, data, NULL); +belle_sip_source_t* belle_sip_main_loop_do_later(belle_sip_main_loop_t *ml, belle_sip_callback_t func, void *data){ + return belle_sip_main_loop_do_later_with_name(ml, func, data, NULL); } void belle_sip_source_set_timeout(belle_sip_source_t *s, unsigned int value_ms) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/belle-sip-5.1.12/src/cpp_utils.cc new/belle-sip-5.1.32/src/cpp_utils.cc --- old/belle-sip-5.1.12/src/cpp_utils.cc 2022-03-16 10:38:57.000000000 +0100 +++ new/belle-sip-5.1.32/src/cpp_utils.cc 2022-05-18 06:20:06.000000000 +0200 @@ -81,8 +81,8 @@ return BelleSipSourcePtr{source}; } -void belle_sip_main_loop_cpp_do_later(belle_sip_main_loop_t *ml, const BelleSipDoLaterFunc &func){ - belle_sip_main_loop_cpp_do_later(ml, func, nullptr); + belle_sip_source_t* belle_sip_main_loop_cpp_do_later(belle_sip_main_loop_t *ml, const BelleSipDoLaterFunc &func){ + return belle_sip_main_loop_cpp_do_later(ml, func, nullptr); } static void cpp_timer_delete(belle_sip_source_t* source){ @@ -110,12 +110,12 @@ return source; } -void belle_sip_main_loop_cpp_do_later( +belle_sip_source_t* belle_sip_main_loop_cpp_do_later( belle_sip_main_loop_t *ml, const BelleSipDoLaterFunc &func, const char *task_name ) { - belle_sip_main_loop_do_later_with_name( + return belle_sip_main_loop_do_later_with_name( ml, [](void *ud){ auto func = static_cast<BelleSipDoLaterFunc *>(ud); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/belle-sip-5.1.12/src/http-provider.c new/belle-sip-5.1.32/src/http-provider.c --- old/belle-sip-5.1.12/src/http-provider.c 2022-03-16 10:38:57.000000000 +0100 +++ new/belle-sip-5.1.32/src/http-provider.c 2022-05-18 06:20:06.000000000 +0200 @@ -119,7 +119,7 @@ ev=belle_sip_auth_event_create((belle_sip_object_t*)ctx->provider,realm,from_uri); belle_sip_auth_event_set_algorithm(ev, requested_algorithm); BELLE_HTTP_REQUEST_INVOKE_LISTENER(req,process_auth_requested,ev); - username=ev->username; + username= ev->userid ? ev->userid : ev->username; passwd=ev->passwd; ha1=ev->ha1; algorithm=ev->algorithm; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/belle-sip-5.1.12/src/transports/tls_channel.c new/belle-sip-5.1.32/src/transports/tls_channel.c --- old/belle-sip-5.1.12/src/transports/tls_channel.c 2022-03-16 10:38:57.000000000 +0100 +++ new/belle-sip-5.1.32/src/transports/tls_channel.c 2022-05-18 06:20:06.000000000 +0200 @@ -280,7 +280,6 @@ if ( (fd = fopen(name_with_path, "w") ) == NULL) { belle_sip_error("Certificate generation can't open/create file %s", name_with_path); - free(name_with_path); belle_sip_object_unref(*pkey); belle_sip_object_unref(*certificate); *pkey = NULL;
