Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kdesu for openSUSE:Factory checked in at 2023-08-20 00:10:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kdesu (Old) and /work/SRC/openSUSE:Factory/.kdesu.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdesu" Sun Aug 20 00:10:41 2023 rev:118 rq:1104569 version:5.109.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kdesu/kdesu.changes 2023-07-09 20:41:32.221562134 +0200 +++ /work/SRC/openSUSE:Factory/.kdesu.new.1766/kdesu.changes 2023-08-20 00:13:23.599138021 +0200 @@ -1,0 +2,11 @@ +Tue Aug 8 17:42:51 UTC 2023 - Christophe Marin <[email protected]> + +- Update to 5.109.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/5/5.109.0 +- Changes since 5.108.0: + * SuProcess: Disable echo in the PTY before starting sudo (kde#452532) + * PtyProcess: Allow calling enableLocalEcho before PTY creation + +------------------------------------------------------------------- Old: ---- kdesu-5.108.0.tar.xz kdesu-5.108.0.tar.xz.sig New: ---- kdesu-5.109.0.tar.xz kdesu-5.109.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdesu.spec ++++++ --- /var/tmp/diff_new_pack.2fnhov/_old 2023-08-20 00:13:24.315139430 +0200 +++ /var/tmp/diff_new_pack.2fnhov/_new 2023-08-20 00:13:24.323139446 +0200 @@ -24,7 +24,7 @@ %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} %bcond_without released Name: kdesu -Version: 5.108.0 +Version: 5.109.0 Release: 0 Summary: User interface for running shell commands with root privileges License: LGPL-2.1-or-later ++++++ kdesu-5.108.0.tar.xz -> kdesu-5.109.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdesu-5.108.0/CMakeLists.txt new/kdesu-5.109.0/CMakeLists.txt --- old/kdesu-5.108.0/CMakeLists.txt 2023-07-01 11:56:19.000000000 +0200 +++ new/kdesu-5.109.0/CMakeLists.txt 2023-08-05 14:36:14.000000000 +0200 @@ -1,11 +1,11 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "5.108.0") # handled by release scripts -set(KF_DEP_VERSION "5.108.0") # handled by release scripts +set(KF_VERSION "5.109.0") # handled by release scripts +set(KF_DEP_VERSION "5.109.0") # handled by release scripts project(KDESu VERSION ${KF_VERSION}) include(FeatureSummary) -find_package(ECM 5.108.0 NO_MODULE) +find_package(ECM 5.109.0 NO_MODULE) set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://commits.kde.org/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdesu-5.108.0/po/eo/kdesud5.po new/kdesu-5.109.0/po/eo/kdesud5.po --- old/kdesu-5.108.0/po/eo/kdesud5.po 1970-01-01 01:00:00.000000000 +0100 +++ new/kdesu-5.109.0/po/eo/kdesud5.po 2023-08-05 14:36:14.000000000 +0200 @@ -0,0 +1,53 @@ +# translation of kdesud5.pot to esperanto +# Copyright (C) 2022 Free Software Foundation, Inc. +# This file is distributed under the same license as the kdesu package. +# Oliver Kellogg <[email protected], 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: kdesu\n" +"Report-Msgid-Bugs-To: https://bugs.kde.org\n" +"POT-Creation-Date: 2022-09-23 00:41+0000\n" +"PO-Revision-Date: 2023-07-05 22:21+0100\n" +"Last-Translator: Oliver Kellogg <[email protected]>\n" +"Language-Team: Esperanto <[email protected]>\n" +"Language: eo\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#, kde-format +msgctxt "NAME OF TRANSLATORS" +msgid "Your names" +msgstr "Oliver Kellogg" + +#, kde-format +msgctxt "EMAIL OF TRANSLATORS" +msgid "Your emails" +msgstr "[email protected]" + +#: kdesud.cpp:349 +#, kde-format +msgid "KDE su daemon" +msgstr "KDE su-demono" + +#: kdesud.cpp:351 +#, kde-format +msgid "Daemon used by kdesu" +msgstr "Demono uzata de kdesu" + +#: kdesud.cpp:353 +#, kde-format +msgid "Copyright (c) 1999,2000 Geert Jansen" +msgstr "Kopirajto (c) 1999,2000 Geert Jansen" + +#: kdesud.cpp:354 +#, kde-format +msgid "Geert Jansen" +msgstr "Geert Jansen" + +#: kdesud.cpp:354 +#, kde-format +msgid "Author" +msgstr "AÅtoro" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdesu-5.108.0/po/zh_CN/kdesud5.po new/kdesu-5.109.0/po/zh_CN/kdesud5.po --- old/kdesu-5.108.0/po/zh_CN/kdesud5.po 2023-07-01 11:56:19.000000000 +0200 +++ new/kdesu-5.109.0/po/zh_CN/kdesud5.po 2023-08-05 14:36:14.000000000 +0200 @@ -3,7 +3,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2022-09-23 00:41+0000\n" -"PO-Revision-Date: 2023-06-17 04:11\n" +"PO-Revision-Date: 2023-08-02 12:40\n" "Last-Translator: \n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdesu-5.108.0/src/ptyprocess.cpp new/kdesu-5.109.0/src/ptyprocess.cpp --- old/kdesu-5.108.0/src/ptyprocess.cpp 2023-07-01 11:56:19.000000000 +0200 +++ new/kdesu-5.109.0/src/ptyprocess.cpp 2023-08-05 14:36:14.000000000 +0200 @@ -135,6 +135,9 @@ << "Failed to open PTY."; return -1; } + if (!d->wantLocalEcho) { + enableLocalEcho(false); + } d->inputBuffer.resize(0); return 0; } @@ -371,6 +374,12 @@ int PtyProcess::enableLocalEcho(bool enable) { + d->wantLocalEcho = enable; + if (!d->pty) { + // Apply it on init + return 0; + } + return d->pty->setEcho(enable) ? 0 : -1; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdesu-5.108.0/src/ptyprocess_p.h new/kdesu-5.109.0/src/ptyprocess_p.h --- old/kdesu-5.108.0/src/ptyprocess_p.h 2023-07-01 11:56:19.000000000 +0200 +++ new/kdesu-5.109.0/src/ptyprocess_p.h 2023-08-05 14:36:14.000000000 +0200 @@ -30,6 +30,8 @@ QList<QByteArray> env; KPty *pty = nullptr; QByteArray inputBuffer; + // Whether to keep echo on after PTY creation + bool wantLocalEcho = true; }; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdesu-5.108.0/src/suprocess.cpp new/kdesu-5.109.0/src/suprocess.cpp --- old/kdesu-5.108.0/src/suprocess.cpp 2023-07-01 11:56:19.000000000 +0200 +++ new/kdesu-5.109.0/src/suprocess.cpp 2023-08-05 14:36:14.000000000 +0200 @@ -143,6 +143,10 @@ return check ? SuNotFound : -1; } + // Turn echo off for conversion with kdesu_stub. Needs to be done before + // it's started so that sudo copies this option to its internal PTY. + enableLocalEcho(false); + if (StubProcess::exec(command, args) < 0) { return check ? SuNotFound : -1; }
