Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kcrash for openSUSE:Factory checked in at 2021-09-16 23:13:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kcrash (Old) and /work/SRC/openSUSE:Factory/.kcrash.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kcrash" Thu Sep 16 23:13:54 2021 rev:95 rq:919182 version:5.86.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kcrash/kcrash.changes 2021-08-16 10:11:34.607099155 +0200 +++ /work/SRC/openSUSE:Factory/.kcrash.new.1899/kcrash.changes 2021-09-16 23:15:37.747857788 +0200 @@ -1,0 +2,14 @@ +Wed Sep 15 08:24:01 UTC 2021 - Christophe Giboudeaux <[email protected]> + +- Drop the unneeded baselibs.conf. + +------------------------------------------------------------------- +Mon Sep 6 06:21:58 UTC 2021 - Christophe Giboudeaux <[email protected]> + +- Update to 5.86.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/5/5.86.0 +- No code change since 5.85.0 + +------------------------------------------------------------------- Old: ---- baselibs.conf kcrash-5.85.0.tar.xz kcrash-5.85.0.tar.xz.sig New: ---- kcrash-5.86.0.tar.xz kcrash-5.86.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kcrash.spec ++++++ --- /var/tmp/diff_new_pack.XpFezy/_old 2021-09-16 23:15:38.255858314 +0200 +++ /var/tmp/diff_new_pack.XpFezy/_new 2021-09-16 23:15:38.255858314 +0200 @@ -17,7 +17,7 @@ %define lname libKF5Crash5 -%define _tar_path 5.85 +%define _tar_path 5.86 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) @@ -25,7 +25,7 @@ # Only needed for the package signature condition %bcond_without lang Name: kcrash -Version: 5.85.0 +Version: 5.86.0 Release: 0 Summary: An application crash handler License: LGPL-2.1-or-later @@ -36,7 +36,6 @@ Source1: https://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz.sig Source2: frameworks.keyring %endif -Source99: baselibs.conf BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version} BuildRequires: fdupes BuildRequires: kf5-filesystem ++++++ kcrash-5.85.0.tar.xz -> kcrash-5.86.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-5.85.0/CMakeLists.txt new/kcrash-5.86.0/CMakeLists.txt --- old/kcrash-5.85.0/CMakeLists.txt 2021-07-28 03:04:39.000000000 +0200 +++ new/kcrash-5.86.0/CMakeLists.txt 2021-09-04 17:42:44.000000000 +0200 @@ -1,17 +1,17 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "5.85.0") # handled by release scripts -set(KF_DEP_VERSION "5.85.0") # handled by release scripts +set(KF_VERSION "5.86.0") # handled by release scripts +set(KF_DEP_VERSION "5.86.0") # handled by release scripts project(KCrash VERSION ${KF_VERSION}) include(FeatureSummary) -find_package(ECM 5.85.0 NO_MODULE) +find_package(ECM 5.86.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}) -set(REQUIRED_QT_VERSION 5.15.0) +set(REQUIRED_QT_VERSION 5.15.2) find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Core) include(KDEInstallDirs) include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) @@ -52,7 +52,7 @@ KCRASH_CORE_PATTERN_RAISE "Raising signals to kernel core patterns (iff the pattern is a process). You may wish to not install drkonqi if this can cause a UI conflict.") -add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00) +add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f02) add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055100) add_subdirectory(src) if (BUILD_TESTING) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-5.85.0/autotests/test_crasher.cpp new/kcrash-5.86.0/autotests/test_crasher.cpp --- old/kcrash-5.85.0/autotests/test_crasher.cpp 2021-07-28 03:04:39.000000000 +0200 +++ new/kcrash-5.86.0/autotests/test_crasher.cpp 2021-09-04 17:42:44.000000000 +0200 @@ -48,8 +48,9 @@ #endif output.setFileName(QStringLiteral("kcrashtest_log")); - if (!output.open(QIODevice::WriteOnly | QIODevice::Append)) + if (!output.open(QIODevice::WriteOnly | QIODevice::Append)) { return 1; + } if (qEnvironmentVariableIsEmpty("KCRASH_AUTO_RESTARTED")) { output.write("starting "); output.write(flag); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-5.85.0/src/kcrash.cpp new/kcrash-5.86.0/src/kcrash.cpp --- old/kcrash-5.85.0/src/kcrash.cpp 2021-07-28 03:04:39.000000000 +0200 +++ new/kcrash-5.86.0/src/kcrash.cpp 2021-09-04 17:42:44.000000000 +0200 @@ -851,10 +851,11 @@ r = poll(&fd, 1, 1000); // wait for 1 second for a request by DrKonqi } while (r == -1 && errno == EINTR); // only continue if POLLIN event returned - if (r == 0) // timeout + if (r == 0) { // timeout return 0; - else if (r == -1 || !(fd.revents & POLLIN)) // some error + } else if (r == -1 || !(fd.revents & POLLIN)) { // some error return -1; + } static struct sockaddr_un drkonqi_client; static socklen_t cllength = sizeof(drkonqi_client); @@ -862,14 +863,16 @@ do { clsockfd = accept(sockfd, (struct sockaddr *)&drkonqi_client, &cllength); } while (clsockfd == -1 && errno == EINTR); - if (clsockfd < 0) + if (clsockfd < 0) { return -1; + } // check whether the message is coming from DrKonqi static struct ucred ucred; static socklen_t credlen = sizeof(struct ucred); - if (getsockopt(clsockfd, SOL_SOCKET, SO_PEERCRED, &ucred, &credlen) < 0) + if (getsockopt(clsockfd, SOL_SOCKET, SO_PEERCRED, &ucred, &credlen) < 0) { return -1; + } if (ucred.pid != pid) { fprintf(stderr, "Warning: peer pid does not match DrKonqi pid\n");
