Hello community,

here is the log from the commit of package kate for openSUSE:Factory checked in 
at 2018-08-22 14:16:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kate (Old)
 and      /work/SRC/openSUSE:Factory/.kate.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kate"

Wed Aug 22 14:16:13 2018 rev:99 rq:630199 version:18.08.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kate/kate.changes        2018-07-18 
22:42:02.441327770 +0200
+++ /work/SRC/openSUSE:Factory/.kate.new/kate.changes   2018-08-22 
14:16:20.301781035 +0200
@@ -1,0 +2,29 @@
+Thu Aug 16 22:02:17 UTC 2018 - [email protected]
+
+- Update to 18.08.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-18.08.0.php
+- Changes since 18.07.80:
+  * Honor BUILD_TESTING 
+
+-------------------------------------------------------------------
+Thu Aug  2 13:39:40 UTC 2018 - [email protected]
+
+- Use %license
+- License is actually GPL-3.0-or-later
+
+-------------------------------------------------------------------
+Thu Jul 26 13:00:33 UTC 2018 - [email protected]
+
+- Update to 18.07.80
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-18.07.80.php
+- Changes since 18.04.3:
+  * Too many changes to list here
+- Refreshed patches:
+  * 0001-Defuse-root-block.patch
+- Drop custom lang package definition
+
+-------------------------------------------------------------------

Old:
----
  kate-18.04.3.tar.xz

New:
----
  kate-18.08.0.tar.xz

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

Other differences:
------------------
++++++ kate.spec ++++++
--- /var/tmp/diff_new_pack.RUQo4R/_old  2018-08-22 14:16:21.281783357 +0200
+++ /var/tmp/diff_new_pack.RUQo4R/_new  2018-08-22 14:16:21.281783357 +0200
@@ -20,13 +20,13 @@
 
 %define _appstreamkpackage 0%(cat 
%{_kf5_cmakedir}/KF5Package/KF5PackageMacros.cmake | grep -q 
'appstream-metainfo' && echo 1)
 Name:           kate
-Version:        18.04.3
+Version:        18.08.0
 Release:        0
 %define kf5_version 5.26.0
 # Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
-%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print 
$1"."$2}')}
+%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print 
$1"."$2}')}
 Summary:        Advanced Text Editor
-License:        GPL-2.0+
+License:        GPL-3.0-or-later
 Group:          Productivity/Text/Editors
 Url:            http://www.kde.org
 Source0:        %{name}-%{version}.tar.xz
@@ -63,9 +63,7 @@
 Requires:       %{name}-plugins = %{version}
 Obsoletes:      %{name}5 < %{version}
 Provides:       %{name}5 = %{version}
-%if %{with lang}
 Recommends:     %{name}-lang
-%endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -91,20 +89,7 @@
 Kate is an advanced text editor for KDE. This package contains
 plugins and data files for Kate and KWrite editors.
 
-%if %{with lang}
-%package lang
-Summary: Translations for package %{name}
-Group: System/Localization
-Requires: %{name} = %{version}
-
-Provides: %{name}-lang-all = %{version}
-Supplements: %{name}
-BuildArch: noarch
-Provides: ktexteditorpreviewplugin-lang = %{version}
-Obsoletes: ktexteditorpreviewplugin-lang < %{version}
-%description lang
-Provides translations for the "%{name}" package.
-%endif
+%lang_package
 
 %prep
 %setup -q
@@ -126,7 +111,8 @@
 
 %files
 %defattr(-,root,root)
-%doc COPYING* README*
+%license COPYING*
+%doc README*
 %dir %{_kf5_appstreamdir}
 %dir %{_kf5_htmldir}
 %dir %{_kf5_htmldir}/en
@@ -140,7 +126,8 @@
 
 %files -n kwrite
 %defattr(-,root,root)
-%doc COPYING* README*
+%license COPYING*
+%doc README*
 %dir %{_kf5_htmldir}
 %dir %{_kf5_htmldir}/en
 %doc %lang(en) %{_kf5_htmldir}/en/kwrite/
@@ -151,7 +138,8 @@
 
 %files plugins
 %defattr(-,root,root)
-%doc COPYING* README*
+%license COPYING*
+%doc README*
 %if 0%{?_appstreamkpackage}
 %{_kf5_appstreamdir}/org.kde.plasma.katesessions.appdata.xml
 %endif
@@ -163,7 +151,7 @@
 
 %if %{with lang}
 %files lang -f %{name}.lang
-%doc COPYING*
+%license COPYING*
 %endif
 
 %changelog

++++++ 0001-Defuse-root-block.patch ++++++
--- /var/tmp/diff_new_pack.RUQo4R/_old  2018-08-22 14:16:21.293783385 +0200
+++ /var/tmp/diff_new_pack.RUQo4R/_new  2018-08-22 14:16:21.293783385 +0200
@@ -12,33 +12,43 @@
  kwrite/main.cpp | 3 +--
  2 files changed, 2 insertions(+), 4 deletions(-)
 
-Index: kate-18.04.3/kate/main.cpp
+Index: kate-18.07.70git.20180531T121543~bf6d5b753/kate/main.cpp
 ===================================================================
---- kate-18.04.3.orig/kate/main.cpp
-+++ kate-18.04.3/kate/main.cpp
-@@ -65,9 +65,8 @@ int main(int argc, char **argv)
-      * Check whether we are running as root
-      **/
+--- 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)
+ #ifndef Q_OS_WIN
+     // Prohibit using sudo or kdesu (but allow using the root user directly)
      if (getuid() == 0) {
--        std::cout << "Executing Kate as root is not possible. To edit files 
as root use:" << std::endl;
+-        if (!qEnvironmentVariableIsEmpty("SUDO_USER")) {
+-            std::cout << "Executing Kate 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;
+-            return EXIT_FAILURE;
+-        }
 +        std::cout << "THIS IS POTENTIALLY INSECURE!\nTo edit files as root 
please use:" << std::endl;
-         std::cout << "SUDO_EDITOR=kate sudoedit <file>" << std::endl;
--        return 0;
++        std::cout << "SUDO_EDITOR=kwrite sudoedit <file>" << std::endl;
      }
  #endif
      /**
-Index: kate-18.04.3/kwrite/main.cpp
+Index: kate-18.07.70git.20180531T121543~bf6d5b753/kwrite/main.cpp
 ===================================================================
---- kate-18.04.3.orig/kwrite/main.cpp
-+++ kate-18.04.3/kwrite/main.cpp
-@@ -54,9 +54,8 @@ extern "C" Q_DECL_EXPORT int main(int ar
-      * Check whether we are running as root
-      **/
+--- 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
+ #ifndef Q_OS_WIN
+     // Prohibit using sudo or kdesu (but allow using the root user directly)
      if (getuid() == 0) {
--        std::cout << "Executing KWrite as root is not possible. To edit files 
as root use:" << std::endl;
+-        if (!qEnvironmentVariableIsEmpty("SUDO_USER")) {
+-            std::cout << "Executing Kate 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;
+-            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;
--        return 0;
++        std::cout << "SUDO_EDITOR=kwrite sudoedit <file>" << std::endl;
      }
  #endif
      /**

++++++ kate-18.04.3.tar.xz -> kate-18.08.0.tar.xz ++++++
++++ 128249 lines of diff (skipped)


Reply via email to