Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kate for openSUSE:Factory checked in 
at 2022-08-19 17:51:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kate (Old)
 and      /work/SRC/openSUSE:Factory/.kate.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kate"

Fri Aug 19 17:51:44 2022 rev:147 rq:997791 version:22.08.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kate/kate.changes        2022-07-09 
17:00:38.408580616 +0200
+++ /work/SRC/openSUSE:Factory/.kate.new.2083/kate.changes      2022-08-19 
17:51:57.847532683 +0200
@@ -1,0 +2,21 @@
+Sun Aug 14 09:41:59 UTC 2022 - Christophe Giboudeaux <[email protected]>
+
+- Update to 22.08.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/gear/22.08.0/
+
+-------------------------------------------------------------------
+Fri Aug  5 12:10:34 UTC 2022 - Christophe Giboudeaux <[email protected]>
+
+- Update to 22.07.90
+  * New feature release
+
+-------------------------------------------------------------------
+Sat Jul 16 08:27:47 UTC 2022 - Christophe Giboudeaux <[email protected]>
+
+- Update to 22.07.80
+  * New feature release
+- Rebase 0001-Defuse-root-block.patch
+
+-------------------------------------------------------------------

Old:
----
  kate-22.04.3.tar.xz
  kate-22.04.3.tar.xz.sig

New:
----
  kate-22.08.0.tar.xz
  kate-22.08.0.tar.xz.sig

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

Other differences:
------------------
++++++ kate.spec ++++++
--- /var/tmp/diff_new_pack.ED13Zf/_old  2022-08-19 17:51:58.647534360 +0200
+++ /var/tmp/diff_new_pack.ED13Zf/_new  2022-08-19 17:51:58.651534368 +0200
@@ -21,7 +21,7 @@
 %{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print 
$1"."$2}')}
 %bcond_without released
 Name:           kate
-Version:        22.04.3
+Version:        22.08.0
 Release:        0
 Summary:        Advanced Text Editor
 License:        GPL-3.0-or-later
@@ -133,6 +133,7 @@
 %{_kf5_appstreamdir}/org.kde.kate.appdata.xml
 %{_kf5_bindir}/kate
 %{_kf5_iconsdir}/hicolor/*/apps/kate.*
+%{_kf5_libdir}/libkateprivate.so.*
 
 %files -n kwrite
 %doc README*

++++++ 0001-Defuse-root-block.patch ++++++
--- /var/tmp/diff_new_pack.ED13Zf/_old  2022-08-19 17:51:58.675534418 +0200
+++ /var/tmp/diff_new_pack.ED13Zf/_new  2022-08-19 17:51:58.679534427 +0200
@@ -1,6 +1,6 @@
-From 435ed5853b9451ab8fdfff722545c57a8f154625 Mon Sep 17 00:00:00 2001
-From: Fabian Vogt <[email protected]>
-Date: Sat, 18 Feb 2017 13:49:14 +0100
+From 52f948fe211fedc54c13c0baf067cd6d8e4cb0c3 Mon Sep 17 00:00:00 2001
+From: Luca Beltrame <[email protected]>
+Date: Sun, 3 Apr 2022 09:26:48 +0200
 Subject: [PATCH] Defuse root block
 
 While the main point is correct as any application running in the same
@@ -8,15 +8,15 @@
 we allow (even encourage) running YaST on X11 as root.
 That way it's only an impact on usability.
 ---
- kate/main.cpp   | 3 +--
- kwrite/main.cpp | 3 +--
- 2 files changed, 2 insertions(+), 4 deletions(-)
+ apps/kate/main.cpp   | 15 ++-------------
+ apps/kwrite/main.cpp | 17 +++--------------
+ 2 files changed, 5 insertions(+), 27 deletions(-)
 
-Index: kate-19.11.70git.20220102T020433~0a4347e06/kate/main.cpp
+Index: kate-19.11.70git.20220404T014944~1f6e53f72/apps/kate/main.cpp
 ===================================================================
---- kate-19.11.70git.20220102T020433~0a4347e06.orig/kate/main.cpp      
2022-01-02 09:28:49.643692601 +0100
-+++ kate-19.11.70git.20220102T020433~0a4347e06/kate/main.cpp   2022-01-02 
09:29:48.503285030 +0100
-@@ -48,19 +48,8 @@
+--- kate-19.11.70git.20220404T014944~1f6e53f72.orig/apps/kate/main.cpp 
2022-04-04 03:49:44.000000000 +0200
++++ kate-19.11.70git.20220404T014944~1f6e53f72/apps/kate/main.cpp      
2022-04-04 05:55:46.476883480 +0200
+@@ -49,19 +49,8 @@
  #if !defined(Q_OS_WIN) && !defined(Q_OS_HAIKU)
      // Prohibit using sudo or kdesu (but allow using the root user directly)
      if (getuid() == 0) {
@@ -34,8 +34,34 @@
 -            return EXIT_FAILURE;
 -        }
 +        std::cout << "THIS IS POTENTIALLY INSECURE!\nTo edit files as root 
please use:" << std::endl;
-+        std::cout << "SUDO_EDITOR=kwrite sudoedit <file>" << std::endl;
++        std::cout << "SUDO_EDITOR=kate sudoedit <file>" << std::endl;
      }
  #endif
      /**
+Index: kate-19.11.70git.20220404T014944~1f6e53f72/apps/kwrite/main.cpp
+===================================================================
+--- kate-19.11.70git.20220404T014944~1f6e53f72.orig/apps/kwrite/main.cpp       
2022-04-04 03:49:44.000000000 +0200
++++ kate-19.11.70git.20220404T014944~1f6e53f72/apps/kwrite/main.cpp    
2022-04-04 05:57:17.276197192 +0200
+@@ -27,19 +27,8 @@
+ #if !defined(Q_OS_WIN) && !defined(Q_OS_HAIKU)
+     // Prohibit using sudo or kdesu (but allow using the root user directly)
+     if (getuid() == 0) {
+-        if (!qEnvironmentVariableIsEmpty("SUDO_USER")) {
+-            std::cout << "Running KWrite with sudo can cause bugs and expose 
you to security vulnerabilities. "
+-                         "Instead use KWrite normally and you will be 
prompted for elevated privileges when "
+-                         "saving documents if needed."
+-                      << std::endl;
+-            return EXIT_FAILURE;
+-        } else if (!qEnvironmentVariableIsEmpty("KDESU_USER")) {
+-            std::cout << "Running KWrite with kdesu can cause bugs and expose 
you to security vulnerabilities. "
+-                         "Instead use KWrite normally and you will be 
prompted for elevated privileges when "
+-                         "saving documents if needed."
+-                      << std::endl;
+-            return EXIT_FAILURE;
+-        }
++        std::cout << "THIS IS POTENTIALLY INSECURE!\nTo edit files as root 
please use:" << std::endl;
++        std::cout << "SUDO_EDITOR=kwrite sudoedit <file>" << std::endl;
+     }
+ #endif
+ 
 


++++++ kate-22.04.3.tar.xz -> kate-22.08.0.tar.xz ++++++
/work/SRC/openSUSE:Factory/kate/kate-22.04.3.tar.xz 
/work/SRC/openSUSE:Factory/.kate.new.2083/kate-22.08.0.tar.xz differ: char 26, 
line 1

Reply via email to