Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package barrier for openSUSE:Factory checked 
in at 2021-11-17 09:08:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/barrier (Old)
 and      /work/SRC/openSUSE:Factory/.barrier.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "barrier"

Wed Nov 17 09:08:15 2021 rev:4 rq:931877 version:2.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/barrier/barrier.changes  2020-11-17 
21:26:20.725440895 +0100
+++ /work/SRC/openSUSE:Factory/.barrier.new.1890/barrier.changes        
2021-11-17 09:08:18.354078510 +0100
@@ -1,0 +2,64 @@
+Tue Nov 16 23:44:25 UTC 2021 - Simon Lees <sfl...@suse.de>
+
+- Updated to version 2.4.0:
+  * Barrier now supports client identity verification (fixes CVE-2021-42072,
+    CVE-2021-42073).
+
+    Previously a malicious client could connect to Barrier server without any
+    authentication and send application-level messages. This made the attack
+    surface of Barrier significantly larger. Additionally, in case the 
malicious
+    client got possession of a valid screen name by brute forcing or other 
means
+    it could modify the clipboard contents of the server.
+
+    To support seamless upgrades from older versions of Barrier this is
+    currently disabled by default. The feature can be enabled in the settings
+    dialog. If enabled, older clients of Barrier will be rejected.
+
+    Barrier now uses SHA256 fingerprints for establishing security of encrypted
+    SSL connections. After upgrading client to new version the existing server
+    fingerprint will need to be approved again. Client and server will show 
both
+    SHA1 and SHA256 server fingerprints to allow interoperability with older
+    versions of Barrier.
+Bugfixes:
+  * Fixed build failure on mips*el and riscv64 architecture.
+  * Barrier no longer uses openssl CLI tool for any operations and hooks into
+    the openssl library directly.
+  * More X11 clipboard MIME types have been mapped to corresponding converters
+    (#344).
+  * Fixed setup of multiple actions associated with a hotkey.
+  * Fixed setup of hotkeys with special characters such as comma and semicolon
+    (#778).
+  * Fixed transfer of non-ASCII characters coming from a Windows server in
+    certain cases (#527).
+  * Barrier will now regenerate server certificate if it's invalid instead of
+    failing to launch (#802)
+  * Added support for additional keys on Sun Microsystems USB keyboards (#784).
+  * Updated Chinese translation.
+  * Updated Slovak translation.
+  * Theme icons are now preferred to icons distributed together with Barrier
+    (#471).
+Features:
+  * Added --drop-target option that improves drag and drop support on Windows
+    when Barrier is being run as a portable app.
+  * The --enable-crypto command line option has been made the default to reduce
+    chances of accidental security mishaps when configuring Barrier from 
command
+    line. A new --disable-crypto command line option has been added to
+    explicitly disable encryption.
+  * Added support for randomart images for easier comparison of SSL certificate
+    fingerprints. The algorithm is identical to what OpenSSH uses.
+  * Implemented a configuration option for Server GUI auto-start.
+  * Made it possible to use keyboard instead of mouse to modify screen layout.
+  * Added support for keyboard backlight media keys
+  * Added support for Eisu_toggle and Muhenkan keys
+  * Added --profile-dir option that allows to select custom profile directory.
+- Bundle Gulrak Filesystem Headers (New Dependency)
+- Enable Tests
+- Add fix-build.patch
+
+-------------------------------------------------------------------
+Tue Nov  2 23:21:30 UTC 2021 - Simon Lees <sfl...@suse.de>
+
+- Drop use of barrier-use-system-includes.patch use commandline
+  flag instead
+
+-------------------------------------------------------------------
@@ -645 +708,0 @@
-

Old:
----
  barrier-2.3.3.tar.gz
  barrier-use-system-includes.patch

New:
----
  barrier-2.4.0.tar.gz
  filesystem-1.5.10.tar.gz
  fix-build.patch

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

Other differences:
------------------
++++++ barrier.spec ++++++
--- /var/tmp/diff_new_pack.GmaCFp/_old  2021-11-17 09:08:19.122078778 +0100
+++ /var/tmp/diff_new_pack.GmaCFp/_new  2021-11-17 09:08:19.122078778 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package barrier
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 # Copyright (c) 2018 Christian Mauderer <o...@c-mauderer.de>.
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,16 +18,18 @@
 
 
 Name:           barrier
-Version:        2.3.3
+Version:        2.4.0
 Release:        0
 Summary:        Mouse, keyboard and clipboard sharing utility
-License:        GPL-2.0-or-later
+License:        GPL-2.0-or-later AND MIT
 URL:            https://github.com/debauchee/barrier
 Source0:        
https://github.com/debauchee/barrier/archive/v%{version}/%{name}-%{version}.tar.gz
+# Gulrak filesystem https://github.com/gulrak/filesystem
+Source1:        filesystem-1.5.10.tar.gz
 Source2:        barriers.socket
 Source3:        barriers.service
-#PATCH-FIX-OPENSUSE barrier-use-system-includes.patch 
malcolmle...@opensuse.org -- Use the system gtest and gmock files for testing.
-Patch0:         barrier-use-system-includes.patch
+# https://github.com/debauchee/barrier/issues/1366
+Patch0:         fix-build.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  git-core
@@ -35,6 +37,7 @@
 BuildRequires:  gtest
 BuildRequires:  pkgconfig
 BuildRequires:  update-desktop-files
+BuildRequires:  xvfb-run
 BuildRequires:  pkgconfig(Qt5Network)
 BuildRequires:  pkgconfig(Qt5Widgets)
 BuildRequires:  pkgconfig(avahi-compat-libdns_sd)
@@ -68,13 +71,24 @@
 %autosetup -p1
 # not enough categories in the desktop file
 sed -i -e 's:Utility;:Utility;DesktopUtility;:g' res/barrier.desktop
+mkdir -p %{name}-%{version}/ext/gulrak-filesystem/
+tar -xf %{S:1}
+cp -r filesystem-1.5.10/include/ ext/gulrak-filesystem/
 
 %build
 export BARRIER_VERSION_STAGE="release"
 %cmake \
-  -DBARRIER_BUILD_INSTALLER=OFF
+  -DBARRIER_BUILD_INSTALLER=OFF \
+  -DBARRIER_USE_EXTERNAL_GTEST=ON
 %cmake_build
 
+%check
+# Taken from 
https://sources.debian.org/src/barrier/2.4.0+dfsg-1/debian/rules/#L25
+# Barrier doesn't autofind tests when builddir is used
+build/bin/guiunittests
+xvfb-run -a build/bin/integtests
+build/bin/unittests
+
 %install
 %cmake_install
 

++++++ barrier-2.3.3.tar.gz -> barrier-2.4.0.tar.gz ++++++
++++ 36032 lines of diff (skipped)

++++++ fix-build.patch ++++++
Index: barrier-2.4.0/src/lib/base/Event.h
===================================================================
--- barrier-2.4.0.orig/src/lib/base/Event.h
+++ barrier-2.4.0/src/lib/base/Event.h
@@ -18,6 +18,7 @@
 
 #pragma once
 
+#include <cstddef>
 #include "common/basic_types.h"
 #include "common/stdmap.h"
 

Reply via email to