commit purple-lurch for openSUSE:Factory

2019-09-17 Thread root
Hello community,

here is the log from the commit of package purple-lurch for openSUSE:Factory 
checked in at 2019-09-17 13:39:21

Comparing /work/SRC/openSUSE:Factory/purple-lurch (Old)
 and  /work/SRC/openSUSE:Factory/.purple-lurch.new.7948 (New)


Package is "purple-lurch"

Tue Sep 17 13:39:21 2019 rev:4 rq:731340 version:0.6.8

Changes:

--- /work/SRC/openSUSE:Factory/purple-lurch/purple-lurch.changes
2019-01-03 18:06:55.828124236 +0100
+++ /work/SRC/openSUSE:Factory/.purple-lurch.new.7948/purple-lurch.changes  
2019-09-17 13:39:23.673823865 +0200
@@ -1,0 +2,6 @@
+Mon Sep 16 14:14:36 UTC 2019 - Alexei Sorokin 
+
+- Add purple-lurch-libomemo-fix-dino-compat.patch: Fix
+  compatibility issues with Dino (commit e3b2125e).
+
+---

New:

  purple-lurch-libomemo-fix-dino-compat.patch



Other differences:
--
++ purple-lurch.spec ++
--- /var/tmp/diff_new_pack.J3WSot/_old  2019-09-17 13:39:24.121823794 +0200
+++ /var/tmp/diff_new_pack.J3WSot/_new  2019-09-17 13:39:24.125823793 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package purple-lurch
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,8 @@
 Group:  Productivity/Networking/Instant Messenger
 URL:https://github.com/gkdr/lurch
 Source: 
https://github.com/gkdr/lurch/releases/download/v%{version}/%{_name}-%{version}-src.tar.gz
+# PATCH-FIX-UPSTREAM purple-lurch-libomemo-fix-dino-compat.patch -- Fix 
compatibility issues with Dino (commit e3b2125e).
+Patch0: purple-lurch-libomemo-fix-dino-compat.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  libgcrypt-devel
@@ -51,7 +53,7 @@
 Pidgin by implementing OMEMO.
 
 %prep
-%setup -q -n %{_name}-%{version}
+%autosetup -p1 -n %{_name}-%{version}
 
 %build
 export CFLAGS='%{optflags}'

++ purple-lurch-libomemo-fix-dino-compat.patch ++
--- a/lib/libomemo/src/libomemo.c
+++ b/lib/libomemo/src/libomemo.c
@@ -1356,9 +1356,9 @@ int omemo_message_get_encrypted_key(omem
   const char * key_b64 = (void *) 0;
   size_t key_len = 0;
 
-
-  ret_val = expect_next_node(msg_p->header_node_p, mxmlGetFirstChild, 
KEY_NODE_NAME, _node_p);
-  if (ret_val) {
+  key_node_p = mxmlFindElement(msg_p->header_node_p, msg_p->header_node_p, 
KEY_NODE_NAME, NULL, NULL, MXML_DESCEND);
+  if (!key_node_p) {
+// if there is not at least one key, skip the rest of the function
 ret_val = 0;
 *key_pp = (void *) 0;
 goto cleanup;
@@ -1430,8 +1430,9 @@ int omemo_message_export_decrypted(omemo
   }
   payload_p = g_base64_decode(payload_b64, _len);
 
-  ret_val = expect_next_node(msg_p->header_node_p, mxmlGetLastChild, 
IV_NODE_NAME, _node_p);
-  if (ret_val) {
+  iv_node_p = mxmlFindElement(msg_p->header_node_p, msg_p->header_node_p, 
IV_NODE_NAME, NULL, NULL, MXML_DESCEND);
+  if (!iv_node_p) {
+ret_val = OMEMO_ERR_MALFORMED_XML;
 goto cleanup;
   }
 



commit purple-lurch for openSUSE:Factory

2019-01-03 Thread root
Hello community,

here is the log from the commit of package purple-lurch for openSUSE:Factory 
checked in at 2019-01-03 18:06:54

Comparing /work/SRC/openSUSE:Factory/purple-lurch (Old)
 and  /work/SRC/openSUSE:Factory/.purple-lurch.new.28833 (New)


Package is "purple-lurch"

Thu Jan  3 18:06:54 2019 rev:3 rq:662125 version:0.6.8

Changes:

--- /work/SRC/openSUSE:Factory/purple-lurch/purple-lurch.changes
2018-05-15 10:33:45.287410702 +0200
+++ /work/SRC/openSUSE:Factory/.purple-lurch.new.28833/purple-lurch.changes 
2019-01-03 18:06:55.828124236 +0100
@@ -2 +2,15 @@
-Tue May  8 16:15:12 UTC 2018 - sor.ale...@meowr.ru
+Sun Dec 30 14:06:13 UTC 2018 - Alexei Sorokin 
+
+- Update to version 0.6.8:
+  * Makefile adaptations should help building and running this for
+some.
+  * Fix some bugs regarding carbons and sending messages to
+yourself, also added NULL checks so that it plays nicer with
+other plugins which might set the message to NULL.
+  * Update submodules and their dependencies, most importantly
+libsignal-protocol-c to 2.3.2.
+  * Add plugin preferences prototype: Single option is logging
+verbosity on the debug log.
+
+---
+Tue May  8 16:15:12 UTC 2018 - Alexei Sorokin 

Old:

  lurch-0.6.7-src.tar.gz

New:

  lurch-0.6.8-src.tar.gz



Other differences:
--
++ purple-lurch.spec ++
--- /var/tmp/diff_new_pack.NSOfED/_old  2019-01-03 18:06:56.212123895 +0100
+++ /var/tmp/diff_new_pack.NSOfED/_new  2019-01-03 18:06:56.216123892 +0100
@@ -12,13 +12,13 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define _name   lurch
 Name:   purple-lurch
-Version:0.6.7
+Version:0.6.8
 Release:0
 Summary:OMEMO for libpurple
 License:GPL-3.0-only
@@ -51,22 +51,17 @@
 Pidgin by implementing OMEMO.
 
 %prep
-%setup -q -c
+%setup -q -n %{_name}-%{version}
 
 %build
-make %{?_smp_mflags} V=1 \
-  CPPFLAGS="%{optflags}"
+export CFLAGS='%{optflags}'
+make %{?_smp_mflags} V=1
 
 %install
-%make_install \
-  CPPFLAGS="%{optflags}"
+%make_install
 
 %files -n libpurple-plugin-%{_name}
-%if 0%{?suse_version} >= 1500
 %license LICENSE
-%else
-%doc LICENSE
-%endif
 %doc README.md
 %{_libdir}/purple-2/%{_name}.so
 

++ lurch-0.6.7-src.tar.gz -> lurch-0.6.8-src.tar.gz ++
 126418 lines of diff (skipped)




commit purple-lurch for openSUSE:Factory

2018-05-15 Thread root
Hello community,

here is the log from the commit of package purple-lurch for openSUSE:Factory 
checked in at 2018-05-15 10:14:36

Comparing /work/SRC/openSUSE:Factory/purple-lurch (Old)
 and  /work/SRC/openSUSE:Factory/.purple-lurch.new (New)


Package is "purple-lurch"

Tue May 15 10:14:36 2018 rev:2 rq:606796 version:0.6.7

Changes:

--- /work/SRC/openSUSE:Factory/purple-lurch/purple-lurch.changes
2018-03-26 13:01:54.911823774 +0200
+++ /work/SRC/openSUSE:Factory/.purple-lurch.new/purple-lurch.changes   
2018-05-15 10:33:45.287410702 +0200
@@ -1,0 +2,16 @@
+Tue May  8 16:15:12 UTC 2018 - sor.ale...@meowr.ru
+
+- Update to version 0.6.7:
+  * Fix not freeing account list after plugin load.
+  * Ignore OMEMO messsage in MUCs if sender is not present.
+  * Revert to EME instead of additional body.
+  * Remove the magic number for proper enum.
+  * Set the correct conversation type when decrypting incoming own
+message to others.
+  * Decrypt messages from own account in MUCs.
+  * Fix but also disable axc log output.
+  * The MUC handling has been rewritten.
+  * Destroy the message after exporting.
+  * Add some debug output.
+
+---

Old:

  _service
  lurch-0.6.6.tar.xz

New:

  lurch-0.6.7-src.tar.gz



Other differences:
--
++ purple-lurch.spec ++
--- /var/tmp/diff_new_pack.IbQsRM/_old  2018-05-15 10:33:45.863389548 +0200
+++ /var/tmp/diff_new_pack.IbQsRM/_new  2018-05-15 10:33:45.867389401 +0200
@@ -18,13 +18,13 @@
 
 %define _name   lurch
 Name:   purple-lurch
-Version:0.6.6
+Version:0.6.7
 Release:0
 Summary:OMEMO for libpurple
 License:GPL-3.0-only
 Group:  Productivity/Networking/Instant Messenger
 URL:https://github.com/gkdr/lurch
-Source: %{_name}-%{version}.tar.xz
+Source: 
https://github.com/gkdr/lurch/releases/download/v%{version}/%{_name}-%{version}-src.tar.gz
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  libgcrypt-devel
@@ -37,8 +37,8 @@
 BuildRequires:  pkgconfig(sqlite3)
 
 %description
-This plugin brings Axolotl, by now renamed to double ratchet,
-to libpurple applications such as Pidgin by implementing OMEMO.
+This plugin brings Double Ratchet to libpurple applications such as
+Pidgin by implementing OMEMO.
 
 %package -n libpurple-plugin-%{_name}
 Summary:OMEMO for libpurple
@@ -47,11 +47,11 @@
 Enhances:   libpurple
 
 %description -n libpurple-plugin-%{_name}
-This plugin brings Axolotl, by now renamed to double ratchet,
-to libpurple applications such as Pidgin by implementing OMEMO.
+This plugin brings Double Ratchet to libpurple applications such as
+Pidgin by implementing OMEMO.
 
 %prep
-%setup -q -n %{_name}-%{version}
+%setup -q -c
 
 %build
 make %{?_smp_mflags} V=1 \