From 6c29797128af0d16b12fe45acbd6e001851f164dd86c1f4298addcd7c134a1ca Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Tue, 30 Nov 2021 07:58:20 +0000 Subject: [PATCH] KDE Release 21.12 RC OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kate?expand=0&rev=183 --- 0001-Defuse-root-block.patch | 49 ++++++++---------------------------- kate-21.08.3.tar.xz | 3 --- kate-21.08.3.tar.xz.sig | 16 ------------ kate-21.11.90.tar.xz | 3 +++ kate-21.11.90.tar.xz.sig | 16 ++++++++++++ kate.changes | 31 +++++++++++++++++++++++ kate.spec | 8 +++--- 7 files changed, 64 insertions(+), 62 deletions(-) delete mode 100644 kate-21.08.3.tar.xz delete mode 100644 kate-21.08.3.tar.xz.sig create mode 100644 kate-21.11.90.tar.xz create mode 100644 kate-21.11.90.tar.xz.sig diff --git a/0001-Defuse-root-block.patch b/0001-Defuse-root-block.patch index 37688cb..5539eb4 100644 --- a/0001-Defuse-root-block.patch +++ b/0001-Defuse-root-block.patch @@ -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 Date: Sat, 18 Feb 2017 13:49:14 +0100 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. That way it's only an impact on usability. --- - kate/main.cpp | 15 ++------------- - kwrite/main.cpp | 15 ++------------- - 2 files changed, 4 insertions(+), 26 deletions(-) + kate/main.cpp | 3 +-- + kwrite/main.cpp | 3 +-- + 2 files changed, 2 insertions(+), 4 deletions(-) -diff --git a/kate/main.cpp b/kate/main.cpp -index 5cdaa6c4d..042c0cfc8 100644 ---- a/kate/main.cpp -+++ b/kate/main.cpp -@@ -48,19 +48,8 @@ int main(int argc, char **argv) +Index: kate-19.11.70git.20210802T211844~84f9368ef/kate/main.cpp +=================================================================== +--- kate-19.11.70git.20210802T211844~84f9368ef.orig/kate/main.cpp 2021-08-02 21:18:44.000000000 +0200 ++++ kate-19.11.70git.20210802T211844~84f9368ef/kate/main.cpp 2021-08-03 23:05:03.494438867 +0200 +@@ -48,19 +48,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) { @@ -33,37 +33,8 @@ index 5cdaa6c4d..042c0cfc8 100644 - << 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 " << std::endl; - } - #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 " << std::endl; } #endif - --- -2.32.0 - + /** diff --git a/kate-21.08.3.tar.xz b/kate-21.08.3.tar.xz deleted file mode 100644 index 2b06c8b..0000000 --- a/kate-21.08.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e23eb09a06e29c273332dedc95f79abb9d070ec749cf9de2178a0c383b07bfbd -size 7291244 diff --git a/kate-21.08.3.tar.xz.sig b/kate-21.08.3.tar.xz.sig deleted file mode 100644 index c193cc5..0000000 --- a/kate-21.08.3.tar.xz.sig +++ /dev/null @@ -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----- diff --git a/kate-21.11.90.tar.xz b/kate-21.11.90.tar.xz new file mode 100644 index 0000000..367d354 --- /dev/null +++ b/kate-21.11.90.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c6e83b487a005fbbe5cef37f965344a529723efd40762c9d3360a393e44975a +size 7377248 diff --git a/kate-21.11.90.tar.xz.sig b/kate-21.11.90.tar.xz.sig new file mode 100644 index 0000000..18b8f43 --- /dev/null +++ b/kate-21.11.90.tar.xz.sig @@ -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----- diff --git a/kate.changes b/kate.changes index d5c916d..6c7eae2 100644 --- a/kate.changes +++ b/kate.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Sat Nov 27 10:10:34 UTC 2021 - Christophe Giboudeaux + +- 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 + +- 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 diff --git a/kate.spec b/kate.spec index 4d8bdb6..960695f 100644 --- a/kate.spec +++ b/kate.spec @@ -22,15 +22,15 @@ %{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} %bcond_without lang Name: kate -Version: 21.08.3 +Version: 21.11.90 Release: 0 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 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} -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 %endif # PATCH-FIX-OPENSUSE