Hello community,

here is the log from the commit of package profanity for openSUSE:Factory 
checked in at 2020-06-11 14:52:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/profanity (Old)
 and      /work/SRC/openSUSE:Factory/.profanity.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "profanity"

Thu Jun 11 14:52:15 2020 rev:19 rq:813415 version:0.9.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/profanity/profanity.changes      2020-06-10 
00:52:41.487614579 +0200
+++ /work/SRC/openSUSE:Factory/.profanity.new.3606/profanity.changes    
2020-06-11 14:52:52.246943724 +0200
@@ -1,0 +2,6 @@
+Thu Jun 11 08:13:42 UTC 2020 - Michael Vetter <[email protected]>
+
+- Update to 0.9.1:
+  * Make legacy auth optional (#1360) (@pasis)
+
+-------------------------------------------------------------------

Old:
----
  profanity-0.9.0.tar.gz

New:
----
  profanity-0.9.1.tar.gz

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

Other differences:
------------------
++++++ profanity.spec ++++++
--- /var/tmp/diff_new_pack.0ktg9Z/_old  2020-06-11 14:52:53.286946895 +0200
+++ /var/tmp/diff_new_pack.0ktg9Z/_new  2020-06-11 14:52:53.290946908 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           profanity
-Version:        0.9.0
+Version:        0.9.1
 Release:        0
 Summary:        Console-based XMPP client
 License:        SUSE-GPL-3.0+-with-openssl-exception

++++++ profanity-0.9.0.tar.gz -> profanity-0.9.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/profanity-0.9.0/CHANGELOG 
new/profanity-0.9.1/CHANGELOG
--- old/profanity-0.9.0/CHANGELOG       2020-06-09 16:47:13.000000000 +0200
+++ new/profanity-0.9.1/CHANGELOG       2020-06-11 10:04:24.000000000 +0200
@@ -1,3 +1,12 @@
+0.9.1 (2020-06-11)
+=====
+
+This release depends on libstrophe 0.9.3 only if you want to have legacy 
authentication.
+Otherwise you can still use libstrophe 0.9.2.
+
+Changes:
+- Make legacy auth optional (#1360) (@pasis)
+
 0.9.0 (2020-06-09)
 =====
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/profanity-0.9.0/configure 
new/profanity-0.9.1/configure
--- old/profanity-0.9.0/configure       2020-06-09 16:50:29.000000000 +0200
+++ new/profanity-0.9.1/configure       2020-06-11 10:07:19.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.0.
+# Generated by GNU Autoconf 2.69 for profanity 0.9.1.
 #
 # Report bugs to <[email protected]>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='profanity'
 PACKAGE_TARNAME='profanity'
-PACKAGE_VERSION='0.9.0'
-PACKAGE_STRING='profanity 0.9.0'
+PACKAGE_VERSION='0.9.1'
+PACKAGE_STRING='profanity 0.9.1'
 PACKAGE_BUGREPORT='[email protected]'
 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.0 to adapt to many kinds of systems.
+\`configure' configures profanity 0.9.1 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.0:";;
+     short | recursive ) echo "Configuration of profanity 0.9.1:";;
    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.0
+profanity configure 0.9.1
 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.0, which was
+It was created by profanity $as_me 0.9.1, 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.0'
+ VERSION='0.9.1'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -13636,6 +13636,7 @@
 fi
 
 ### Check for libmesode, fall back to libstrophe
+### TODO libmesode support will be removed in the future, rewrite this section
 
 
 
@@ -13874,11 +13875,11 @@
        # Put the nasty error message in config.log where it belongs
        echo "$libstrophe_PKG_ERRORS" >&5
 
-       as_fn_error $? "Neither libmesode or libstrophe in version >= 0.9.3 
found, either is required for profanity" "$LINENO" 5
+       XMPP_LIB=""
 elif test $pkg_failed = untried; then
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
-       as_fn_error $? "Neither libmesode or libstrophe in version >= 0.9.3 
found, either is required for profanity" "$LINENO" 5
+       XMPP_LIB=""
 else
        libstrophe_CFLAGS=$pkg_cv_libstrophe_CFLAGS
        libstrophe_LIBS=$pkg_cv_libstrophe_LIBS
@@ -13950,11 +13951,11 @@
        # Put the nasty error message in config.log where it belongs
        echo "$libstrophe_PKG_ERRORS" >&5
 
-       as_fn_error $? "Neither libmesode or libstrophe in version >= 0.9.3 
found, either is required for profanity" "$LINENO" 5
+       XMPP_LIB=""
 elif test $pkg_failed = untried; then
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
-       as_fn_error $? "Neither libmesode or libstrophe in version >= 0.9.3 
found, either is required for profanity" "$LINENO" 5
+       XMPP_LIB=""
 else
        libstrophe_CFLAGS=$pkg_cv_libstrophe_CFLAGS
        libstrophe_LIBS=$pkg_cv_libstrophe_LIBS
@@ -13973,6 +13974,228 @@
 $as_echo "#define HAVE_LIBMESODE 1" >>confdefs.h
 
 fi
+if test "x$XMPP_LIB" = x; then
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmesode" >&5
+$as_echo_n "checking for libmesode... " >&6; }
+
+if test -n "$libmesode_CFLAGS"; then
+    pkg_cv_libmesode_CFLAGS="$libmesode_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists 
--print-errors \"libmesode >= 0.9.2\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "libmesode >= 0.9.2") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_libmesode_CFLAGS=`$PKG_CONFIG --cflags "libmesode >= 0.9.2" 
2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
+fi
+if test -n "$libmesode_LIBS"; then
+    pkg_cv_libmesode_LIBS="$libmesode_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists 
--print-errors \"libmesode >= 0.9.2\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "libmesode >= 0.9.2") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_libmesode_LIBS=`$PKG_CONFIG --libs "libmesode >= 0.9.2" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+        _pkg_short_errors_supported=yes
+else
+        _pkg_short_errors_supported=no
+fi
+        if test $_pkg_short_errors_supported = yes; then
+               libmesode_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors 
--cflags --libs "libmesode >= 0.9.2" 2>&1`
+        else
+               libmesode_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags 
--libs "libmesode >= 0.9.2" 2>&1`
+        fi
+       # Put the nasty error message in config.log where it belongs
+       echo "$libmesode_PKG_ERRORS" >&5
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstrophe" >&5
+$as_echo_n "checking for libstrophe... " >&6; }
+
+if test -n "$libstrophe_CFLAGS"; then
+    pkg_cv_libstrophe_CFLAGS="$libstrophe_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists 
--print-errors \"libstrophe >= 0.9.2\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "libstrophe >= 0.9.2") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_libstrophe_CFLAGS=`$PKG_CONFIG --cflags "libstrophe >= 0.9.2" 
2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
+fi
+if test -n "$libstrophe_LIBS"; then
+    pkg_cv_libstrophe_LIBS="$libstrophe_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists 
--print-errors \"libstrophe >= 0.9.2\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "libstrophe >= 0.9.2") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_libstrophe_LIBS=`$PKG_CONFIG --libs "libstrophe >= 0.9.2" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+        _pkg_short_errors_supported=yes
+else
+        _pkg_short_errors_supported=no
+fi
+        if test $_pkg_short_errors_supported = yes; then
+               libstrophe_PKG_ERRORS=`$PKG_CONFIG --short-errors 
--print-errors --cflags --libs "libstrophe >= 0.9.2" 2>&1`
+        else
+               libstrophe_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags 
--libs "libstrophe >= 0.9.2" 2>&1`
+        fi
+       # Put the nasty error message in config.log where it belongs
+       echo "$libstrophe_PKG_ERRORS" >&5
+
+       as_fn_error $? "libstrophe-0.9.2 or later is required for profanity" 
"$LINENO" 5
+elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+       as_fn_error $? "libstrophe-0.9.2 or later is required for profanity" 
"$LINENO" 5
+else
+       libstrophe_CFLAGS=$pkg_cv_libstrophe_CFLAGS
+       libstrophe_LIBS=$pkg_cv_libstrophe_LIBS
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+       LIBS="$libstrophe_LIBS $LIBS" CFLAGS="$CFLAGS $libstrophe_CFLAGS" 
XMPP_LIB="libstrophe"
+$as_echo "#define HAVE_LIBSTROPHE 1" >>confdefs.h
+
+fi
+elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstrophe" >&5
+$as_echo_n "checking for libstrophe... " >&6; }
+
+if test -n "$libstrophe_CFLAGS"; then
+    pkg_cv_libstrophe_CFLAGS="$libstrophe_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists 
--print-errors \"libstrophe >= 0.9.2\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "libstrophe >= 0.9.2") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_libstrophe_CFLAGS=`$PKG_CONFIG --cflags "libstrophe >= 0.9.2" 
2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
+fi
+if test -n "$libstrophe_LIBS"; then
+    pkg_cv_libstrophe_LIBS="$libstrophe_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists 
--print-errors \"libstrophe >= 0.9.2\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "libstrophe >= 0.9.2") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_libstrophe_LIBS=`$PKG_CONFIG --libs "libstrophe >= 0.9.2" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+        _pkg_short_errors_supported=yes
+else
+        _pkg_short_errors_supported=no
+fi
+        if test $_pkg_short_errors_supported = yes; then
+               libstrophe_PKG_ERRORS=`$PKG_CONFIG --short-errors 
--print-errors --cflags --libs "libstrophe >= 0.9.2" 2>&1`
+        else
+               libstrophe_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags 
--libs "libstrophe >= 0.9.2" 2>&1`
+        fi
+       # Put the nasty error message in config.log where it belongs
+       echo "$libstrophe_PKG_ERRORS" >&5
+
+       as_fn_error $? "libstrophe-0.9.2 or later is required for profanity" 
"$LINENO" 5
+elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+       as_fn_error $? "libstrophe-0.9.2 or later is required for profanity" 
"$LINENO" 5
+else
+       libstrophe_CFLAGS=$pkg_cv_libstrophe_CFLAGS
+       libstrophe_LIBS=$pkg_cv_libstrophe_LIBS
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+       LIBS="$libstrophe_LIBS $LIBS" CFLAGS="$CFLAGS $libstrophe_CFLAGS" 
XMPP_LIB="libstrophe"
+$as_echo "#define HAVE_LIBSTROPHE 1" >>confdefs.h
+
+fi
+else
+       libmesode_CFLAGS=$pkg_cv_libmesode_CFLAGS
+       libmesode_LIBS=$pkg_cv_libmesode_LIBS
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+       LIBS="$libmesode_LIBS $LIBS" CFLAGS="$CFLAGS $libmesode_CFLAGS" 
XMPP_LIB="libmesode"
+$as_echo "#define HAVE_LIBMESODE 1" >>confdefs.h
+
+fi
+
+$as_echo "#define HAVE_LIBSTROPHE_LT_0_9_3 1" >>confdefs.h
+
+fi
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${XMPP_LIB} works" 
>&5
 $as_echo_n "checking whether ${XMPP_LIB} works... " >&6; }
@@ -17225,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.0, which was
+This file was extended by profanity $as_me 0.9.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -17291,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.0
+profanity config.status 0.9.1
 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.0/configure.ac 
new/profanity-0.9.1/configure.ac
--- old/profanity-0.9.0/configure.ac    2020-06-09 16:49:42.000000000 +0200
+++ new/profanity-0.9.1/configure.ac    2020-06-11 10:06:15.000000000 +0200
@@ -1,7 +1,7 @@
 #                                               -*- Autoconf -*-
 # Process this file with autoconf to produce a configure script.
 
-AC_INIT([profanity], [0.9.0], [[email protected]])
+AC_INIT([profanity], [0.9.1], [[email protected]])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_SRCDIR([src/main.c])
@@ -129,11 +129,20 @@
 AS_IF([test "x$PTHREAD_CC" != x], [ CC="$PTHREAD_CC" ])
 
 ### Check for libmesode, fall back to libstrophe
+### TODO libmesode support will be removed in the future, rewrite this section
 PKG_CHECK_MODULES([libmesode], [libmesode >= 0.9.3],
     [LIBS="$libmesode_LIBS $LIBS" CFLAGS="$CFLAGS $libmesode_CFLAGS" 
XMPP_LIB="libmesode" AC_DEFINE([HAVE_LIBMESODE], [1], [libmesode])],
     [PKG_CHECK_MODULES([libstrophe], [libstrophe >= 0.9.3],
         [LIBS="$libstrophe_LIBS $LIBS" CFLAGS="$CFLAGS $libstrophe_CFLAGS" 
XMPP_LIB="libstrophe" AC_DEFINE([HAVE_LIBSTROPHE], [1], [libstrophe])],
-        [AC_MSG_ERROR([Neither libmesode or libstrophe in version >= 0.9.3 
found, either is required for profanity])])])
+        [XMPP_LIB=""])])
+if test "x$XMPP_LIB" = x; then
+    PKG_CHECK_MODULES([libmesode], [libmesode >= 0.9.2],
+        [LIBS="$libmesode_LIBS $LIBS" CFLAGS="$CFLAGS $libmesode_CFLAGS" 
XMPP_LIB="libmesode" AC_DEFINE([HAVE_LIBMESODE], [1], [libmesode])],
+        [PKG_CHECK_MODULES([libstrophe], [libstrophe >= 0.9.2],
+            [LIBS="$libstrophe_LIBS $LIBS" CFLAGS="$CFLAGS $libstrophe_CFLAGS" 
XMPP_LIB="libstrophe" AC_DEFINE([HAVE_LIBSTROPHE], [1], [libstrophe])],
+            [AC_MSG_ERROR([libstrophe-0.9.2 or later is required for 
profanity])])])
+    AC_DEFINE([HAVE_LIBSTROPHE_LT_0_9_3], [1], [Old libstrophe is present])
+fi
 
 AC_MSG_CHECKING([whether ${XMPP_LIB} works])
 AC_LINK_IFELSE([AC_LANG_SOURCE([[
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/profanity-0.9.0/docs/profanity.1 
new/profanity-0.9.1/docs/profanity.1
--- old/profanity-0.9.0/docs/profanity.1        2020-06-09 16:31:45.000000000 
+0200
+++ new/profanity-0.9.1/docs/profanity.1        2020-06-11 10:05:12.000000000 
+0200
@@ -1,4 +1,4 @@
-.TH man 1 "2020-05-09" "0.9.0" "Profanity XMPP client"
+.TH man 1 "2020-05-09" "0.9.1" "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.0/src/config.h.in 
new/profanity-0.9.1/src/config.h.in
--- old/profanity-0.9.0/src/config.h.in 2020-06-09 16:50:34.000000000 +0200
+++ new/profanity-0.9.1/src/config.h.in 2020-06-11 10:07:32.000000000 +0200
@@ -48,6 +48,9 @@
 /* libstrophe */
 #undef HAVE_LIBSTROPHE
 
+/* Old libstrophe is present */
+#undef HAVE_LIBSTROPHE_LT_0_9_3
+
 /* Define to 1 if you have the `X11' library (-lX11). */
 #undef HAVE_LIBX11
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/profanity-0.9.0/src/xmpp/connection.c 
new/profanity-0.9.1/src/xmpp/connection.c
--- old/profanity-0.9.0/src/xmpp/connection.c   2020-06-05 14:52:38.000000000 
+0200
+++ new/profanity-0.9.1/src/xmpp/connection.c   2020-06-11 09:00:20.000000000 
+0200
@@ -59,6 +59,7 @@
 #include "xmpp/connection.h"
 #include "xmpp/session.h"
 #include "xmpp/iq.h"
+#include "ui/ui.h"
 
 typedef struct prof_conn_t {
     xmpp_log_t *xmpp_log;
@@ -191,7 +192,13 @@
     }
 
     if (auth_policy && (g_strcmp0(auth_policy, "legacy") == 0)) {
+#ifdef HAVE_LIBSTROPHE_LT_0_9_3
+        log_warning("Legacy authentication is requested, but it hasn't been "
+                    "built. Update libstrophe and rebuild Profanity.");
+        cons_show("Legacy authentication is requested, but it hasn't been 
built.");
+#else
         flags |= XMPP_CONN_FLAG_LEGACY_AUTH;
+#endif /* HAVE_LIBSTROPHE_LT_0_9_3 */
     }
 
     xmpp_conn_set_flags(conn.xmpp_conn, flags);
@@ -204,7 +211,9 @@
         LOG_FLAG_IF_SET(XMPP_CONN_FLAG_TRUST_TLS);
         LOG_FLAG_IF_SET(XMPP_CONN_FLAG_DISABLE_TLS);
         LOG_FLAG_IF_SET(XMPP_CONN_FLAG_LEGACY_SSL);
+#ifndef HAVE_LIBSTROPHE_LT_0_9_3
         LOG_FLAG_IF_SET(XMPP_CONN_FLAG_LEGACY_AUTH);
+#endif /* HAVE_LIBSTROPHE_LT_0_9_3 */
 #undef LOG_FLAG_IF_SET
     }
 


Reply via email to