Hello community, here is the log from the commit of package profanity for openSUSE:Factory checked in at 2020-06-24 15:48:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/profanity (Old) and /work/SRC/openSUSE:Factory/.profanity.new.2956 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "profanity" Wed Jun 24 15:48:17 2020 rev:21 rq:816823 version:0.9.4 Changes: -------- --- /work/SRC/openSUSE:Factory/profanity/profanity.changes 2020-06-14 18:35:52.906651415 +0200 +++ /work/SRC/openSUSE:Factory/.profanity.new.2956/profanity.changes 2020-06-24 15:48:22.596276828 +0200 @@ -1,0 +2,14 @@ +Wed Jun 24 12:03:31 UTC 2020 - Michael Vetter <mvet...@suse.com> + +- Update to 0.9.4: + * Fix NULL terminated list (#1367) + * Add missing string.h (#1372) + * Fix gcc warnings for cygwin (#1373) + +------------------------------------------------------------------- +Fri Jun 19 18:36:16 UTC 2020 - Michael Vetter <mvet...@suse.com> + +- Update to 0.9.3: + * Fix expansion in eval_password (#1364) + +------------------------------------------------------------------- Old: ---- profanity-0.9.2.tar.gz New: ---- profanity-0.9.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ profanity.spec ++++++ --- /var/tmp/diff_new_pack.yow0u4/_old 2020-06-24 15:48:23.724281557 +0200 +++ /var/tmp/diff_new_pack.yow0u4/_new 2020-06-24 15:48:23.724281557 +0200 @@ -17,7 +17,7 @@ Name: profanity -Version: 0.9.2 +Version: 0.9.4 Release: 0 Summary: Console-based XMPP client License: SUSE-GPL-3.0+-with-openssl-exception ++++++ profanity-0.9.2.tar.gz -> profanity-0.9.4.tar.gz ++++++ Binary files old/profanity-0.9.2/.git/index and new/profanity-0.9.4/.git/index differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/profanity-0.9.2/CHANGELOG new/profanity-0.9.4/CHANGELOG --- old/profanity-0.9.2/CHANGELOG 2020-06-13 18:35:37.000000000 +0200 +++ new/profanity-0.9.4/CHANGELOG 2020-06-24 13:54:20.000000000 +0200 @@ -1,3 +1,17 @@ +0.9.4 (2020-06-24) +===== + +Changes: +- Fix NULL terminated list (#1367) +- Add missing string.h (#1372) (@pasis) +- Fix gcc warnings for cygwin (#1373) (@pasis) + +0.9.3 (2020-06-19) +===== + +Changes: +- Fix expansion in eval_password (#1364) + 0.9.2 (2020-06-13) ===== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/profanity-0.9.2/configure new/profanity-0.9.4/configure --- old/profanity-0.9.2/configure 2020-06-13 18:38:58.000000000 +0200 +++ new/profanity-0.9.4/configure 2020-06-24 13:57:29.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for profanity 0.9.2. +# Generated by GNU Autoconf 2.69 for profanity 0.9.4. # # Report bugs to <jub...@iodoru.org>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='profanity' PACKAGE_TARNAME='profanity' -PACKAGE_VERSION='0.9.2' -PACKAGE_STRING='profanity 0.9.2' +PACKAGE_VERSION='0.9.4' +PACKAGE_STRING='profanity 0.9.4' PACKAGE_BUGREPORT='jub...@iodoru.org' PACKAGE_URL='' @@ -1426,7 +1426,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 profanity 0.9.2 to adapt to many kinds of systems. +\`configure' configures profanity 0.9.4 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1496,7 +1496,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of profanity 0.9.2:";; + short | recursive ) echo "Configuration of profanity 0.9.4:";; esac cat <<\_ACEOF @@ -1670,7 +1670,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -profanity configure 0.9.2 +profanity configure 0.9.4 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2039,7 +2039,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by profanity $as_me 0.9.2, which was +It was created by profanity $as_me 0.9.4, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2906,7 +2906,7 @@ # Define the identity of the package. PACKAGE='profanity' - VERSION='0.9.2' + VERSION='0.9.4' cat >>confdefs.h <<_ACEOF @@ -17448,7 +17448,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by profanity $as_me 0.9.2, which was +This file was extended by profanity $as_me 0.9.4, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -17514,7 +17514,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -profanity config.status 0.9.2 +profanity config.status 0.9.4 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/profanity-0.9.2/configure.ac new/profanity-0.9.4/configure.ac --- old/profanity-0.9.2/configure.ac 2020-06-13 18:38:21.000000000 +0200 +++ new/profanity-0.9.4/configure.ac 2020-06-24 13:57:00.000000000 +0200 @@ -1,7 +1,7 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. -AC_INIT([profanity], [0.9.2], [jub...@iodoru.org]) +AC_INIT([profanity], [0.9.4], [jub...@iodoru.org]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_SRCDIR([src/main.c]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/profanity-0.9.2/docs/profanity.1 new/profanity-0.9.4/docs/profanity.1 --- old/profanity-0.9.2/docs/profanity.1 2020-06-13 18:36:05.000000000 +0200 +++ new/profanity-0.9.4/docs/profanity.1 2020-06-24 13:54:51.000000000 +0200 @@ -1,4 +1,4 @@ -.TH man 1 "2020-05-09" "0.9.2" "Profanity XMPP client" +.TH man 1 "2020-06-24" "0.9.4" "Profanity XMPP client" .SH NAME Profanity \- a simple console based XMPP chat client. .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/profanity-0.9.2/src/config/account.c new/profanity-0.9.4/src/config/account.c --- old/profanity-0.9.2/src/config/account.c 2020-06-05 14:52:38.000000000 +0200 +++ new/profanity-0.9.4/src/config/account.c 2020-06-23 14:36:49.000000000 +0200 @@ -201,16 +201,12 @@ assert(account->eval_password != NULL); gchar **output = NULL; - gchar **argv = g_strsplit(account->eval_password, " ", 0); + gchar *argv[] = {"sh", "-c", account->eval_password, NULL}; if (!call_external(argv, &output, NULL)) { - g_strfreev(argv); - argv = NULL; return FALSE; } - g_strfreev(argv); - if (!output || !output[0]) { log_error("Failed to read eval_password output"); g_strfreev(output); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/profanity-0.9.2/src/tools/bookmark_ignore.c new/profanity-0.9.4/src/tools/bookmark_ignore.c --- old/profanity-0.9.2/src/tools/bookmark_ignore.c 2020-06-03 13:05:41.000000000 +0200 +++ new/profanity-0.9.4/src/tools/bookmark_ignore.c 2020-06-24 10:30:10.000000000 +0200 @@ -38,6 +38,7 @@ #include <glib.h> #include <glib/gstdio.h> #include <stdlib.h> +#include <string.h> #include "config/files.h" #include "config/preferences.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/profanity-0.9.2/src/ui/notifier.c new/profanity-0.9.4/src/ui/notifier.c --- old/profanity-0.9.2/src/ui/notifier.c 2020-06-03 13:01:45.000000000 +0200 +++ new/profanity-0.9.4/src/ui/notifier.c 2020-06-24 13:51:09.000000000 +0200 @@ -234,20 +234,21 @@ #endif #ifdef PLATFORM_CYGWIN NOTIFYICONDATA nid; + memset(&nid, 0, sizeof(nid)); nid.cbSize = sizeof(NOTIFYICONDATA); //nid.hWnd = hWnd; nid.uID = 100; nid.uVersion = NOTIFYICON_VERSION; //nid.uCallbackMessage = WM_MYMESSAGE; nid.hIcon = LoadIcon(NULL, IDI_APPLICATION); - strncpy(nid.szTip, "Tray Icon", 10); + strcpy(nid.szTip, "Tray Icon"); nid.uFlags = NIF_MESSAGE | NIF_ICON | NIF_TIP; Shell_NotifyIcon(NIM_ADD, &nid); // For a Ballon Tip nid.uFlags = NIF_INFO; - strncpy(nid.szInfoTitle, "Profanity", 10); // Title - strncpy(nid.szInfo, message, 256); // Copy Tip + strcpy(nid.szInfoTitle, "Profanity"); // Title + strncpy(nid.szInfo, message, sizeof(nid.szInfo) - 1); // Copy Tip nid.uTimeout = timeout; // 3 Seconds nid.dwInfoFlags = NIIF_INFO; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/profanity-0.9.2/src/xmpp/message.c new/profanity-0.9.4/src/xmpp/message.c --- old/profanity-0.9.2/src/xmpp/message.c 2020-06-03 13:05:41.000000000 +0200 +++ new/profanity-0.9.4/src/xmpp/message.c 2020-06-19 20:15:56.000000000 +0200 @@ -1169,7 +1169,7 @@ { // ignore if type not chat or absent const char *type = xmpp_stanza_get_type(stanza); - if (!(g_strcmp0(type, "chat") == 0 || type == NULL)) { + if (type == NULL || g_strcmp0(type, STANZA_TYPE_CHAT) != 0) { return; }