Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bzrtp for openSUSE:Factory checked in at 2023-03-08 14:53:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bzrtp (Old) and /work/SRC/openSUSE:Factory/.bzrtp.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bzrtp" Wed Mar 8 14:53:44 2023 rev:38 rq:1070099 version:5.2.30 Changes: -------- --- /work/SRC/openSUSE:Factory/bzrtp/bzrtp.changes 2023-02-17 16:46:14.871282583 +0100 +++ /work/SRC/openSUSE:Factory/.bzrtp.new.31432/bzrtp.changes 2023-03-08 14:53:46.919071183 +0100 @@ -1,0 +2,6 @@ +Wed Mar 8 07:09:02 UTC 2023 - Paolo Stivanin <[email protected]> + +- Update to 5.2.30 (no changelog) +- Add set_current_version.patch + +------------------------------------------------------------------- Old: ---- bzrtp-5.2.16.tar.bz2 New: ---- bzrtp-5.2.30.tar.bz2 set_current_version.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bzrtp.spec ++++++ --- /var/tmp/diff_new_pack.lRfWYX/_old 2023-03-08 14:53:47.463074145 +0100 +++ /var/tmp/diff_new_pack.lRfWYX/_new 2023-03-08 14:53:47.467074168 +0100 @@ -18,7 +18,7 @@ %define sover 0 Name: bzrtp -Version: 5.2.16 +Version: 5.2.30 Release: 0 Summary: ZRTP keys exchange protocol implementation License: GPL-3.0-or-later @@ -28,10 +28,11 @@ Source1: baselibs.conf # PATCH-FIX-OPENSUSE bzrtp-fix-pkgconfig.patch [email protected] -- Install libbzrtp.pc. Patch0: bzrtp-fix-pkgconfig.patch +Patch1: set_current_version.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig -BuildRequires: pkgconfig(bctoolbox) >= 5.2.0 +BuildRequires: pkgconfig(bctoolbox) >= 5.2.30 BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(sqlite3) ++++++ bzrtp-5.2.16.tar.bz2 -> bzrtp-5.2.30.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bzrtp-5.2.16/src/packetParser.c new/bzrtp-5.2.30/src/packetParser.c --- old/bzrtp-5.2.16/src/packetParser.c 2022-11-14 13:49:14.000000000 +0100 +++ new/bzrtp-5.2.30/src/packetParser.c 2023-02-22 10:01:18.000000000 +0100 @@ -22,6 +22,7 @@ #include <string.h> #include "typedef.h" #include "packetParser.h" +#include <bctoolbox/defs.h> #include <bctoolbox/crypto.h> #include "cryptoUtils.h" @@ -293,7 +294,7 @@ /* Call this function after the packetCheck one, to actually parse the packet : create and fill the messageData structure */ -int bzrtp_packetParser(bzrtpContext_t *zrtpContext, bzrtpChannelContext_t *zrtpChannelContext, const uint8_t * input, uint16_t inputLength, bzrtpPacket_t *zrtpPacket) { +int bzrtp_packetParser(BCTBX_UNUSED(bzrtpContext_t *zrtpContext), bzrtpChannelContext_t *zrtpChannelContext, const uint8_t * input, uint16_t inputLength, bzrtpPacket_t *zrtpPacket) { int i; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bzrtp-5.2.16/src/stateMachine.c new/bzrtp-5.2.30/src/stateMachine.c --- old/bzrtp-5.2.16/src/stateMachine.c 2022-11-14 13:49:14.000000000 +0100 +++ new/bzrtp-5.2.30/src/stateMachine.c 2023-02-22 10:01:18.000000000 +0100 @@ -24,6 +24,7 @@ #include "cryptoUtils.h" #include "zidCache.h" #include <bctoolbox/crypto.h> +#include <bctoolbox/defs.h> #include "stateMachine.h" @@ -2584,7 +2585,7 @@ * return 0 on success, error code otherwise * */ -static int bzrtp_deriveKeysFromS0(bzrtpContext_t *zrtpContext, bzrtpChannelContext_t *zrtpChannelContext) { +static int bzrtp_deriveKeysFromS0(BCTBX_UNUSED(bzrtpContext_t *zrtpContext), bzrtpChannelContext_t *zrtpChannelContext) { int retval = 0; /* allocate memory for mackeyi, mackeyr, zrtpkeyi, zrtpkeyr */ zrtpChannelContext->mackeyi = (uint8_t *)malloc(zrtpChannelContext->hashLength*(sizeof(uint8_t))); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bzrtp-5.2.16/src/zidCache.c new/bzrtp-5.2.30/src/zidCache.c --- old/bzrtp-5.2.16/src/zidCache.c 2022-11-14 13:49:14.000000000 +0100 +++ new/bzrtp-5.2.30/src/zidCache.c 2023-02-22 10:01:18.000000000 +0100 @@ -20,6 +20,7 @@ #include <string.h> #include "typedef.h" #include <bctoolbox/crypto.h> +#include <bctoolbox/defs.h> #include "cryptoUtils.h" #include "zidCache.h" @@ -44,7 +45,7 @@ */ #define ZIDCACHE_DBSCHEMA_VERSION_NUMBER 0x000002 -static int callback_getSelfZID(void *data, int argc, char **argv, char **colName){ +static int callback_getSelfZID(void *data, BCTBX_UNUSED(int argc), char **argv, BCTBX_UNUSED(char **colName)){ uint8_t **selfZID = (uint8_t **)data; /* we selected zid only, it must then be in argv[0] */ @@ -56,7 +57,7 @@ return 0; } -static int callback_getUserVersion(void *data, int argc, char **argv, char **colName){ +static int callback_getUserVersion(void *data, BCTBX_UNUSED(int argc), char **argv, BCTBX_UNUSED(char **colName)){ int *userVersion = (int *)data; if (argv[0]) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bzrtp-5.2.16/test/bzrtpConfigsTest.c new/bzrtp-5.2.30/test/bzrtpConfigsTest.c --- old/bzrtp-5.2.16/test/bzrtpConfigsTest.c 2022-11-14 13:49:14.000000000 +0100 +++ new/bzrtp-5.2.30/test/bzrtpConfigsTest.c 2023-02-22 10:01:18.000000000 +0100 @@ -20,6 +20,8 @@ #include <stdlib.h> #include <time.h> +#include <bctoolbox/defs.h> + #include "bzrtp/bzrtp.h" #include "zidCache.h" #include "bzrtpTest.h" @@ -198,7 +200,7 @@ return 0; } -int getMessage(void *clientData, const uint8_t level, const uint8_t message, const char *messageString) { +int getMessage(void *clientData, const uint8_t level, const uint8_t message, BCTBX_UNUSED(const char *messageString)) { /* get the client context */ clientContext_t *clientContext = (clientContext_t *)clientData; if (level == BZRTP_MESSAGE_ERROR && message == BZRTP_MESSAGE_CACHEMISMATCH) { @@ -213,7 +215,7 @@ return 0; } -int computeExportedKeys(void *clientData, int zuid, uint8_t role) { +int computeExportedKeys(void *clientData, BCTBX_UNUSED(int zuid), uint8_t role) { size_t keyLength = 16; /* get the client context */ clientContext_t *clientContext = (clientContext_t *)clientData; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bzrtp-5.2.16/test/bzrtpTest.c new/bzrtp-5.2.30/test/bzrtpTest.c --- old/bzrtp-5.2.16/test/bzrtpTest.c 2022-11-14 13:49:14.000000000 +0100 +++ new/bzrtp-5.2.30/test/bzrtpTest.c 2023-02-22 10:01:18.000000000 +0100 @@ -17,6 +17,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include <bctoolbox/defs.h> + #include <stdio.h> #include "bzrtpTest.h" #include "typedef.h" @@ -59,14 +61,14 @@ return res; } -int silent_arg_func(const char *arg) { +int silent_arg_func(BCTBX_UNUSED(const char *arg)) { bctbx_set_log_level(log_domain, BCTBX_LOG_FATAL); bctbx_set_log_level(BCTBX_LOG_DOMAIN, BCTBX_LOG_FATAL); verbose = 0; return 0; } -int verbose_arg_func(const char *arg) { +int verbose_arg_func(BCTBX_UNUSED(const char *arg)) { bctbx_set_log_level(log_domain, BCTBX_LOG_DEBUG); bctbx_set_log_level(BCTBX_LOG_DOMAIN,BCTBX_LOG_DEBUG); verbose = 1; ++++++ set_current_version.patch ++++++ --- bzrtp-5.2.30/CMakeLists.txt.orig 2023-03-08 08:57:00.053520234 +0100 +++ bzrtp-5.2.30/CMakeLists.txt 2023-03-08 08:57:06.909556904 +0100 @@ -28,7 +28,7 @@ cmake_policy(SET CMP0077 NEW) endif() -project(bzrtp VERSION 5.2.0 LANGUAGES C CXX) +project(bzrtp VERSION 5.2.30 LANGUAGES C CXX) option(ENABLE_SHARED "Build shared library." YES) option(ENABLE_STATIC "Build static library." YES)
