KDE Release 21.12 RC

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kate?expand=0&rev=183
This commit is contained in:
Christophe Giboudeaux 2021-11-30 07:58:20 +00:00 committed by Git OBS Bridge
parent be9bf7f863
commit 6c29797128
7 changed files with 64 additions and 62 deletions

View File

@ -1,4 +1,4 @@
From bfe1b2dd63d410c8365b2197a313193ab29ebe5e Mon Sep 17 00:00:00 2001 From 435ed5853b9451ab8fdfff722545c57a8f154625 Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fabian@ritter-vogt.de> From: Fabian Vogt <fabian@ritter-vogt.de>
Date: Sat, 18 Feb 2017 13:49:14 +0100 Date: Sat, 18 Feb 2017 13:49:14 +0100
Subject: [PATCH] Defuse root block Subject: [PATCH] Defuse root block
@ -8,15 +8,15 @@ X session (not sandboxed) can use kate's capability to open a console,
we allow (even encourage) running YaST on X11 as root. we allow (even encourage) running YaST on X11 as root.
That way it's only an impact on usability. That way it's only an impact on usability.
--- ---
kate/main.cpp | 15 ++------------- kate/main.cpp | 3 +--
kwrite/main.cpp | 15 ++------------- kwrite/main.cpp | 3 +--
2 files changed, 4 insertions(+), 26 deletions(-) 2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/kate/main.cpp b/kate/main.cpp Index: kate-19.11.70git.20210802T211844~84f9368ef/kate/main.cpp
index 5cdaa6c4d..042c0cfc8 100644 ===================================================================
--- a/kate/main.cpp --- kate-19.11.70git.20210802T211844~84f9368ef.orig/kate/main.cpp 2021-08-02 21:18:44.000000000 +0200
+++ b/kate/main.cpp +++ kate-19.11.70git.20210802T211844~84f9368ef/kate/main.cpp 2021-08-03 23:05:03.494438867 +0200
@@ -48,19 +48,8 @@ int main(int argc, char **argv) @@ -48,19 +48,8 @@
#if !defined(Q_OS_WIN) && !defined(Q_OS_HAIKU) #if !defined(Q_OS_WIN) && !defined(Q_OS_HAIKU)
// Prohibit using sudo or kdesu (but allow using the root user directly) // Prohibit using sudo or kdesu (but allow using the root user directly)
if (getuid() == 0) { if (getuid() == 0) {
@ -38,32 +38,3 @@ index 5cdaa6c4d..042c0cfc8 100644
} }
#endif #endif
/** /**
diff --git a/kwrite/main.cpp b/kwrite/main.cpp
index 4daa7c3a2..d3b83686c 100644
--- a/kwrite/main.cpp
+++ b/kwrite/main.cpp
@@ -40,19 +40,8 @@ extern "C" Q_DECL_EXPORT int main(int argc, char **argv)
#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 << "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. "
- "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;
}
#endif
--
2.32.0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e23eb09a06e29c273332dedc95f79abb9d070ec749cf9de2178a0c383b07bfbd
size 7291244

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmGAgIoACgkQu0YzUNbv
Me9JnQ//efVwDyuOYuUe29GNj4ePutUIBgBOeUznNVSAHzPUZgQ6o4AyP+kiXL77
b/m9xqhvWA6tf1mSIeGpZS7seTmxUOrOWlECGcGp2tM4Xd22LG4TUPGZiYMO1UiN
Tpb7YwcV1WGm8a4bAKhjy2iXkNJW/QVTfKPOoazCiMgOf+XdQ2vjYq2GJ2YBI+Dy
fkarZngbX+wSesY4Xsn4A04ndrzfuQiGBT2ehtnPFEViWty1pVIGTpNDW0/TufUf
SQ1fnv9RS5eHDqpElo55ZlUnwc0lXT3Grn1qChlh3f/x/l9+jhDPdSZrh5yt+clr
JYIzmafQu1pI5+zfKWlmklmkM57ZMzKRmoSnyafSi49vGeCASyubk6wNCe50uViy
qOALxDCxmFygIxRFoLiuv6dpsBllf2vD549Ttc8Pm6aX6FUs1fBlAMJhKXs/zpcd
KAtZOQg18ZgkQ/j2jkwg3Li8wuefogfso+s2mJDyaC9RAP7vhuDA8FENWqGPBaGp
B8N9hFYI5d8toVWNZMd1ZFtj6kwHrdlDRWMOSA+a0PAv7TMVTD5RNJxU1KVPN0z1
rve81vlEtT4sFAS9t3svrZ0Ep9FfJZK9trKdYMqACrXG4c6dg7t7z5e+Bx4oIwTK
7hUebaq1qNnq5+eCeyzlZpR6yde4FOUfpTyIwhx6ATmqCZmKD1w=
=qQYn
-----END PGP SIGNATURE-----

3
kate-21.11.90.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5c6e83b487a005fbbe5cef37f965344a529723efd40762c9d3360a393e44975a
size 7377248

16
kate-21.11.90.tar.xz.sig Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmGgJEMACgkQu0YzUNbv
Me8mSQ/+Pd4CUXSXiOnRdeCiu2rQiGhir2WvJhvUxGFIT0uwxUHmy1CjCeUqPksK
TwaFzEmeM3xujlCDgiwn/uv0Aub9qCchbuS+NhqoP5FZLW45ZKibkU13rXLdKwpS
y2yyoJL63mwaoL6SA2cRCK5hWJ+Y+idAEi/nQh6Bf3YBT5rJh6DxhR+s9FjQWryQ
uuS3mF7ZUiloK3Qop/MRnfGL1BM4ThudaQHYmjhGl9TGi8CEqBNNDkrdrkeG1geh
Wz7Rh6bVVCGStxMNrLPtRIjJLamXpIal0EtN6bP+/4vnreflXfaKPDM7CbgJ/4CL
o6P0M8NmlFlSKpKRNvlIRINq/xUObl3yTD28PqI3CQaEAggiKDnna8ukITwa6gT5
RBP7Yo4/q6Ks4iXvIol+FPxA/MLxwYf4mEos/jsF7ZCNywUT3OCzGZtQTrtarR8j
/qnVlFZLG0c0MrJBK1ytGxL5LUOzC1DVHBoG0awZ9ZVVxO8UJH1h5B07jBEei9o8
UiY42IZdSJBtKKvIvRpYPlSbLSGh326rqL2DWgorUuZIrKhhFxrfLYO33IDz8hY1
7EA36XpB/EKZNp93h4PDXYGpcllqVBtCgUibDi5OqlirFhoAP8tQaDe88ZuKBYf8
VVxcl2snRDOT6t0kI6tCgqJtH0Gy3E9OqXZNjC9BmEHIw+81YdY=
=qgcM
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Sat Nov 27 10:10:34 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
- Update to 21.11.90
* New feature release
- Changes since 21.11.80:
* Add more options for clangd
-------------------------------------------------------------------
Sat Nov 13 17:54:42 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
- Update to 21.11.80
* New feature release
- Too many changes since 21.08.3, only listing bugfixes:
* LSP Completion: use textEdit.newText as a workaround (kde#445085)
* Fix compile cpp when path has spaces (kde#443618)
* Show LspClient after positioning (kde#443895)
* fixes reload dialog on wayland (kde#440583)
* avoid crash on session rename (kde#443267)
* fix view differences (kde#441120)
* save 'Show output view for message type' setting (kde#442707)
* Fix infinite recursion in project filter model (kde#443026)
* Fix replicode plugin not deleting its toolview (kde#441859)
* Delete unfilled entries in tool config group (kde#437419)
* KWrite: use KStandardAction::preferences (kde#441505)
* Escape shortcut mnemonic markers (&) in tab texts (kde#441340)
* Allow multiple tabs for Konsole plugin(s) (kde#437922, kde#419710, kde#435398, kde#200322, kde#145203)
* handle nullptr return of screenAt() (kde#439804)
* Expand tool view sidebars when they are collapsed (kde#439535)
* avoid that tool view split view collapse (kde#439535)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 2 21:33:36 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr> Tue Nov 2 21:33:36 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -22,15 +22,15 @@
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} %{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
%bcond_without lang %bcond_without lang
Name: kate Name: kate
Version: 21.08.3 Version: 21.11.90
Release: 0 Release: 0
Summary: Advanced Text Editor Summary: Advanced Text Editor
License: LGPL-2.0-only AND LGPL-2.1-or-later License: GPL-3.0-or-later
Group: Productivity/Text/Editors Group: Productivity/Text/Editors
URL: https://kate-editor.org URL: https://kate-editor.org
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz Source: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz
%if %{with lang} %if %{with lang}
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source2: applications.keyring Source2: applications.keyring
%endif %endif
# PATCH-FIX-OPENSUSE # PATCH-FIX-OPENSUSE