From 65c8d5c4134e47372310911b0ca6e6b5c33de2ee948da05eed5584b3a31a701e Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Wed, 3 Apr 2019 08:51:28 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kate?expand=0&rev=114 --- 0001-Defuse-root-block.patch | 24 ++++++++++++------------ kate-18.12.3.tar.xz | 3 --- kate-19.03.80.tar.xz | 3 +++ kate.changes | 12 ++++++++++++ kate.spec | 2 +- 5 files changed, 28 insertions(+), 16 deletions(-) delete mode 100644 kate-18.12.3.tar.xz create mode 100644 kate-19.03.80.tar.xz diff --git a/0001-Defuse-root-block.patch b/0001-Defuse-root-block.patch index 0ab84b5..323a7ad 100644 --- a/0001-Defuse-root-block.patch +++ b/0001-Defuse-root-block.patch @@ -12,11 +12,11 @@ That way it's only an impact on usability. kwrite/main.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) -Index: kate-18.07.70git.20180531T121543~bf6d5b753/kate/main.cpp +Index: kate-19.03.60git.20181224T024634~7203979fc/kate/main.cpp =================================================================== ---- kate-18.07.70git.20180531T121543~bf6d5b753.orig/kate/main.cpp -+++ kate-18.07.70git.20180531T121543~bf6d5b753/kate/main.cpp -@@ -63,13 +63,8 @@ int main(int argc, char **argv) +--- kate-19.03.60git.20181224T024634~7203979fc.orig/kate/main.cpp 2018-12-25 09:49:15.867478873 +0100 ++++ kate-19.03.60git.20181224T024634~7203979fc/kate/main.cpp 2018-12-25 09:49:19.231424088 +0100 +@@ -61,13 +61,8 @@ #ifndef Q_OS_WIN // Prohibit using sudo or kdesu (but allow using the root user directly) if (getuid() == 0) { @@ -32,23 +32,23 @@ Index: kate-18.07.70git.20180531T121543~bf6d5b753/kate/main.cpp } #endif /** -Index: kate-18.07.70git.20180531T121543~bf6d5b753/kwrite/main.cpp +Index: kate-19.03.60git.20181224T024634~7203979fc/kwrite/main.cpp =================================================================== ---- kate-18.07.70git.20180531T121543~bf6d5b753.orig/kwrite/main.cpp -+++ kate-18.07.70git.20180531T121543~bf6d5b753/kwrite/main.cpp -@@ -52,13 +52,8 @@ extern "C" Q_DECL_EXPORT int main(int ar +--- kate-19.03.60git.20181224T024634~7203979fc.orig/kwrite/main.cpp 2018-12-25 09:49:19.231424088 +0100 ++++ kate-19.03.60git.20181224T024634~7203979fc/kwrite/main.cpp 2018-12-25 09:50:32.302253532 +0100 +@@ -52,13 +52,8 @@ #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 KWrite with sudo is not possible due to unfixable security vulnerabilities." << 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 KWrite with kdesu is not possible due to unfixable security vulnerabilities." << 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; ++ 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/kate-18.12.3.tar.xz b/kate-18.12.3.tar.xz deleted file mode 100644 index 22d0483..0000000 --- a/kate-18.12.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f7f2cba41a4c88b65885532db6b6161c66055a6697d20ee88adb70f302d387e1 -size 5765324 diff --git a/kate-19.03.80.tar.xz b/kate-19.03.80.tar.xz new file mode 100644 index 0000000..ce082dc --- /dev/null +++ b/kate-19.03.80.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:af71451445f1d56981eadef3f30b861515d80172f02dc7cd2a880b60fc91b464 +size 5791592 diff --git a/kate.changes b/kate.changes index c5e93ae..55aaa53 100644 --- a/kate.changes +++ b/kate.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Mar 27 06:40:58 UTC 2019 - lbeltrame@kde.org + +- Update to 19.03.80 + * New feature release + * For more details please see: + * https://kde.org/announcements/announce-applications-19.04-beta.php +- Changes since 18.12.3: + * Too many changes to list here +- Refreshed patches: + * 0001-Defuse-root-block.patch + ------------------------------------------------------------------- Sat Mar 09 08:03:13 UTC 2019 - lbeltrame@kde.org diff --git a/kate.spec b/kate.spec index 7db9054..8d2b941 100644 --- a/kate.spec +++ b/kate.spec @@ -22,7 +22,7 @@ %{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} %bcond_without lang Name: kate -Version: 18.12.3 +Version: 19.03.80 Release: 0 Summary: Advanced Text Editor License: GPL-3.0-or-later