Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kgpg for openSUSE:Factory checked in at 2022-02-04 21:48:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kgpg (Old) and /work/SRC/openSUSE:Factory/.kgpg.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kgpg" Fri Feb 4 21:48:03 2022 rev:130 rq:951035 version:21.12.2 Changes: -------- --- /work/SRC/openSUSE:Factory/kgpg/kgpg.changes 2022-01-11 21:21:59.893073980 +0100 +++ /work/SRC/openSUSE:Factory/.kgpg.new.1898/kgpg.changes 2022-02-04 21:50:05.708099049 +0100 @@ -1,0 +2,11 @@ +Tue Feb 1 13:02:59 UTC 2022 - Christophe Giboudeaux <[email protected]> + +- Update to 21.12.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/21.12.2/ +- Changes since 21.12.1: + * add missing space between gnupg arguments when generating key in expert mode (kde#447611) + * always close the input channel of a text decryption (kde#444848) + +------------------------------------------------------------------- Old: ---- kgpg-21.12.1.tar.xz kgpg-21.12.1.tar.xz.sig New: ---- kgpg-21.12.2.tar.xz kgpg-21.12.2.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kgpg.spec ++++++ --- /var/tmp/diff_new_pack.o87eK3/_old 2022-02-04 21:50:06.372094515 +0100 +++ /var/tmp/diff_new_pack.o87eK3/_new 2022-02-04 21:50:06.376094488 +0100 @@ -20,7 +20,7 @@ %{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} %bcond_without released Name: kgpg -Version: 21.12.1 +Version: 21.12.2 Release: 0 Summary: Encryption Tool License: GPL-2.0-or-later ++++++ kgpg-21.12.1.tar.xz -> kgpg-21.12.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kgpg-21.12.1/CMakeLists.txt new/kgpg-21.12.2/CMakeLists.txt --- old/kgpg-21.12.1/CMakeLists.txt 2022-01-04 00:13:30.000000000 +0100 +++ new/kgpg-21.12.2/CMakeLists.txt 2022-01-28 23:49:35.000000000 +0100 @@ -3,7 +3,7 @@ # KDE Application Version, managed by release script set (RELEASE_SERVICE_VERSION_MAJOR "21") set (RELEASE_SERVICE_VERSION_MINOR "12") -set (RELEASE_SERVICE_VERSION_MICRO "1") +set (RELEASE_SERVICE_VERSION_MICRO "2") set (RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}") project(kgpg VERSION ${RELEASE_SERVICE_VERSION}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kgpg-21.12.1/keysmanager.cpp new/kgpg-21.12.2/keysmanager.cpp --- old/kgpg-21.12.1/keysmanager.cpp 2022-01-04 00:13:30.000000000 +0100 +++ new/kgpg-21.12.2/keysmanager.cpp 2022-01-28 23:49:35.000000000 +0100 @@ -1,6 +1,6 @@ /* SPDX-FileCopyrightText: 2002 Jean-Baptiste Mardelle <[email protected]> - SPDX-FileCopyrightText: 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017 Rolf Eike Beer <[email protected]> + SPDX-FileCopyrightText: 2007-2022 Rolf Eike Beer <[email protected]> SPDX-FileCopyrightText: 2011 Luis ??ngel Fern??ndez Fern??ndez <[email protected]> SPDX-FileCopyrightText: 2016 Andrius ??tikonas <[email protected]> SPDX-License-Identifier: GPL-2.0-or-later @@ -506,9 +506,9 @@ const QString gpgbin = KGpgSettings::gpgBinaryPath(); QString gpg_args = gpgbin + QLatin1String(" --expert"); if (GPGProc::gpgVersion(GPGProc::gpgVersionString(gpgbin)) > 0x20100) - gpg_args += QLatin1String(" --full-gen-key"); + gpg_args += QLatin1String(" --full-gen-key "); else - gpg_args += QLatin1String(" --gen-key"); + gpg_args += QLatin1String(" --gen-key "); gpg_args += GPGProc::getGpgHomeArguments(gpgbin).join(QLatin1Char(' ')); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kgpg-21.12.1/org.kde.kgpg.appdata.xml new/kgpg-21.12.2/org.kde.kgpg.appdata.xml --- old/kgpg-21.12.1/org.kde.kgpg.appdata.xml 2022-01-04 00:13:30.000000000 +0100 +++ new/kgpg-21.12.2/org.kde.kgpg.appdata.xml 2022-01-28 23:49:35.000000000 +0100 @@ -177,9 +177,9 @@ <binary>kgpg</binary> </provides> <releases> + <release version="21.12.2" date="2022-02-03"/> <release version="21.12.1" date="2022-01-06"/> <release version="21.12.0" date="2021-12-09"/> <release version="21.08.3" date="2021-11-04"/> - <release version="21.08.2" date="2021-10-07"/> </releases> </component> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kgpg-21.12.1/po/ca/kgpg.po new/kgpg-21.12.2/po/ca/kgpg.po --- old/kgpg-21.12.1/po/ca/kgpg.po 2022-01-04 01:15:22.000000000 +0100 +++ new/kgpg-21.12.2/po/ca/kgpg.po 2022-02-01 01:06:41.000000000 +0100 @@ -4771,13 +4771,3 @@ msgctxt "@info" msgid "<para>The signature is valid, and the key is ultimately trusted</para>" msgstr "<para>La signatura ??s v??lida i la clau ??s de confian??a absoluta</para>" - -#~ msgid "" -#~ "<qt>A viewer for JPEG images is not specified.<br/>Please check your " -#~ "installation.</qt>" -#~ msgstr "" -#~ "<qt>No s'ha especificat cap visor d'imatges JPEG.<br/>Comproveu la " -#~ "instal??laci??.</qt>" - -#~ msgid "Show photo" -#~ msgstr "Mostra la foto" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kgpg-21.12.1/po/ia/kgpg.po new/kgpg-21.12.2/po/ia/kgpg.po --- old/kgpg-21.12.1/po/ia/kgpg.po 2022-01-04 01:15:22.000000000 +0100 +++ new/kgpg-21.12.2/po/ia/kgpg.po 2022-02-01 01:06:41.000000000 +0100 @@ -1,13 +1,13 @@ # Copyright (C) YEAR This_file_is_part_of_KDE # This file is distributed under the same license as the PACKAGE package. # -# Giovanni Sora <[email protected]>, 2012, 2013, 2014, 2016, 2018, 2021. +# Giovanni Sora <[email protected]>, 2012, 2013, 2014, 2016, 2018, 2021, 2022. msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2021-08-24 00:20+0000\n" -"PO-Revision-Date: 2021-10-31 21:59+0100\n" +"PO-Revision-Date: 2022-01-24 14:13+0100\n" "Last-Translator: giovanni <[email protected]>\n" "Language-Team: Interlingua <[email protected]>\n" "Language: ia\n" @@ -15,7 +15,7 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Lokalize 21.08.2\n" +"X-Generator: Lokalize 20.04.2\n" #, kde-format msgctxt "NAME OF TRANSLATORS" @@ -195,7 +195,7 @@ "recommended for experienced users only.</p></qt>" msgstr "" "<qt><b>Commando de cryptation personalisate: </b><br />\n" -"<p>Quando activate, un campo de insertar essere monstrate in le dialogo de " +"<p>Quando activate, un campo de insertar essera monstrate in le dialogo de " "selection de clave, habilitante te a insertar un commando personalisate per " "cryptation. Iste option es recommendate solmente per usatores con " "experientia.</p></qt>" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kgpg-21.12.1/po/zh_CN/kgpg.po new/kgpg-21.12.2/po/zh_CN/kgpg.po --- old/kgpg-21.12.1/po/zh_CN/kgpg.po 2022-01-04 01:15:22.000000000 +0100 +++ new/kgpg-21.12.2/po/zh_CN/kgpg.po 2022-02-01 01:06:41.000000000 +0100 @@ -13,7 +13,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2021-08-24 00:20+0000\n" -"PO-Revision-Date: 2021-12-22 14:10\n" +"PO-Revision-Date: 2022-01-08 15:25\n" "Last-Translator: \n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kgpg-21.12.1/transactions/kgpgdecrypt.cpp new/kgpg-21.12.2/transactions/kgpgdecrypt.cpp --- old/kgpg-21.12.1/transactions/kgpgdecrypt.cpp 2022-01-04 00:13:30.000000000 +0100 +++ new/kgpg-21.12.2/transactions/kgpgdecrypt.cpp 2022-01-28 23:49:35.000000000 +0100 @@ -145,3 +145,10 @@ KGpgTextOrFileTransaction::finish(); } } + +bool KGpgDecrypt::closeInputAfterText() const +{ + // otherwise decryption does never start in GnuPG 2.3, + // but doesn't hurt on older versions as well + return true; +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kgpg-21.12.1/transactions/kgpgdecrypt.h new/kgpg-21.12.2/transactions/kgpgdecrypt.h --- old/kgpg-21.12.1/transactions/kgpgdecrypt.h 2022-01-04 00:13:30.000000000 +0100 +++ new/kgpg-21.12.2/transactions/kgpgdecrypt.h 2022-01-28 23:49:35.000000000 +0100 @@ -68,7 +68,7 @@ QStringList command() const override; bool nextLine(const QString &line) override; void finish() override; - + bool closeInputAfterText() const override; private: int m_fileIndex; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kgpg-21.12.1/transactions/kgpgtextorfiletransaction.cpp new/kgpg-21.12.2/transactions/kgpgtextorfiletransaction.cpp --- old/kgpg-21.12.1/transactions/kgpgtextorfiletransaction.cpp 2022-01-04 00:13:30.000000000 +0100 +++ new/kgpg-21.12.2/transactions/kgpgtextorfiletransaction.cpp 2022-01-28 23:49:35.000000000 +0100 @@ -112,10 +112,15 @@ args << command(); // if the input is not stdin set command-fd so GnuPG // can ask if e.g. the file already exists - m_closeInput = !args.contains(QLatin1String("--command-fd=0")); - if (m_closeInput && (!locfiles.isEmpty() || !m_tempfiles.isEmpty())) { - args << QLatin1String("--command-fd=0"); + bool hasCFd = !args.contains(QLatin1String("--command-fd=0")); + if (!locfiles.isEmpty() || !m_tempfiles.isEmpty()) { + if (!hasCFd) + args << QLatin1String("--command-fd=0"); m_closeInput = false; + } else if (closeInputAfterText()) { + m_closeInput = true; + } else { + m_closeInput = hasCFd; } if (locfiles.count() + m_tempfiles.count() > 1) args << QLatin1String("--multifile"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kgpg-21.12.1/transactions/kgpgtextorfiletransaction.h new/kgpg-21.12.2/transactions/kgpgtextorfiletransaction.h --- old/kgpg-21.12.1/transactions/kgpgtextorfiletransaction.h 2022-01-04 00:13:30.000000000 +0100 +++ new/kgpg-21.12.2/transactions/kgpgtextorfiletransaction.h 2022-01-28 23:49:35.000000000 +0100 @@ -85,6 +85,18 @@ const QList<QUrl> &getInputFiles() const; + /** + * @brief if the input channel of GnuPG should be closed when text is written + * + * This only has an effect in text mode (i.e. without urls). + * + * If not given the input channel is closed when "--command-fd" is not used. + */ + virtual bool closeInputAfterText() const + { + return false; + } + private: QStringList m_tempfiles; QStringList m_locfiles;
