Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kate for openSUSE:Factory checked in at 2021-04-24 23:07:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kate (Old) and /work/SRC/openSUSE:Factory/.kate.new.12324 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kate" Sat Apr 24 23:07:29 2021 rev:131 rq:887620 version:21.04.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kate/kate.changes 2021-03-08 15:12:09.113704416 +0100 +++ /work/SRC/openSUSE:Factory/.kate.new.12324/kate.changes 2021-04-24 23:08:05.983305426 +0200 @@ -1,0 +2,26 @@ +Fri Apr 16 16:11:27 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr> + +- Update to 21.04.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/21.04 +- Changes since 21.03.90: + * Fix S&R not recovering from canceled folder search (kde#435689) +- Stop owning directories provided by the filesystem package (boo#1184786) + +------------------------------------------------------------------- +Fri Apr 9 17:39:53 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr> + +- Update to 21.03.90 + * New feature release +- Too many changes to list here. + +------------------------------------------------------------------- +Sun Mar 21 13:27:34 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr> + +- Update to 21.03.80 + * New feature release +- Too many changes to list here. +- Rebase 0001-Defuse-root-block.patch + +------------------------------------------------------------------- Old: ---- kate-20.12.3.tar.xz kate-20.12.3.tar.xz.sig New: ---- kate-21.04.0.tar.xz kate-21.04.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kate.spec ++++++ --- /var/tmp/diff_new_pack.527ijf/_old 2021-04-24 23:08:06.595306291 +0200 +++ /var/tmp/diff_new_pack.527ijf/_new 2021-04-24 23:08:06.599306297 +0200 @@ -1,7 +1,7 @@ # # spec file for package kate # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,13 +22,17 @@ %{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} %bcond_without lang Name: kate -Version: 20.12.3 +Version: 21.04.0 Release: 0 Summary: Advanced Text Editor License: GPL-3.0-or-later Group: Productivity/Text/Editors -URL: https://www.kde.org +URL: https://kate-editor.org Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz +%if %{with lang} +Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig +Source2: applications.keyring +%endif # PATCH-FIX-OPENSUSE Patch0: 0001-Defuse-root-block.patch BuildRequires: libgit2-devel @@ -54,23 +58,19 @@ BuildRequires: cmake(KF5WindowSystem) BuildRequires: cmake(KF5XmlGui) BuildRequires: cmake(KUserFeedback) -BuildRequires: cmake(Qt5Core) >= 5.10.0 -BuildRequires: cmake(Qt5DBus) >= 5.10.0 -BuildRequires: cmake(Qt5Script) >= 5.10.0 -BuildRequires: cmake(Qt5Sql) >= 5.10.0 -BuildRequires: cmake(Qt5Test) >= 5.10.0 -BuildRequires: cmake(Qt5Widgets) >= 5.10.0 +BuildRequires: cmake(Qt5Core) +BuildRequires: cmake(Qt5DBus) +BuildRequires: cmake(Qt5Script) +BuildRequires: cmake(Qt5Sql) +BuildRequires: cmake(Qt5Test) +BuildRequires: cmake(Qt5Widgets) Requires: %{name}-plugins = %{version} Recommends: %{name}-lang Obsoletes: %{name}5 < %{version} Provides: %{name}5 = %{version} -%if %{with lang} -Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig -Source2: applications.keyring -%endif %description -Kate is an advanced text editor for KDE. +Kate is an advanced text editor by KDE. %package -n kwrite Summary: KDE Text Editor @@ -79,7 +79,7 @@ Obsoletes: kwrite5 < %{version} %description -n kwrite -KWrite is the default text editor of the K desktop environment. +KWrite is a text editor by KDE. %package plugins Summary: KDE Text Editor plugins @@ -89,14 +89,13 @@ Obsoletes: ktexteditorpreviewplugin < %{version} %description plugins -Kate is an advanced text editor for KDE. This package contains +Kate is an advanced text editor by KDE. This package contains plugins and data files for Kate and KWrite editors. %lang_package %prep -%setup -q -%autopatch -p1 +%autosetup -p1 %build %cmake_kf5 -d build @@ -112,9 +111,6 @@ %files %license LICENSES/* %doc README* -%dir %{_kf5_appstreamdir} -%dir %{_kf5_htmldir} -%dir %{_kf5_htmldir}/en %dir %{_kf5_iconsdir}/hicolor/150x150/ %dir %{_kf5_iconsdir}/hicolor/150x150/apps %dir %{_kf5_iconsdir}/hicolor/310x310/ @@ -136,8 +132,6 @@ %files -n kwrite %license LICENSES/* %doc README* -%dir %{_kf5_htmldir} -%dir %{_kf5_htmldir}/en %doc %lang(en) %{_kf5_htmldir}/en/kwrite/ %{_kf5_applicationsdir}/org.kde.kwrite.desktop %{_kf5_appstreamdir}/org.kde.kwrite.appdata.xml ++++++ 0001-Defuse-root-block.patch ++++++ --- /var/tmp/diff_new_pack.527ijf/_old 2021-04-24 23:08:06.615306319 +0200 +++ /var/tmp/diff_new_pack.527ijf/_new 2021-04-24 23:08:06.615306319 +0200 @@ -1,4 +1,4 @@ -From 435ed5853b9451ab8fdfff722545c57a8f154625 Mon Sep 17 00:00:00 2001 +From 5cec675834a722a6cb55858074eb7a2d13ec685e Mon Sep 17 00:00:00 2001 From: Fabian Vogt <fab...@ritter-vogt.de> Date: Sat, 18 Feb 2017 13:49:14 +0100 Subject: [PATCH] Defuse root block @@ -8,47 +8,62 @@ 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(-) + kate/main.cpp | 15 ++------------- + kwrite/main.cpp | 15 ++------------- + 2 files changed, 4 insertions(+), 26 deletions(-) -Index: kate-19.03.60git.20190930T050110~1d9a68423/kate/main.cpp -=================================================================== ---- kate-19.03.60git.20190930T050110~1d9a68423.orig/kate/main.cpp 2019-09-30 05:01:10.000000000 +0200 -+++ kate-19.03.60git.20190930T050110~1d9a68423/kate/main.cpp 2019-09-30 07:28:13.299460412 +0200 -@@ -60,13 +60,8 @@ +diff --git a/kate/main.cpp b/kate/main.cpp +index cea01d6..37d418f 100644 +--- a/kate/main.cpp ++++ b/kate/main.cpp +@@ -48,19 +48,8 @@ int main(int argc, char **argv) #ifndef Q_OS_WIN // Prohibit using sudo or kdesu (but allow using the root user directly) if (getuid() == 0) { - if (!qEnvironmentVariableIsEmpty("SUDO_USER")) { -- std::cout << "Executing Kate with sudo is not possible due to unfixable security vulnerabilities." << std::endl; +- std::cout << "Executing Kate with sudo is not possible due to unfixable security vulnerabilities. " +- "It is also not necessary; simply use Kate 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 << "Executing Kate with kdesu is not possible due to unfixable security vulnerabilities." << std::endl; +- std::cout << "Executing Kate with kdesu is not possible due to unfixable security vulnerabilities. " +- "It is also not necessary; simply use Kate 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; ++ std::cout << "SUDO_EDITOR=kate sudoedit <file>" << std::endl; } #endif /** -Index: kate-19.03.60git.20190930T050110~1d9a68423/kwrite/main.cpp -=================================================================== ---- kate-19.03.60git.20190930T050110~1d9a68423.orig/kwrite/main.cpp 2019-09-30 05:01:10.000000000 +0200 -+++ kate-19.03.60git.20190930T050110~1d9a68423/kwrite/main.cpp 2019-09-30 07:28:13.299460412 +0200 -@@ -54,13 +54,8 @@ +diff --git a/kwrite/main.cpp b/kwrite/main.cpp +index 87cac6f..4f0bad2 100644 +--- a/kwrite/main.cpp ++++ b/kwrite/main.cpp +@@ -40,19 +40,8 @@ extern "C" Q_DECL_EXPORT int main(int argc, char **argv) #ifndef Q_OS_WIN // Prohibit using sudo or kdesu (but allow using the root user directly) if (getuid() == 0) { - if (!qEnvironmentVariableIsEmpty("SUDO_USER")) { -- std::cout << "Executing KWrite with sudo is not possible due to unfixable security vulnerabilities." << std::endl; +- std::cout << "Executing KWrite with sudo is not possible due to unfixable security vulnerabilities. " +- "It is also not necessary; simply 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 << "Executing KWrite with kdesu is not possible due to unfixable security vulnerabilities." << std::endl; +- std::cout << "Executing KWrite with kdesu is not possible due to unfixable security vulnerabilities. " +- "It is also not necessary; simply 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; ++ 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 +-- +2.30.2 + ++++++ kate-20.12.3.tar.xz -> kate-21.04.0.tar.xz ++++++ /work/SRC/openSUSE:Factory/kate/kate-20.12.3.tar.xz /work/SRC/openSUSE:Factory/.kate.new.12324/kate-21.04.0.tar.xz differ: char 25, line 1